4 $facets-border: #afafb6
5 $section-title-color: #7C7BAD
9 $tag-border-selected: #a6a6fe
10 $hover-background: #f0f0fa
12 $sheet-max-width: 860px
13 $sheet-min-width: 650px
18 font-family: 'mnmliconsRegular'
19 src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
20 src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
21 src: url('/web/static/src/font/mnmliconsv21-webfont.ttf') format('truetype')
22 src: url('/web/static/src/font/mnmliconsv21-webfont.svg') format('svg') active
27 font-family: 'EntypoRegular'
28 src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
29 src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
30 src: url('/web/static/src/font/entypo-webfont.woff') format('woff')
31 src: url('/web/static/src/font/entypo-webfont.ttf') format('truetype')
32 src: url('/web/static/src/font/entypo-webfont.svg') format('svg') active
42 @include box-shadow(none)
44 @mixin vertical-gradient($startColor: #555, $endColor: #333)
45 background-color: mix($startColor, $endColor)
46 background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
47 background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
48 background-image: -moz-linear-gradient(top, $startColor, $endColor) /* FF3.6 */
49 background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
50 background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */
51 background-image: linear-gradient(to bottom, $startColor, $endColor)
53 @mixin radial-gradient($gradient)
54 background-position: center center
55 background-image: -webkit-radial-gradient(circle, $gradient)
56 background-image: -moz-radial-gradient($gradient)
57 background-image: -ms-radial-gradient($gradient)
58 background-image: radial-gradient(circle, $gradient)
60 @mixin radius($radius: 5px)
61 -moz-border-radius: $radius
62 -webkit-border-radius: $radius
63 border-radius: $radius
65 @mixin box-shadow($bsval: 0px 1px 4px #777)
66 -moz-box-shadow: $bsval
67 -webkit-box-shadow: $bsval
70 @mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
71 -webkit-transition: $transval
72 -moz-transition: $transval
73 -ms-transition: $transval
74 -o-transition: $transval
77 @mixin opacity($opacity: .5)
78 filter: alpha(opacity=$opacity * 100)
81 @mixin background-clip($clip: padding-box)
82 -webkit-background-clip: $clip
83 -moz-background-clip: $clip
84 background-clip: $clip
86 @mixin box-sizing($type: content)
87 // type = border || content || padding
88 -webkit-box-sizing: #{$type}-box
89 -moz-box-sizing: #{$type}-box
90 -ms-box-sizing: #{$type}-box
91 box-sizing: #{$type}-box
93 @mixin skew-gradient($startColor: #555, $endColor: #333)
94 background-color: $endColor
95 background: -moz-linear-gradient(135deg, $endColor, $startColor)
96 background: -o-linear-gradient(135deg, $startColor, $endColor)
97 background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor))
98 background: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
100 @mixin transform($transform)
101 -webkit-transform: $transform
102 -moz-transform: $transform
103 -ms-transform: $transform
104 -o-transform: $transform
105 transform: $transform
107 @mixin keyframes($name)
108 @-webkit-keyframes #{$name}
110 @-moz-keyframes #{$name}
112 @-ms-keyframes #{$name}
114 @-o-keyframes #{$name}
120 // Transforms the (readable) text of an inline element into an mmlicons icon,
121 // allows for actual readable text in-code (and in readers?) with iconic looks
122 @mixin text-to-icon($icon-name, $color: #404040)
129 font: 21px "mnmliconsRegular"
133 @mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
140 font: $size "entypoRegular"
151 padding: 4px 8px 4px 8px
158 #oe_main_menu_navbar.navbar
162 margin-right: 0px !important
168 .oe_webclient_timezone_notification
171 text-decoration: underline
179 background-color: #f6cf3b
185 display: inline-block
186 height: 15px // Customize to manage caret when topbar_name is over sized.
187 text-overflow: ellipsis
189 overflow: hidden // Customize to bring ellipsis when topbar_name is over sized.
196 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
200 &.openerp_webclient_container
202 height: -webkit-calc(100% - 34px)
203 height: calc(100% - 34px)
205 display: -webkit-flex
207 @media (max-width: 768px)
208 &.openerp_webclient_container
210 height: -webkit-calc(100% - 52px)
211 height: calc(100% - 52px)
213 //Placeholder style{{{
215 color: $tag-border !important
216 font-style: italic !important
217 \::-webkit-input-placeholder
218 color: $tag-border !important
219 font-style: italic !important
220 \:-ms-input-placeholder
221 color: $tag-border !important
222 font-style: italic !important
226 text-decoration: none
227 cursor: pointer !important
230 border-collapse: collapse
233 background-color: #f0f0f0
235 border-left: 1px solid #dfdfdf
245 vertical-align: middle
258 .zebra tbody tr:nth-child(odd) td
259 background-color: #f0f0fa
260 @include vertical-gradient(#f0f0fa, #eeeef6)
261 .zebra tbody tr:hover td
262 @include vertical-gradient(#eee, #dedede)
263 input, textarea, select
265 border: 1px solid #ccc
269 vertical-align: middle
276 a.button:link, a.button:visited, .oe_button, input[type='submit']
277 display: inline-block
278 border: 1px solid rgba(0,0,0,0.4)
284 @include vertical-gradient(#efefef, #d8d8d8)
286 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
287 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
288 -webkit-font-smoothing: antialiased
291 a.button:hover,.oe_button:hover, input[type='submit']:hover
292 @include vertical-gradient(#f6f6f6, #e3e3e3)
294 background-position: 0
296 a.button:focus, .oe_button:focus, input[type='submit']:focus
297 border: 1px solid #80bfff
298 background-position: 0
299 @include vertical-gradient(#f6f6f6, #e3e3e3)
300 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
302 a.button:active, a.button.active, .oe_button:active, .oe_button.active, input[type='submit']:active, input[type='submit'].active
303 @include vertical-gradient(#e3e3e3, #f6f6f6)
304 @include box-shadow(none)
306 a.button.disabled, .oe_button:disabled, input[type='submit']:disabled
307 background: #efefef !important
308 border: 1px solid #d1d1d1 !important
309 @include box-shadow(none !important)
310 color: #aaa !important
312 text-shadow: 0 1px 1px #fff !important
314 // Jquery ui Overrides {{{
318 display: inline-block
321 .text-tag .text-button
322 height: auto !important
325 // bug noted in jquery ui CSS doesn't seem to occur in IE9,
326 // so remove position:relative
331 // Generic classes {{{
333 font-family: "mnmliconsRegular" !important
335 font-weight: 300 !important
337 font-family: "entypoRegular" !important
339 font-weight: 300 !important
364 width: auto !important
369 @include vertical-gradient(#df3f3f, #a21a1a)
370 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
371 button.oe_highlight:hover
372 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
373 button.oe_highlight:active
374 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
376 background: #eee !important
379 .oe_highlight_on_dirty
383 button.oe_highlight_on_dirty
384 @include vertical-gradient(#dc5f59, #b33630)
385 @include box-shadow(none)
389 border: none !important
390 padding: 0 !important
391 margin-left: 20px !important
392 background: #f5f7f9 !important
393 box-shadow: none !important
395 text-decoration: underline !important
398 width: 132px !important
401 margin: 0px -1px -1px 0px
403 border: 1px solid #dddddd
409 vertical-align: middle
419 .oe_form_field_percent_pie
421 .oe_form_field_bar_chart
427 vertical-align: middle
428 .oe_stat_button:hover
437 display: inline-table
443 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
448 .oe_image_small > img
451 .oe_image_medium > img
457 display: inline-block
463 text-decoration: underline
464 .oe_star_on, .oe_star_off
466 text-shadow: 0 0 2px black
470 .oe_star_on:hover, .oe_star_off:hover
471 text-decoration: none
478 // Added for generic error message and customize bootstrap3 <pre>,<hr>
482 -webkit-margin-before: 0.5em
483 -webkit-margin-after: 0.5em
484 -webkit-margin-start: auto
485 -webkit-margin-end: auto
489 // Kanban state (used in form and kanban) {{{
492 display: inline-block
496 @include radial-gradient((#eee 0%, #ccc 40%, #bbb 100%))
497 // +background-image(radial-gradient(45px 45px, #0ff 10px, #1e90ff 30px))
498 .oe_kanban_status_green
500 @include radial-gradient((#55dd55 0%, #44aa44 40%, #339933 100%))
501 .oe_kanban_status_red
503 @include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%))
504 .btn-group.kanban_state
506 margin-right: 4px !important
510 // Tags (for many2many tags, among others) {{{
512 border: 1px solid $tag-border
517 background: $tag-bg-light
520 background: $tag-bg-dark
526 display: inline-block
531 display: inline-block
534 border: 2px solid transparent
535 display: inline-block
542 &.oe_form_required.oe_form_invalid .oe_radio_input
548 width: 100% !important
550 width: 100% !important
553 .text-wrap .text-dropdown .text-list .text-suggestion em
555 text-decoration: none
564 .oe_notebook.ui-corner-all
566 .oe_notebook:before, .oe_notebook:after
574 .oe_notebook > li > a
577 .oe_notebook > li.ui-tabs-active > a
582 border-width: 0 0 1px
585 .oe_notebook > li > a
589 border: 1px solid transparent
590 @include radius(4px 4px 0 0)
591 .oe_notebook > li > a:hover
592 text-decoration: none
593 background-color: #eee
594 border-color: #eee #eee #ddd
595 .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active
598 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
599 background-color: #ffffff
600 border: 1px solid #ddd
601 border-bottom-color: transparent
605 //Customize label weight according bootstrap3
607 font-weight: normal !important
610 padding: 3px 0px 3px 0px
615 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
621 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
628 border: 1px solid $tag-border
634 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
637 @include vertical-gradient(#f0f0fa, #eeeef6)
638 @include box-shadow(none)
639 list-style-type: none
649 text-decoration: none
651 text-decoration: none
652 .oe_dropdown_arrow:after
655 //margin-left set at 3px to avoid a strange overflow
657 border-left: 4px solid transparent
658 border-right: 4px solid transparent
659 border-top: 4px solid#404040
660 @include opacity(0.5)
673 border: 1px solid #900
675 -moz-border-radius-bottomright: 8px
676 -moz-border-radius-bottomleft: 8px
677 border-bottom-right-radius: 8px
678 border-bottom-left-radius: 8px
689 // DatabaseManager {{{
694 .oe_database_manager_menu
697 // WebClient.fullscreen {{{
698 .oe_content_full_screen
702 .oe_topbar, .oe_leftbar
705 // Webclient.leftbar {{{
708 display: -webkit-flex
710 -ms-flex-direction: column
711 -webkit-flex-direction: column
712 flex-direction: column
713 -webkit-justify-content: space-between
714 justify-content: space-between
716 -webkit-flex-shrink: 0
723 border-right: 1px solid $tag-border
725 display: inline-block\9
726 vertical-align: top\9
729 -webkit-flex-shrink: 0
743 background: rgba(37,37,37,0.9)
744 @include box-sizing(border)
745 &:hover .oe_logo_edit_admin
747 .oe_secondary_menus_container
754 -webkit-flex-shrink: 0
761 // Webclient.leftbar items {{{
763 .oe_secondary_menu_section
767 .oe_secondary_submenu
768 margin-bottom: 10px !important
774 display: inline-block
775 text-overflow: ellipsis
781 @include transform(scale(1.1))
782 .oe_menu_toggler:before
785 display: inline-block
787 text-indent: -99999px
792 border-top: 4px solid transparent
793 border-bottom: 4px solid transparent
794 border-left: 4px solid #4c4c4c
795 @include opacity(0.5)
796 .oe_menu_opened:before
800 border-left: 4px solid transparent
801 border-right: 4px solid transparent
802 border-top: 4px solid #4c4c4c
803 .oe_secondary_submenu li
807 $link-color-odoo: #a24689
810 background-color: $link-color-odoo
812 color: $link-color-odoo
834 background: $link-color-odoo
841 a.oe_activate_debug_mode
842 color: white !important
848 @include transform(scale(1.3))
860 text-decoration: underline
866 display: inline-block\9
868 width: -webkit-calc(100% - 220px)
869 width: calc(100% - 220px)
873 // ViewManager common {{{
877 display: -webkit-flex
879 -webkit-flex-direction: column
880 flex-direction: column
881 .oe-view-manager-content
896 .oe-view-manager-content
900 .oe-view-manager-debug
902 .oe-view-manager-header
903 background-color: rgb(240, 238, 238)
904 border-bottom: 1px solid #afafb6
905 -webkit-flex-shrink: 0
908 -webkit-user-select: none
909 -moz-user-select: none
918 .oe_searchview_custom_public
920 font-family: FontAwesome
929 font-family: FontAwesome
937 display: inline-block
949 background-color: rgb(240, 238, 238)
951 -moz-user-select: initial
952 -webkit-user-select: initial
954 .oe-view-manager-search-view
956 .oe-view-manager-switch
959 .oe-vm-switch-kanban:before
961 .oe-vm-switch-list:before
963 .oe-vm-switch-form:before
965 .oe-vm-switch-graph:before
967 .oe-vm-switch-calendar:before
969 .oe-vm-switch-gantt:before
971 .oe-vm-switch-pivot:before
973 .oe-view-manager-buttons
974 display: inline-block
977 .oe-view-manager-sidebar
978 display: inline-block
984 input.oe_form_binary_file
987 .oe_form_binary_form:hover
988 background-color: #f5f5f5
991 display: inline-block
992 .oe_sidebar_delete_item
994 display: inline-block
1001 .oe_form_buttons_view
1010 .oe_view_manager_inline, .oe_view_manager_inlineview
1011 > .oe-view-manager-header
1021 .oe_formview .oe_form_pager
1022 display: none !important
1023 // Customize label weight for popup wizard appear from another wizard according bootstrap3
1027 .oe_popup_list_pager
1038 .oe_searchview_unfold_drawer
1043 .oe_searchview_search
1048 .oe_searchview_facets
1050 margin: 2px 20px 0 0
1053 display: inline-block
1055 .oe_searchview_facet
1061 @include radius(0px)
1062 .oe_searchview_input
1063 padding: 2px 0 0 6px
1066 -webkit-user-select: initial
1067 -moz-user-select: initial
1068 user-select: initial
1071 .oe_searchview_input:first-child
1073 .oe_searchview_facet
1077 -webkit-font-smoothing: auto
1078 // spacing for opera, FF
1080 border-color: $tag-border-selected
1081 @include box-shadow(0 0 3px 1px $tag-border-selected)
1083 background: $tag-bg-light
1084 .oe_facet_category, .oe_facet_value
1088 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1089 .oe_facet_category.oe_i
1092 border-left: 1px solid #afafb6
1110 text-shadow: 0 1px 1px white
1114 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1115 @include radius(2px)
1120 background-color: white
1122 border: 1px solid #afafb6
1126 @include radius(3px)
1128 list-style-type: none
1133 text-shadow: 0 0 0 white
1140 li.oe-selection-focus
1141 background-color: #7c7bad
1146 border-top: 1px solid #afafb6
1147 li.oe-separator:last-child
1155 -webkit-user-select: none
1156 -moz-user-select: none
1169 min-width: -webkit-calc(100% - 40px)
1170 min-width: calc(100% - 40px)
1182 font-family: FontAwesome
1189 font-family: FontAwesome
1206 .searchview_extended_prop_field
1208 width: -webkic-calc(100% - 20px)
1209 width: calc(100% - 20px)
1211 .searchview_extended_prop_op
1213 width: -webkit-calc(100% - 20px)
1214 width: calc(100% - 20px)
1215 .searchview_extended_delete_prop
1219 .searchview_extended_prop_value
1220 width: -webkit-calc(100% - 20px)
1221 width: calc(100% - 20px)
1223 width: -webkit-calc(100% - 20px)
1224 width: calc(100% - 20px)
1226 width: -webkit-calc(100% - 20px)
1227 width: calc(100% - 20px)
1228 .oe_datepicker_master
1242 li.oe-filter-condition
1249 li.oe-filter-condition + li.oe-filter-condition
1258 display: inline-block
1263 display: inline-block
1273 .oe_view_nocontent_create
1279 display: inline-block
1285 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1288 .oe_empty_custom_dashboard
1289 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1291 padding: 100px 0 0 137px
1294 .oe_view.oe_cannot_create
1295 .oe_view_nocontent_create
1298 // FormView.base and dynamic tags {{{
1301 .oe_form_dropdown_section
1303 display: inline-block
1305 input, select, textarea
1306 background-color: #F66 !important
1307 border: 1px solid #D00 !important
1308 .oe_view_manager_current .oe_form_editable
1313 @include vertical-gradient(#efefef, #d8d8d8)
1314 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1315 button.oe_highlight:active
1316 @include vertical-gradient(#e3e3e3, #f6f6f6)
1317 @include box-shadow(none)
1318 button.oe_highlight:hover
1319 @include vertical-gradient(#f6f6f6, #e3e3e3)
1320 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1322 display: none !important
1325 display: none !important
1327 .oe_edit_only, .oe_form_field:empty
1328 display: none !important
1329 .oe_form .oe_form_field_date
1331 .oe_form_field_boolean.boolean
1337 // IE needs a color in order for the layer to respond to mouse events
1338 backgroundColor: "#fff"
1340 // Sheet and padding
1344 margin: -16px -16px 0 -16px
1346 .oe_form_nosheet.oe_form_nomargin
1352 .oe_form_sheet_width
1354 max-width: $sheet-max-width
1362 // Sheet inline mode
1365 background: url(/web/static/src/img/form_sheetbg.png)
1366 border-bottom: 1px solid #ddd
1367 // Customize font weight according bootstrap3
1368 .oe_subtotal_footer label
1374 border: 1px solid #c8c8d3 //$tag-border
1375 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1381 // FormView.header {{{
1382 .oe_form > :not(.oe_form_nosheet) header, .oe_form > .oe_form_nosheet header
1384 ul:not(.oe_tooltip_technical):not(.oe_dropdown_menu)
1385 display: inline-block
1393 border-bottom: 1px solid #cacaca
1395 @include vertical-gradient(#fcfcfc, #dedede)
1400 // FormView.custom tags and classes {{{
1408 box-sizing: border-box
1409 min-width: $sheet-min-width + 2* $sheet-padding
1410 max-width: $sheet-max-width + 2* $sheet-padding
1412 padding: 16px 16px 48px
1413 div.oe_form_configuration
1419 .oe_form_group_cell_label
1421 .oe_form_group_cell div div
1424 width: 1% !important
1425 td.oe_form_group_cell
1427 padding: 0 !important
1428 td.oe_form_group_cell_label
1430 .oe_subtotal_footer_separator
1432 border-top: 1px solid #cacaca
1439 label.oe_subtotal_footer_separator
1440 font-weight: bold !important
1441 padding: 2px 11px 2px 0px !important
1442 label.oe_form_label_help
1443 font-weight: normal !important
1446 border-bottom: 1px solid #cb6
1450 .oe_form_box_warning
1452 border-bottom: 1px solid #900
1460 // FormView.group {{{
1464 td.oe_form_group_cell_label
1465 border-right: 1px solid #ddd
1471 font-weight: bold !important
1472 td.oe_form_group_cell + .oe_form_group_cell
1473 padding: 2px 0 2px 8px
1477 .oe_form_group_cell.oe_group_right
1480 // FormView.label {{{
1482 .oe_form_label_help[for], .oe_form_label[for]
1493 // FormView.separator {{{
1494 .oe_horizontal_border
1495 border-bottom: 1px solid black
1496 .oe_horizontal_separator
1499 margin: 15px 0px 10px 0px
1500 color: $section-title-color
1503 .oe_vertical_separator
1504 border-left: 1px solid #666
1505 padding: 0 4px 0 4px
1507 // FormView.progressbar {{{
1508 .oe_form_field_progressbar
1509 display: inline-block
1511 .oe_form_field_progressbar.ui-progressbar
1514 @include box-sizing(border)
1515 border: 1px solid #999
1516 @include radius(3px)
1524 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1526 // FormView.fields {{{
1530 .oe_form_text_content
1531 text-overflow: ellipsis
1532 display: inline-block
1533 white-space: pre-wrap
1536 .oe_form_field_char input,
1537 .oe_form_field_url input,
1538 .oe_form_field_email input,
1539 .oe_form_field_text textarea,
1540 .oe_form_field_selection select
1542 .oe_notebook_page .oe_form_field_text textarea
1544 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1546 h1, h2, h3, h4, h5, h6
1549 height: inherit !important
1551 // Customize for formview
1564 display: inline-block
1565 padding: 2px 2px 2px 0px
1569 input[type="text"], input[type="password"], input[type="file"], select
1572 input[type="text"], input[type="password"], input[type="file"], select, textarea
1573 @include box-sizing(border)
1577 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
1578 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1579 background: #E5E5E5 !important
1584 @include box-shadow(none)
1585 @include radius(0px)
1587 textarea.oe_inline[disabled]
1588 border-left: 8px solid #eee
1589 .oe_form_field_url button img
1591 .oe_form_field_monetary,
1592 .oe_form_field_date,
1593 .oe_form_field_datetime
1595 .oe_form_field_boolean
1598 display: inline-block
1603 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1604 background-color: #D2D2FF !important
1606 input, select, textarea
1607 background-color: #F66 !important
1608 border: 1px solid #D00 !important
1611 margin: 3px 0 0 -21px
1613 .oe_input_icon_disabled
1617 filter: alpha(opacity=50)
1620 .oe_form_field_with_button.oe_no_button > .oe_button
1622 .oe_form_field_with_button:not(.oe_no_button)
1626 border-bottom-left-radius: 0px
1628 .oe_form_field_with_button
1634 .oe_form_embedded_html
1640 .oe_form_field_html .oe_input_icon
1646 .oe_form_field_integer input
1648 .oe_form_field_float input
1650 .oe_form_field_date input
1652 .oe_form_field_datetime input
1655 // FormView.fields_binary {{{
1656 /* http://www.quirksmode.org/dom/inputfile.html
1657 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1659 .oe_hidden_input_file
1660 // Position: relative is used for the hidden input[type=file]
1661 // Do not remove it anymore !
1663 input.oe_form_binary_file
1672 filter: alpha(opacity = 0)
1673 -ms-filter: "alpha(opacity=0)"
1677 .oe_form_field_binary
1678 display: inline-block
1679 .oe_form_field_image
1682 display: inline-block
1685 .oe_form_field_image_controls
1693 background: rgba(37,37,37,0.9)
1694 @include radius(3px 3px 0 0)
1695 @include box-sizing(border)
1696 &:hover .oe_form_field_image_controls
1702 display: inline-block
1705 margin-bottom: -15px
1711 margin: 9px 0 /* Customize margin according bootstrap3 */
1718 vertical-align: middle
1721 background: transparent
1730 input.oe_form_binary_file
1731 display: inline-block
1745 border: solid 1px rgba(124,123,173,0.14)
1754 text-decoration: none
1755 .oe_attachment:nth-child(odd)
1757 .oe_attachment:nth-child(even)
1760 // FormView.many2one {{{
1761 .oe_form_field_many2one
1762 display: inline-block
1765 span.oe_m2o_drop_down_button
1776 li.oe_m2o_dropdown_option a
1779 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1782 // FormView.fieldstatus {{{
1783 ul.oe_form_status, ul.oe_form_status_clickable
1784 display: inline-block
1788 display: inline-block
1789 list-style-type: none
1790 // It is probably a bad idea to modify this margin
1793 @include vertical-gradient(#fcfcfc, #dedede)
1794 &:first-child > .label
1795 border-left: 1px solid #cacaca
1798 border-right: 1px solid #cacaca
1805 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
1807 display: inline-block
1811 // Customize for statusbar label
1819 display: inline-block
1827 display: inline-block
1830 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
1831 @include skew-gradient(#fcfcfc, #dedede)
1832 @include radius(3px)
1833 @include transform(rotate(45deg))
1847 @include vertical-gradient(#729fcf, #3465a4)
1849 @include skew-gradient(#729fcf, #3465a4)
1852 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
1853 ul.oe_form_status_clickable
1857 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1859 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
1861 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1866 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1868 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
1870 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1872 // FormView.one2many {{{
1873 .oe_form .oe_form_field_one2many > .oe_view_manager
1874 .oe_list_pager_single_page
1876 .oe_form_field_one2many,.oe_form_field_many2many
1877 // TODO: oe_form_field_one2many_list?
1879 .oe_list_pager_single_page
1880 display: none !important
1881 .oe_view_manager_view_list
1884 .oe_form_field_one2many_list_row_add,.oe_form_field_many2many_list_row_add
1891 background: transparent
1892 .oe_list .oe_list_edit_row_save
1893 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
1900 .oe_view_manager_header2
1912 .oe_list_buttons.oe_editing .oe_list_save
1913 // keep "save row" button hidden in o2m
1919 background-color: #d2d2ff
1921 background-color: #eee
1924 .oe_list_editable .oe_list_content td.oe_list_field_cell
1925 padding: 4px 6px 3px
1926 .oe_list.oe_list_editable.oe_editing
1927 .oe_edition .oe_list_field_cell
1932 .oe_m2o_drop_down_button
1939 &.oe_list_field_handle
1942 padding: 4px 6px 3px
1949 border: 1px solid #aaf
1951 input, textarea, select
1953 &.oe_form_field_float,&.oe_form_view_integer
1955 padding: 6px 0px 0px
1960 width: 100% !important
1962 &.oe_form_field_datetime,&.oe_form_field_date
1963 input.oe_datepicker_master
1964 width: 100% !important
1965 &.oe_form_field_reference
1970 // FormView.many2many {{{
1971 .oe_form .oe_form_field_many2many > .oe_list
1972 .oe_list_pager_single_page
1979 .oe_list_save, .oe_list_discard
1985 display: inline-block
1993 .oe_list_header_handle, .oe_list_field_handle
1994 display: none !important
1995 padding: 0 !important
1997 .oe_list_record_delete
1998 display: none !important
2002 margin: 0 // FIXME: either class or border should not be by default
2008 margin: 0 !important // dammit
2010 .oe_form_field_boolean input
2011 margin: 1px 0 0 10px !important
2012 .oe_list_content .oe_group_header
2013 @include vertical-gradient(#fcfcfc, #dedede)
2017 td:first-child, th:first-child
2021 text-align: right !important
2023 td.oe_list_field_date, th.oe_list_header_date
2026 border-bottom: 2px solid #cacaca
2032 th.oe_sortable, th.oe_sortable div
2036 th.oe_sortable div:after
2040 border-width: 0 4px 4px
2042 border-color: #000 transparent
2047 @include opacity(0.6)
2048 .oe_list_header_many2many_tags
2050 th.sortdown div:after
2053 border-left: 4px solid transparent
2054 border-right: 4px solid transparent
2055 border-top: 4px solid #000
2057 @include box-shadow(none)
2058 @include opacity(0.6)
2063 border-top: 1px solid #ddd
2064 > td.oe_list_field_cell
2066 white-space: pre-line
2070 background: transparent
2073 border: 1px solid rgba(0,0,0,0.4)
2076 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2080 > td.oe_list_field_boolean input
2083 background-color: #f0f0fa
2084 @include vertical-gradient(#f0f0fa, #eeeef6)
2087 border-top: 2px solid #cacaca
2088 border-bottom: 1px solid #cacaca
2098 th.oe_list_header_handle
2101 text-indent: -9001px
2102 td.oe_list_field_handle
2104 padding: 0 !important
2107 @include text-to-entypo-icon("}",#E0E0E0,18px)
2109 .oe_list_field_progressbar progress
2114 background-color: #f0f0f0
2115 border-bottom: 1px solid #cacaca
2125 background-color: white
2131 background-color: #f0f0f0
2132 border-bottom: 2px solid #cacaca
2136 vertical-align: middle
2138 vertical-align: middle
2142 border-right: 1px solid #e7e7e7
2145 text-align: right !important
2147 border-bottom: 1px solid #d6d6d6
2149 background-color: #e7e7e7
2155 .treeview-tr.oe-treeview-first
2156 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2157 .oe_open .treeview-tr.oe-treeview-first
2158 background-image: url(/web/static/src/img/collapse.gif)
2159 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2162 // Debugging stuff {{{
2163 .oe_layout_debugging
2165 outline: 2px dashed green
2167 outline: 1px solid blue
2168 .oe_form_group:hover, .oe_form_group_cell:hover
2170 .oe_form_group_row_incomplete > td:last-child:after
2171 content: "[Incomplete Row]"
2177 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2178 content: "[newline]"
2187 // Bootstrap HACKS {{{
2188 .oe_navbar .dropdown-menu
2191 background: #333333 !important
2192 background: rgba(37, 37, 37, 0.9) !important
2193 border-color: #999999
2194 border-color: rgba(0, 0, 0, 0.2)
2195 background-color: #414141
2197 @include vertical-gradient(#646060, #262626)
2198 @include radius(3px)
2203 // Minimized unused white space and label weight for wizard popup
2204 .oe_view_manager_new .oe_form_nosheet
2209 // Customize bootstrap3 for leftbar
2212 padding: 6px 4px 2px 18px
2214 .nav-stacked > li > ul
2216 .nav-pills > li.active,a.list-group-item.active
2218 background-color: #7c7bad
2222 background-color: #7c7bad
2224 background-color: white
2230 background-color: #7c7bad
2232 // Customize for global tags
2240 -webkit-margin-before: 1em
2241 -webkit-margin-after: 1em
2242 -webkit-margin-start: 0px
2243 -webkit-margin-end: 0px
2245 background-color: #FFFFFF
2247 padding: 10px 0 3px 0
2251 // Customize for chatter
2255 .oe_form .oe_subtype label, .oe_subtype label
2257 .oe_msg_subtype_check
2258 margin: 3px 3px 0 !important
2260 // Customize for kanban tooltip
2262 height: auto !important
2263 width: auto !important
2266 @-moz-document url-prefix()
2268 .oe_form_field_many2one .oe_m2o_cm_button
2271 .oe_star_on, .oe_star_off
2275 .kitten-mode-activated
2276 background-size: cover
2277 background-attachment: fixed
2281 @include radius(15px)
2282 @include box-shadow(0 0 5px 5px #999)
2285 // jQueryUI top level {{{
2286 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2287 div.ui-widget-overlay
2289 @include opacity(0.3)
2290 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2291 // eg: $el.autocomplete().openerpClass();
2293 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2299 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2301 border: 1px solid $tag-border
2311 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2312 background: $tag-bg-dark
2314 //@include vertical-gradient(#f0f0fa, #eeeef6)
2317 @include radius(3px)
2323 padding-bottom: 10px !important
2325 // Server side single forms {{{
2326 @mixin single-form($width: 400px)
2332 /* Set margins to offset 50% of the w/h */
2333 margin-top: -($width / 2)
2334 margin-left: -($width / 2)
2337 background: #eee url(/web/static/src/img/form_sheetbg.png)
2340 .oe_single_form_logo
2345 .oe_single_form_footer
2352 .oe_single_form_container
2353 @include single-form(400px)
2357 // Internet Explorer 9+ specifics {{{
2360 color: $tag-border !important
2361 font-style: italic !important
2362 .oe_form_binary_file
2364 .oe_form_field_boolean input
2366 .db_option_table .oe_form_field_selection
2368 input[type='checkbox']
2379 .oe_view_manager_view_kanban
2381 .oe_view_manager_buttons
2382 button.oe_write_full
2388 button .oe_form_button_edit
2391 button .oe_form_button_create
2406 .oe_kanban_show_more
2409 &.oe_kanban_grouped .oe_kanban_show_more .oe_button
2413 .oe_form_buttons button
2424 .oe_form_buttons, .oe_view_manager_buttons
2430 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
2431 .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
2432 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
2434 width: 99% !important
2436 white-space: normal !important
2437 ul.oe_form_status, ul.oe_form_status_clickable
2439 display: inline-block
2443 border-right: 1px solid #cacaca
2448 display: inline-block
2450 filter: alpha(opacity = 0)
2455 border-bottom: 1px solid #cacaca
2456 background: transparent
2459 background-color: #eeeeee !important
2462 border-bottom: 1px solid #729fcf
2464 background-color: #729fcf !important
2467 height: auto !important
2473 .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body
2475 .oe_header_row, ul.oe_header, div.oe_mail_thread_action, .oe_mail_recthread_actions, .oe_button_box, .oe_form button, button.oe_invite, .oe_form header, .openerp .oe_notebook > li.ui-state-default, .oe_topbar, .oe_leftbar, .oe_loading
2476 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2477 display: none !important
2479 button, input[type=checkbox]
2481 .tree_header button, .oe_mail .oe_mail_thread_msg .oe_mail_unread, .oe_mail_fetch_more, .oe_m2o_drop_down_button img, .oe_form_field_one2many_list_row_add
2484 &.oe_m2o_cm_button, &.oe_e
2487 .oe_form_field_date img, .oe_form_field_datetime img
2489 .oe_notebook > li.ui-tabs-selected
2492 .oe_form_sheet, .oe_form_sheetbg
2493 border: 0px !important
2494 box-shadow: 0px 0px 0px
2497 .oe_view_manager_current > .oe_view_manager_header
2498 border: 0px !important
2499 box-shadow: 0px 0px 0px
2501 .text-core .text-wrap .text-arrow
2503 .openerp div.oe_mail_wall
2504 overflow: hidden !important
2505 .openerp.openerp_webclient_container
2511 // Customize bootstrap3 for tooltip
2515 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2519 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
2520 background-color: transparent
2523 text-align: left !important
2530 white-space: pre-wrap
2531 .oe_tooltip_technical
2533 margin: 5px 0 0 15px
2536 .oe_tooltip_technical_title
2539 margin: -5px 0 0 2px
2549 // Hack for ui icon {{{
2555 // Customized modal according bootstrap3
2557 .modal-header button.close
2580 .oe_act_window.modal-body
2582 .oe-view-manager-content > div
2583 position: static !important
2585 @media (min-width: 768px)
2587 max-height: -webkit-calc(100vh - 170px)
2588 max-height: calc(100vh - 170px)
2591 z-index: 1500 !important
2593 input[type="radio"], input[type="checkbox"]
2597 .blockUI.blockOverlay
2598 background-color: black
2599 opacity: 0.6000000238418579
2601 /* ---- EDITOR TOUR ---- {{{ */
2612 *[data-role="next"],*[data-role="end"]
2623 background-color: #000
2632 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
2633 .oe-view-manager-content
2635 position: absolute !important
2636 .oe-view-manager-content
2638 position: relative !important
2641 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2642 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: