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: $startColor
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))
99 @mixin transform($transform)
100 -webkit-transform: $transform
101 -moz-transform: $transform
102 -ms-transform: $transform
103 -o-transform: $transform
104 transform: $transform
106 @mixin keyframes($name)
107 @-webkit-keyframes #{$name}
109 @-moz-keyframes #{$name}
111 @-ms-keyframes #{$name}
113 @-o-keyframes #{$name}
119 // Transforms the (readable) text of an inline element into an mmlicons icon,
120 // allows for actual readable text in-code (and in readers?) with iconic looks
121 @mixin text-to-icon($icon-name, $color: #404040)
127 font: 21px "mnmliconsRegular"
131 @mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
137 font: $size "entypoRegular"
144 .oe_topbar, .oe_leftbar, .oe_loading
145 display: none !important
147 .openerp.openerp_webclient_container
150 // jQueryUI css bug fixing
151 .text-tag .text-button
152 height: auto !important
159 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
163 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
165 //Placeholder style{{{
167 color: $tag-border !important
168 font-style: italic !important
169 \::-webkit-input-placeholder
170 color: $tag-border !important
171 font-style: italic !important
175 text-decoration: none
176 cursor: pointer !important
179 border-collapse: collapse
182 background-color: #f0f0f0
184 border-left: 1px solid #dfdfdf
194 vertical-align: middle
197 .zebra tbody tr:nth-child(odd) td
198 background-color: #f0f0fa
199 @include vertical-gradient(#f0f0fa, #eeeef6)
200 .zebra tbody tr:hover td
201 @include vertical-gradient(#eee, #dedede)
202 input, textarea, select
204 border: 1px solid #ccc
208 vertical-align: middle
213 a.button:link, a.button:visited, button, input[type='submit'], .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
214 display: inline-block
215 border: 1px solid rgba(0,0,0,0.4)
221 @include vertical-gradient(#efefef, #d8d8d8)
223 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
224 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
225 -webkit-font-smoothing: antialiased
228 a.button:hover, button:hover, input[type='submit']:hover, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-hover
229 @include vertical-gradient(#f6f6f6, #e3e3e3)
231 background-position: 0
233 a.button:focus, button:focus, input[type='submit']:focus, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-focus
234 border: 1px solid #80bfff
235 background-position: 0
236 @include vertical-gradient(#f6f6f6, #e3e3e3)
237 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
239 a.button:active, a.button.active, button:active, button.active, input[type='submit']:active, input[type='submit'].active, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-active
240 @include vertical-gradient(#e3e3e3, #f6f6f6)
241 @include box-shadow(none)
243 a.button.disabled, button:disabled, input[type='submit']:disabled
244 background: #efefef !important
245 border: 1px solid #d1d1d1 !important
246 @include box-shadow(none !important)
247 color: #aaa !important
249 text-shadow: 0 1px 1px #fff !important
251 // Jquery ui Overrides {{{
255 display: inline-block
257 // bug noted in jquery ui CSS doesn't seem to occur in IE9,
258 // so remove position:relative
267 background-color: rgba(60,60,60,0.7)
269 border-color: #888 #555 #444
272 @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6))
273 @include background-clip()
276 .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane
279 border-bottom: 1px solid #cacaca
280 @include radius(2px 2px 0 0)
281 @include vertical-gradient(#FCFCFC, #DEDEDE)
289 .ui-dialog-buttonpane
290 border-top: 1px solid #e0e0e0
293 @include radius(0 0 2px 2px)
300 .ui-dialog-titlebar-close
310 text-shadow: 0 1px 0 white
313 background: transparent
317 text-decoration: none
319 background-color: white
320 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
321 @include radius(0 0 2px 2px)
325 text-decoration: underline
336 text-shadow: 0 1px 1px #999999
337 @include vertical-gradient(#b41616, #600606)
340 @include radius(0 0 2px 2px)
344 &.ui-dialog.oe_act_window
355 background-color: black
359 // Generic classes {{{
361 font-family: "mnmliconsRegular" !important
363 font-weight: 300 !important
365 font-family: "entypoRegular" !important
367 font-weight: 300 !important
386 width: auto !important
391 @include vertical-gradient(#df3f3f, #a21a1a)
392 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
393 button.oe_highlight:hover
394 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
395 button.oe_highlight:active
396 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
398 background: #eee !important
401 .oe_highlight_on_dirty
405 button.oe_highlight_on_dirty
406 @include vertical-gradient(#dc5f59, #b33630)
407 @include box-shadow(none)
429 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
434 .oe_image_small > img
437 .oe_image_medium > img
444 text-decoration: underline
445 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2)
456 text-decoration: underline
458 .oe_star_on, .oe_star_off
460 text-shadow: 0 0 2px black
464 .oe_star_on:hover, .oe_star_off:hover
465 text-decoration: none
475 .oe_keyImage_old_pwd input
476 background: url(/web/static/src/img/old_key.png) no-repeat 4px !important
478 .oe_keyImage_new_pwd input
479 background: url(/web/static/src/img/new_key.png) no-repeat 4px !important
482 // Tags (for many2many tags, among others) {{{
484 border: 1px solid $tag-border
489 background: $tag-bg-light
492 background: $tag-bg-dark
499 width: 100% !important
501 width: 100% !important
502 .text-core .text-wrap .text-dropdown .text-list .text-suggestion em
504 text-decoration: none
515 white-space: pre-wrap
516 .oe_tooltip_technical
521 .oe_tooltip_technical_title
540 .oe_notebook.ui-corner-all
542 .oe_notebook:before, .oe_notebook:after
550 .oe_notebook > li > a
556 border-width: 0 0 1px
559 .oe_notebook > li > a
563 border: 1px solid transparent
564 @include radius(4px 4px 0 0)
565 .oe_notebook > li > a:hover
566 text-decoration: none
567 background-color: #eee
568 border-color: #eee #eee #ddd
569 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
570 background-color: #ffffff
571 border: 1px solid #ddd
572 border-bottom-color: transparent
577 padding: 3px 0px 3px 0px
582 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
586 color: rgba(0,0,0,0.5)
588 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
598 border: 1px solid $tag-border
604 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
607 @include vertical-gradient(#f0f0fa, #eeeef6)
608 @include box-shadow(none)
609 list-style-type: none
619 text-decoration: none
621 text-decoration: none
622 .oe_dropdown_arrow:after
625 display: inline-block
627 text-indent: -99999px
630 //margin-left set at 3px to avoid a strange overflow
632 border-left: 4px solid transparent
633 border-right: 4px solid transparent
634 border-top: 4px solid#404040
635 @include opacity(0.5)
639 .oe_sidebar_add_attachment
646 .oe_hidden_input_file
649 @include vertical-gradient(#f0f0fa, #eeeef6)
650 @include box-shadow(none)
652 .oe_sidebar_delete_item
664 text-shadow: 0 1px 1px white
666 text-decoration: none
669 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
672 .oe_sidebar_delete_item
673 display: inline-block
686 border: 1px solid #900
688 -moz-border-radius-bottomright: 8px
689 -moz-border-radius-bottomleft: 8px
690 border-bottom-right-radius: 8px
691 border-bottom-left-radius: 8px
699 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
705 list-style-type: none
709 display: inline-block
712 border: 1px solid #222
715 @include vertical-gradient(#b92020, #600606)
717 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
720 font-family: "Lucida Grande", Helvetica, Verdana, Arial
721 border: 1px solid #999999
722 background: whitesmoke
723 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
736 border: solid 1px #333
738 background: rgba(30,30,30,0.94)
739 @include radius(0 0 8px 8px)
749 text-shadow: 0 1px 1px #999999
750 @include vertical-gradient(#b41616, #600606)
755 margin: -160px -166px
756 border: solid 1px #333333
758 background: rgba(30,30,30,0.94)
763 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
784 text-decoration: underline
788 .oe_login_error_message
790 background-color: #b41616
796 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
798 .oe_login_error_message
799 display: inline-block
801 // DatabaseManager {{{
806 .oe_database_manager_menu
815 // WebClient.fullscreen {{{
816 .oe_content_full_screen
820 .oe_topbar, .oe_leftbar
828 background-color: #414141
829 @include vertical-gradient(#646060, #262626)
832 padding: 5px 10px 7px
835 text-decoration: none
838 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
839 @include transition(all 0.2s ease-out)
841 background: rgba(0,0,0,0.2)
842 text-shadow: black 0px 0px 3px
844 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
853 .oe_dropdown_arrow:after
854 border-top: 4px solid white
858 background: rgba(37,37,37,0.9)
860 border-color: rgba(0, 0, 0, 0.2)
862 border-width: 0 1px 1px
863 @include radius(0 0 6px 6px)
864 @include background-clip()
871 @include vertical-gradient(#292929, #191919)
872 @include box-shadow(none)
874 // oe menu is the list of the buttons on the left side of the bar.
875 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
876 // is a leftover from an uncomplete refactoring when the left and top menu
877 // were merged. You are welcome to refactor and clean this up
884 list-style-type: none
892 padding: 5px 10px 7px
895 text-decoration: none
898 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
899 @include transition(all 0.2s ease-out)
901 background: rgba(0,0,0,0.2)
902 text-shadow: black 0px 0px 3px
904 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
906 background: rgba(0,0,0,0.30)
907 text-shadow: black 0px 0px 3px
908 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
915 list-style-type: none
927 // Webclient.leftbar {{{
932 border-right: 1px solid $tag-border
933 text-shadow: 0 1px 1px white
961 // Webclient.leftbar items {{{
963 .oe_secondary_menu_section
967 .oe_secondary_submenu
971 display: inline-block
975 padding: 1px 0 1px 20px !important
976 list-style-type: none
980 padding: 2px 4px 2px 0
986 background: $link-color
990 border: 1px solid lightGray
991 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
993 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
996 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
1002 @include transform(scale(1.1))
1004 border-top: 1px solid lightGray
1005 border-bottom: 1px solid #dedede
1006 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
1007 @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
1008 background: $link-color
1014 text-shadow: 0 1px 1px white
1015 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
1019 @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
1020 .oe_menu_toggler:before
1023 display: inline-block
1025 text-indent: -99999px
1030 border-top: 4px solid transparent
1031 border-bottom: 4px solid transparent
1032 border-left: 4px solid #4c4c4c
1033 @include opacity(0.5)
1034 .oe_menu_opened:before
1038 border-left: 4px solid transparent
1039 border-right: 4px solid transparent
1040 border-top: 4px solid #4c4c4c
1043 // About openerp {{{
1045 background-color: white
1046 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
1047 @include radius(0 0 2px 2px)
1051 text-decoration: underline
1062 text-shadow: 0 1px 1px #999999
1063 @include vertical-gradient(#b41616, #600606)
1066 @include radius(0 0 2px 2px)
1070 // ActionManager {{{
1076 text-decoration: underline
1079 .oe_breadcrumb_item:not(:last-child)
1080 display: inline-block
1084 text-overflow: ellipsis
1086 // ViewManager common {{{
1088 .oe_view_manager_body
1090 .oe_view_manager_view_kanban
1093 table.oe_view_manager_header
1100 text-shadow: 0 1px 1px white
1101 .oe_header_row:last-child
1104 .oe_header_row:first-child
1107 .oe_view_manager_sidebar
1121 display: inline-block
1122 border: 1px solid #ababab
1123 @include radius(5px)
1126 border-right: 1px solid #ababab
1132 text-decoration: none
1135 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1138 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1139 .oe_view_manager_buttons
1142 // ViewManager.pager {{{
1143 .oe_view_manager_pager
1145 .oe_list_pager_single_page .oe_pager_group
1157 display: inline-block
1158 border: 1px solid #ababab
1160 @include radius(5px)
1166 list-style-type: none
1168 border-right: 1px solid #ababab
1175 text-decoration: none
1178 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1181 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1183 // ViewManager.switches {{{
1184 .oe_view_manager_switch
1194 list-style-type: none
1197 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1200 .oe_vm_switch_form:after
1202 .oe_vm_switch_graph:after
1203 font-family: "mnmliconsRegular" !important
1205 font-weight: 300 !important
1209 .oe_vm_switch_gantt:after
1210 font-family: "mnmliconsRegular" !important
1212 font-weight: 300 !important
1216 .oe_vm_switch_calendar:after
1218 .oe_vm_switch_kanban:after
1220 .oe_vm_switch_diagram:after
1223 // ViewManager application {{{
1224 .oe_view_manager_current
1226 > .oe_view_manager_header
1227 border-bottom: 1px solid #cacaca
1228 @include vertical-gradient(#fcfcfc, #dedede)
1229 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1233 .oe_header_row:first-child
1237 // ViewManager inline {{{
1238 .oe_view_manager_inline, .oe_view_manager_inlineview
1240 > .oe_view_manager_header
1243 // Viewmanager popup {{{
1244 .oe_popup_form > .oe_formview > .oe_form_pager
1245 display: none !important
1255 border: 1px solid #ababab
1257 @include radius(13px)
1258 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1265 border-color: $tag-border-selected
1266 @include box-shadow(0 1px 2px $tag-border-selected inset)
1267 .oe_searchview_clear
1274 background: url(../img/search_reset.gif) center center no-repeat
1275 .oe_searchview_unfold_drawer
1280 padding: 0 7px 0 4px
1291 display: inline-block
1294 border-top: 5px solid #4C4C4C
1295 border-left: 5px solid transparent
1296 border-right: 5px solid transparent
1299 .oe_searchview_search
1300 @include text-to-icon("r", #a3a3a3)
1301 @include box-shadow(none)
1308 background: transparent
1310 .oe_searchview_facets
1315 display: inline-block
1317 .oe_searchview_facet
1323 .oe_searchview_input
1330 .oe_searchview_facet
1334 -webkit-font-smoothing: auto
1335 // spacing for opera, FF
1337 border-color: $tag-border-selected
1338 @include box-shadow(0 0 3px 1px $tag-border-selected)
1341 @include radius(0 3px 3px 0)
1342 .oe_facet_category, .oe_facet_value
1347 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1348 .oe_facet_category.oe_i
1351 border-left: 1px solid $tag-border
1352 text-shadow: 0 1px 1px white
1368 text-shadow: 0 1px 1px white
1372 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1373 @include radius(2px)
1374 &.oe_searchview_open_drawer
1375 .oe_searchview_drawer
1378 .oe_searchview_drawer
1381 // detach drawer from field slightly
1385 background-color: white
1388 border: 1px solid $tag-border
1390 @include radius(4px)
1391 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1393 border-top: 1px solid #ccc
1400 margin: 8px 4px 4px 12px
1401 color: $section-title-color
1407 display: inline-block
1409 background-color: $hover-background
1417 background: transparent
1419 @include box-shadow(none)
1421 .oe_searchview_section
1425 @include box-sizing(border)
1434 padding: 2px 4px 2px 20px
1439 &.oe_selected:before
1441 font-family: "entypoRegular" !important
1443 font-weight: 300 !important
1448 // after oe_selected so background color is not overridden
1450 background-color: $hover-background
1458 .oe_searchview_custom
1459 padding: 0 8px 8px 8px
1466 padding: 2px 4px 2px 20px
1468 background-color: $hover-background
1473 .oe_searchview_dashboard
1478 .oe_searchview_advanced
1482 button.oe_add_condition:before
1484 font-family: "entypoRegular" !important
1486 font-weight: 300 !important
1496 &:first-child .searchview_extended_prop_or
1498 .searchview_extended_prop_or
1510 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1511 display: inline-block
1520 text-shadow: 0 1px 1px white
1522 text-decoration: none
1525 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1526 @include radius(2px)
1527 .oe_searchview_custom_delete
1532 .oe_searchview_custom_private, .oe_searchview_custom_public
1534 .oe_searchview_custom_delete
1535 display: inline-block
1536 .oe_searchview_custom_public:after
1538 font-family: "entypoRegular" !important
1540 font-weight: 300 !important
1553 .oe_view_nocontent_create
1554 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 7px 0
1561 .oe_empty_custom_dashboard
1562 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1564 padding: 100px 0 0 137px
1567 .oe_view.oe_cannot_create
1568 .oe_view_nocontent_create
1571 // FormView.base and dynamic tags {{{
1574 .oe_form_dropdown_section
1576 display: inline-block
1578 input, select, textarea
1579 background-color: #F66 !important
1580 border: 1px solid #D00 !important
1581 .oe_view_manager_current .oe_form_editable
1586 @include vertical-gradient(#efefef, #d8d8d8)
1587 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1588 button.oe_highlight:active
1589 @include vertical-gradient(#e3e3e3, #f6f6f6)
1590 @include box-shadow(none)
1591 button.oe_highlight:hover
1592 @include vertical-gradient(#f6f6f6, #e3e3e3)
1593 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1595 display: none !important
1597 .oe_edit_only, .oe_form_field:empty
1598 display: none !important
1599 .oe_form .oe_form_field_date
1601 // Sheet and padding
1605 margin: -16px -16px 0 -16px
1609 .oe_form_sheet_width
1611 max-width: $sheet-max-width
1617 // Sheet inline mode
1620 background: url(/web/static/src/img/form_sheetbg.png)
1621 border-bottom: 1px solid #ddd
1623 border: 1px solid #c8c8d3 //$tag-border
1624 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1630 // FormView.header {{{
1633 border-bottom: 1px solid #cacaca
1635 @include vertical-gradient(#fcfcfc, #dedede)
1639 display: inline-block
1646 // FormView.custom tags and classes {{{
1654 box-sizing: border-box
1655 min-width: $sheet-min-width + 2* $sheet-padding
1656 max-width: $sheet-max-width + 2* $sheet-padding
1658 padding: 16px 16px 48px
1659 div.oe_form_configuration
1665 .oe_form_group_cell_label
1667 .oe_form_group_cell div div
1670 width: 1% !important
1671 td.oe_form_group_cell
1673 padding: 0 !important
1674 td.oe_form_group_cell_label
1676 .oe_subtotal_footer_separator
1678 border-top: 1px solid #cacaca
1685 label.oe_subtotal_footer_separator
1686 font-weight: bold !important
1687 padding: 2px 11px 2px 0px !important
1688 label.oe_form_label_help
1692 // FormView.group {{{
1696 td.oe_form_group_cell_label
1697 border-right: 1px solid #ddd
1703 td.oe_form_group_cell + .oe_form_group_cell
1704 padding: 2px 0 2px 8px
1708 .oe_form_group_cell.oe_group_right
1711 // FormView.label {{{
1713 .oe_form_label_help[for], .oe_form_label[for]
1725 // FormView.separator {{{
1726 .oe_horizontal_border
1727 border-bottom: 1px solid black
1728 .oe_horizontal_separator
1731 margin: 15px 0px 10px 0px
1732 color: $section-title-color
1733 .oe_horizontal_separator:empty
1735 .oe_vertical_separator
1736 border-left: 1px solid #666
1737 padding: 0 4px 0 4px
1739 // FormView.progressbar {{{
1740 .oe_form_field_progressbar
1741 display: inline-block
1743 .oe_form_field_progressbar.ui-progressbar
1746 @include box-sizing(border)
1747 border: 1px solid #999
1748 @include radius(3px)
1756 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1758 // FormView.fields {{{
1762 .oe_form_field_char input,
1763 .oe_form_field_url input,
1764 .oe_form_field_email input,
1765 .oe_form_field_text textarea,
1766 .oe_form_field_selection select
1768 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1770 h1, h2, h3, h4, h5, h6
1773 height: inherit !important
1777 display: inline-block
1778 padding: 2px 2px 2px 0px
1781 input[type="text"], input[type="password"], input[type="file"], select
1784 input[type="text"], input[type="password"], input[type="file"], select, textarea
1785 @include box-sizing(border)
1789 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1790 background: #E5E5E5 !important
1795 @include box-shadow(none)
1796 @include radius(0px)
1797 textarea.oe_inline[disabled]
1798 border-left: 8px solid #eee
1799 .oe_form_field_url button img
1801 .oe_form_field_date,
1802 .oe_form_field_datetime
1804 .oe_form_field_boolean
1807 .oe_datepicker_container
1810 display: inline-block
1812 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1813 background-color: #D2D2FF !important
1815 input, select, textarea
1816 background-color: #F66 !important
1817 border: 1px solid #D00 !important
1820 margin: 3px 0 0 -21px
1822 .oe_input_icon_disabled
1826 filter: alpha(opacity=50)
1829 .oe_form_field_with_button.oe_no_button > .oe_button
1831 .oe_form_field_with_button:not(.oe_no_button)
1835 border-bottom-left-radius: 0px
1837 .oe_form_field_with_button
1843 .oe_form_embedded_html
1853 .oe_form_field_integer input
1854 width: 6em !important
1855 .oe_form_field_float input
1856 width: 7em !important
1857 .oe_form_field_date input
1858 width: 7.5em !important
1859 .oe_form_field_datetime input
1860 width: 11.5em !important
1862 // FormView.fields_binary {{{
1863 /* http://www.quirksmode.org/dom/inputfile.html
1864 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1866 .oe_hidden_input_file
1867 // Position: relative is used for the hidden input[type=file]
1868 // Do not remove it anymore !
1870 input.oe_form_binary_file
1879 filter: alpha(opacity = 0)
1880 -ms-filter: "alpha(opacity=0)"
1884 .oe_form_field_image
1887 display: inline-block
1890 .oe_form_field_image_controls
1898 background: rgba(37,37,37,0.9)
1899 @include radius(3px 3px 0 0)
1900 @include box-sizing(border)
1901 &:hover .oe_form_field_image_controls
1904 // FormView.many2one {{{
1905 .oe_form_field_many2one
1908 span.oe_m2o_drop_down_button
1917 li.oe_m2o_dropdown_option a
1920 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1923 // FormView.fieldstatus {{{
1924 ul.oe_form_status, ul.oe_form_status_clickable
1925 display: inline-block
1929 display: inline-block
1930 list-style-type: none
1931 // It is probably a bad idea to modify this margin
1934 @include vertical-gradient(#fcfcfc, #dedede)
1935 &:first-child .label
1936 border-left: 1px solid #cacaca
1939 border-right: 1px solid #cacaca
1946 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
1948 display: inline-block
1954 display: inline-block
1962 display: inline-block
1965 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
1966 @include skew-gradient(#fcfcfc, #dedede)
1967 @include radius(3px)
1968 @include transform(rotate(45deg))
1970 @include vertical-gradient(#729fcf, #3465a4)
1972 @include skew-gradient(#729fcf, #3465a4)
1975 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
1976 ul.oe_form_status_clickable
1980 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1982 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
1984 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1989 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1991 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
1993 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1995 // FormView.one2many {{{
1996 .oe_form .oe_form_field_one2many > .oe_view_manager
1997 .oe_list_pager_single_page
1999 .oe_form_field_one2many,.oe_form_field_many2many
2000 // TODO: oe_form_field_one2many_list?
2002 .oe_list_pager_single_page
2003 display: none !important
2004 .oe_view_manager_view_list
2007 .oe_form_field_one2many_list_row_add
2014 background: transparent
2015 .oe_list .oe_list_edit_row_save
2016 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2023 .oe_view_manager_header2
2035 .oe_list_buttons.oe_editing .oe_list_save
2036 // keep "save row" button hidden in o2m
2042 background-color: #d2d2ff
2044 background-color: #eee
2049 td.oe_list_field_cell
2050 padding: 4px 6px 3px 6px
2051 .oe_list.oe_list_editable.oe_editing
2052 .oe_edition .oe_list_field_cell:not(.oe_readonly)
2057 .oe_m2o_drop_down_button
2066 border: 1px solid #aaf
2068 &.oe_form_field_float,&.oe_form_view_integer
2071 width: 100% !important
2072 &.oe_form_field_datetime,&.oe_form_field_date
2074 width: 100% !important
2075 input.oe_datepicker_master
2076 width: 100% !important
2077 .oe_form_field_float,.oe_form_view_integer,&.oe_form_field_datetime,&.oe_form_field_date
2078 min-width: 0 !important
2079 max-width: none !important
2083 // FormView.many2many {{{
2084 .oe_form .oe_form_field_many2many > .oe_list
2085 .oe_list_pager_single_page
2092 .oe_list_save, .oe_list_discard
2098 display: inline-block
2106 .oe_list_header_handle, .oe_list_field_handle
2107 display: none !important
2108 padding: 0 !important
2110 .oe_list_record_delete
2111 display: none !important
2115 margin: 0 // FIXME: either class or border should not be by default
2121 margin: 0 !important // dammit
2123 .oe_list_content .oe_group_header
2124 @include vertical-gradient(#fcfcfc, #dedede)
2128 td:first-child, th:first-child
2132 text-align: right !important
2135 border-bottom: 2px solid #cacaca
2141 th.oe_sortable, th.oe_sortable div
2145 th.oe_sortable div:after
2150 border-width: 0 4px 4px
2152 border-color: #000 transparent
2156 @include opacity(0.6)
2157 th.sortdown div:after
2159 border-left: 4px solid transparent
2160 border-right: 4px solid transparent
2161 border-top: 4px solid #000
2163 @include box-shadow(none)
2164 @include opacity(0.6)
2169 border-top: 1px solid #ddd
2170 > td.oe_list_field_cell
2172 white-space: pre-line
2176 background: transparent
2178 @include box-shadow(none)
2179 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2184 background-color: #f0f0fa
2185 @include vertical-gradient(#f0f0fa, #eeeef6)
2188 border-top: 2px solid #cacaca
2189 border-bottom: 1px solid #cacaca
2199 th.oe_list_header_handle
2202 text-indent: -9001px
2203 td.oe_list_field_handle
2205 padding: 0 !important
2208 @include text-to-entypo-icon("}",#E0E0E0,18px)
2213 background-color: #f0f0f0
2214 border-bottom: 1px solid #cacaca
2224 background-color: white
2230 background-color: #f0f0f0
2231 border-bottom: 2px solid #cacaca
2235 vertical-align: middle
2237 vertical-align: middle
2241 border-right: 1px solid #e7e7e7
2244 text-align: right !important
2246 border-bottom: 1px solid #d6d6d6
2248 background-color: #e7e7e7
2254 .treeview-tr.oe-treeview-first
2255 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2256 .oe_open .treeview-tr.oe-treeview-first
2257 background-image: url(/web/static/src/img/collapse.gif)
2258 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2261 // Debugging stuff {{{
2262 .oe_layout_debugging
2264 outline: 2px dashed green
2266 outline: 1px solid blue
2267 .oe_form_group:hover, .oe_form_group_cell:hover
2269 .oe_form_group_row_incomplete > td:last-child:after
2270 content: "[Incomplete Row]"
2276 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2277 content: "[newline]"
2282 .oe_debug_view_log label
2289 .oe_debug_view_log span
2298 display: inline-block
2312 vertical-align: middle
2318 background: transparent
2327 input.oe_form_binary_file
2328 display: inline-block
2341 border: solid 1px rgba(124,123,173,0.14)
2350 text-decoration: none
2351 .oe_attachment:nth-child(odd)
2353 .oe_attachment:nth-child(even)
2357 .kitten-mode-activated
2358 background-image: url(http://placekitten.com/g/1365/769)
2359 background-size: cover
2360 background-attachment: fixed
2365 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2366 div.ui-widget-overlay
2368 @include opacity(0.3)
2371 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2377 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2379 border: 1px solid $tag-border
2389 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2390 background: $tag-bg-dark
2392 //@include vertical-gradient(#f0f0fa, #eeeef6)
2395 @include radius(3px)
2405 .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
2408 button, input[type=checkbox]
2410 .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
2413 &.oe_m2o_cm_button, &.oe_e
2416 .oe_form_field_date img, .oe_form_field_datetime img
2418 .oe_notebook > li.ui-tabs-selected
2421 .oe_form_sheet, .oe_form_sheetbg
2422 border: 0px !important
2423 box-shadow: 0px 0px 0px
2424 .oe_view_manager_current > .oe_view_manager_header
2425 border: 0px !important
2426 box-shadow: 0px 0px 0px
2428 .text-core .text-wrap .text-arrow
2430 .openerp div.oe_mail_wall
2431 overflow: hidden !important
2432 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2433 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: