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"
147 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
151 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
152 &.openerp_webclient_container
155 //Placeholder style{{{
157 color: $tag-border !important
158 font-style: italic !important
159 \::-webkit-input-placeholder
160 color: $tag-border !important
161 font-style: italic !important
165 text-decoration: none
166 cursor: pointer !important
169 border-collapse: collapse
172 background-color: #f0f0f0
174 border-left: 1px solid #dfdfdf
184 vertical-align: middle
187 .zebra tbody tr:nth-child(odd) td
188 background-color: #f0f0fa
189 @include vertical-gradient(#f0f0fa, #eeeef6)
190 .zebra tbody tr:hover td
191 @include vertical-gradient(#eee, #dedede)
192 input, textarea, select
194 border: 1px solid #ccc
198 vertical-align: middle
203 a.button:link, a.button:visited, button, input[type='submit'], .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
204 display: inline-block
205 border: 1px solid rgba(0,0,0,0.4)
211 @include vertical-gradient(#efefef, #d8d8d8)
213 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
214 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
215 -webkit-font-smoothing: antialiased
218 a.button:hover, button:hover, input[type='submit']:hover, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-hover
219 @include vertical-gradient(#f6f6f6, #e3e3e3)
221 background-position: 0
223 a.button:focus, button:focus, input[type='submit']:focus, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-focus
224 border: 1px solid #80bfff
225 background-position: 0
226 @include vertical-gradient(#f6f6f6, #e3e3e3)
227 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
229 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
230 @include vertical-gradient(#e3e3e3, #f6f6f6)
231 @include box-shadow(none)
233 a.button.disabled, button:disabled, input[type='submit']:disabled
234 background: #efefef !important
235 border: 1px solid #d1d1d1 !important
236 @include box-shadow(none !important)
237 color: #aaa !important
239 text-shadow: 0 1px 1px #fff !important
241 // Jquery ui Overrides {{{
245 display: inline-block
248 .text-tag .text-button
249 height: auto !important
252 // bug noted in jquery ui CSS doesn't seem to occur in IE9,
253 // so remove position:relative
262 background-color: rgba(60,60,60,0.7)
264 border-color: #888 #555 #444
267 @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6))
268 @include background-clip()
271 .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane
274 border-bottom: 1px solid #cacaca
275 @include radius(2px 2px 0 0)
276 @include vertical-gradient(#FCFCFC, #DEDEDE)
284 .ui-dialog-buttonpane
285 border-top: 1px solid #e0e0e0
288 @include radius(0 0 2px 2px)
295 .ui-dialog-titlebar-close
305 text-shadow: 0 1px 0 white
308 background: transparent
312 text-decoration: none
314 background-color: white
315 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
316 @include radius(0 0 2px 2px)
320 text-decoration: underline
331 text-shadow: 0 1px 1px #999999
332 @include vertical-gradient(#b41616, #600606)
335 @include radius(0 0 2px 2px)
339 &.ui-dialog.oe_act_window
350 background-color: black
354 // Generic classes {{{
356 font-family: "mnmliconsRegular" !important
358 font-weight: 300 !important
360 font-family: "entypoRegular" !important
362 font-weight: 300 !important
381 width: auto !important
386 @include vertical-gradient(#df3f3f, #a21a1a)
387 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
388 button.oe_highlight:hover
389 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
390 button.oe_highlight:active
391 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
393 background: #eee !important
396 .oe_highlight_on_dirty
400 button.oe_highlight_on_dirty
401 @include vertical-gradient(#dc5f59, #b33630)
402 @include box-shadow(none)
424 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
429 .oe_image_small > img
432 .oe_image_medium > img
444 text-decoration: underline
446 .oe_star_on, .oe_star_off
448 text-shadow: 0 0 2px black
452 .oe_star_on:hover, .oe_star_off:hover
453 text-decoration: none
463 // Tags (for many2many tags, among others) {{{
465 border: 1px solid $tag-border
470 background: $tag-bg-light
473 background: $tag-bg-dark
480 width: 100% !important
482 width: 100% !important
483 .text-core .text-wrap .text-dropdown .text-list .text-suggestion em
485 text-decoration: none
496 white-space: pre-wrap
497 .oe_tooltip_technical
502 .oe_tooltip_technical_title
521 .oe_notebook.ui-corner-all
523 .oe_notebook:before, .oe_notebook:after
531 .oe_notebook > li > a
537 border-width: 0 0 1px
540 .oe_notebook > li > a
544 border: 1px solid transparent
545 @include radius(4px 4px 0 0)
546 .oe_notebook > li > a:hover
547 text-decoration: none
548 background-color: #eee
549 border-color: #eee #eee #ddd
550 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
551 background-color: #ffffff
552 border: 1px solid #ddd
553 border-bottom-color: transparent
558 padding: 3px 0px 3px 0px
563 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
569 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
579 border: 1px solid $tag-border
585 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
588 @include vertical-gradient(#f0f0fa, #eeeef6)
589 @include box-shadow(none)
590 list-style-type: none
600 text-decoration: none
602 text-decoration: none
603 .oe_dropdown_arrow:after
606 display: inline-block
608 text-indent: -99999px
611 //margin-left set at 3px to avoid a strange overflow
613 border-left: 4px solid transparent
614 border-right: 4px solid transparent
615 border-top: 4px solid#404040
616 @include opacity(0.5)
620 .oe_sidebar_add_attachment
627 .oe_hidden_input_file
630 @include vertical-gradient(#f0f0fa, #eeeef6)
631 @include box-shadow(none)
633 .oe_sidebar_delete_item
645 text-shadow: 0 1px 1px white
647 text-decoration: none
650 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
653 .oe_sidebar_delete_item
654 display: inline-block
667 border: 1px solid #900
669 -moz-border-radius-bottomright: 8px
670 -moz-border-radius-bottomleft: 8px
671 border-bottom-right-radius: 8px
672 border-bottom-left-radius: 8px
677 .oe_webclient_timezone_notification
680 text-decoration: underline
688 background-color: #f6cf3b
692 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
698 list-style-type: none
703 border: 1px solid #222
706 @include vertical-gradient(#b92020, #600606)
708 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
711 font-family: "Lucida Grande", Helvetica, Verdana, Arial
712 border: 1px solid #999999
713 background: whitesmoke
714 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
727 border: solid 1px #333
729 background: rgba(30,30,30,0.94)
730 @include radius(0 0 8px 8px)
740 text-shadow: 0 1px 1px #999999
741 @include vertical-gradient(#b41616, #600606)
746 margin: -160px -166px
747 border: solid 1px #333333
749 background: rgba(30,30,30,0.94)
754 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
775 text-decoration: underline
779 .oe_login_error_message
781 background-color: #b41616
787 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
789 .oe_login_error_message
790 display: inline-block
792 // DatabaseManager {{{
797 .oe_database_manager_menu
806 // WebClient.fullscreen {{{
807 .oe_content_full_screen
811 .oe_topbar, .oe_leftbar
819 background-color: #414141
820 @include vertical-gradient(#646060, #262626)
823 padding: 5px 10px 7px
826 text-decoration: none
829 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
830 @include transition(all 0.2s ease-out)
832 background: rgba(0,0,0,0.2)
833 text-shadow: black 0px 0px 3px
835 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
844 .oe_dropdown_arrow:after
845 border-top: 4px solid white
849 background: rgba(37,37,37,0.9)
851 border-color: rgba(0, 0, 0, 0.2)
853 border-width: 0 1px 1px
854 @include radius(0 0 6px 6px)
855 @include background-clip()
862 @include vertical-gradient(#292929, #191919)
863 @include box-shadow(none)
865 // oe menu is the list of the buttons on the left side of the bar.
866 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
867 // is a leftover from an uncomplete refactoring when the left and top menu
868 // were merged. You are welcome to refactor and clean this up
875 list-style-type: none
883 padding: 5px 10px 7px
886 text-decoration: none
889 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
890 @include transition(all 0.2s ease-out)
892 background: rgba(0,0,0,0.2)
893 text-shadow: black 0px 0px 3px
895 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
897 background: rgba(0,0,0,0.30)
898 text-shadow: black 0px 0px 3px
899 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
906 list-style-type: none
918 // Webclient.leftbar {{{
923 border-right: 1px solid $tag-border
924 text-shadow: 0 1px 1px white
953 // Webclient.leftbar items {{{
955 .oe_secondary_menu_section
959 .oe_secondary_submenu
963 display: inline-block
967 padding: 1px 0 1px 20px !important
968 list-style-type: none
972 padding: 2px 4px 2px 0
978 background: $link-color
982 border: 1px solid lightGray
983 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
985 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
988 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
994 @include transform(scale(1.1))
996 border-top: 1px solid lightGray
997 border-bottom: 1px solid #dedede
998 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
999 @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
1000 background: $link-color
1006 text-shadow: 0 1px 1px white
1007 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
1011 @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
1012 .oe_menu_toggler:before
1015 display: inline-block
1017 text-indent: -99999px
1022 border-top: 4px solid transparent
1023 border-bottom: 4px solid transparent
1024 border-left: 4px solid #4c4c4c
1025 @include opacity(0.5)
1026 .oe_menu_opened:before
1030 border-left: 4px solid transparent
1031 border-right: 4px solid transparent
1032 border-top: 4px solid #4c4c4c
1035 // About openerp {{{
1037 background-color: white
1038 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
1039 @include radius(0 0 2px 2px)
1043 text-decoration: underline
1054 text-shadow: 0 1px 1px #999999
1055 @include vertical-gradient(#b41616, #600606)
1058 @include radius(0 0 2px 2px)
1062 // ActionManager {{{
1068 text-decoration: underline
1071 .oe_breadcrumb_item:not(:last-child)
1072 display: inline-block
1076 text-overflow: ellipsis
1078 // ViewManager common {{{
1080 .oe_view_manager_body
1082 .oe_view_manager_view_kanban
1085 table.oe_view_manager_header
1092 text-shadow: 0 1px 1px white
1093 .oe_header_row:last-child
1096 .oe_header_row:first-child
1099 .oe_view_manager_sidebar
1113 display: inline-block
1114 border: 1px solid #ababab
1115 @include radius(5px)
1118 border-right: 1px solid #ababab
1124 text-decoration: none
1127 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1130 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1131 .oe_view_manager_buttons
1134 // ViewManager.switches {{{
1135 .oe_view_manager_switch
1145 list-style-type: none
1148 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1151 .oe_vm_switch_form:after
1153 .oe_vm_switch_graph:after
1154 font-family: "mnmliconsRegular" !important
1156 font-weight: 300 !important
1160 .oe_vm_switch_gantt:after
1161 font-family: "mnmliconsRegular" !important
1163 font-weight: 300 !important
1167 .oe_vm_switch_calendar:after
1169 .oe_vm_switch_kanban:after
1171 .oe_vm_switch_diagram:after
1187 display: inline-block
1188 border: 1px solid #ababab
1190 @include radius(5px)
1196 list-style-type: none
1198 border-right: 1px solid #ababab
1205 text-decoration: none
1208 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1211 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1212 .oe_list_pager.oe_list_pager_single_page .oe_pager_group
1215 // ViewManager application {{{
1216 .oe_view_manager_current
1218 > .oe_view_manager_header
1219 border-bottom: 1px solid #cacaca
1220 @include vertical-gradient(#fcfcfc, #dedede)
1221 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1225 .oe_header_row:first-child
1229 // ViewManager inline {{{
1230 .oe_view_manager_inline, .oe_view_manager_inlineview
1232 > .oe_view_manager_header
1236 .oe_popup_form > .oe_formview > .oe_form_pager
1237 display: none !important
1238 .oe_popup_list_pager
1249 border: 1px solid #ababab
1251 @include radius(13px)
1252 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1259 border-color: $tag-border-selected
1260 @include box-shadow(0 1px 2px $tag-border-selected inset)
1261 .oe_searchview_clear
1268 background: url(../img/search_reset.gif) center center no-repeat
1269 .oe_searchview_unfold_drawer
1274 padding: 0 7px 0 4px
1285 display: inline-block
1288 border-top: 5px solid #4C4C4C
1289 border-left: 5px solid transparent
1290 border-right: 5px solid transparent
1293 .oe_searchview_search
1294 @include text-to-icon("r", #a3a3a3)
1295 @include box-shadow(none)
1302 background: transparent
1304 .oe_searchview_facets
1309 display: inline-block
1311 .oe_searchview_facet
1317 .oe_searchview_input
1324 .oe_searchview_facet
1328 -webkit-font-smoothing: auto
1329 // spacing for opera, FF
1331 border-color: $tag-border-selected
1332 @include box-shadow(0 0 3px 1px $tag-border-selected)
1335 @include radius(0 3px 3px 0)
1336 .oe_facet_category, .oe_facet_value
1341 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1342 .oe_facet_category.oe_i
1345 border-left: 1px solid $tag-border
1346 text-shadow: 0 1px 1px white
1362 text-shadow: 0 1px 1px white
1366 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1367 @include radius(2px)
1368 &.oe_searchview_open_drawer
1369 .oe_searchview_drawer
1372 .oe_searchview_drawer
1375 // detach drawer from field slightly
1379 background-color: white
1382 border: 1px solid $tag-border
1384 @include radius(4px)
1385 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1387 border-top: 1px solid #ccc
1394 margin: 8px 4px 4px 12px
1395 color: $section-title-color
1401 display: inline-block
1403 background-color: $hover-background
1411 background: transparent
1413 @include box-shadow(none)
1415 .oe_searchview_section
1419 @include box-sizing(border)
1428 padding: 2px 4px 2px 20px
1433 &.oe_selected:before
1435 font-family: "entypoRegular" !important
1437 font-weight: 300 !important
1442 // after oe_selected so background color is not overridden
1444 background-color: $hover-background
1452 .oe_searchview_custom
1453 padding: 0 8px 8px 8px
1460 padding: 2px 4px 2px 20px
1462 background-color: $hover-background
1467 .oe_searchview_dashboard
1472 .oe_searchview_advanced
1476 button.oe_add_condition:before
1478 font-family: "entypoRegular" !important
1480 font-weight: 300 !important
1491 &:first-child .searchview_extended_prop_or
1493 .searchview_extended_prop_or
1505 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1506 display: inline-block
1515 text-shadow: 0 1px 1px white
1517 text-decoration: none
1520 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1521 @include radius(2px)
1522 .oe_searchview_custom_delete
1527 .oe_searchview_custom_private, .oe_searchview_custom_public
1529 .oe_searchview_custom_delete
1530 display: inline-block
1531 .oe_searchview_custom_public:after
1533 font-family: "entypoRegular" !important
1535 font-weight: 300 !important
1548 .oe_view_nocontent_create
1554 display: inline-block
1560 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1563 .oe_empty_custom_dashboard
1564 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1566 padding: 100px 0 0 137px
1569 .oe_view.oe_cannot_create
1570 .oe_view_nocontent_create
1573 // FormView.base and dynamic tags {{{
1576 .oe_form_dropdown_section
1578 display: inline-block
1580 input, select, textarea
1581 background-color: #F66 !important
1582 border: 1px solid #D00 !important
1583 .oe_view_manager_current .oe_form_editable
1588 @include vertical-gradient(#efefef, #d8d8d8)
1589 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1590 button.oe_highlight:active
1591 @include vertical-gradient(#e3e3e3, #f6f6f6)
1592 @include box-shadow(none)
1593 button.oe_highlight:hover
1594 @include vertical-gradient(#f6f6f6, #e3e3e3)
1595 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1597 display: none !important
1599 .oe_edit_only, .oe_form_field:empty
1600 display: none !important
1601 .oe_form .oe_form_field_date
1603 // Sheet and padding
1607 margin: -16px -16px 0 -16px
1611 .oe_form_sheet_width
1613 max-width: $sheet-max-width
1619 // Sheet inline mode
1622 background: url(/web/static/src/img/form_sheetbg.png)
1623 border-bottom: 1px solid #ddd
1625 border: 1px solid #c8c8d3 //$tag-border
1626 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1632 // FormView.header {{{
1635 border-bottom: 1px solid #cacaca
1637 @include vertical-gradient(#fcfcfc, #dedede)
1641 display: inline-block
1648 // FormView.custom tags and classes {{{
1656 box-sizing: border-box
1657 min-width: $sheet-min-width + 2* $sheet-padding
1658 max-width: $sheet-max-width + 2* $sheet-padding
1660 padding: 16px 16px 48px
1661 div.oe_form_configuration
1667 .oe_form_group_cell_label
1669 .oe_form_group_cell div div
1672 width: 1% !important
1673 td.oe_form_group_cell
1675 padding: 0 !important
1676 td.oe_form_group_cell_label
1678 .oe_subtotal_footer_separator
1680 border-top: 1px solid #cacaca
1687 label.oe_subtotal_footer_separator
1688 font-weight: bold !important
1689 padding: 2px 11px 2px 0px !important
1690 label.oe_form_label_help
1694 // FormView.group {{{
1698 td.oe_form_group_cell_label
1699 border-right: 1px solid #ddd
1705 td.oe_form_group_cell + .oe_form_group_cell
1706 padding: 2px 0 2px 8px
1710 .oe_form_group_cell.oe_group_right
1713 // FormView.label {{{
1715 .oe_form_label_help[for], .oe_form_label[for]
1727 // FormView.separator {{{
1728 .oe_horizontal_border
1729 border-bottom: 1px solid black
1730 .oe_horizontal_separator
1733 margin: 15px 0px 10px 0px
1734 color: $section-title-color
1735 .oe_horizontal_separator:empty
1737 .oe_vertical_separator
1738 border-left: 1px solid #666
1739 padding: 0 4px 0 4px
1741 // FormView.progressbar {{{
1742 .oe_form_field_progressbar
1743 display: inline-block
1745 .oe_form_field_progressbar.ui-progressbar
1748 @include box-sizing(border)
1749 border: 1px solid #999
1750 @include radius(3px)
1758 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1760 // FormView.fields {{{
1764 .oe_form_field_char input,
1765 .oe_form_field_url input,
1766 .oe_form_field_email input,
1767 .oe_form_field_text textarea,
1768 .oe_form_field_selection select
1770 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1772 h1, h2, h3, h4, h5, h6
1775 height: inherit !important
1779 display: inline-block
1780 padding: 2px 2px 2px 0px
1783 input[type="text"], input[type="password"], input[type="file"], select
1786 input[type="text"], input[type="password"], input[type="file"], select, textarea
1787 @include box-sizing(border)
1791 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1792 background: #E5E5E5 !important
1797 @include box-shadow(none)
1798 @include radius(0px)
1799 textarea.oe_inline[disabled]
1800 border-left: 8px solid #eee
1801 .oe_form_field_url button img
1803 .oe_form_field_date,
1804 .oe_form_field_datetime
1806 .oe_form_field_boolean
1809 .oe_datepicker_container
1812 display: inline-block
1814 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1815 background-color: #D2D2FF !important
1817 input, select, textarea
1818 background-color: #F66 !important
1819 border: 1px solid #D00 !important
1822 margin: 3px 0 0 -21px
1824 .oe_input_icon_disabled
1828 filter: alpha(opacity=50)
1831 .oe_form_field_with_button.oe_no_button > .oe_button
1833 .oe_form_field_with_button:not(.oe_no_button)
1837 border-bottom-left-radius: 0px
1839 .oe_form_field_with_button
1845 .oe_form_embedded_html
1855 .oe_form_field_integer input
1857 .oe_form_field_float input
1859 .oe_form_field_date input
1861 .oe_form_field_datetime input
1864 // FormView.fields_binary {{{
1865 /* http://www.quirksmode.org/dom/inputfile.html
1866 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1868 .oe_hidden_input_file
1869 // Position: relative is used for the hidden input[type=file]
1870 // Do not remove it anymore !
1872 input.oe_form_binary_file
1881 filter: alpha(opacity = 0)
1882 -ms-filter: "alpha(opacity=0)"
1886 .oe_form_field_image
1889 display: inline-block
1892 .oe_form_field_image_controls
1900 background: rgba(37,37,37,0.9)
1901 @include radius(3px 3px 0 0)
1902 @include box-sizing(border)
1903 &:hover .oe_form_field_image_controls
1906 display: inline-block
1921 vertical-align: middle
1927 background: transparent
1936 input.oe_form_binary_file
1937 display: inline-block
1951 border: solid 1px rgba(124,123,173,0.14)
1960 text-decoration: none
1961 .oe_attachment:nth-child(odd)
1963 .oe_attachment:nth-child(even)
1966 // FormView.many2one {{{
1967 .oe_form_field_many2one
1970 span.oe_m2o_drop_down_button
1981 li.oe_m2o_dropdown_option a
1984 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1987 // FormView.fieldstatus {{{
1988 ul.oe_form_status, ul.oe_form_status_clickable
1989 display: inline-block
1993 display: inline-block
1994 list-style-type: none
1995 // It is probably a bad idea to modify this margin
1998 @include vertical-gradient(#fcfcfc, #dedede)
1999 &:first-child .label
2000 border-left: 1px solid #cacaca
2003 border-right: 1px solid #cacaca
2010 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
2012 display: inline-block
2018 display: inline-block
2026 display: inline-block
2029 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2030 @include skew-gradient(#fcfcfc, #dedede)
2031 @include radius(3px)
2032 @include transform(rotate(45deg))
2034 @include vertical-gradient(#729fcf, #3465a4)
2036 @include skew-gradient(#729fcf, #3465a4)
2039 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
2040 ul.oe_form_status_clickable
2044 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2046 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2048 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2053 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2055 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2057 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2059 // FormView.one2many {{{
2060 .oe_form .oe_form_field_one2many > .oe_view_manager
2061 .oe_list_pager_single_page
2063 .oe_form_field_one2many,.oe_form_field_many2many
2064 // TODO: oe_form_field_one2many_list?
2066 .oe_list_pager_single_page
2067 display: none !important
2068 .oe_view_manager_view_list
2071 .oe_form_field_one2many_list_row_add
2078 background: transparent
2079 .oe_list .oe_list_edit_row_save
2080 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2087 .oe_view_manager_header2
2099 .oe_list_buttons.oe_editing .oe_list_save
2100 // keep "save row" button hidden in o2m
2106 background-color: #d2d2ff
2108 background-color: #eee
2111 .oe_list_editable .oe_list_content td.oe_list_field_cell
2112 padding: 4px 6px 3px
2113 .oe_list.oe_list_editable.oe_editing
2114 .oe_edition .oe_list_field_cell:not(.oe_readonly)
2119 .oe_m2o_drop_down_button
2131 border: 1px solid #aaf
2133 input, textarea, select
2135 &.oe_form_field_float,&.oe_form_view_integer
2138 width: 100% !important
2139 &.oe_form_field_datetime,&.oe_form_field_date
2140 input.oe_datepicker_master
2141 width: 100% !important
2145 // FormView.many2many {{{
2146 .oe_form .oe_form_field_many2many > .oe_list
2147 .oe_list_pager_single_page
2154 .oe_list_save, .oe_list_discard
2160 display: inline-block
2168 .oe_list_header_handle, .oe_list_field_handle
2169 display: none !important
2170 padding: 0 !important
2172 .oe_list_record_delete
2173 display: none !important
2177 margin: 0 // FIXME: either class or border should not be by default
2183 margin: 0 !important // dammit
2185 .oe_form_field_boolean
2186 // use padding similar to actual cell to correctly position the
2188 padding: 1px 6px 3px
2189 .oe_list_content .oe_group_header
2190 @include vertical-gradient(#fcfcfc, #dedede)
2194 td:first-child, th:first-child
2198 text-align: right !important
2200 td.oe_list_field_date, th.oe_list_header_date
2203 border-bottom: 2px solid #cacaca
2209 th.oe_sortable, th.oe_sortable div
2213 th.oe_sortable div:after
2218 border-width: 0 4px 4px
2220 border-color: #000 transparent
2224 @include opacity(0.6)
2225 th.sortdown div:after
2227 border-left: 4px solid transparent
2228 border-right: 4px solid transparent
2229 border-top: 4px solid #000
2231 @include box-shadow(none)
2232 @include opacity(0.6)
2237 border-top: 1px solid #ddd
2238 > td.oe_list_field_cell
2240 white-space: pre-line
2244 background: transparent
2246 @include box-shadow(none)
2247 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2251 > td.oe_list_field_boolean input
2254 background-color: #f0f0fa
2255 @include vertical-gradient(#f0f0fa, #eeeef6)
2258 border-top: 2px solid #cacaca
2259 border-bottom: 1px solid #cacaca
2269 th.oe_list_header_handle
2272 text-indent: -9001px
2273 td.oe_list_field_handle
2275 padding: 0 !important
2278 @include text-to-entypo-icon("}",#E0E0E0,18px)
2280 .oe_list_field_progressbar progress
2285 background-color: #f0f0f0
2286 border-bottom: 1px solid #cacaca
2296 background-color: white
2302 background-color: #f0f0f0
2303 border-bottom: 2px solid #cacaca
2307 vertical-align: middle
2309 vertical-align: middle
2313 border-right: 1px solid #e7e7e7
2316 text-align: right !important
2318 border-bottom: 1px solid #d6d6d6
2320 background-color: #e7e7e7
2326 .treeview-tr.oe-treeview-first
2327 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2328 .oe_open .treeview-tr.oe-treeview-first
2329 background-image: url(/web/static/src/img/collapse.gif)
2330 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2333 // Debugging stuff {{{
2334 .oe_layout_debugging
2336 outline: 2px dashed green
2338 outline: 1px solid blue
2339 .oe_form_group:hover, .oe_form_group_cell:hover
2341 .oe_form_group_row_incomplete > td:last-child:after
2342 content: "[Incomplete Row]"
2348 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2349 content: "[newline]"
2354 .oe_debug_view_log label
2361 .oe_debug_view_log span
2368 .kitten-mode-activated
2369 background-image: url(http://placekitten.com/g/1365/769)
2370 background-size: cover
2371 background-attachment: fixed
2376 // jQueryUI top level {{{
2377 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2378 div.ui-widget-overlay
2380 @include opacity(0.3)
2381 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2382 // eg: $el.autocomplete().openerpClass();
2384 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2390 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2392 border: 1px solid $tag-border
2402 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2403 background: $tag-bg-dark
2405 //@include vertical-gradient(#f0f0fa, #eeeef6)
2408 @include radius(3px)
2414 .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
2415 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2416 display: none !important
2418 button, input[type=checkbox]
2420 .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
2423 &.oe_m2o_cm_button, &.oe_e
2426 .oe_form_field_date img, .oe_form_field_datetime img
2428 .oe_notebook > li.ui-tabs-selected
2431 .oe_form_sheet, .oe_form_sheetbg
2432 border: 0px !important
2433 box-shadow: 0px 0px 0px
2434 .oe_view_manager_current > .oe_view_manager_header
2435 border: 0px !important
2436 box-shadow: 0px 0px 0px
2438 .text-core .text-wrap .text-arrow
2440 .openerp div.oe_mail_wall
2441 overflow: hidden !important
2444 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2445 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: