4 $facets-border: #afafb6
5 $section-title-color: #7C7BAD
9 $tag-border-selected: #a6a6fe
10 $hover-background: #f0f0fa
12 $sheet-max-width: 860px
16 font-family: 'mnmliconsRegular'
17 src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
18 src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
19 src: url('/web/static/src/font/mnmliconsv21-webfont.ttf') format('truetype')
20 src: url('/web/static/src/font/mnmliconsv21-webfont.svg') format('svg') active
25 font-family: 'EntypoRegular'
26 src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
27 src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
28 src: url('/web/static/src/font/entypo-webfont.woff') format('woff')
29 src: url('/web/static/src/font/entypo-webfont.ttf') format('truetype')
30 src: url('/web/static/src/font/entypo-webfont.svg') format('svg') active
40 @include box-shadow(none)
42 @mixin vertical-gradient($startColor: #555, $endColor: #333)
43 background-color: $startColor
44 background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
45 background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
46 background-image: -moz-linear-gradient(top, $startColor, $endColor) /* FF3.6 */
47 background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
48 background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */
49 background-image: linear-gradient(to bottom, $startColor, $endColor)
51 @mixin radial-gradient($gradient)
52 background-position: center center
53 background-image: -webkit-radial-gradient(circle, $gradient)
54 background-image: -moz-radial-gradient($gradient)
55 background-image: -ms-radial-gradient($gradient)
56 background-image: radial-gradient($gradient)
58 @mixin radius($radius: 5px)
59 -moz-border-radius: $radius
60 -webkit-border-radius: $radius
61 border-radius: $radius
63 @mixin box-shadow($bsval: 0px 1px 4px #777)
64 -moz-box-shadow: $bsval
65 -webkit-box-shadow: $bsval
68 @mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
69 -webkit-transition: $transval
70 -moz-transition: $transval
71 -ms-transition: $transval
72 -o-transition: $transval
75 @mixin opacity($opacity: .5)
76 filter: alpha(opacity=$opacity * 100)
79 @mixin background-clip($clip: padding-box)
80 -webkit-background-clip: $clip
81 -moz-background-clip: $clip
82 background-clip: $clip
84 @mixin box-sizing($type: content)
85 // type = border || content || padding
86 -webkit-box-sizing: #{$type}-box
87 -moz-box-sizing: #{$type}-box
88 -ms-box-sizing: #{$type}-box
89 box-sizing: #{$type}-box
91 @mixin skew-gradient($startColor: #555, $endColor: #333)
92 background-color: $endColor
93 background: -moz-linear-gradient(135deg, $endColor, $startColor)
94 background: -o-linear-gradient(135deg, $startColor, $endColor)
95 background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor))
97 @mixin transform($transform)
98 -webkit-transform: $transform
99 -moz-transform: $transform
100 -ms-transform: $transform
101 -o-transform: $transform
102 transform: $transform
104 @mixin keyframes($name)
105 @-webkit-keyframes #{$name}
107 @-moz-keyframes #{$name}
109 @-ms-keyframes #{$name}
111 @-o-keyframes #{$name}
117 // Transforms the (readable) text of an inline element into an mmlicons icon,
118 // allows for actual readable text in-code (and in readers?) with iconic looks
119 @mixin text-to-icon($icon-name, $color: #404040)
125 font: 21px "mnmliconsRegular"
129 @mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
135 font: $size "entypoRegular"
142 .oe_topbar, .oe_leftbar, .oe_loading
143 display: none !important
145 .openerp.openerp_webclient_container
149 // jQueryUI css bug fixing
150 .text-tag .text-button
151 height: auto !important
158 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
162 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
164 //Placeholder style{{{
166 color: $tag-border !important
167 font-style: italic !important
168 \::-webkit-input-placeholder
169 color: $tag-border !important
170 font-style: italic !important
174 text-decoration: none
175 cursor: pointer !important
178 border-collapse: collapse
181 background-color: #f0f0f0
183 border-right: 1px dotted $tag-border
191 vertical-align: middle
194 .zebra tbody tr:nth-child(odd) td
195 background-color: #f0f0fa
196 @include vertical-gradient(#f0f0fa, #eeeef6)
197 .zebra tbody tr:hover td
198 @include vertical-gradient(#eee, #dedede)
199 input, textarea, select
201 border: 1px solid #ccc
205 vertical-align: middle
210 a.button:link, a.button:visited, button, input[type='submit'], .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
211 display: inline-block
212 border: 1px solid rgba(0,0,0,0.4)
218 @include vertical-gradient(#efefef, #d8d8d8)
220 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
221 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
222 -webkit-font-smoothing: antialiased
225 a.button:hover, button:hover, input[type='submit']:hover, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-hover
226 @include vertical-gradient(#f6f6f6, #e3e3e3)
228 background-position: 0
230 a.button:focus, button:focus, input[type='submit']:focus, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-focus
231 border: 1px solid #80bfff
232 background-position: 0
233 @include vertical-gradient(#f6f6f6, #e3e3e3)
234 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
236 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
237 @include vertical-gradient(#e3e3e3, #f6f6f6)
238 @include box-shadow(none)
240 a.button.disabled, button:disabled, input[type='submit']:disabled
241 background: #efefef !important
242 border: 1px solid #d1d1d1 !important
243 @include box-shadow(none !important)
244 color: #aaa !important
246 text-shadow: 0 1px 1px #fff !important
248 // Jquery ui Overrides {{{
252 display: inline-block
259 background-color: rgba(60,60,60,0.7)
261 border-color: #888 #555 #444
264 @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6))
265 @include background-clip()
268 .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane
271 border-bottom: 1px solid #cacaca
272 @include radius(2px 2px 0 0)
273 @include vertical-gradient(#FCFCFC, #DEDEDE)
281 .ui-dialog-buttonpane
282 border-top: 1px solid #e0e0e0
285 @include radius(0 0 2px 2px)
292 .ui-dialog-titlebar-close
302 text-shadow: 0 1px 0 white
305 background: transparent
309 text-decoration: none
311 background-color: white
312 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
313 @include radius(0 0 2px 2px)
317 text-decoration: underline
328 text-shadow: 0 1px 1px #999999
329 @include vertical-gradient(#b41616, #600606)
332 @include radius(0 0 2px 2px)
336 &.ui-dialog.oe_act_window
347 background-color: black
351 // Generic classes {{{
353 font-family: "mnmliconsRegular" !important
355 font-weight: 300 !important
357 font-family: "entypoRegular" !important
359 font-weight: 300 !important
378 width: auto !important
383 @include vertical-gradient(#df3f3f, #a21a1a)
384 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
385 button.oe_highlight:hover
386 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
387 button.oe_highlight:active
388 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
390 background: #eee !important
393 .oe_highlight_on_dirty
397 button.oe_highlight_on_dirty
398 @include vertical-gradient(#dc5f59, #b33630)
399 @include box-shadow(none)
421 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
426 .oe_image_small > img
429 .oe_image_medium > img
441 text-decoration: underline
443 .oe_star_on, .oe_star_off
445 text-shadow: 0 0 2px black
449 .oe_star_on:hover, .oe_star_off:hover
450 text-decoration: none
460 // Tags (for many2many tags, among others) {{{
462 border: 1px solid $tag-border
467 background: $tag-bg-light
470 background: $tag-bg-dark
477 width: 100% !important
479 width: 100% !important
480 .text-core .text-wrap .text-dropdown .text-list .text-suggestion em
482 text-decoration: none
493 white-space: pre-wrap
494 .oe_tooltip_technical
499 .oe_tooltip_technical_title
518 .oe_notebook.ui-corner-all
520 .oe_notebook:before, .oe_notebook:after
528 .oe_notebook > li > a
534 border-width: 0 0 1px
537 .oe_notebook > li > a
541 border: 1px solid transparent
542 @include radius(4px 4px 0 0)
543 .oe_notebook > li > a:hover
544 text-decoration: none
545 background-color: #eee
546 border-color: #eee #eee #ddd
547 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
548 background-color: #ffffff
549 border: 1px solid #ddd
550 border-bottom-color: transparent
555 padding: 3px 0px 3px 0px
560 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
564 color: rgba(0,0,0,0.5)
566 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
576 border: 1px solid $tag-border
582 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
585 @include vertical-gradient(#f0f0fa, #eeeef6)
586 @include box-shadow(none)
587 list-style-type: none
597 text-decoration: none
599 text-decoration: none
600 .oe_dropdown_arrow:after
603 display: inline-block
605 text-indent: -99999px
608 //margin-left set at 3px to avoid a strange overflow
610 border-left: 4px solid transparent
611 border-right: 4px solid transparent
612 border-top: 4px solid#404040
613 @include opacity(0.5)
617 .oe_sidebar_add_attachment
624 .oe_hidden_input_file
627 @include vertical-gradient(#f0f0fa, #eeeef6)
628 @include box-shadow(none)
630 .oe_sidebar_delete_item
642 text-shadow: 0 1px 1px white
644 text-decoration: none
647 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
650 .oe_sidebar_delete_item
651 display: inline-block
664 border: 1px solid #900
666 -moz-border-radius-bottomright: 8px
667 -moz-border-radius-bottomleft: 8px
668 border-bottom-right-radius: 8px
669 border-bottom-left-radius: 8px
677 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
683 list-style-type: none
687 display: inline-block
690 border: 1px solid #222
693 @include vertical-gradient(#b92020, #600606)
695 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
698 font-family: "Lucida Grande", Helvetica, Verdana, Arial
699 border: 1px solid #999999
700 background: whitesmoke
701 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
714 border: solid 1px #333
716 background: rgba(30,30,30,0.94)
717 @include radius(0 0 8px 8px)
727 text-shadow: 0 1px 1px #999999
728 @include vertical-gradient(#b41616, #600606)
733 margin: -160px -166px
734 border: solid 1px #333333
736 background: rgba(30,30,30,0.94)
741 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
762 text-decoration: underline
766 .oe_login_error_message
768 background-color: #b41616
774 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
776 .oe_login_error_message
777 display: inline-block
779 // DatabaseManager {{{
784 .oe_database_manager_menu
793 // WebClient.fullscreen {{{
794 .oe_content_full_screen
798 .oe_topbar, .oe_leftbar
806 background-color: #414141
807 @include vertical-gradient(#646060, #262626)
810 padding: 5px 10px 7px
813 text-decoration: none
816 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
817 @include transition(all 0.2s ease-out)
819 background: rgba(0,0,0,0.2)
820 text-shadow: black 0px 0px 3px
822 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
831 .oe_dropdown_arrow:after
832 border-top: 4px solid white
836 background: rgba(37,37,37,0.9)
838 border-color: rgba(0, 0, 0, 0.2)
840 border-width: 0 1px 1px
841 @include radius(0 0 6px 6px)
842 @include background-clip()
849 @include vertical-gradient(#292929, #191919)
850 @include box-shadow(none)
852 // oe menu is the list of the buttons on the left side of the bar.
853 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
854 // is a leftover from an uncomplete refactoring when the left and top menu
855 // were merged. You are welcome to refactor and clean this up
862 list-style-type: none
870 padding: 5px 10px 7px
873 text-decoration: none
876 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
877 @include transition(all 0.2s ease-out)
879 background: rgba(0,0,0,0.2)
880 text-shadow: black 0px 0px 3px
882 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
884 background: rgba(0,0,0,0.30)
885 text-shadow: black 0px 0px 3px
886 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
893 list-style-type: none
905 // Webclient.leftbar {{{
910 border-right: 1px solid $tag-border
911 text-shadow: 0 1px 1px white
939 // Webclient.leftbar items {{{
941 .oe_secondary_menu_section
945 .oe_secondary_submenu
949 display: inline-block
953 padding: 1px 0 1px 20px !important
954 list-style-type: none
958 padding: 2px 4px 2px 0
964 background: $link-color
968 border: 1px solid lightGray
969 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
971 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
974 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
980 @include transform(scale(1.1))
982 border-top: 1px solid lightGray
983 border-bottom: 1px solid #dedede
984 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
985 @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
986 background: $link-color
992 text-shadow: 0 1px 1px white
993 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
997 @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
998 .oe_menu_toggler:before
1001 display: inline-block
1003 text-indent: -99999px
1008 border-top: 4px solid transparent
1009 border-bottom: 4px solid transparent
1010 border-left: 4px solid #4c4c4c
1011 @include opacity(0.5)
1012 .oe_menu_opened:before
1016 border-left: 4px solid transparent
1017 border-right: 4px solid transparent
1018 border-top: 4px solid #4c4c4c
1021 // About openerp {{{
1023 background-color: white
1024 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
1025 @include radius(0 0 2px 2px)
1029 text-decoration: underline
1040 text-shadow: 0 1px 1px #999999
1041 @include vertical-gradient(#b41616, #600606)
1044 @include radius(0 0 2px 2px)
1048 // ActionManager {{{
1054 text-decoration: underline
1057 .oe_breadcrumb_item:not(:last-child)
1058 display: inline-block
1062 text-overflow: ellipsis
1064 // ViewManager common {{{
1066 .oe_view_manager_body
1068 .oe_view_manager_view_kanban
1071 table.oe_view_manager_header
1078 text-shadow: 0 1px 1px white
1079 .oe_header_row:last-child
1082 .oe_header_row:first-child
1085 .oe_view_manager_sidebar
1099 display: inline-block
1100 border: 1px solid #ababab
1101 @include radius(5px)
1104 border-right: 1px solid #ababab
1110 text-decoration: none
1113 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1116 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1117 .oe_view_manager_buttons
1120 // ViewManager.pager {{{
1121 .oe_view_manager_pager
1123 .oe_list_pager_single_page .oe_pager_group
1135 display: inline-block
1136 border: 1px solid #ababab
1138 @include radius(5px)
1144 list-style-type: none
1146 border-right: 1px solid #ababab
1153 text-decoration: none
1156 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1159 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1161 // ViewManager.switches {{{
1162 .oe_view_manager_switch
1172 list-style-type: none
1175 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1178 .oe_vm_switch_form:after
1180 .oe_vm_switch_graph:after
1181 font-family: "mnmliconsRegular" !important
1183 font-weight: 300 !important
1187 .oe_vm_switch_gantt:after
1188 font-family: "mnmliconsRegular" !important
1190 font-weight: 300 !important
1194 .oe_vm_switch_calendar:after
1196 .oe_vm_switch_kanban:after
1198 .oe_vm_switch_diagram:after
1201 // ViewManager application {{{
1202 .oe_view_manager_current
1204 > .oe_view_manager_header
1205 border-bottom: 1px solid #cacaca
1206 @include vertical-gradient(#fcfcfc, #dedede)
1207 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1211 .oe_header_row:first-child
1215 // ViewManager inline {{{
1216 .oe_view_manager_inline, .oe_view_manager_inlineview
1218 > .oe_view_manager_header
1221 // Viewmanager popup {{{
1222 .oe_popup_form > .oe_formview > .oe_form_pager
1223 display: none !important
1233 border: 1px solid #ababab
1235 @include radius(13px)
1236 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1243 border-color: $tag-border-selected
1244 @include box-shadow(0 1px 2px $tag-border-selected inset)
1245 .oe_searchview_clear
1252 background: url(../img/search_reset.gif) center center no-repeat
1253 .oe_searchview_unfold_drawer
1258 padding: 0 7px 0 4px
1269 display: inline-block
1272 border-top: 5px solid #4C4C4C
1273 border-left: 5px solid transparent
1274 border-right: 5px solid transparent
1277 .oe_searchview_search
1278 @include text-to-icon("r", #a3a3a3)
1279 @include box-shadow(none)
1286 background: transparent
1288 .oe_searchview_facets
1293 display: inline-block
1295 .oe_searchview_facet
1301 .oe_searchview_input
1308 .oe_searchview_facet
1312 -webkit-font-smoothing: auto
1313 // spacing for opera, FF
1315 border-color: $tag-border-selected
1316 @include box-shadow(0 0 3px 1px $tag-border-selected)
1319 @include radius(0 3px 3px 0)
1320 .oe_facet_category, .oe_facet_value
1325 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1326 .oe_facet_category.oe_i
1329 border-left: 1px solid $tag-border
1330 text-shadow: 0 1px 1px white
1346 text-shadow: 0 1px 1px white
1350 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1351 @include radius(2px)
1352 &.oe_searchview_open_drawer
1353 .oe_searchview_drawer
1356 .oe_searchview_drawer
1359 // detach drawer from field slightly
1363 background-color: white
1366 border: 1px solid $tag-border
1368 @include radius(4px)
1369 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1371 border-top: 1px solid #ccc
1378 margin: 8px 4px 4px 12px
1379 color: $section-title-color
1385 display: inline-block
1387 background-color: $hover-background
1395 background: transparent
1397 @include box-shadow(none)
1399 .oe_searchview_section
1403 @include box-sizing(border)
1412 padding: 2px 4px 2px 20px
1417 &.oe_selected:before
1419 font-family: "entypoRegular" !important
1421 font-weight: 300 !important
1426 // after oe_selected so background color is not overridden
1428 background-color: $hover-background
1436 .oe_searchview_custom
1437 padding: 0 8px 8px 8px
1444 padding: 2px 4px 2px 20px
1446 background-color: $hover-background
1451 .oe_searchview_dashboard
1456 .oe_searchview_advanced
1460 button.oe_add_condition:before
1462 font-family: "entypoRegular" !important
1464 font-weight: 300 !important
1474 &:first-child .searchview_extended_prop_or
1476 .searchview_extended_prop_or
1488 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1489 display: inline-block
1498 text-shadow: 0 1px 1px white
1500 text-decoration: none
1503 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1504 @include radius(2px)
1505 .oe_searchview_custom_delete
1510 .oe_searchview_custom_private, .oe_searchview_custom_public
1512 .oe_searchview_custom_delete
1513 display: inline-block
1514 .oe_searchview_custom_public:after
1516 font-family: "entypoRegular" !important
1518 font-weight: 300 !important
1531 .oe_view_nocontent_create
1532 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 7px 0
1539 .oe_empty_custom_dashboard
1540 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1542 padding: 100px 0 0 137px
1547 // FormView.base and dynamic tags {{{
1550 .oe_form_dropdown_section
1552 display: inline-block
1554 input, select, textarea
1555 background-color: #F66 !important
1556 border: 1px solid #D00 !important
1557 .oe_view_manager_current .oe_form_editable
1562 @include vertical-gradient(#efefef, #d8d8d8)
1563 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1564 button.oe_highlight:active
1565 @include vertical-gradient(#e3e3e3, #f6f6f6)
1566 @include box-shadow(none)
1567 button.oe_highlight:hover
1568 @include vertical-gradient(#f6f6f6, #e3e3e3)
1569 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1571 display: none !important
1573 .oe_edit_only, .oe_form_field:empty
1574 display: none !important
1575 .oe_form .oe_form_field_date
1577 // Sheet and padding
1581 margin: -16px -16px 0 -16px
1585 .oe_form_sheet_width
1587 max-width: $sheet-max-width
1593 // Sheet inline mode
1596 background: url(/web/static/src/img/form_sheetbg.png)
1597 border-bottom: 1px solid #ddd
1599 border: 1px solid #c8c8d3 //$tag-border
1600 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1606 // FormView.header {{{
1609 border-bottom: 1px solid #cacaca
1611 @include vertical-gradient(#fcfcfc, #dedede)
1615 display: inline-block
1622 // FormView.custom tags and classes {{{
1623 .oe_form header .oe_tags
1629 max-width: $sheet-max-width
1631 padding: 16px 0 48px
1632 div.oe_form_configuration
1638 .oe_form_group_cell_label
1640 .oe_form_group_cell div div
1643 width: 1% !important
1644 td.oe_form_group_cell
1646 padding: 0 !important
1647 td.oe_form_group_cell_label
1649 .oe_subtotal_footer_separator
1651 border-top: 1px solid #cacaca
1658 label.oe_subtotal_footer_separator
1659 font-weight: bold !important
1660 padding: 2px 11px 2px 0px !important
1661 label.oe_form_label_help
1665 // FormView.group {{{
1669 td.oe_form_group_cell_label
1670 border-right: 1px solid #ddd
1676 td.oe_form_group_cell + .oe_form_group_cell
1677 padding: 2px 0 2px 8px
1681 .oe_form_group_cell.oe_group_right
1684 // FormView.label {{{
1686 .oe_form_label_help[for], .oe_form_label[for]
1698 // FormView.separator {{{
1699 .oe_horizontal_border
1700 border-bottom: 1px solid black
1701 .oe_horizontal_separator
1704 margin: 15px 0px 10px 0px
1705 color: $section-title-color
1706 .oe_horizontal_separator:empty
1708 .oe_vertical_separator
1709 border-left: 1px solid #666
1710 padding: 0 4px 0 4px
1712 // FormView.progressbar {{{
1713 .oe_form_field_progressbar
1714 display: inline-block
1716 .oe_form_field_progressbar.ui-progressbar
1719 @include box-sizing(border)
1720 border: 1px solid #999
1721 @include radius(3px)
1729 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1731 // FormView.fields {{{
1735 .oe_form_field_char input,
1736 .oe_form_field_url input,
1737 .oe_form_field_email input,
1738 .oe_form_field_text textarea,
1739 .oe_form_field_selection select
1741 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1743 h1, h2, h3, h4, h5, h6
1746 height: inherit !important
1750 display: inline-block
1751 padding: 2px 2px 2px 0px
1754 input[type="text"], input[type="password"], input[type="file"], select
1757 input[type="text"], input[type="password"], input[type="file"], select, textarea
1758 @include box-sizing(border)
1762 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1763 background: #E5E5E5 !important
1768 @include box-shadow(none)
1769 @include radius(0px)
1770 textarea.oe_inline[disabled]
1771 border-left: 8px solid #eee
1772 .oe_form_field_url button img
1774 .oe_form_field_date,
1775 .oe_form_field_datetime
1777 .oe_form_field_boolean
1780 .oe_datepicker_container
1783 display: inline-block
1785 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1786 background-color: #D2D2FF !important
1788 input, select, textarea
1789 background-color: #F66 !important
1790 border: 1px solid #D00 !important
1793 margin: 3px 0 0 -21px
1795 .oe_input_icon_disabled
1799 filter: alpha(opacity=50)
1802 .oe_form_field_with_button.oe_no_button > .oe_button
1804 .oe_form_field_with_button:not(.oe_no_button)
1808 border-bottom-left-radius: 0px
1810 .oe_form_field_with_button
1816 .oe_form_embedded_html
1826 .oe_form_field_integer
1827 width: 6em !important
1828 .oe_form_field_float
1829 width: 7em !important
1831 width: 7.5em !important
1832 .oe_form_field_datetime
1833 width: 11.5em !important
1835 // FormView.fields_binary {{{
1836 /* http://www.quirksmode.org/dom/inputfile.html
1837 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1839 .oe_hidden_input_file
1840 // Position: relative is used for the hidden input[type=file]
1841 // Do not remove it anymore !
1843 input.oe_form_binary_file
1852 filter: alpha(opacity = 0)
1853 -ms-filter: "alpha(opacity=0)"
1857 .oe_form_field_image
1860 display: inline-block
1863 .oe_form_field_image_controls
1871 background: rgba(37,37,37,0.9)
1872 @include radius(3px 3px 0 0)
1873 @include box-sizing(border)
1874 &:hover .oe_form_field_image_controls
1877 // FormView.many2one {{{
1878 .oe_form_field_many2one
1881 span.oe_m2o_drop_down_button
1890 li.oe_m2o_dropdown_option a
1893 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1896 // FormView.fieldstatus {{{
1897 ul.oe_form_status, ul.oe_form_status_clickable
1898 display: inline-block
1902 display: inline-block
1903 list-style-type: none
1904 // It is probably a bad idea to modify this margin
1907 @include vertical-gradient(#fcfcfc, #dedede)
1908 &:first-child .label
1909 border-left: 1px solid #cacaca
1912 border-right: 1px solid #cacaca
1919 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
1921 display: inline-block
1927 display: inline-block
1935 display: inline-block
1938 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
1939 @include skew-gradient(#fcfcfc, #dedede)
1940 @include radius(3px)
1941 @include transform(rotate(45deg))
1943 @include vertical-gradient(#729fcf, #3465a4)
1945 @include skew-gradient(#729fcf, #3465a4)
1948 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
1949 ul.oe_form_status_clickable
1953 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1955 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
1957 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1962 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1964 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
1966 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1968 // FormView.one2many {{{
1969 .oe_form .oe_form_field_one2many > .oe_view_manager
1970 .oe_list_pager_single_page
1972 .oe_form_field_one2many,.oe_form_field_many2many
1973 // TODO: oe_form_field_one2many_list?
1975 .oe_list_pager_single_page
1976 display: none !important
1977 .oe_form_field_one2many_list_row_add
1984 background: transparent
1985 .oe_list .oe_list_edit_row_save
1986 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
1993 .oe_view_manager_header2
2005 .oe_list_buttons.oe_editing .oe_list_save
2006 // keep "save row" button hidden in o2m
2012 background-color: #d2d2ff
2014 background-color: #eee
2019 td.oe_list_field_cell
2020 padding: 4px 6px 3px 6px
2021 .oe_list.oe_list_editable
2022 td.oe_list_record_delete
2024 .oe_list.oe_list_editable.oe_editing
2025 .oe_m2o_drop_down_button
2034 border: 1px solid #aaf
2036 &.oe_form_field_float,&.oe_form_view_integer
2040 &.oe_form_field_datetime,&.oe_form_field_date
2043 input.oe_datepicker_master
2044 width: 100% !important
2045 .oe_form_field_float,.oe_form_view_integer,&.oe_form_field_datetime,&.oe_form_field_date
2046 min-width: 0 !important
2047 max-width: none !important
2049 // FormView.many2many {{{
2050 .oe_form .oe_form_field_many2many > .oe_list
2051 .oe_list_pager_single_page
2058 .oe_list_save, .oe_list_discard
2064 display: inline-block
2074 margin: 0 // FIXME: either class or border should not be by default
2080 margin: 0 !important // dammit
2082 .oe_list_content .oe_group_header
2083 @include vertical-gradient(#fcfcfc, #dedede)
2087 td:first-child, th:first-child
2091 text-align: right !important
2094 border-bottom: 2px solid #cacaca
2107 border-width: 0 4px 4px
2109 border-color: #000 transparent
2113 @include opacity(0.6)
2116 border-left: 4px solid transparent
2117 border-right: 4px solid transparent
2118 border-top: 4px solid #000
2120 @include box-shadow(none)
2121 @include opacity(0.6)
2126 border-top: 1px solid #ddd
2127 > td.oe_list_field_cell
2129 white-space: pre-line
2133 background: transparent
2135 @include box-shadow(none)
2136 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2141 background-color: #f0f0fa
2142 @include vertical-gradient(#f0f0fa, #eeeef6)
2145 border-top: 2px solid #cacaca
2146 border-bottom: 1px solid #cacaca
2156 th.oe_list_header_handle
2159 text-indent: -9001px
2160 td.oe_list_field_handle
2162 padding: 0 !important
2165 @include text-to-entypo-icon("}",#E0E0E0,18px)
2168 .oe_list_cannot_edit
2169 .oe_list_header_handle, .oe_list_field_handle
2170 display: none !important
2171 padding: 0 !important
2172 .oe_list_cannot_delete
2173 .oe_list_record_delete
2174 display: none !important
2179 background-color: #f0f0f0
2180 border-bottom: 1px solid #cacaca
2190 background-color: white
2196 background-color: #f0f0f0
2197 border-bottom: 2px solid #cacaca
2201 vertical-align: middle
2203 vertical-align: middle
2207 border-right: 1px solid #e7e7e7
2210 text-align: right !important
2212 border-bottom: 1px solid #d6d6d6
2214 background-color: #e7e7e7
2220 .treeview-tr.oe-treeview-first
2221 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2222 .oe_open .treeview-tr.oe-treeview-first
2223 background-image: url(/web/static/src/img/collapse.gif)
2224 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2228 // Debugging stuff {{{
2229 .oe_layout_debugging
2231 outline: 2px dashed green
2233 outline: 1px solid blue
2234 .oe_form_group:hover, .oe_form_group_cell:hover
2236 .oe_form_group_row_incomplete > td:last-child:after
2237 content: "[Incomplete Row]"
2243 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2244 content: "[newline]"
2249 .oe_debug_view_log label
2256 .oe_debug_view_log span
2263 .kitten-mode-activated
2264 background-image: url(http://placekitten.com/g/1365/769)
2265 background-size: cover
2266 background-attachment: fixed
2272 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2273 div.ui-widget-overlay
2275 @include opacity(0.3)
2278 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2284 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2286 border: 1px solid $tag-border
2296 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2297 background: $tag-bg-dark
2299 //@include vertical-gradient(#f0f0fa, #eeeef6)
2302 @include radius(3px)
2304 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2305 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: