summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass105
1 files changed, 3 insertions, 102 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 644cdb4081b..5b48b1dc8b4 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -266,45 +266,6 @@ $sheet-padding: 16px
font-weight: bold
font-size: inherit
// }}}
- // Button style {{{
- a.button:link, a.button:visited, .oe_button, input[type='submit']
- display: inline-block
- border: 1px solid rgba(0,0,0,0.4)
- color: #4c4c4c
- margin: 0
- padding: 3px 12px
- font-size: 13px
- text-align: center
- @include vertical-gradient(#efefef, #d8d8d8)
- @include radius(3px)
- @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
- text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
- -webkit-font-smoothing: antialiased
- outline: none
-
- a.button:hover,.oe_button:hover, input[type='submit']:hover
- @include vertical-gradient(#f6f6f6, #e3e3e3)
- cursor: pointer
- background-position: 0
-
- a.button:focus, .oe_button:focus, input[type='submit']:focus
- border: 1px solid #80bfff
- background-position: 0
- @include vertical-gradient(#f6f6f6, #e3e3e3)
- @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
-
- a.button:active, a.button.active, .oe_button:active, .oe_button.active, input[type='submit']:active, input[type='submit'].active
- @include vertical-gradient(#e3e3e3, #f6f6f6)
- @include box-shadow(none)
-
- a.button.disabled, .oe_button:disabled, input[type='submit']:disabled
- background: #efefef !important
- border: 1px solid #d1d1d1 !important
- @include box-shadow(none !important)
- color: #aaa !important
- cursor: default
- text-shadow: 0 1px 1px #fff !important
- // }}}
// Jquery ui Overrides {{{
.ui-widget-content a
color: $link-color
@@ -351,24 +312,9 @@ $sheet-padding: 16px
font-weight: bold
.oe_inline
width: auto !important
- .oe_highlight
- color: white
- background: #DC5F59
- button.oe_highlight
- @include vertical-gradient(#729fcf, #3465a4)
- @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
- button.oe_highlight:hover
- @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
- button.oe_highlight:active
- @include vertical-gradient(lighten(#729fcf, 4%), lighten(#3465a4, 4%))
.oe_background_grey
background: #eee !important
- .oe_form_dirty
- .oe_highlight_on_dirty
- color: white
- background: #dc5f59
- font-weight: bold
.oe_warning_redirect
border: none !important
padding: 0 !important
@@ -384,7 +330,6 @@ $sheet-padding: 16px
color: #666
margin: 0px -1px -1px 0px
padding: 0
- border: 1px solid #dddddd
border-radius: 0
box-shadow: none
background: white
@@ -436,16 +381,6 @@ $sheet-padding: 16px
.oe_image_medium > img
max-width: 180px
max-height: 180px
- .oe_button.oe_link
- @include reset()
- img
- display: inline-block
- span
- @include reset()
- color: $link-color
- font-weight: bold
- &:hover
- text-decoration: underline
.oe_star_on, .oe_star_off
color: #cccccc
text-shadow: 0 0 2px black
@@ -793,8 +728,6 @@ $sheet-padding: 16px
color: #007bb6
// }}}
// ActionManager {{{
- a.oe_form_uri:hover
- text-decoration: underline
.oe_application
height: 100%
width: 100%
@@ -1293,19 +1226,6 @@ $sheet-padding: 16px
input, select, textarea
background-color: #F66 !important
border: 1px solid #D00 !important
- .oe_view_manager_current .oe_form_editable
- .oe_highlight
- color: #404040
- background: none
- button.oe_highlight
- @include vertical-gradient(#efefef, #d8d8d8)
- @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
- button.oe_highlight:active
- @include vertical-gradient(#e3e3e3, #f6f6f6)
- @include box-shadow(none)
- button.oe_highlight:hover
- @include vertical-gradient(#f6f6f6, #e3e3e3)
- @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
.o_form_invisible
display: none !important
.oe_form_editable
@@ -1368,14 +1288,12 @@ $sheet-padding: 16px
// }}}
// FormView.header {{{
.oe_form > :not(.oe_form_nosheet) header, .oe_form > .oe_form_nosheet header
- padding-left: 2px
+ padding-left: 14px
ul:not(.oe_tooltip_technical):not(.oe_dropdown_menu)
display: inline-block
float: right
- .oe_button
- margin: 3px 2px 1px
- &:first-child
- margin-left: 6px
+ > button
+ margin: 0 2px
.oe_form header
border-bottom: 1px solid #cacaca
@@ -2376,25 +2294,8 @@ body.oe_single_form
.oe_logo
img
border: none
- .oe_header_row
- button.oe_highlight
- padding-top: 0
- padding-bottom: 0
.oe_view_manager_view_kanban
display: table-cell
- .oe_view_manager_buttons
- button.oe_write_full
- padding-top: 0
- padding-bottom: 0
- button.oe_highlight
- padding-top: 0
- padding-bottom: 0
- button .oe_form_button_edit
- padding-top: 0
- padding-bottom: 0
- button .oe_form_button_create
- padding-top: 0
- padding-bottom: 0
.oe_kanban_image
border: none
.oe_msg_icon