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($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"
150 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
154 &.openerp_webclient_container
157 //Placeholder style{{{
159 color: $tag-border !important
160 font-style: italic !important
161 \::-webkit-input-placeholder
162 color: $tag-border !important
163 font-style: italic !important
164 \:-ms-input-placeholder
165 color: $tag-border !important
166 font-style: italic !important
170 text-decoration: none
171 cursor: pointer !important
174 border-collapse: collapse
177 background-color: #f0f0f0
179 border-left: 1px solid #dfdfdf
189 vertical-align: middle
203 .zebra tbody tr:nth-child(odd) td
204 background-color: #f0f0fa
205 @include vertical-gradient(#f0f0fa, #eeeef6)
206 .zebra tbody tr:hover td
207 @include vertical-gradient(#eee, #dedede)
208 input, textarea, select
210 border: 1px solid #ccc
214 vertical-align: middle
221 a.button:link, a.button:visited, button, .oe_button, input[type='submit'], .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
222 display: inline-block
223 border: 1px solid rgba(0,0,0,0.4)
229 @include vertical-gradient(#efefef, #d8d8d8)
231 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
232 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
233 -webkit-font-smoothing: antialiased
236 a.button:hover, button:hover,.oe_button:hover, input[type='submit']:hover, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-hover
237 @include vertical-gradient(#f6f6f6, #e3e3e3)
239 background-position: 0
241 a.button:focus, button:focus, .oe_button:focus, input[type='submit']:focus, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-focus
242 border: 1px solid #80bfff
243 background-position: 0
244 @include vertical-gradient(#f6f6f6, #e3e3e3)
245 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
247 a.button:active, a.button.active, button:active, .oe_button:active, .oe_button.active, input[type='submit']:active, input[type='submit'].active, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-active
248 @include vertical-gradient(#e3e3e3, #f6f6f6)
249 @include box-shadow(none)
251 a.button.disabled, button:disabled, .oe_button:disabled, input[type='submit']:disabled
252 background: #efefef !important
253 border: 1px solid #d1d1d1 !important
254 @include box-shadow(none !important)
255 color: #aaa !important
257 text-shadow: 0 1px 1px #fff !important
259 // Jquery ui Overrides {{{
263 display: inline-block
266 .text-tag .text-button
267 height: auto !important
270 // bug noted in jquery ui CSS doesn't seem to occur in IE9,
271 // so remove position:relative
278 height: auto !important
281 background-color: rgba(60,60,60,0.7)
283 border-color: #888 #555 #444
286 @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6))
287 @include background-clip()
290 .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane
296 border-bottom: 1px solid #cacaca
297 @include radius(2px 2px 0 0)
298 @include vertical-gradient(#FCFCFC, #DEDEDE)
304 width: auto !important
305 .ui-dialog-buttonpane
306 border-top: 1px solid #e0e0e0
309 @include radius(0 0 2px 2px)
316 .ui-dialog-titlebar-close
326 text-shadow: 0 1px 0 white
329 background: transparent
333 text-decoration: none
335 background-color: white
336 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
337 @include radius(0 0 2px 2px)
341 text-decoration: underline
352 text-shadow: 0 1px 1px #999999
353 @include vertical-gradient(#b41616, #600606)
356 @include radius(0 0 2px 2px)
360 &.ui-dialog.oe_act_window
371 background-color: black
375 // Generic classes {{{
377 font-family: "mnmliconsRegular" !important
379 font-weight: 300 !important
381 font-family: "entypoRegular" !important
383 font-weight: 300 !important
407 width: auto !important
412 @include vertical-gradient(#df3f3f, #a21a1a)
413 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
414 button.oe_highlight:hover
415 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
416 button.oe_highlight:active
417 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
419 background: #eee !important
422 .oe_highlight_on_dirty
426 button.oe_highlight_on_dirty
427 @include vertical-gradient(#dc5f59, #b33630)
428 @include box-shadow(none)
441 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
446 .oe_image_small > img
449 .oe_image_medium > img
455 display: inline-block
461 text-decoration: underline
463 .oe_star_on, .oe_star_off
465 text-shadow: 0 0 2px black
469 .oe_star_on:hover, .oe_star_off:hover
470 text-decoration: none
477 // Added for generic error message and customize bootstrap3 <pre>,<hr>
481 -webkit-margin-before: 0.5em
482 -webkit-margin-after: 0.5em
483 -webkit-margin-start: auto
484 -webkit-margin-end: auto
489 // Tags (for many2many tags, among others) {{{
491 border: 1px solid $tag-border
496 background: $tag-bg-light
499 background: $tag-bg-dark
505 display: inline-block
513 border: 2px solid transparent
514 display: inline-block
517 vertical-align: bottom
527 width: 100% !important
529 width: 100% !important
532 .text-wrap .text-dropdown .text-list .text-suggestion em
534 text-decoration: none
545 white-space: pre-wrap
546 .oe_tooltip_technical
551 .oe_tooltip_technical_title
570 .oe_notebook.ui-corner-all
572 .oe_notebook:before, .oe_notebook:after
580 .oe_notebook > li > a
583 .oe_notebook > li.ui-tabs-active > a
588 border-width: 0 0 1px
591 .oe_notebook > li > a
595 border: 1px solid transparent
596 @include radius(4px 4px 0 0)
597 .oe_notebook > li > a:hover
598 text-decoration: none
599 background-color: #eee
600 border-color: #eee #eee #ddd
601 .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active
604 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
605 background-color: #ffffff
606 border: 1px solid #ddd
607 border-bottom-color: transparent
611 //Customize label weight according bootstrap3
613 font-weight: normal !important
616 padding: 3px 0px 3px 0px
621 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
627 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
634 border: 1px solid $tag-border
640 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
643 @include vertical-gradient(#f0f0fa, #eeeef6)
644 @include box-shadow(none)
645 list-style-type: none
655 text-decoration: none
657 text-decoration: none
658 .oe_dropdown_arrow:after
661 display: inline-block
663 text-indent: -99999px
666 //margin-left set at 3px to avoid a strange overflow
668 border-left: 4px solid transparent
669 border-right: 4px solid transparent
670 border-top: 4px solid#404040
671 @include opacity(0.5)
675 .oe_sidebar_add_attachment
682 .oe_hidden_input_file
685 @include vertical-gradient(#f0f0fa, #eeeef6)
686 @include box-shadow(none)
688 .oe_sidebar_delete_item
700 text-shadow: 0 1px 1px white
702 text-decoration: none
705 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
708 .oe_sidebar_delete_item
709 display: inline-block
722 border: 1px solid #900
724 -moz-border-radius-bottomright: 8px
725 -moz-border-radius-bottomleft: 8px
726 border-bottom-right-radius: 8px
727 border-bottom-left-radius: 8px
732 .oe_webclient_timezone_notification
735 text-decoration: underline
743 background-color: #f6cf3b
754 // DatabaseManager {{{
759 .oe_database_manager_menu
768 // WebClient.fullscreen {{{
769 .oe_content_full_screen
773 .oe_topbar, .oe_leftbar
779 .oe_topbar_anonymous_login
780 background-color: #dc5f59
782 @include vertical-gradient(#FC8787, #800000)
785 padding: 5px 10px 7px
788 text-decoration: none
790 background: transparent
791 @include transition(all 0.2s ease-out)
793 background: rgba(0,0,0,0.1)
795 text-shadow: 0px 0px 3px rgba(0,0,0,0.2)
796 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
799 padding: 5px 10px 26px
802 text-decoration: none
805 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
806 @include transition(all 0.2s ease-out)
808 background: rgba(0,0,0,0.2)
809 text-shadow: black 0px 0px 3px
811 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
820 .oe_dropdown_arrow:after
821 border-top: 4px solid white
825 background: rgba(37,37,37,0.9)
827 border-color: rgba(0, 0, 0, 0.2)
829 border-width: 0 2px 1px
830 @include radius(0 0 6px 6px)
831 @include background-clip()
838 @include vertical-gradient(#292929, #191919)
839 @include box-shadow(none)
842 display: inline-block
843 height: 15px // Customize to manage caret when topbar_name is over sized.
844 text-overflow: ellipsis
846 overflow: hidden // Customize to bring ellipsis when topbar_name is over sized.
848 // oe menu is the list of the buttons on the left side of the bar.
849 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
850 // is a leftover from an uncomplete refactoring when the left and top menu
851 // were merged. You are welcome to refactor and clean this up
858 list-style-type: none
866 padding: 5px 10px 26px !important
869 text-decoration: none
870 color: #eee !important
872 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
873 @include transition(all 0.2s ease-out)
875 background: rgba(0,0,0,0.2)
876 text-shadow: black 0px 0px 3px
878 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
880 background: rgba(0,0,0,0.30)
881 text-shadow: black 0px 0px 3px
882 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
889 list-style-type: none
901 // Webclient.leftbar {{{
906 border-right: 1px solid $tag-border
926 background: rgba(37,37,37,0.9)
927 @include box-sizing(border)
928 &:hover .oe_logo_edit_admin
943 // Webclient.leftbar items {{{
945 .oe_secondary_menu_section
949 .oe_secondary_submenu
950 margin-bottom: 10px !important
956 display: inline-block
957 text-overflow: ellipsis
963 @include transform(scale(1.1))
964 .oe_menu_toggler:before
967 display: inline-block
969 text-indent: -99999px
974 border-top: 4px solid transparent
975 border-bottom: 4px solid transparent
976 border-left: 4px solid #4c4c4c
977 @include opacity(0.5)
978 .oe_menu_opened:before
982 border-left: 4px solid transparent
983 border-right: 4px solid transparent
984 border-top: 4px solid #4c4c4c
985 .oe_secondary_submenu li
990 background-color: white
991 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
992 @include radius(0 0 2px 2px)
996 text-decoration: underline
1007 text-shadow: 0 1px 1px #999999
1008 @include vertical-gradient(#b41616, #600606)
1011 @include radius(0 0 2px 2px)
1015 // ActionManager {{{
1017 text-decoration: underline
1025 .oe_breadcrumb_item:not(:last-child)
1028 text-overflow: ellipsis
1029 .oe_breadcrumb_title > *
1030 display: inline-block
1034 // ViewManager common {{{
1039 .oe_view_manager_body
1041 .oe_view_manager_view_kanban:not(:empty)
1043 &[data-view-type=kanban]
1044 .oe_view_manager_body
1047 table.oe_view_manager_header
1048 border-collapse: separate
1055 text-shadow: 0 1px 1px white
1056 .oe_header_row:last-child
1059 .oe_header_row:first-child
1062 .oe_view_manager_sidebar
1065 .oe_dropdown_arrow:after
1079 display: inline-block
1080 border: 1px solid #ababab
1081 @include radius(5px)
1084 border-right: 1px solid #ababab
1090 text-decoration: none
1093 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1096 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1097 .oe_view_manager_buttons
1100 // ViewManager.switches {{{
1101 .oe_view_manager_switch
1111 list-style-type: none
1114 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1117 .oe_vm_switch_form:after
1119 .oe_vm_switch_graph:after
1120 font-family: "mnmliconsRegular" !important
1122 font-weight: 300 !important
1126 .oe_vm_switch_gantt:after
1127 font-family: "mnmliconsRegular" !important
1129 font-weight: 300 !important
1133 .oe_vm_switch_calendar:after
1135 .oe_vm_switch_kanban:after
1137 .oe_vm_switch_diagram:after
1153 display: inline-block
1154 border: 1px solid #ababab
1156 @include radius(5px)
1162 list-style-type: none
1164 border-right: 1px solid #ababab
1171 text-decoration: none
1174 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1177 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1178 .oe_list_pager.oe_list_pager_single_page .oe_pager_group
1181 // ViewManager application {{{
1182 .oe_view_manager_current
1184 > .oe_view_manager_header
1185 border-bottom: 1px solid #cacaca
1186 @include vertical-gradient(#fcfcfc, #dedede)
1187 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1191 .oe_header_row:first-child
1195 // ViewManager inline {{{
1196 .oe_view_manager_inline, .oe_view_manager_inlineview
1198 > .oe_view_manager_header
1203 .oe_formview .oe_form_pager
1204 display: none !important
1205 // Customize label weight for popup wizard appear from another wizard according bootstrap3
1209 .oe_popup_list_pager
1220 border: 1px solid #ababab
1222 @include radius(13px)
1223 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1229 //Customize searchview input, select
1230 input:not([type]), input[type="text"], input[type="number"]
1233 input[type="checkbox"]
1234 margin: 3px 3px 3px 4px
1236 margin: 2px 4px 2px 0
1239 border-color: $tag-border-selected
1240 @include box-shadow(0 1px 2px $tag-border-selected inset)
1241 .oe_searchview_clear
1248 background: url(../img/search_reset.gif) center center no-repeat
1249 .oe_searchview_unfold_drawer
1254 padding: 0 7px 0 4px
1265 display: inline-block
1268 border-top: 5px solid #4C4C4C
1269 border-left: 5px solid transparent
1270 border-right: 5px solid transparent
1273 .oe_searchview_search
1274 @include text-to-icon("r", #a3a3a3)
1275 @include box-shadow(none)
1282 background: transparent
1284 .oe_searchview_facets
1286 margin: 0 35px 0 15px
1289 display: inline-block
1291 .oe_searchview_facet
1296 .oe_searchview_input
1303 .oe_searchview_facet
1307 -webkit-font-smoothing: auto
1308 // spacing for opera, FF
1310 border-color: $tag-border-selected
1311 @include box-shadow(0 0 3px 1px $tag-border-selected)
1313 background: $tag-bg-light
1314 @include radius(0 3px 3px 0)
1315 .oe_facet_category, .oe_facet_value
1319 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1320 .oe_facet_category.oe_i
1323 border-left: 1px solid $tag-border
1324 text-shadow: 0 1px 1px white
1340 text-shadow: 0 1px 1px white
1344 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1345 @include radius(2px)
1346 &.oe_searchview_open_drawer
1347 .oe_searchview_drawer
1350 .oe_searchview_drawer
1354 // detach drawer from field slightly
1358 background-color: white
1361 border: 1px solid $tag-border
1363 @include radius(4px)
1364 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1366 border-top: 1px solid #ccc
1373 margin: 8px 4px 4px 0px
1374 color: $section-title-color
1380 display: inline-block
1382 background-color: $hover-background
1390 background: transparent
1392 @include box-shadow(none)
1394 .oe_searchview_section
1398 @include box-sizing(border)
1401 padding-left: 2px // Managed padding-left according bootstrap3
1408 padding: 2px 4px 2px 20px
1413 &.oe_selected:before
1415 font-family: "entypoRegular" !important
1417 font-weight: 300 !important
1422 // after oe_selected so background color is not overridden
1424 background-color: $hover-background
1431 margin: 0 0 8px -3px // Managed margin-left according bootstrap3
1432 .oe_searchview_custom
1433 padding: 0 8px 8px 8px
1444 padding: 2px 4px 2px 20px
1446 background-color: $hover-background
1451 //Customize for searchview label
1455 .oe_searchview_dashboard
1460 .oe_searchview_advanced
1464 button.oe_add_condition:before
1466 font-family: "entypoRegular" !important
1468 font-weight: 300 !important
1478 &:first-child .searchview_extended_prop_or
1481 .searchview_extended_prop_or
1483 margin-left: -14px //Customize 'or' in searchview
1493 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1494 display: inline-block
1503 text-shadow: 0 1px 1px white
1505 text-decoration: none
1508 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1509 @include radius(2px)
1510 .oe_searchview_custom_delete
1515 .oe_searchview_custom_private, .oe_searchview_custom_public
1517 .oe_searchview_custom_delete
1518 display: inline-block
1519 .oe_searchview_custom_public:after
1521 font-family: "entypoRegular" !important
1523 font-weight: 300 !important
1536 .oe_view_nocontent_create
1542 display: inline-block
1548 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1551 .oe_empty_custom_dashboard
1552 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1554 padding: 100px 0 0 137px
1557 .oe_view.oe_cannot_create
1558 .oe_view_nocontent_create
1561 // FormView.base and dynamic tags {{{
1564 .oe_form_dropdown_section
1566 display: inline-block
1568 input, select, textarea
1569 background-color: #F66 !important
1570 border: 1px solid #D00 !important
1571 .oe_view_manager_current .oe_form_editable
1576 @include vertical-gradient(#efefef, #d8d8d8)
1577 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1578 button.oe_highlight:active
1579 @include vertical-gradient(#e3e3e3, #f6f6f6)
1580 @include box-shadow(none)
1581 button.oe_highlight:hover
1582 @include vertical-gradient(#f6f6f6, #e3e3e3)
1583 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1585 display: none !important
1588 display: none !important
1590 .oe_edit_only, .oe_form_field:empty
1591 display: none !important
1592 .oe_form .oe_form_field_date
1594 .oe_form_field_boolean.boolean
1600 // IE needs a color in order for the layer to respond to mouse events
1601 backgroundColor: "#fff"
1603 // Sheet and padding
1607 margin: -16px -16px 0 -16px
1609 .oe_form_nosheet.oe_form_nomargin
1615 .oe_form_sheet_width
1617 max-width: $sheet-max-width
1625 // Sheet inline mode
1628 background: url(/web/static/src/img/form_sheetbg.png)
1629 border-bottom: 1px solid #ddd
1630 // Customize font weight according bootstrap3
1631 .oe_subtotal_footer label
1637 border: 1px solid #c8c8d3 //$tag-border
1638 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1644 // FormView.header {{{
1645 .oe_form > :not(.oe_form_nosheet) header, .oe_form > .oe_form_nosheet header
1648 display: inline-block
1656 border-bottom: 1px solid #cacaca
1658 @include vertical-gradient(#fcfcfc, #dedede)
1663 // FormView.custom tags and classes {{{
1671 box-sizing: border-box
1672 min-width: $sheet-min-width + 2* $sheet-padding
1673 max-width: $sheet-max-width + 2* $sheet-padding
1675 padding: 16px 16px 48px
1676 div.oe_form_configuration
1682 .oe_form_group_cell_label
1684 .oe_form_group_cell div div
1687 width: 1% !important
1688 td.oe_form_group_cell
1690 padding: 0 !important
1691 td.oe_form_group_cell_label
1693 .oe_subtotal_footer_separator
1695 border-top: 1px solid #cacaca
1702 label.oe_subtotal_footer_separator
1703 font-weight: bold !important
1704 padding: 2px 11px 2px 0px !important
1705 label.oe_form_label_help
1706 font-weight: normal !important
1709 border-bottom: 1px solid #cb6
1713 .oe_form_box_warning
1715 border-bottom: 1px solid #900
1723 // FormView.group {{{
1727 td.oe_form_group_cell_label
1728 border-right: 1px solid #ddd
1734 font-weight: bold !important
1735 td.oe_form_group_cell + .oe_form_group_cell
1736 padding: 2px 0 2px 8px
1740 .oe_form_group_cell.oe_group_right
1743 // FormView.label {{{
1745 .oe_form_label_help[for], .oe_form_label[for]
1756 // FormView.separator {{{
1757 .oe_horizontal_border
1758 border-bottom: 1px solid black
1759 .oe_horizontal_separator
1762 margin: 15px 0px 10px 0px
1763 color: $section-title-color
1764 .oe_horizontal_separator:empty
1766 .oe_vertical_separator
1767 border-left: 1px solid #666
1768 padding: 0 4px 0 4px
1770 // FormView.progressbar {{{
1771 .oe_form_field_progressbar
1772 display: inline-block
1774 .oe_form_field_progressbar.ui-progressbar
1777 @include box-sizing(border)
1778 border: 1px solid #999
1779 @include radius(3px)
1787 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1789 // FormView.fields {{{
1793 .oe_form_text_content
1794 text-overflow: ellipsis
1795 display: inline-block
1796 white-space: pre-wrap
1799 .oe_form_field_char input,
1800 .oe_form_field_url input,
1801 .oe_form_field_email input,
1802 .oe_form_field_text textarea,
1803 .oe_form_field_selection select
1805 .oe_notebook_page .oe_form_field_text textarea
1807 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1809 h1, h2, h3, h4, h5, h6
1812 height: inherit !important
1814 // Customize for formview
1827 display: inline-block
1828 padding: 2px 2px 2px 0px
1832 input[type="text"], input[type="password"], input[type="file"], select
1835 input[type="text"], input[type="password"], input[type="file"], select, textarea
1836 @include box-sizing(border)
1840 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
1841 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1842 background: #E5E5E5 !important
1847 @include box-shadow(none)
1848 @include radius(0px)
1850 textarea.oe_inline[disabled]
1851 border-left: 8px solid #eee
1852 .oe_form_field_url button img
1854 .oe_form_field_monetary,
1855 .oe_form_field_date,
1856 .oe_form_field_datetime
1858 .oe_form_field_boolean
1860 .oe_datepicker_container
1863 display: inline-block
1865 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1866 background-color: #D2D2FF !important
1868 input, select, textarea
1869 background-color: #F66 !important
1870 border: 1px solid #D00 !important
1873 margin: 3px 0 0 -21px
1875 .oe_input_icon_disabled
1879 filter: alpha(opacity=50)
1882 .oe_form_field_with_button.oe_no_button > .oe_button
1884 .oe_form_field_with_button:not(.oe_no_button)
1888 border-bottom-left-radius: 0px
1890 .oe_form_field_with_button
1896 .oe_form_embedded_html
1902 .oe_form_field_html .oe_input_icon
1908 .oe_form_field_integer input
1910 .oe_form_field_float input
1912 .oe_form_field_date input
1914 .oe_form_field_datetime input
1917 // FormView.fields_binary {{{
1918 /* http://www.quirksmode.org/dom/inputfile.html
1919 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1921 .oe_hidden_input_file
1922 // Position: relative is used for the hidden input[type=file]
1923 // Do not remove it anymore !
1925 input.oe_form_binary_file
1934 filter: alpha(opacity = 0)
1935 -ms-filter: "alpha(opacity=0)"
1939 .oe_form_field_binary
1940 display: inline-block
1941 .oe_form_field_image
1944 display: inline-block
1947 .oe_form_field_image_controls
1955 background: rgba(37,37,37,0.9)
1956 @include radius(3px 3px 0 0)
1957 @include box-sizing(border)
1958 &:hover .oe_form_field_image_controls
1961 display: inline-block
1964 margin-bottom: -15px
1970 margin: 9px 0 /* Customize margin according bootstrap3 */
1977 vertical-align: middle
1980 background: transparent
1989 input.oe_form_binary_file
1990 display: inline-block
2004 border: solid 1px rgba(124,123,173,0.14)
2013 text-decoration: none
2014 .oe_attachment:nth-child(odd)
2016 .oe_attachment:nth-child(even)
2019 // FormView.many2one {{{
2020 .oe_form_field_many2one
2021 display: inline-block
2024 span.oe_m2o_drop_down_button
2035 li.oe_m2o_dropdown_option a
2038 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
2041 // FormView.fieldstatus {{{
2042 ul.oe_form_status, ul.oe_form_status_clickable
2043 display: inline-block
2047 display: inline-block
2048 list-style-type: none
2049 // It is probably a bad idea to modify this margin
2052 @include vertical-gradient(#fcfcfc, #dedede)
2053 &:first-child > .label
2054 border-left: 1px solid #cacaca
2057 border-right: 1px solid #cacaca
2064 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
2066 display: inline-block
2070 // Customize for statusbar label
2078 display: inline-block
2086 display: inline-block
2089 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2090 @include skew-gradient(#fcfcfc, #dedede)
2091 @include radius(3px)
2092 @include transform(rotate(45deg))
2106 @include vertical-gradient(#729fcf, #3465a4)
2108 @include skew-gradient(#729fcf, #3465a4)
2111 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
2112 ul.oe_form_status_clickable
2116 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2118 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2120 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2125 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2127 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2129 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2131 // FormView.one2many {{{
2132 .oe_form .oe_form_field_one2many > .oe_view_manager
2133 .oe_list_pager_single_page
2135 .oe_form_field_one2many,.oe_form_field_many2many
2136 // TODO: oe_form_field_one2many_list?
2138 .oe_list_pager_single_page
2139 display: none !important
2140 .oe_view_manager_view_list
2143 .oe_form_field_one2many_list_row_add
2150 background: transparent
2151 .oe_list .oe_list_edit_row_save
2152 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2159 .oe_view_manager_header2
2171 .oe_list_buttons.oe_editing .oe_list_save
2172 // keep "save row" button hidden in o2m
2178 background-color: #d2d2ff
2180 background-color: #eee
2183 .oe_list_editable .oe_list_content td.oe_list_field_cell
2184 padding: 4px 6px 3px
2185 .oe_list.oe_list_editable.oe_editing
2186 .oe_edition .oe_list_field_cell
2191 .oe_m2o_drop_down_button
2198 &.oe_list_field_handle
2201 padding: 4px 6px 3px
2208 border: 1px solid #aaf
2210 input, textarea, select
2212 &.oe_form_field_float,&.oe_form_view_integer
2214 padding: 6px 0px 0px
2219 width: 100% !important
2221 &.oe_form_field_datetime,&.oe_form_field_date
2222 input.oe_datepicker_master
2223 width: 100% !important
2224 &.oe_form_field_reference
2229 // FormView.many2many {{{
2230 .oe_form .oe_form_field_many2many > .oe_list
2231 .oe_list_pager_single_page
2238 .oe_list_save, .oe_list_discard
2244 display: inline-block
2252 .oe_list_header_handle, .oe_list_field_handle
2253 display: none !important
2254 padding: 0 !important
2256 .oe_list_record_delete
2257 display: none !important
2261 margin: 0 // FIXME: either class or border should not be by default
2267 margin: 0 !important // dammit
2269 .oe_form_field_boolean input
2270 margin: 1px 0 0 10px !important
2271 .oe_list_content .oe_group_header
2272 @include vertical-gradient(#fcfcfc, #dedede)
2276 td:first-child, th:first-child
2280 text-align: right !important
2282 td.oe_list_field_date, th.oe_list_header_date
2285 border-bottom: 2px solid #cacaca
2291 th.oe_sortable, th.oe_sortable div
2295 th.oe_sortable div:after
2299 border-width: 0 4px 4px
2301 border-color: #000 transparent
2306 @include opacity(0.6)
2307 .oe_list_header_many2many_tags
2309 th.sortdown div:after
2312 border-left: 4px solid transparent
2313 border-right: 4px solid transparent
2314 border-top: 4px solid #000
2316 @include box-shadow(none)
2317 @include opacity(0.6)
2322 border-top: 1px solid #ddd
2323 > td.oe_list_field_cell
2325 white-space: pre-line
2329 background: transparent
2331 @include box-shadow(none)
2332 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2336 > td.oe_list_field_boolean input
2339 background-color: #f0f0fa
2340 @include vertical-gradient(#f0f0fa, #eeeef6)
2343 border-top: 2px solid #cacaca
2344 border-bottom: 1px solid #cacaca
2354 th.oe_list_header_handle
2357 text-indent: -9001px
2358 td.oe_list_field_handle
2360 padding: 0 !important
2363 @include text-to-entypo-icon("}",#E0E0E0,18px)
2365 .oe_list_field_progressbar progress
2370 background-color: #f0f0f0
2371 border-bottom: 1px solid #cacaca
2381 background-color: white
2387 background-color: #f0f0f0
2388 border-bottom: 2px solid #cacaca
2392 vertical-align: middle
2394 vertical-align: middle
2398 border-right: 1px solid #e7e7e7
2401 text-align: right !important
2403 border-bottom: 1px solid #d6d6d6
2405 background-color: #e7e7e7
2411 .treeview-tr.oe-treeview-first
2412 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2413 .oe_open .treeview-tr.oe-treeview-first
2414 background-image: url(/web/static/src/img/collapse.gif)
2415 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2418 // Debugging stuff {{{
2419 .oe_layout_debugging
2421 outline: 2px dashed green
2423 outline: 1px solid blue
2424 .oe_form_group:hover, .oe_form_group_cell:hover
2426 .oe_form_group_row_incomplete > td:last-child:after
2427 content: "[Incomplete Row]"
2433 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2434 content: "[newline]"
2441 // Bootstrap HACKS {{{
2448 background-color: #414141
2449 @include vertical-gradient(#646060, #262626)
2454 background: rgba(0, 0, 0, 0.3)
2455 .open > a,a:hover,a:focus
2456 background: rgba(0, 0, 0, 0.3) !important
2457 .dropdown > a .caret
2458 border-top-color: #777 !important
2459 border-bottom-color: #777 !important
2463 padding: 4px 32px 4px 12px
2464 .oe_navbar .dropdown-menu
2467 background: #333333 !important
2468 background: rgba(37, 37, 37, 0.9) !important
2469 border-color: #999999
2470 border-color: rgba(0, 0, 0, 0.2)
2471 background-color: #414141
2473 @include vertical-gradient(#646060, #262626)
2474 @include radius(3px)
2479 // Minimized unused white space and label weight for wizard popup
2480 .oe_view_manager_new .oe_form_nosheet
2485 // Customize bootstrap3 for leftbar
2488 padding: 3px 4px 2px 18px
2490 nav-pills.nav-stacked > li > ul
2492 .nav-pills > li.active,a.list-group-item.active
2494 background-color: #7c7bad
2498 background-color: #7c7bad
2500 background-color: white
2506 background-color: #7c7bad
2508 // Customize for global tags
2518 -webkit-margin-before: 1em
2519 -webkit-margin-after: 1em
2520 -webkit-margin-start: 0px
2521 -webkit-margin-end: 0px
2523 background-color: #FFFFFF
2525 padding: 10px 0 3px 0
2529 // Customize for chatter
2533 .oe_form .oe_subtype label, .oe_subtype label
2535 .oe_msg_subtype_check
2536 margin: 3px 3px 0 !important
2538 // Customize for kanban tooltip
2540 height: auto !important
2541 width: auto !important
2544 @-moz-document url-prefix()
2546 .oe_searchview .oe_searchview_search
2548 .oe_form_field_many2one .oe_m2o_cm_button
2551 .oe_star_on, .oe_star_off
2555 .kitten-mode-activated
2556 background-size: cover
2557 background-attachment: fixed
2561 @include radius(15px)
2562 @include box-shadow(0 0 5px 5px #999)
2565 // jQueryUI top level {{{
2566 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2567 div.ui-widget-overlay
2569 @include opacity(0.3)
2570 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2571 // eg: $el.autocomplete().openerpClass();
2573 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2579 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2581 border: 1px solid $tag-border
2591 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2592 background: $tag-bg-dark
2594 //@include vertical-gradient(#f0f0fa, #eeeef6)
2597 @include radius(3px)
2603 padding-bottom: 10px !important
2605 // Server side single forms {{{
2606 @mixin single-form($width: 400px)
2612 /* Set margins to offset 50% of the w/h */
2613 margin-top: -($width / 2)
2614 margin-left: -($width / 2)
2617 background: #eee url(/web/static/src/img/form_sheetbg.png)
2620 .oe_single_form_logo
2625 .oe_single_form_footer
2632 .oe_single_form_container
2633 @include single-form(400px)
2637 // Internet Explorer 9+ specifics {{{
2640 color: $tag-border !important
2641 font-style: italic !important
2642 .oe_form_binary_file
2644 .oe_form_field_boolean input
2646 .db_option_table .oe_form_field_selection
2648 input[type='checkbox']
2659 .oe_view_manager_view_kanban
2661 .oe_view_manager_buttons
2662 button.oe_write_full
2668 button .oe_form_button_edit
2671 button .oe_form_button_create
2686 .oe_kanban_show_more
2689 &.oe_kanban_grouped .oe_kanban_show_more .oe_button
2693 .oe_form_buttons button
2704 .oe_form_buttons, .oe_view_manager_buttons
2710 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
2711 .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
2712 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
2714 width: 99% !important
2716 white-space: normal !important
2717 ul.oe_form_status, ul.oe_form_status_clickable
2719 display: inline-block
2723 border-right: 1px solid #cacaca
2728 display: inline-block
2730 filter: alpha(opacity = 0)
2735 border-bottom: 1px solid #cacaca
2736 background: transparent
2739 background-color: #eeeeee !important
2742 border-bottom: 1px solid #729fcf
2744 background-color: #729fcf !important
2747 .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
2748 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EFEFEF', endColorstr='#D8D8D8')
2750 height: auto !important
2756 .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
2757 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2758 display: none !important
2760 button, input[type=checkbox]
2762 .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
2765 &.oe_m2o_cm_button, &.oe_e
2768 .oe_form_field_date img, .oe_form_field_datetime img
2770 .oe_notebook > li.ui-tabs-selected
2773 .oe_form_sheet, .oe_form_sheetbg
2774 border: 0px !important
2775 box-shadow: 0px 0px 0px
2778 .oe_view_manager_current > .oe_view_manager_header
2779 border: 0px !important
2780 box-shadow: 0px 0px 0px
2782 .text-core .text-wrap .text-arrow
2784 .openerp div.oe_mail_wall
2785 overflow: hidden !important
2789 // Hack for ui icon {{{
2795 input[type="radio"], input[type="checkbox"]
2799 .blockUI.blockOverlay
2800 background-color: black
2801 opacity: 0.6000000238418579
2803 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2804 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: