diff options
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 153 |
1 files changed, 130 insertions, 23 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 7dec0c49775..8bd2c61d94b 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2,7 +2,6 @@ body.openerp { padding: 0; margin: 0; height: 100%; - min-width: 1000px; overflow-y: scroll; font-size: 80%; font-family: Ubuntu, Helvetica, sans-serif; @@ -363,7 +362,7 @@ label.error { position: absolute; z-index: 100; border: 4px solid #585858; - border: 4px solid rgba(88, 88, 88, .5); + border-color: rgba(88, 88, 88, .5); border-radius: 4px; min-width: 200px; } @@ -609,6 +608,10 @@ label.error { } .openerp .filter_label.enabled, .openerp .filter_icon.enabled { background: #aaa; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -o-box-shadow: none; + box-shadow: none; } .openerp .filter_icon { height: 22px; @@ -631,6 +634,13 @@ label.error { padding-right: 0.4em; white-space: nowrap; } + +.openerp .filter_label_group button { + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + border-right: none; +} .openerp .filter_label_group button:first-child { -webkit-border-top-left-radius: 7px; -webkit-border-bottom-left-radius: 7px; @@ -640,9 +650,6 @@ label.error { border-bottom-left-radius: 7px; border-right: none; } -.openerp .filter_label_group button { - border-right: none; -} .openerp .filter_label_group button:last-child { -webkit-border-top-right-radius: 7px; -webkit-border-bottom-right-radius: 7px; @@ -658,12 +665,12 @@ label.error { .openerp .filter_label_group button.filter_icon:first-child { border-left: solid 1px #999; margin-left: -7px; - -webkit-border-top-left-radius: 0px; - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-topleft: 0px; - -moz-border-radius-bottomleft: 0px; - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; + -webkit-border-top-left-radius: 0; + -webkit-border-bottom-left-radius: 0; + -moz-border-radius-topleft: 0; + -moz-border-radius-bottomleft: 0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; } .openerp .searchview_group_string { @@ -671,7 +678,6 @@ label.error { color: #7D7979; font-weight: bold; padding: 2px 0 2px 10px; - margin-top: 4px; text-decoration: none; } .openerp .searchview_group_string:hover { @@ -688,6 +694,7 @@ label.error { } .openerp .searchview_group.expanded .searchview_group_content { display: block; + padding-bottom:3px; } .openerp .searchview_group_content .oe_label, .openerp .searchview_group_content .oe_label_help { @@ -724,7 +731,7 @@ label.error { } .openerp .oe_search-view-buttons { - padding: 10px 0 10px 0; + padding: 2px 0 10px 0; vertical-align:middle; } .openerp .oe_search-view-filters-management { @@ -836,13 +843,17 @@ label.error { border-bottom: 1px solid #E3E3E3; } + .openerp .oe-listview td.oe-actions { border-bottom:none; } -.openerp .oe-listview .oe-record-selector { +.openerp .oe-listview .oe-record-selector, .openerp .oe-listview .oe-record-edit-link { border-bottom: 1px solid #E3E3E3; } +.openerp .oe-listview .oe-record-edit-link { + cursor: pointer; +} .openerp .oe-listview .oe-field-cell { cursor: pointer; @@ -994,15 +1005,13 @@ label.error { .openerp .field_date, .openerp .field_float, .openerp .field_selection, -.openerp .oe_form_field_many2one a, -.openerp .oe_form_field_reference a{ +.openerp a.oe_form_uri { vertical-align: middle; padding-top: 3px; font-size: 90%; color: #222; } -.openerp .oe_form_field_many2one a, -.openerp .oe_form_field_reference a { +.openerp a.oe_form_uri { color: #9A0404; line-height: 12px; } @@ -1013,7 +1022,7 @@ label.error { .openerp .oe_form_frame_cell input[type="checkbox"] { margin-top: 3px; - vertical-align: center; + vertical-align: middle; } .openerp .oe_form_frame_cell .input[type="text"] { padding-bottom: 1px; @@ -1242,7 +1251,7 @@ label.error { .openerp .oe_datepicker_root { display: inline-block; } -.openerp .oe_forms.oe_frame .oe_datepicker_root { +.openerp .oe_form_frame_cell .oe_datepicker_root { width: 100%; } .openerp .oe_input_icon_disabled { @@ -1569,6 +1578,10 @@ label.error { .openerp.kitten-mode-activated .main_table { background: url(http://placekitten.com/g/1500/800) repeat; } +.openerp.kitten-mode-activated.clark-gable .main_table { + background: url(http://amigrave.com/ClarkGable.jpg); + background-size: 100%; +} .openerp.kitten-mode-activated .header { background: url(http://placekitten.com/g/211/65) repeat; @@ -1745,9 +1758,7 @@ ul.oe-arrow-list li { ul.oe-arrow-list li span { vertical-align: top; display: inline-block; - border-width:1em; - border-style:solid; - border-color: #DEDEDE; + border: 1em solid #DEDEDE; line-height:0em; } ul.oe-arrow-list .oe-arrow-list-before { @@ -1910,3 +1921,99 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after { background: url("/web/static/src/img/pager_last.png") no-repeat scroll center center transparent; } +/* Buttons */ +.openerp a.button:link, +.openerp a.button:visited, +.openerp button { + display: inline-block; + border: 1px solid #ababab; + color: #404040; + font-size: 12px; + padding: 3px 10px; + text-align: center; + -o-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -webkit-background-size: auto auto !important; + background-size: 100% 100%; + background: #d8d8d8 none; + background: none, -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8)); + background: none, -webkit-linear-gradient(#efefef, #d8d8d8); + background: none, -moz-linear-gradient(#efefef, #d8d8d8); + background: none, -o-linear-gradient(top, #efefef, #d8d8d8); + background: none, -khtml-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8)); + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + -o-border-radius: 3px; + -ms-border-radius: 3px; + border-radius: 3px; + -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; + -o-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; + text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5); + -webkit-font-smoothing: antialiased; + outline: none; +} + +.openerp a.button:hover, +.openerp button:hover { + -o-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -webkit-background-size: auto auto !important; + background-size: 100% 100%; + background: #e3e3e3 none; + background: none, -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)); + background: none, -webkit-linear-gradient(#f6f6f6, #e3e3e3); + background: none, -moz-linear-gradient(#f6f6f6, #e3e3e3); + background: none, -o-linear-gradient(top, #f6f6f6, #e3e3e3); + background: none, -khtml-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)); + cursor: pointer; +} + +.openerp a.button:focus, +.openerp button:focus { + border: 1px solid #80bfff; + -o-background-size: 100% 100%; + -moz-background-size: 100% 100%; + -webkit-background-size: auto auto !important; + background-size: 100% 100%; + background: #e3e3e3, none; + background: none, -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3)); + background: none, -webkit-linear-gradient(#f6f6f6, #e3e3e3); + background: none, -moz-linear-gradient(#f6f6f6, #e3e3e3); + background: none, -o-linear-gradient(top, #f6f6f6, #e3e3e3); + background: none, -khtml-gradient(linear, left top, left bottom, from(#f6f6f6), to(#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; + -o-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; +} + +.openerp a.button:active, +.openerp a.button.active, +.openerp button:active, +.openerp button.active { + background: #e3e3e3; + background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f; + background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f; + background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f; + -moz-box-shadow: none, 0 0 0 transparent; + -webkit-box-shadow: none, 0 0 0 transparent; + -o-box-shadow: none, 0 0 0 transparent; + box-shadow: none, 0 0 0 transparent; +} + +.openerp a.button.disabled, +.openerp button:disabled { + background: #efefef !important; + border: 1px solid #d1d1d1 !important; + font-size: 12px; + padding: 3px 10px; + -moz-box-shadow: none !important, 0 0 0 transparent; + -webkit-box-shadow: none !important, 0 0 0 transparent; + -o-box-shadow: none !important, 0 0 0 transparent; + box-shadow: none !important, 0 0 0 transparent; + color: #aaaaaa !important; + cursor: default; + text-shadow: 0 1px 1px white !important; +} |
