diff options
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 258 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 209 |
2 files changed, 229 insertions, 238 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 400245a7570..ea57a7b8bdb 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -658,6 +658,10 @@ display: block; color: gray; } +.openerp .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active { + border-bottom: none; + padding-bottom: 1px; +} .openerp .oe_notebook > li.ui-tabs-active > a { color: #4c4c4c; } @@ -2746,6 +2750,9 @@ .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_datetime input.oe_datepicker_master, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_date input.oe_datepicker_master { width: 100% !important; } +.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_reference { + display: table; +} .openerp .oe_list_group_name { white-space: nowrap; } @@ -3035,6 +3042,123 @@ float: right; color: #333333; } +.openerp .navbar { + min-height: 32px; + margin-bottom: 0px; + border: none; + z-index: 1; + background-color: #414141; + background-color: #454343; + background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); + background-image: -webkit-linear-gradient(top, #646060, #262626); + background-image: -moz-linear-gradient(top, #646060, #262626); + background-image: -ms-linear-gradient(top, #646060, #262626); + background-image: -o-linear-gradient(top, #646060, #262626); + background-image: linear-gradient(to bottom, #646060, #262626); +} +.openerp .navbar-default .navbar-nav li a:hover, .openerp .navbar-default .navbar-nav li a:focus { + background: rgba(0, 0, 0, 0.3); +} +.openerp .navbar-default .navbar-nav .open > a, .openerp .navbar-default .navbar-nav a:hover, .openerp .navbar-default .navbar-nav a:focus { + background: rgba(0, 0, 0, 0.3) !important; +} +.openerp .navbar-default .navbar-nav .dropdown > a .caret { + border-top-color: #777777 !important; + border-bottom-color: #777777 !important; +} +.openerp .navbar-nav li a { + padding: 4px 32px 4px 12px; +} +.openerp .oe_navbar .dropdown-menu { + font-size: 13px; + padding: 4px 0; + background: #333333 !important; + background: rgba(37, 37, 37, 0.9) !important; + border-color: #999999; + border-color: rgba(0, 0, 0, 0.2); + background-color: #414141; + text-shadow: none; + background-color: #454343; + background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); + background-image: -webkit-linear-gradient(top, #646060, #262626); + background-image: -moz-linear-gradient(top, #646060, #262626); + background-image: -ms-linear-gradient(top, #646060, #262626); + background-image: -o-linear-gradient(top, #646060, #262626); + background-image: linear-gradient(to bottom, #646060, #262626); + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} +.openerp .oe_navbar .dropdown-menu li a, .openerp .oe_navbar .dropdown-menu li a:hover, .openerp .oe_navbar .dropdown-menu li a:focus { + color: #eeeeee; +} +.openerp .oe_view_manager_new .oe_form_nosheet { + margin-top: 8px; +} +.openerp .oe_view_manager_new .oe_form_nosheet .oe_form_label { + font-weight: normal; +} +.openerp .nav li > a { + padding: 3px 4px 2px 18px; + color: #4c4c4c; +} +.openerp .nav nav-pills.nav-stacked > li > ul { + padding-left: 16px; +} +.openerp .nav-pills > li.active > a, .openerp a.list-group-item.active > a { + background-color: #7c7bad; + color: white; + border-radius: 0; +} +.openerp .nav-pills > li.active a:hover, .openerp .nav-pills > li.active a:focus, .openerp a.list-group-item.active a:hover, .openerp a.list-group-item.active a:focus { + background-color: #7c7bad; +} +.openerp .nav-pills > li.active .badge, .openerp a.list-group-item.active .badge { + background-color: white; + color: #7c7bad; + text-shadow: none; +} +.openerp .badge { + font-weight: normal; + font-size: 11px; + background-color: #7c7bad; +} +.openerp button, .openerp body { + line-height: normal; +} +.openerp h1, .openerp h2 { + font-weight: bold; +} +.openerp h3 { + font-size: 1.17em; + font-weight: bold; +} +.openerp p { + display: block; + -webkit-margin-before: 1em; + -webkit-margin-after: 1em; + -webkit-margin-start: 0px; + -webkit-margin-end: 0px; +} +.openerp pre { + background-color: white; + border: none; + padding: 10px 0 3px 0; +} +.openerp .jqstooltip { + height: auto !important; + width: auto !important; +} +.openerp h5 { + font-weight: bold; + font-size: smaller; +} +.openerp .oe_form .oe_subtype label, .openerp .oe_subtype label { + font-weight: normal; +} +.openerp .oe_msg_subtype_check { + margin: 3px 3px 0 !important; +} @-moz-document url-prefix() { .openerp .oe_searchview .oe_searchview_search { @@ -3317,140 +3441,6 @@ body.oe_single_form .oe_single_form_container { overflow: hidden !important; } } -.nav li > a { - padding: 3px 4px 2px 18px; - color: #4c4c4c; -} -.nav nav-pills.nav-stacked > li > ul { - padding-left: 16px; -} - -.nav-pills > li.active > a, a.list-group-item.active > a { - background-color: #7c7bad; - color: white; - border-radius: 0; -} -.nav-pills > li.active a:hover, .nav-pills > li.active a:focus, a.list-group-item.active a:hover, a.list-group-item.active a:focus { - background-color: #7c7bad; -} -.nav-pills > li.active .badge, a.list-group-item.active .badge { - background-color: white; - color: #7c7bad; - text-shadow: none; -} - -.badge { - font-weight: normal; - font-size: 11px; - background-color: #7c7bad; -} - -button, body { - line-height: normal; -} - -h1, h2 { - font-weight: bold; -} - -h3 { - font-size: 1.17em; - font-weight: bold; -} - -p { - display: block; - -webkit-margin-before: 1em; - -webkit-margin-after: 1em; - -webkit-margin-start: 0px; - -webkit-margin-end: 0px; -} - -pre { - background-color: white; - border: none; - padding: 10px 0 3px 0; -} - -.jqstooltip { - height: auto !important; - width: auto !important; -} - -h5 { - font-weight: bold; - font-size: smaller; -} - -.oe_form .oe_subtype label, .oe_subtype label { - font-weight: normal; -} - -.oe_msg_subtype_check { - margin: 3px 3px 0 !important; -} - -.oe_view_manager_new .oe_form_nosheet { - margin-top: 8px; -} -.oe_view_manager_new .oe_form_nosheet .oe_form_label { - font-weight: normal; -} - -.navbar { - min-height: 32px; - margin-bottom: 0px; - border: none; - z-index: 1; - background-color: #414141; - background-color: #454343; - background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); - background-image: -webkit-linear-gradient(top, #646060, #262626); - background-image: -moz-linear-gradient(top, #646060, #262626); - background-image: -ms-linear-gradient(top, #646060, #262626); - background-image: -o-linear-gradient(top, #646060, #262626); - background-image: linear-gradient(to bottom, #646060, #262626); -} - -.navbar-default .navbar-nav li a:hover, .navbar-default .navbar-nav li a:focus { - background: rgba(0, 0, 0, 0.3); -} -.navbar-default .navbar-nav .open > a, .navbar-default .navbar-nav a:hover, .navbar-default .navbar-nav a:focus { - background: rgba(0, 0, 0, 0.3) !important; -} -.navbar-default .navbar-nav .dropdown > a .caret { - border-top-color: #777777 !important; - border-bottom-color: #777777 !important; -} - -.navbar-nav li a { - padding: 4px 32px 4px 12px; -} - -.oe_navbar .dropdown-menu { - font-size: 13px; - padding: 4px 0; - background: #333333 !important; - background: rgba(37, 37, 37, 0.9) !important; - border-color: #999999; - border-color: rgba(0, 0, 0, 0.2); - background-color: #414141; - text-shadow: none; - background-color: #454343; - background-image: -webkit-gradient(linear, left top, left bottom, from(#646060), to(#262626)); - background-image: -webkit-linear-gradient(top, #646060, #262626); - background-image: -moz-linear-gradient(top, #646060, #262626); - background-image: -ms-linear-gradient(top, #646060, #262626); - background-image: -o-linear-gradient(top, #646060, #262626); - background-image: linear-gradient(to bottom, #646060, #262626); - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} -.oe_navbar .dropdown-menu li a, .oe_navbar .dropdown-menu li a:hover, .oe_navbar .dropdown-menu li a:focus { - color: #eeeeee; -} - .ui-icon { width: 18px; height: 18px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 89b00cd7917..b280c8209a4 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -594,6 +594,9 @@ $sheet-padding: 16px text-decoration: none background-color: #eee border-color: #eee #eee #ddd + .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active + border-bottom: none + padding-bottom: 1px .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover background-color: #ffffff border: 1px solid #ddd @@ -2204,6 +2207,8 @@ $sheet-padding: 16px &.oe_form_field_datetime,&.oe_form_field_date input.oe_datepicker_master width: 100% !important + &.oe_form_field_reference + display: table .oe_list_group_name white-space: nowrap // }}} @@ -2430,6 +2435,106 @@ $sheet-padding: 16px float: right color: #333 // }}} + // Bootstrap HACKS {{{ + .navbar + min-height: 32px + margin-bottom: 0px + border: none + z-index: 1 + background-color: #414141 + @include vertical-gradient(#646060, #262626) + .navbar-default + .navbar-nav + li + a:hover,a:focus + background: rgba(0, 0, 0, 0.3) + .open > a,a:hover,a:focus + background: rgba(0, 0, 0, 0.3) !important + .dropdown > a .caret + border-top-color: #777 !important + border-bottom-color: #777 !important + .navbar-nav + li + a + padding: 4px 32px 4px 12px + .oe_navbar .dropdown-menu + font-size: 13px + padding: 4px 0 + background: #333333 !important + background: rgba(37, 37, 37, 0.9) !important + border-color: #999999 + border-color: rgba(0, 0, 0, 0.2) + background-color: #414141 + text-shadow: none + @include vertical-gradient(#646060, #262626) + @include radius(3px) + li + a,a:hover,a:focus + color: #eeeeee + + // Minimized unused white space and label weight for wizard popup + .oe_view_manager_new .oe_form_nosheet + margin-top: 8px + .oe_form_label + font-weight: normal + + // Customize bootstrap3 for leftbar + .nav + li > a + padding: 3px 4px 2px 18px + color: #4c4c4c + nav-pills.nav-stacked > li > ul + padding-left: 16px + .nav-pills > li.active,a.list-group-item.active + > a + background-color: #7c7bad + color: white + border-radius: 0 + a:hover,a:focus + background-color: #7c7bad + .badge + background-color: white + color: #7c7bad + text-shadow: none + .badge + font-weight: normal + font-size: 11px + background-color: #7c7bad + + // Customize for global tags + button, body + line-height: normal + h1,h2 + font-weight: bold + h3 + font-size: 1.17em + font-weight: bold + p + display: block + -webkit-margin-before: 1em + -webkit-margin-after: 1em + -webkit-margin-start: 0px + -webkit-margin-end: 0px + pre + background-color: #FFFFFF + border: none + padding: 10px 0 3px 0 + + // Customize for kanban tooltip + .jqstooltip + height: auto !important + width: auto !important + + // Customize for chatter + h5 + font-weight: bold + font-size: smaller + .oe_form .oe_subtype label, .oe_subtype label + font-weight: normal + .oe_msg_subtype_check + margin: 3px 3px 0 !important + // }}} + @-moz-document url-prefix() .openerp .oe_searchview .oe_searchview_search @@ -2672,110 +2777,6 @@ body.oe_single_form overflow: hidden !important // }}} -// Customize bootstrap3 for leftbar -.nav - li > a - padding: 3px 4px 2px 18px - color: #4c4c4c - nav-pills.nav-stacked > li > ul - padding-left: 16px -.nav-pills > li.active,a.list-group-item.active - > a - background-color: #7c7bad - color: white - border-radius: 0 - a:hover,a:focus - background-color: #7c7bad - .badge - background-color: white - color: #7c7bad - text-shadow: none -.badge - font-weight: normal - font-size: 11px - background-color: #7c7bad -// End of customize - -// Customize for global tags -button, body - line-height: normal -h1,h2 - font-weight: bold -h3 - font-size: 1.17em - font-weight: bold -p - display: block - -webkit-margin-before: 1em - -webkit-margin-after: 1em - -webkit-margin-start: 0px - -webkit-margin-end: 0px -pre - background-color: #FFFFFF - border: none - padding: 10px 0 3px 0 -// End of customize - -// Customize for kanban tooltip -.jqstooltip - height: auto !important - width: auto !important -// End of kanban tooltip - -// Customize for chatter -h5 - font-weight: bold - font-size: smaller -.oe_form .oe_subtype label, .oe_subtype label - font-weight: normal -.oe_msg_subtype_check - margin: 3px 3px 0 !important -// End of customize - -// Minimized unused white space and label weight for wizard popup -.oe_view_manager_new .oe_form_nosheet - margin-top: 8px - .oe_form_label - font-weight: normal -// End of customize - -// navbar hack {{{ -.navbar - min-height: 32px - margin-bottom: 0px - border: none - z-index: 1 - background-color: #414141 - @include vertical-gradient(#646060, #262626) -.navbar-default - .navbar-nav - li - a:hover,a:focus - background: rgba(0, 0, 0, 0.3) - .open > a,a:hover,a:focus - background: rgba(0, 0, 0, 0.3) !important - .dropdown > a .caret - border-top-color: #777 !important - border-bottom-color: #777 !important -.navbar-nav - li - a - padding: 4px 32px 4px 12px -.oe_navbar .dropdown-menu - font-size: 13px - padding: 4px 0 - background: #333333 !important - background: rgba(37, 37, 37, 0.9) !important - border-color: #999999 - border-color: rgba(0, 0, 0, 0.2) - background-color: #414141 - text-shadow: none - @include vertical-gradient(#646060, #262626) - @include radius(3px) - li - a,a:hover,a:focus - color: #eeeeee -// End hack }}} // Hack for ui icon {{{ .ui-icon |
