diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-03-01 12:01:36 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | d97c50148bfe29e45e9b8cc82cb40ef03a56bd4c (patch) | |
| tree | 7fb1de32f287466d86badf77310b3826dd4f3667 /addons/web/static/src/less/form_view_extra.less | |
| parent | 39ac2dd9bf8486fa4f580ee98a0761ac32d664ca (diff) | |
[REF] web: less: form view's statusbar
Move the statusbar rules to community as both webclient now
share the same js basecode for the statusbar.
Diffstat (limited to 'addons/web/static/src/less/form_view_extra.less')
| -rw-r--r-- | addons/web/static/src/less/form_view_extra.less | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/addons/web/static/src/less/form_view_extra.less b/addons/web/static/src/less/form_view_extra.less index 300724e2819..710b668c053 100644 --- a/addons/web/static/src/less/form_view_extra.less +++ b/addons/web/static/src/less/form_view_extra.less @@ -19,120 +19,6 @@ &.o_form_nosheet > header { margin: -16px -16px 0 -16px; } - ul.oe_form_status, ul.oe_form_status_clickable { - display: inline-block; - margin: 0; - padding: 0 18px 0 0; - li { - display: inline-block; - list-style-type: none; - // It is probably a bad idea to modify this margin - margin: 0 -18px 0 0; - padding: 0; - height: 30px; - .o-vertical-gradient(#fcfcfc, #dedede); - &:first-child > .label { - border-left: 1px solid #cacaca; - padding-left: 14px; - } - &:last-child { - border-right: 1px solid #cacaca; - > .label { - padding-right: 14px; - } - > .arrow { - display: none; - } - } - > .label { - color: #4c4c4c; - text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede; - padding: 7px; - display: inline-block; - padding-left: 24px; - margin: 0; - position: relative; - // Customize for statusbar label - line-height: normal; - font-size: 100%; - font-weight: normal; - // End of customize - } - > .arrow { - width: 17px; - height: 30px; - display: inline-block; - vertical-align: top; - overflow: hidden; - margin-left: -5px; - span { - position: relative; - width: 24px; - height: 24px; - display: inline-block; - margin-left: -12px; - margin-top: 3px; - border-radius: 3px; - box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2); - .o-skew-gradient(#fcfcfc, #dedede); - .o-transform(rotate(45deg)); - } - } - } - ul.oe_dropdown_menu { - display: none; - padding: 0; - min-width: 0; - &.oe_opened { - display: block; - } - li { - margin: 0; - width: 100%; - span.label { - padding-left: 14px; - } - } - } - li.oe_active { - .o-vertical-gradient(lighten(@odoo-brand-primary, 15%), darken(@odoo-brand-primary, 15%)); - > .arrow span { - .o-skew-gradient(lighten(@odoo-brand-primary, 15%), darken(@odoo-brand-primary, 15%)); - } - > .label { - color: white; - text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4; - } - } - } - ul.oe_form_status_clickable { - li { - cursor: pointer; - &:hover { - .o-vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%)); - > .label { - text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede; - } - > .arrow span { - .o-vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%)); - } - } - > .label { - color: @link-color; - } - } - li.oe_active { - &:hover { - .o-vertical-gradient(@odoo-brand-primary, darken(@odoo-brand-primary, 30%)); - > .label { - text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4; - } - > .arrow span { - .o-skew-gradient(@odoo-brand-primary, darken(@odoo-brand-primary, 30%)); - } - } - } - } // Button box .oe_button_box { |
