summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-04-16 12:25:03 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-04-16 12:25:03 +0200
commitf7418cc61ac3f5445f50bae2c60aab38fdca2a2a (patch)
tree10b7efd371bd89139352aca3695aca0f0ec4df86 /addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less
parentb7fa2c39b4f16c1d47762d993fbc5fcf122da436 (diff)
parent3687148b501d1d2c114188c797c81054725d944b (diff)
[merge] lot and lot of improvements, mainly css + new form views
bzr revid: nicolas.vanhoren@openerp.com-20120416102503-latyewf3ksvc6mvv
Diffstat (limited to 'addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less')
-rw-r--r--addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less142
1 files changed, 142 insertions, 0 deletions
diff --git a/addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less b/addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less
new file mode 100644
index 00000000000..cec44f50c0c
--- /dev/null
+++ b/addons/web/static/lib/jquery.ui.bootstrap/css/less/reset.less
@@ -0,0 +1,142 @@
+/* Reset.less
+ * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
+ * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
+
+
+// ERIC MEYER RESET
+// --------------------------------------------------
+
+html, body { margin: 0; padding: 0; }
+h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: normal; font-style: normal; font-size: 100%; line-height: 1; font-family: inherit; }
+table { border-collapse: collapse; border-spacing: 0; }
+ol, ul { list-style: none; }
+q:before, q:after, blockquote:before, blockquote:after { content: ""; }
+
+
+// Normalize.css
+// Pulling in select resets form the normalize.css project
+// --------------------------------------------------
+
+// Display in IE6-9 and FF3
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+html {
+ overflow-y: scroll;
+ font-size: 100%;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+// Focus states
+/*a:focus {
+ outline: thin dotted;
+}*/
+// Hover & Active
+a:hover,
+a:active {
+ outline: 0;
+}
+
+// Display in IE6-9 and FF3
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+nav,
+section {
+ display: block;
+}
+
+// Display block in IE6-9 and FF3
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+audio,
+canvas,
+video {
+ display: inline-block;
+ *display: inline;
+ *zoom: 1;
+}
+
+// Prevents modern browsers from displaying 'audio' without controls
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+audio:not([controls]) {
+ display: none;
+}
+
+// Prevents sub and sup affecting line-height in all browsers
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+sup {
+ top: -0.5em;
+}
+sub {
+ bottom: -0.25em;
+}
+
+// Img border in a's and image quality
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+img {
+ border: 0;
+ -ms-interpolation-mode: bicubic;
+}
+
+// Forms
+// -------------------------
+// Source: http://github.com/necolas/normalize.css
+
+// Font size in all browsers, margin changes, misc consistency
+.bootstrap button,
+.bootstrap input,
+.bootstrap select,
+.bootstrap textarea {
+ font-size: 100%;
+ margin: 0;
+ vertical-align: baseline;
+ *vertical-align: middle;
+}
+.bootstrap button,
+.bootstrap input {
+ line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
+ *overflow: visible; // Inner spacing ie IE6/7
+}
+.bootstrap button::-moz-focus-inner,
+.bootstrap input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
+ border: 0;
+ padding: 0;
+}
+.bootstrap button,
+.bootstrap input[type="button"],
+.bootstrap input[type="reset"],
+.bootstrap input[type="submit"] {
+ cursor: pointer; // Cursors on all buttons applied consistently
+ -webkit-appearance: button; // Style clicable inputs in iOS
+}
+.bootstrap input[type="search"] { // Appearance in Safari/Chrome
+ -webkit-appearance: textfield;
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+.bootstrap input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
+}
+
+textarea {
+ overflow: auto; // Remove vertical scrollbar in IE6-9
+ vertical-align: top; // Readability and alignment cross-browser
+} \ No newline at end of file