diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-12-12 16:03:46 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-12-12 16:03:46 +0100 |
| commit | 32f1918ca5c3b73f60f8771b9bc3f7a59d0e5376 (patch) | |
| tree | 0d038a14692055865f9d79a4e278df82c7c360a0 /addons/web/static/src/css | |
| parent | 428a8154a34a08b0837a73f614bf89c21d5fd296 (diff) | |
[REV] Revert some stuff
height should stay 100% on login box
removed buggy IE9 gradients
bzr revid: fme@openerp.com-20121212150346-a7bdktrrlr8k8iex
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 38 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 6 |
2 files changed, 4 insertions, 40 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index b29368f57c7..cc3c6357bf9 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -88,7 +88,6 @@ background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6); background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6); background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f0f0fa)', endColorstr='ie-hex-str(#eeeef6)')"; } .openerp .zebra tbody tr:hover td { background-color: #eeeeee; @@ -98,7 +97,6 @@ background-image: -ms-linear-gradient(top, #eeeeee, #dedede); background-image: -o-linear-gradient(top, #eeeeee, #dedede); background-image: linear-gradient(to bottom, #eeeeee, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#eeeeee)', endColorstr='ie-hex-str(#dedede)')"; } .openerp input, .openerp textarea, .openerp select { padding: 2px 4px; @@ -129,7 +127,6 @@ background-image: -ms-linear-gradient(top, #efefef, #d8d8d8); background-image: -o-linear-gradient(top, #efefef, #d8d8d8); background-image: linear-gradient(to bottom, #efefef, #d8d8d8); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#efefef)', endColorstr='ie-hex-str(#d8d8d8)')"; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; @@ -148,7 +145,6 @@ background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3); background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3); background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f6f6f6)', endColorstr='ie-hex-str(#e3e3e3)')"; cursor: pointer; background-position: 0; } @@ -162,7 +158,6 @@ background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3); background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3); background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f6f6f6)', endColorstr='ie-hex-str(#e3e3e3)')"; -moz-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset; -webkit-box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset; box-shadow: 0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, 0.8) inset; @@ -175,7 +170,6 @@ background-image: -ms-linear-gradient(top, #e3e3e3, #f6f6f6); background-image: -o-linear-gradient(top, #e3e3e3, #f6f6f6); background-image: linear-gradient(to bottom, #e3e3e3, #f6f6f6); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#e3e3e3)', endColorstr='ie-hex-str(#f6f6f6)')"; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; @@ -237,7 +231,6 @@ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede); background-image: -o-linear-gradient(top, #fcfcfc, #dedede); background-image: linear-gradient(to bottom, #fcfcfc, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#fcfcfc)', endColorstr='ie-hex-str(#dedede)')"; } .openerp.ui-dialog .ui-dialog-titlebar .ui-dialog-title { margin: 0; @@ -321,7 +314,6 @@ background-image: -ms-linear-gradient(top, #b41616, #600606); background-image: -o-linear-gradient(top, #b41616, #600606); background-image: linear-gradient(to bottom, #b41616, #600606); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#b41616)', endColorstr='ie-hex-str(#600606)')"; color: #eeeeee; padding: 0 16px; -moz-border-radius: 0 0 2px 2px; @@ -394,7 +386,6 @@ background-image: -ms-linear-gradient(top, #df3f3f, #a21a1a); background-image: -o-linear-gradient(top, #df3f3f, #a21a1a); background-image: linear-gradient(to bottom, #df3f3f, #a21a1a); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#df3f3f)', endColorstr='ie-hex-str(#a21a1a)')"; -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset; -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset; @@ -407,7 +398,6 @@ background-image: -ms-linear-gradient(top, #e25858, #ab1b1b); background-image: -o-linear-gradient(top, #e25858, #ab1b1b); background-image: linear-gradient(to bottom, #e25858, #ab1b1b); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#e25858)', endColorstr='ie-hex-str(#ab1b1b)')"; } .openerp button.oe_highlight:active { background-color: #c52020; @@ -417,7 +407,6 @@ background-image: -ms-linear-gradient(top, #c52020, #d22323); background-image: -o-linear-gradient(top, #c52020, #d22323); background-image: linear-gradient(to bottom, #c52020, #d22323); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#c52020)', endColorstr='ie-hex-str(#d22323)')"; } .openerp .oe_background_grey { background: #eeeeee !important; @@ -435,7 +424,6 @@ background-image: -ms-linear-gradient(top, #dc5f59, #b33630); background-image: -o-linear-gradient(top, #dc5f59, #b33630); background-image: linear-gradient(to bottom, #dc5f59, #b33630); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#dc5f59)', endColorstr='ie-hex-str(#b33630)')"; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; @@ -455,7 +443,7 @@ visibility: hidden; } .openerp .oe_button_box { - width: 280px; + width: 270px; text-align: right; } .openerp .oe_button_box button { @@ -713,7 +701,6 @@ background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6); background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6); background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f0f0fa)', endColorstr='ie-hex-str(#eeeef6)')"; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; @@ -768,7 +755,6 @@ background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6); background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6); background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f0f0fa)', endColorstr='ie-hex-str(#eeeef6)')"; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; @@ -837,7 +823,7 @@ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=); text-align: center; font-size: 14px; - height: 600px; + height: 100%; } .openerp .oe_login ul, .openerp .oe_login li { margin: 0; @@ -857,7 +843,6 @@ background-image: -ms-linear-gradient(top, #b92020, #600606); background-image: -o-linear-gradient(top, #b92020, #600606); background-image: linear-gradient(to bottom, #b92020, #600606); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#b92020)', endColorstr='ie-hex-str(#600606)')"; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; @@ -915,7 +900,6 @@ background-image: -ms-linear-gradient(top, #b41616, #600606); background-image: -o-linear-gradient(top, #b41616, #600606); background-image: linear-gradient(to bottom, #b41616, #600606); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#b41616)', endColorstr='ie-hex-str(#600606)')"; } .openerp .oe_login .oe_login_pane { position: absolute; @@ -1013,7 +997,6 @@ background-image: -ms-linear-gradient(top, #646060, #262626); background-image: -o-linear-gradient(top, #646060, #262626); background-image: linear-gradient(to bottom, #646060, #262626); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#646060)', endColorstr='ie-hex-str(#262626)')"; } .openerp .oe_topbar .oe_topbar_item { display: block; @@ -1082,7 +1065,6 @@ background-image: -ms-linear-gradient(top, #292929, #191919); background-image: -o-linear-gradient(top, #292929, #191919); background-image: linear-gradient(to bottom, #292929, #191919); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#292929)', endColorstr='ie-hex-str(#191919)')"; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; @@ -1328,7 +1310,6 @@ background-image: -ms-linear-gradient(top, #b41616, #600606); background-image: -o-linear-gradient(top, #b41616, #600606); background-image: linear-gradient(to bottom, #b41616, #600606); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#b41616)', endColorstr='ie-hex-str(#600606)')"; color: #eeeeee; padding: 0 16px; -moz-border-radius: 0 0 2px 2px; @@ -1545,7 +1526,6 @@ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede); background-image: -o-linear-gradient(top, #fcfcfc, #dedede); background-image: linear-gradient(to bottom, #fcfcfc, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#fcfcfc)', endColorstr='ie-hex-str(#dedede)')"; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1); @@ -2007,7 +1987,6 @@ background-image: -ms-linear-gradient(top, #efefef, #d8d8d8); background-image: -o-linear-gradient(top, #efefef, #d8d8d8); background-image: linear-gradient(to bottom, #efefef, #d8d8d8); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#efefef)', endColorstr='ie-hex-str(#d8d8d8)')"; -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset; -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset; @@ -2020,7 +1999,6 @@ background-image: -ms-linear-gradient(top, #e3e3e3, #f6f6f6); background-image: -o-linear-gradient(top, #e3e3e3, #f6f6f6); background-image: linear-gradient(to bottom, #e3e3e3, #f6f6f6); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#e3e3e3)', endColorstr='ie-hex-str(#f6f6f6)')"; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; @@ -2033,7 +2011,6 @@ background-image: -ms-linear-gradient(top, #f6f6f6, #e3e3e3); background-image: -o-linear-gradient(top, #f6f6f6, #e3e3e3); background-image: linear-gradient(to bottom, #f6f6f6, #e3e3e3); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f6f6f6)', endColorstr='ie-hex-str(#e3e3e3)')"; -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset; -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset; @@ -2094,7 +2071,6 @@ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede); background-image: -o-linear-gradient(top, #fcfcfc, #dedede); background-image: linear-gradient(to bottom, #fcfcfc, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#fcfcfc)', endColorstr='ie-hex-str(#dedede)')"; } .openerp .oe_form header > span { margin-left: 4px; @@ -2530,7 +2506,6 @@ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede); background-image: -o-linear-gradient(top, #fcfcfc, #dedede); background-image: linear-gradient(to bottom, #fcfcfc, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#fcfcfc)', endColorstr='ie-hex-str(#dedede)')"; } .openerp ul.oe_form_status li:first-child .label, .openerp ul.oe_form_status_clickable li:first-child .label { border-left: 1px solid #cacaca; @@ -2574,7 +2549,6 @@ background: -o-linear-gradient(135deg, #fcfcfc, #dedede); background: -webkit-gradient(linear, left top, right bottom, from(#fcfcfc), to(#dedede)); background: -ms-linear-gradient(top, #fcfcfc, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#fcfcfc)', endColorstr='ie-hex-str(#dedede)', enabled=true)"; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; @@ -2592,7 +2566,6 @@ background-image: -ms-linear-gradient(top, #729fcf, #3465a4); background-image: -o-linear-gradient(top, #729fcf, #3465a4); background-image: linear-gradient(to bottom, #729fcf, #3465a4); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#729fcf)', endColorstr='ie-hex-str(#3465a4)')"; } .openerp ul.oe_form_status li.oe_active .arrow span, .openerp ul.oe_form_status_clickable li.oe_active .arrow span { background-color: #3465a4; @@ -2600,7 +2573,6 @@ background: -o-linear-gradient(135deg, #729fcf, #3465a4); background: -webkit-gradient(linear, left top, right bottom, from(#729fcf), to(#3465a4)); background: -ms-linear-gradient(top, #729fcf, #3465a4); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#729fcf)', endColorstr='ie-hex-str(#3465a4)', enabled=true)"; } .openerp ul.oe_form_status li.oe_active .label, .openerp ul.oe_form_status_clickable li.oe_active .label { color: white; @@ -2617,7 +2589,6 @@ background-image: -ms-linear-gradient(top, #e8e8e8, #cacaca); background-image: -o-linear-gradient(top, #e8e8e8, #cacaca); background-image: linear-gradient(to bottom, #e8e8e8, #cacaca); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#e8e8e8)', endColorstr='ie-hex-str(#cacaca)')"; } .openerp ul.oe_form_status_clickable li:hover .label { text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede; @@ -2630,7 +2601,6 @@ background-image: -ms-linear-gradient(top, #e8e8e8, #cacaca); background-image: -o-linear-gradient(top, #e8e8e8, #cacaca); background-image: linear-gradient(to bottom, #e8e8e8, #cacaca); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#e8e8e8)', endColorstr='ie-hex-str(#cacaca)')"; } .openerp ul.oe_form_status_clickable li .label { color: #7c7bad; @@ -2643,7 +2613,6 @@ background-image: -ms-linear-gradient(top, #4c85c2, #284d7d); background-image: -o-linear-gradient(top, #4c85c2, #284d7d); background-image: linear-gradient(to bottom, #4c85c2, #284d7d); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#4c85c2)', endColorstr='ie-hex-str(#284d7d)')"; } .openerp ul.oe_form_status_clickable li.oe_active:hover .label { text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4; @@ -2654,7 +2623,6 @@ background: -o-linear-gradient(135deg, #4c85c2, #284d7d); background: -webkit-gradient(linear, left top, right bottom, from(#4c85c2), to(#284d7d)); background: -ms-linear-gradient(top, #4c85c2, #284d7d); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#4c85c2)', endColorstr='ie-hex-str(#284d7d)', enabled=true)"; } .openerp .oe_form .oe_form_field_one2many > .oe_view_manager .oe_list_pager_single_page { display: none; @@ -2801,7 +2769,6 @@ background-image: -ms-linear-gradient(top, #fcfcfc, #dedede); background-image: -o-linear-gradient(top, #fcfcfc, #dedede); background-image: linear-gradient(to bottom, #fcfcfc, #dedede); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#fcfcfc)', endColorstr='ie-hex-str(#dedede)')"; } .openerp .oe_list_content { width: 100%; @@ -2896,7 +2863,6 @@ background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6); background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6); background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6); - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='ie-hex-str(#f0f0fa)', endColorstr='ie-hex-str(#eeeef6)')"; } .openerp .oe_list_content > tfoot { border-top: 2px solid #cacaca; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index a233a0c5058..6ad13bd6e59 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -49,7 +49,6 @@ $sheet-padding: 16px background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */ background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */ background-image: linear-gradient(to bottom, $startColor, $endColor) - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#{ie-hex-str($startColor)}', endColorstr='#{ie-hex-str($endColor)}')"/* IE9 */ @mixin radial-gradient($gradient) background-position: center center @@ -97,7 +96,6 @@ $sheet-padding: 16px background: -o-linear-gradient(135deg, $startColor, $endColor) background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor)) background: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */ - -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#{ie-hex-str($startColor)}', endColorstr='#{ie-hex-str($endColor)}', enabled=true)"/* IE9 */ @mixin transform($transform) -webkit-transform: $transform @@ -418,7 +416,7 @@ $sheet-padding: 16px clear: both visibility: hidden .oe_button_box - width: 280px + width: 270px text-align: right button margin: 4px @@ -703,7 +701,7 @@ $sheet-padding: 16px background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=) text-align: center font-size: 14px - height: 600px + height: 100% ul, li margin: 0 list-style-type: none |
