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"
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
665 //margin-left set at 3px to avoid a strange overflow
667 border-left: 4px solid transparent
668 border-right: 4px solid transparent
669 border-top: 4px solid#404040
670 @include opacity(0.5)
674 .oe_sidebar_add_attachment
681 .oe_hidden_input_file
684 @include vertical-gradient(#f0f0fa, #eeeef6)
685 @include box-shadow(none)
687 .oe_sidebar_delete_item
699 text-shadow: 0 1px 1px white
701 text-decoration: none
704 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
707 .oe_sidebar_delete_item
708 display: inline-block
721 border: 1px solid #900
723 -moz-border-radius-bottomright: 8px
724 -moz-border-radius-bottomleft: 8px
725 border-bottom-right-radius: 8px
726 border-bottom-left-radius: 8px
731 .oe_webclient_timezone_notification
734 text-decoration: underline
742 background-color: #f6cf3b
753 // DatabaseManager {{{
758 .oe_database_manager_menu
767 // WebClient.fullscreen {{{
768 .oe_content_full_screen
772 .oe_topbar, .oe_leftbar
778 .oe_topbar_anonymous_login
779 background-color: #dc5f59
781 @include vertical-gradient(#FC8787, #800000)
784 padding: 5px 10px 7px
787 text-decoration: none
789 background: transparent
790 @include transition(all 0.2s ease-out)
792 background: rgba(0,0,0,0.1)
794 text-shadow: 0px 0px 3px rgba(0,0,0,0.2)
795 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
798 padding: 5px 10px 26px
801 text-decoration: none
804 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
805 @include transition(all 0.2s ease-out)
807 background: rgba(0,0,0,0.2)
808 text-shadow: black 0px 0px 3px
810 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
819 .oe_dropdown_arrow:after
820 border-top: 4px solid white
824 background: rgba(37,37,37,0.9)
826 border-color: rgba(0, 0, 0, 0.2)
828 border-width: 0 2px 1px
829 @include radius(0 0 6px 6px)
830 @include background-clip()
837 @include vertical-gradient(#292929, #191919)
838 @include box-shadow(none)
841 display: inline-block
842 height: 15px // Customize to manage caret when topbar_name is over sized.
843 text-overflow: ellipsis
845 overflow: hidden // Customize to bring ellipsis when topbar_name is over sized.
847 // oe menu is the list of the buttons on the left side of the bar.
848 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
849 // is a leftover from an uncomplete refactoring when the left and top menu
850 // were merged. You are welcome to refactor and clean this up
857 list-style-type: none
865 padding: 5px 10px 26px !important
868 text-decoration: none
869 color: #eee !important
871 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
872 @include transition(all 0.2s ease-out)
874 background: rgba(0,0,0,0.2)
875 text-shadow: black 0px 0px 3px
877 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
879 background: rgba(0,0,0,0.30)
880 text-shadow: black 0px 0px 3px
881 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
888 list-style-type: none
900 // Webclient.leftbar {{{
905 border-right: 1px solid $tag-border
925 background: rgba(37,37,37,0.9)
926 @include box-sizing(border)
927 &:hover .oe_logo_edit_admin
942 // Webclient.leftbar items {{{
944 .oe_secondary_menu_section
948 .oe_secondary_submenu
949 margin-bottom: 10px !important
955 display: inline-block
956 text-overflow: ellipsis
962 @include transform(scale(1.1))
963 .oe_menu_toggler:before
966 display: inline-block
968 text-indent: -99999px
973 border-top: 4px solid transparent
974 border-bottom: 4px solid transparent
975 border-left: 4px solid #4c4c4c
976 @include opacity(0.5)
977 .oe_menu_opened:before
981 border-left: 4px solid transparent
982 border-right: 4px solid transparent
983 border-top: 4px solid #4c4c4c
984 .oe_secondary_submenu li
989 background-color: white
990 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
991 @include radius(0 0 2px 2px)
995 text-decoration: underline
1006 text-shadow: 0 1px 1px #999999
1007 @include vertical-gradient(#b41616, #600606)
1010 @include radius(0 0 2px 2px)
1014 // ActionManager {{{
1016 text-decoration: underline
1024 .oe_breadcrumb_item:not(:last-child)
1027 text-overflow: ellipsis
1028 .oe_breadcrumb_title > *
1029 display: inline-block
1033 // ViewManager common {{{
1038 .oe_view_manager_body
1040 .oe_view_manager_view_kanban:not(:empty)
1042 &[data-view-type=kanban]
1043 .oe_view_manager_body
1046 table.oe_view_manager_header
1047 border-collapse: separate
1054 text-shadow: 0 1px 1px white
1055 .oe_header_row:last-child
1058 .oe_header_row:first-child
1061 .oe_view_manager_sidebar
1064 .oe_dropdown_arrow:after
1078 display: inline-block
1079 border: 1px solid #ababab
1080 @include radius(5px)
1083 border-right: 1px solid #ababab
1089 text-decoration: none
1092 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1095 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1096 .oe_view_manager_buttons
1099 // ViewManager.switches {{{
1100 .oe_view_manager_switch
1110 list-style-type: none
1113 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1116 .oe_vm_switch_form:after
1118 .oe_vm_switch_graph:after
1119 font-family: "mnmliconsRegular" !important
1121 font-weight: 300 !important
1125 .oe_vm_switch_gantt:after
1126 font-family: "mnmliconsRegular" !important
1128 font-weight: 300 !important
1132 .oe_vm_switch_calendar:after
1134 .oe_vm_switch_kanban:after
1136 .oe_vm_switch_diagram:after
1152 display: inline-block
1153 border: 1px solid #ababab
1155 @include radius(5px)
1161 list-style-type: none
1163 border-right: 1px solid #ababab
1170 text-decoration: none
1173 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1176 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1177 .oe_list_pager.oe_list_pager_single_page .oe_pager_group
1180 // ViewManager application {{{
1181 .oe_view_manager_current
1183 > .oe_view_manager_header
1184 border-bottom: 1px solid #cacaca
1185 @include vertical-gradient(#fcfcfc, #dedede)
1186 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1190 .oe_header_row:first-child
1194 // ViewManager inline {{{
1195 .oe_view_manager_inline, .oe_view_manager_inlineview
1197 > .oe_view_manager_header
1202 .oe_formview .oe_form_pager
1203 display: none !important
1204 // Customize label weight for popup wizard appear from another wizard according bootstrap3
1208 .oe_popup_list_pager
1219 border: 1px solid #ababab
1221 @include radius(13px)
1222 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1228 //Customize searchview input, select
1229 input:not([type]), input[type="text"], input[type="number"]
1232 input[type="checkbox"]
1233 margin: 3px 3px 3px 4px
1235 margin: 2px 4px 2px 0
1238 border-color: $tag-border-selected
1239 @include box-shadow(0 1px 2px $tag-border-selected inset)
1240 .oe_searchview_clear
1247 background: url(../img/search_reset.gif) center center no-repeat
1248 .oe_searchview_unfold_drawer
1253 padding: 0 7px 0 4px
1264 display: inline-block
1267 border-top: 5px solid #4C4C4C
1268 border-left: 5px solid transparent
1269 border-right: 5px solid transparent
1272 .oe_searchview_search
1273 @include text-to-icon("r", #a3a3a3)
1274 @include box-shadow(none)
1281 background: transparent
1283 .oe_searchview_facets
1285 margin: 0 35px 0 15px
1288 display: inline-block
1290 .oe_searchview_facet
1295 .oe_searchview_input
1302 .oe_searchview_facet
1306 -webkit-font-smoothing: auto
1307 // spacing for opera, FF
1309 border-color: $tag-border-selected
1310 @include box-shadow(0 0 3px 1px $tag-border-selected)
1312 background: $tag-bg-light
1313 @include radius(0 3px 3px 0)
1314 .oe_facet_category, .oe_facet_value
1318 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1319 .oe_facet_category.oe_i
1322 border-left: 1px solid $tag-border
1323 text-shadow: 0 1px 1px white
1339 text-shadow: 0 1px 1px white
1343 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1344 @include radius(2px)
1345 &.oe_searchview_open_drawer
1346 .oe_searchview_drawer
1349 .oe_searchview_drawer
1353 // detach drawer from field slightly
1357 background-color: white
1360 border: 1px solid $tag-border
1362 @include radius(4px)
1363 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1365 border-top: 1px solid #ccc
1372 margin: 8px 4px 4px 0px
1373 color: $section-title-color
1379 display: inline-block
1381 background-color: $hover-background
1389 background: transparent
1391 @include box-shadow(none)
1393 .oe_searchview_section
1397 @include box-sizing(border)
1400 padding-left: 2px // Managed padding-left according bootstrap3
1407 padding: 2px 4px 2px 20px
1412 &.oe_selected:before
1414 font-family: "entypoRegular" !important
1416 font-weight: 300 !important
1421 // after oe_selected so background color is not overridden
1423 background-color: $hover-background
1430 margin: 0 0 8px -3px // Managed margin-left according bootstrap3
1431 .oe_searchview_custom
1432 padding: 0 8px 8px 8px
1443 padding: 2px 4px 2px 20px
1445 background-color: $hover-background
1450 //Customize for searchview label
1454 .oe_searchview_dashboard
1459 .oe_searchview_advanced
1463 button.oe_add_condition:before
1465 font-family: "entypoRegular" !important
1467 font-weight: 300 !important
1477 &:first-child .searchview_extended_prop_or
1480 .searchview_extended_prop_or
1482 margin-left: -14px //Customize 'or' in searchview
1492 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1493 display: inline-block
1502 text-shadow: 0 1px 1px white
1504 text-decoration: none
1507 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1508 @include radius(2px)
1509 .oe_searchview_custom_delete
1514 .oe_searchview_custom_private, .oe_searchview_custom_public
1516 .oe_searchview_custom_delete
1517 display: inline-block
1518 .oe_searchview_custom_public:after
1520 font-family: "entypoRegular" !important
1522 font-weight: 300 !important
1535 .oe_view_nocontent_create
1541 display: inline-block
1547 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1550 .oe_empty_custom_dashboard
1551 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1553 padding: 100px 0 0 137px
1556 .oe_view.oe_cannot_create
1557 .oe_view_nocontent_create
1560 // FormView.base and dynamic tags {{{
1563 .oe_form_dropdown_section
1565 display: inline-block
1567 input, select, textarea
1568 background-color: #F66 !important
1569 border: 1px solid #D00 !important
1570 .oe_view_manager_current .oe_form_editable
1575 @include vertical-gradient(#efefef, #d8d8d8)
1576 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1577 button.oe_highlight:active
1578 @include vertical-gradient(#e3e3e3, #f6f6f6)
1579 @include box-shadow(none)
1580 button.oe_highlight:hover
1581 @include vertical-gradient(#f6f6f6, #e3e3e3)
1582 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1584 display: none !important
1587 display: none !important
1589 .oe_edit_only, .oe_form_field:empty
1590 display: none !important
1591 .oe_form .oe_form_field_date
1593 .oe_form_field_boolean.boolean
1599 // IE needs a color in order for the layer to respond to mouse events
1600 backgroundColor: "#fff"
1602 // Sheet and padding
1606 margin: -16px -16px 0 -16px
1608 .oe_form_nosheet.oe_form_nomargin
1614 .oe_form_sheet_width
1616 max-width: $sheet-max-width
1624 // Sheet inline mode
1627 background: url(/web/static/src/img/form_sheetbg.png)
1628 border-bottom: 1px solid #ddd
1629 // Customize font weight according bootstrap3
1630 .oe_subtotal_footer label
1636 border: 1px solid #c8c8d3 //$tag-border
1637 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1643 // FormView.header {{{
1644 .oe_form > :not(.oe_form_nosheet) header, .oe_form > .oe_form_nosheet header
1647 display: inline-block
1655 border-bottom: 1px solid #cacaca
1657 @include vertical-gradient(#fcfcfc, #dedede)
1662 // FormView.custom tags and classes {{{
1670 box-sizing: border-box
1671 min-width: $sheet-min-width + 2* $sheet-padding
1672 max-width: $sheet-max-width + 2* $sheet-padding
1674 padding: 16px 16px 48px
1675 div.oe_form_configuration
1681 .oe_form_group_cell_label
1683 .oe_form_group_cell div div
1686 width: 1% !important
1687 td.oe_form_group_cell
1689 padding: 0 !important
1690 td.oe_form_group_cell_label
1692 .oe_subtotal_footer_separator
1694 border-top: 1px solid #cacaca
1701 label.oe_subtotal_footer_separator
1702 font-weight: bold !important
1703 padding: 2px 11px 2px 0px !important
1704 label.oe_form_label_help
1705 font-weight: normal !important
1708 border-bottom: 1px solid #cb6
1712 .oe_form_box_warning
1714 border-bottom: 1px solid #900
1722 // FormView.group {{{
1726 td.oe_form_group_cell_label
1727 border-right: 1px solid #ddd
1733 font-weight: bold !important
1734 td.oe_form_group_cell + .oe_form_group_cell
1735 padding: 2px 0 2px 8px
1739 .oe_form_group_cell.oe_group_right
1742 // FormView.label {{{
1744 .oe_form_label_help[for], .oe_form_label[for]
1755 // FormView.separator {{{
1756 .oe_horizontal_border
1757 border-bottom: 1px solid black
1758 .oe_horizontal_separator
1761 margin: 15px 0px 10px 0px
1762 color: $section-title-color
1763 .oe_horizontal_separator:empty
1765 .oe_vertical_separator
1766 border-left: 1px solid #666
1767 padding: 0 4px 0 4px
1769 // FormView.progressbar {{{
1770 .oe_form_field_progressbar
1771 display: inline-block
1773 .oe_form_field_progressbar.ui-progressbar
1776 @include box-sizing(border)
1777 border: 1px solid #999
1778 @include radius(3px)
1786 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1788 // FormView.fields {{{
1792 .oe_form_text_content
1793 text-overflow: ellipsis
1794 display: inline-block
1795 white-space: pre-wrap
1798 .oe_form_field_char input,
1799 .oe_form_field_url input,
1800 .oe_form_field_email input,
1801 .oe_form_field_text textarea,
1802 .oe_form_field_selection select
1804 .oe_notebook_page .oe_form_field_text textarea
1806 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1808 h1, h2, h3, h4, h5, h6
1811 height: inherit !important
1813 // Customize for formview
1826 display: inline-block
1827 padding: 2px 2px 2px 0px
1831 input[type="text"], input[type="password"], input[type="file"], select
1834 input[type="text"], input[type="password"], input[type="file"], select, textarea
1835 @include box-sizing(border)
1839 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
1840 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1841 background: #E5E5E5 !important
1846 @include box-shadow(none)
1847 @include radius(0px)
1849 textarea.oe_inline[disabled]
1850 border-left: 8px solid #eee
1851 .oe_form_field_url button img
1853 .oe_form_field_monetary,
1854 .oe_form_field_date,
1855 .oe_form_field_datetime
1857 .oe_form_field_boolean
1859 .oe_datepicker_container
1862 display: inline-block
1864 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1865 background-color: #D2D2FF !important
1867 input, select, textarea
1868 background-color: #F66 !important
1869 border: 1px solid #D00 !important
1872 margin: 3px 0 0 -21px
1874 .oe_input_icon_disabled
1878 filter: alpha(opacity=50)
1881 .oe_form_field_with_button.oe_no_button > .oe_button
1883 .oe_form_field_with_button:not(.oe_no_button)
1887 border-bottom-left-radius: 0px
1889 .oe_form_field_with_button
1895 .oe_form_embedded_html
1901 .oe_form_field_html .oe_input_icon
1907 .oe_form_field_integer input
1909 .oe_form_field_float input
1911 .oe_form_field_date input
1913 .oe_form_field_datetime input
1916 // FormView.fields_binary {{{
1917 /* http://www.quirksmode.org/dom/inputfile.html
1918 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1920 .oe_hidden_input_file
1921 // Position: relative is used for the hidden input[type=file]
1922 // Do not remove it anymore !
1924 input.oe_form_binary_file
1933 filter: alpha(opacity = 0)
1934 -ms-filter: "alpha(opacity=0)"
1938 .oe_form_field_binary
1939 display: inline-block
1940 .oe_form_field_image
1943 display: inline-block
1946 .oe_form_field_image_controls
1954 background: rgba(37,37,37,0.9)
1955 @include radius(3px 3px 0 0)
1956 @include box-sizing(border)
1957 &:hover .oe_form_field_image_controls
1960 display: inline-block
1963 margin-bottom: -15px
1969 margin: 9px 0 /* Customize margin according bootstrap3 */
1976 vertical-align: middle
1979 background: transparent
1988 input.oe_form_binary_file
1989 display: inline-block
2003 border: solid 1px rgba(124,123,173,0.14)
2012 text-decoration: none
2013 .oe_attachment:nth-child(odd)
2015 .oe_attachment:nth-child(even)
2018 // FormView.many2one {{{
2019 .oe_form_field_many2one
2020 display: inline-block
2023 span.oe_m2o_drop_down_button
2034 li.oe_m2o_dropdown_option a
2037 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
2040 // FormView.fieldstatus {{{
2041 ul.oe_form_status, ul.oe_form_status_clickable
2042 display: inline-block
2046 display: inline-block
2047 list-style-type: none
2048 // It is probably a bad idea to modify this margin
2051 @include vertical-gradient(#fcfcfc, #dedede)
2052 &:first-child > .label
2053 border-left: 1px solid #cacaca
2056 border-right: 1px solid #cacaca
2063 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
2065 display: inline-block
2069 // Customize for statusbar label
2077 display: inline-block
2085 display: inline-block
2088 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2089 @include skew-gradient(#fcfcfc, #dedede)
2090 @include radius(3px)
2091 @include transform(rotate(45deg))
2105 @include vertical-gradient(#729fcf, #3465a4)
2107 @include skew-gradient(#729fcf, #3465a4)
2110 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
2111 ul.oe_form_status_clickable
2115 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2117 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2119 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2124 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2126 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2128 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2130 // FormView.one2many {{{
2131 .oe_form .oe_form_field_one2many > .oe_view_manager
2132 .oe_list_pager_single_page
2134 .oe_form_field_one2many,.oe_form_field_many2many
2135 // TODO: oe_form_field_one2many_list?
2137 .oe_list_pager_single_page
2138 display: none !important
2139 .oe_view_manager_view_list
2142 .oe_form_field_one2many_list_row_add
2149 background: transparent
2150 .oe_list .oe_list_edit_row_save
2151 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2158 .oe_view_manager_header2
2170 .oe_list_buttons.oe_editing .oe_list_save
2171 // keep "save row" button hidden in o2m
2177 background-color: #d2d2ff
2179 background-color: #eee
2182 .oe_list_editable .oe_list_content td.oe_list_field_cell
2183 padding: 4px 6px 3px
2184 .oe_list.oe_list_editable.oe_editing
2185 .oe_edition .oe_list_field_cell
2190 .oe_m2o_drop_down_button
2197 &.oe_list_field_handle
2200 padding: 4px 6px 3px
2207 border: 1px solid #aaf
2209 input, textarea, select
2211 &.oe_form_field_float,&.oe_form_view_integer
2213 padding: 6px 0px 0px
2218 width: 100% !important
2220 &.oe_form_field_datetime,&.oe_form_field_date
2221 input.oe_datepicker_master
2222 width: 100% !important
2223 &.oe_form_field_reference
2228 // FormView.many2many {{{
2229 .oe_form .oe_form_field_many2many > .oe_list
2230 .oe_list_pager_single_page
2237 .oe_list_save, .oe_list_discard
2243 display: inline-block
2251 .oe_list_header_handle, .oe_list_field_handle
2252 display: none !important
2253 padding: 0 !important
2255 .oe_list_record_delete
2256 display: none !important
2260 margin: 0 // FIXME: either class or border should not be by default
2266 margin: 0 !important // dammit
2268 .oe_form_field_boolean input
2269 margin: 1px 0 0 10px !important
2270 .oe_list_content .oe_group_header
2271 @include vertical-gradient(#fcfcfc, #dedede)
2275 td:first-child, th:first-child
2279 text-align: right !important
2281 td.oe_list_field_date, th.oe_list_header_date
2284 border-bottom: 2px solid #cacaca
2290 th.oe_sortable, th.oe_sortable div
2294 th.oe_sortable div:after
2298 border-width: 0 4px 4px
2300 border-color: #000 transparent
2305 @include opacity(0.6)
2306 .oe_list_header_many2many_tags
2308 th.sortdown div:after
2311 border-left: 4px solid transparent
2312 border-right: 4px solid transparent
2313 border-top: 4px solid #000
2315 @include box-shadow(none)
2316 @include opacity(0.6)
2321 border-top: 1px solid #ddd
2322 > td.oe_list_field_cell
2324 white-space: pre-line
2328 background: transparent
2330 @include box-shadow(none)
2331 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2335 > td.oe_list_field_boolean input
2338 background-color: #f0f0fa
2339 @include vertical-gradient(#f0f0fa, #eeeef6)
2342 border-top: 2px solid #cacaca
2343 border-bottom: 1px solid #cacaca
2353 th.oe_list_header_handle
2356 text-indent: -9001px
2357 td.oe_list_field_handle
2359 padding: 0 !important
2362 @include text-to-entypo-icon("}",#E0E0E0,18px)
2364 .oe_list_field_progressbar progress
2369 background-color: #f0f0f0
2370 border-bottom: 1px solid #cacaca
2380 background-color: white
2386 background-color: #f0f0f0
2387 border-bottom: 2px solid #cacaca
2391 vertical-align: middle
2393 vertical-align: middle
2397 border-right: 1px solid #e7e7e7
2400 text-align: right !important
2402 border-bottom: 1px solid #d6d6d6
2404 background-color: #e7e7e7
2410 .treeview-tr.oe-treeview-first
2411 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2412 .oe_open .treeview-tr.oe-treeview-first
2413 background-image: url(/web/static/src/img/collapse.gif)
2414 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2417 // Debugging stuff {{{
2418 .oe_layout_debugging
2420 outline: 2px dashed green
2422 outline: 1px solid blue
2423 .oe_form_group:hover, .oe_form_group_cell:hover
2425 .oe_form_group_row_incomplete > td:last-child:after
2426 content: "[Incomplete Row]"
2432 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2433 content: "[newline]"
2440 // Bootstrap HACKS {{{
2447 background-color: #414141
2448 @include vertical-gradient(#646060, #262626)
2453 background: rgba(0, 0, 0, 0.3)
2454 .open > a,a:hover,a:focus
2455 background: rgba(0, 0, 0, 0.3) !important
2456 .dropdown > a .caret
2457 border-top-color: #777 !important
2458 border-bottom-color: #777 !important
2462 padding: 4px 32px 4px 12px
2463 .oe_navbar .dropdown-menu
2466 background: #333333 !important
2467 background: rgba(37, 37, 37, 0.9) !important
2468 border-color: #999999
2469 border-color: rgba(0, 0, 0, 0.2)
2470 background-color: #414141
2472 @include vertical-gradient(#646060, #262626)
2473 @include radius(3px)
2478 // Minimized unused white space and label weight for wizard popup
2479 .oe_view_manager_new .oe_form_nosheet
2484 // Customize bootstrap3 for leftbar
2487 padding: 3px 4px 2px 18px
2489 nav-pills.nav-stacked > li > ul
2491 .nav-pills > li.active,a.list-group-item.active
2493 background-color: #7c7bad
2497 background-color: #7c7bad
2499 background-color: white
2505 background-color: #7c7bad
2507 // Customize for global tags
2517 -webkit-margin-before: 1em
2518 -webkit-margin-after: 1em
2519 -webkit-margin-start: 0px
2520 -webkit-margin-end: 0px
2522 background-color: #FFFFFF
2524 padding: 10px 0 3px 0
2528 // Customize for chatter
2532 .oe_form .oe_subtype label, .oe_subtype label
2534 .oe_msg_subtype_check
2535 margin: 3px 3px 0 !important
2537 // Customize for kanban tooltip
2539 height: auto !important
2540 width: auto !important
2543 @-moz-document url-prefix()
2545 .oe_searchview .oe_searchview_search
2547 .oe_form_field_many2one .oe_m2o_cm_button
2550 .oe_star_on, .oe_star_off
2554 .kitten-mode-activated
2555 background-size: cover
2556 background-attachment: fixed
2560 @include radius(15px)
2561 @include box-shadow(0 0 5px 5px #999)
2564 // jQueryUI top level {{{
2565 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2566 div.ui-widget-overlay
2568 @include opacity(0.3)
2569 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2570 // eg: $el.autocomplete().openerpClass();
2572 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2578 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2580 border: 1px solid $tag-border
2590 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2591 background: $tag-bg-dark
2593 //@include vertical-gradient(#f0f0fa, #eeeef6)
2596 @include radius(3px)
2602 padding-bottom: 10px !important
2604 // Server side single forms {{{
2605 @mixin single-form($width: 400px)
2611 /* Set margins to offset 50% of the w/h */
2612 margin-top: -($width / 2)
2613 margin-left: -($width / 2)
2616 background: #eee url(/web/static/src/img/form_sheetbg.png)
2619 .oe_single_form_logo
2624 .oe_single_form_footer
2631 .oe_single_form_container
2632 @include single-form(400px)
2636 // Internet Explorer 9+ specifics {{{
2639 color: $tag-border !important
2640 font-style: italic !important
2641 .oe_form_binary_file
2643 .oe_form_field_boolean input
2645 .db_option_table .oe_form_field_selection
2647 input[type='checkbox']
2658 .oe_view_manager_view_kanban
2660 .oe_view_manager_buttons
2661 button.oe_write_full
2667 button .oe_form_button_edit
2670 button .oe_form_button_create
2685 .oe_kanban_show_more
2688 &.oe_kanban_grouped .oe_kanban_show_more .oe_button
2692 .oe_form_buttons button
2703 .oe_form_buttons, .oe_view_manager_buttons
2709 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
2710 .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
2711 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
2713 width: 99% !important
2715 white-space: normal !important
2716 ul.oe_form_status, ul.oe_form_status_clickable
2718 display: inline-block
2722 border-right: 1px solid #cacaca
2727 display: inline-block
2729 filter: alpha(opacity = 0)
2734 border-bottom: 1px solid #cacaca
2735 background: transparent
2738 background-color: #eeeeee !important
2741 border-bottom: 1px solid #729fcf
2743 background-color: #729fcf !important
2746 .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
2747 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EFEFEF', endColorstr='#D8D8D8')
2749 height: auto !important
2755 .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
2756 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2757 display: none !important
2759 button, input[type=checkbox]
2761 .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
2764 &.oe_m2o_cm_button, &.oe_e
2767 .oe_form_field_date img, .oe_form_field_datetime img
2769 .oe_notebook > li.ui-tabs-selected
2772 .oe_form_sheet, .oe_form_sheetbg
2773 border: 0px !important
2774 box-shadow: 0px 0px 0px
2777 .oe_view_manager_current > .oe_view_manager_header
2778 border: 0px !important
2779 box-shadow: 0px 0px 0px
2781 .text-core .text-wrap .text-arrow
2783 .openerp div.oe_mail_wall
2784 overflow: hidden !important
2788 // Hack for ui icon {{{
2794 input[type="radio"], input[type="checkbox"]
2798 .blockUI.blockOverlay
2799 background-color: black
2800 opacity: 0.6000000238418579
2802 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2803 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: