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
454 // Tags (for many2many tags, among others) {{{
456 border: 1px solid $tag-border
461 background: $tag-bg-light
464 background: $tag-bg-dark
471 width: 100% !important
473 width: 100% !important
474 .text-core .text-wrap .text-dropdown .text-list .text-suggestion em
476 text-decoration: none
487 white-space: pre-wrap
488 .oe_tooltip_technical
493 .oe_tooltip_technical_title
512 .oe_notebook.ui-corner-all
514 .oe_notebook:before, .oe_notebook:after
522 .oe_notebook > li > a
528 border-width: 0 0 1px
531 .oe_notebook > li > a
535 border: 1px solid transparent
536 @include radius(4px 4px 0 0)
537 .oe_notebook > li > a:hover
538 text-decoration: none
539 background-color: #eee
540 border-color: #eee #eee #ddd
541 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
542 background-color: #ffffff
543 border: 1px solid #ddd
544 border-bottom-color: transparent
549 padding: 3px 0px 3px 0px
554 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
558 color: rgba(0,0,0,0.5)
560 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
570 border: 1px solid $tag-border
576 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
579 @include vertical-gradient(#f0f0fa, #eeeef6)
580 @include box-shadow(none)
581 list-style-type: none
591 text-decoration: none
593 text-decoration: none
594 .oe_dropdown_arrow:after
597 display: inline-block
599 text-indent: -99999px
602 //margin-left set at 3px to avoid a strange overflow
604 border-left: 4px solid transparent
605 border-right: 4px solid transparent
606 border-top: 4px solid#404040
607 @include opacity(0.5)
611 .oe_sidebar_add_attachment
618 .oe_hidden_input_file
621 @include vertical-gradient(#f0f0fa, #eeeef6)
622 @include box-shadow(none)
624 .oe_sidebar_delete_item
636 text-shadow: 0 1px 1px white
638 text-decoration: none
641 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
644 .oe_sidebar_delete_item
645 display: inline-block
658 border: 1px solid #900
660 -moz-border-radius-bottomright: 8px
661 -moz-border-radius-bottomleft: 8px
662 border-bottom-right-radius: 8px
663 border-bottom-left-radius: 8px
671 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
677 list-style-type: none
681 display: inline-block
684 border: 1px solid #222
687 @include vertical-gradient(#b92020, #600606)
689 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
692 font-family: "Lucida Grande", Helvetica, Verdana, Arial
693 border: 1px solid #999999
694 background: whitesmoke
695 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
708 border: solid 1px #333
710 background: rgba(30,30,30,0.94)
711 @include radius(0 0 8px 8px)
721 text-shadow: 0 1px 1px #999999
722 @include vertical-gradient(#b41616, #600606)
727 margin: -160px -166px
728 border: solid 1px #333333
730 background: rgba(30,30,30,0.94)
735 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
756 text-decoration: underline
760 .oe_login_error_message
762 background-color: #b41616
768 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
770 .oe_login_error_message
771 display: inline-block
773 // DatabaseManager {{{
778 .oe_database_manager_menu
787 // WebClient.fullscreen {{{
788 .oe_content_full_screen
792 .oe_topbar, .oe_leftbar
800 background-color: #414141
801 @include vertical-gradient(#646060, #262626)
804 padding: 5px 10px 7px
807 text-decoration: none
810 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
811 @include transition(all 0.2s ease-out)
813 background: rgba(0,0,0,0.2)
814 text-shadow: black 0px 0px 3px
816 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
825 .oe_dropdown_arrow:after
826 border-top: 4px solid white
830 background: rgba(37,37,37,0.9)
832 border-color: rgba(0, 0, 0, 0.2)
834 border-width: 0 1px 1px
835 @include radius(0 0 6px 6px)
836 @include background-clip()
843 @include vertical-gradient(#292929, #191919)
844 @include box-shadow(none)
846 // oe menu is the list of the buttons on the left side of the bar.
847 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
848 // is a leftover from an uncomplete refactoring when the left and top menu
849 // were merged. You are welcome to refactor and clean this up
856 list-style-type: none
864 padding: 5px 10px 7px
867 text-decoration: none
870 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
871 @include transition(all 0.2s ease-out)
873 background: rgba(0,0,0,0.2)
874 text-shadow: black 0px 0px 3px
876 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
878 background: rgba(0,0,0,0.30)
879 text-shadow: black 0px 0px 3px
880 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
887 list-style-type: none
899 // Webclient.leftbar {{{
904 border-right: 1px solid $tag-border
905 text-shadow: 0 1px 1px white
933 // Webclient.leftbar items {{{
935 .oe_secondary_menu_section
939 .oe_secondary_submenu
943 display: inline-block
947 padding: 1px 0 1px 20px !important
948 list-style-type: none
952 padding: 2px 4px 2px 0
958 background: $link-color
962 border: 1px solid lightGray
963 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
965 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
968 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
974 @include transform(scale(1.1))
976 border-top: 1px solid lightGray
977 border-bottom: 1px solid #dedede
978 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
979 @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
980 background: $link-color
986 text-shadow: 0 1px 1px white
987 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
991 @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
992 .oe_menu_toggler:before
995 display: inline-block
997 text-indent: -99999px
1002 border-top: 4px solid transparent
1003 border-bottom: 4px solid transparent
1004 border-left: 4px solid #4c4c4c
1005 @include opacity(0.5)
1006 .oe_menu_opened:before
1010 border-left: 4px solid transparent
1011 border-right: 4px solid transparent
1012 border-top: 4px solid #4c4c4c
1015 // About openerp {{{
1017 background-color: white
1018 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
1019 @include radius(0 0 2px 2px)
1023 text-decoration: underline
1034 text-shadow: 0 1px 1px #999999
1035 @include vertical-gradient(#b41616, #600606)
1038 @include radius(0 0 2px 2px)
1042 // ActionManager {{{
1048 text-decoration: underline
1051 .oe_breadcrumb_item:not(:last-child)
1052 display: inline-block
1056 text-overflow: ellipsis
1058 // ViewManager common {{{
1060 .oe_view_manager_body
1062 .oe_view_manager_view_kanban
1065 table.oe_view_manager_header
1072 text-shadow: 0 1px 1px white
1073 .oe_header_row:last-child
1076 .oe_header_row:first-child
1079 .oe_view_manager_sidebar
1093 display: inline-block
1094 border: 1px solid #ababab
1095 @include radius(5px)
1098 border-right: 1px solid #ababab
1104 text-decoration: none
1107 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1110 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1111 .oe_view_manager_buttons
1114 // ViewManager.pager {{{
1115 .oe_view_manager_pager
1117 .oe_list_pager_single_page .oe_pager_group
1129 display: inline-block
1130 border: 1px solid #ababab
1132 @include radius(5px)
1138 list-style-type: none
1140 border-right: 1px solid #ababab
1147 text-decoration: none
1150 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1153 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1155 // ViewManager.switches {{{
1156 .oe_view_manager_switch
1166 list-style-type: none
1169 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1172 .oe_vm_switch_form:after
1174 .oe_vm_switch_graph:after
1175 font-family: "mnmliconsRegular" !important
1177 font-weight: 300 !important
1181 .oe_vm_switch_gantt:after
1182 font-family: "mnmliconsRegular" !important
1184 font-weight: 300 !important
1188 .oe_vm_switch_calendar:after
1190 .oe_vm_switch_kanban:after
1192 .oe_vm_switch_diagram:after
1195 // ViewManager application {{{
1196 .oe_view_manager_current
1198 > .oe_view_manager_header
1199 border-bottom: 1px solid #cacaca
1200 @include vertical-gradient(#fcfcfc, #dedede)
1201 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1205 .oe_header_row:first-child
1209 // ViewManager inline {{{
1210 .oe_view_manager_inline, .oe_view_manager_inlineview
1212 > .oe_view_manager_header
1215 // Viewmanager popup {{{
1216 .oe_popup_form > .oe_formview > .oe_form_pager
1217 display: none !important
1227 border: 1px solid #ababab
1229 @include radius(13px)
1230 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1237 border-color: $tag-border-selected
1238 @include box-shadow(0 1px 2px $tag-border-selected inset)
1239 .oe_searchview_clear
1246 background: url(../img/search_reset.gif) center center no-repeat
1247 .oe_searchview_unfold_drawer
1252 padding: 0 7px 0 4px
1263 display: inline-block
1266 border-top: 5px solid #4C4C4C
1267 border-left: 5px solid transparent
1268 border-right: 5px solid transparent
1271 .oe_searchview_search
1272 @include text-to-icon("r", #a3a3a3)
1273 @include box-shadow(none)
1280 background: transparent
1282 .oe_searchview_facets
1287 display: inline-block
1289 .oe_searchview_facet
1295 .oe_searchview_input
1302 .oe_searchview_facet
1306 -webkit-font-smoothing: auto
1307 // spacing for opera, FF
1309 border-color: $tag-border-selected
1310 @include box-shadow(0 0 3px 1px $tag-border-selected)
1313 @include radius(0 3px 3px 0)
1314 .oe_facet_category, .oe_facet_value
1319 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1320 .oe_facet_category.oe_i
1323 border-left: 1px solid $tag-border
1324 text-shadow: 0 1px 1px white
1340 text-shadow: 0 1px 1px white
1344 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1345 @include radius(2px)
1346 &.oe_searchview_open_drawer
1347 .oe_searchview_drawer
1350 .oe_searchview_drawer
1353 // detach drawer from field slightly
1357 background-color: white
1360 border: 1px solid $tag-border
1362 @include radius(4px)
1363 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1365 border-top: 1px solid #ccc
1372 margin: 8px 4px 4px 12px
1373 color: $section-title-color
1379 display: inline-block
1381 background-color: $hover-background
1389 background: transparent
1391 @include box-shadow(none)
1393 .oe_searchview_section
1397 @include box-sizing(border)
1406 padding: 2px 4px 2px 20px
1411 &.oe_selected:before
1413 font-family: "entypoRegular" !important
1415 font-weight: 300 !important
1420 // after oe_selected so background color is not overridden
1422 background-color: $hover-background
1430 .oe_searchview_custom
1431 padding: 0 8px 8px 8px
1438 padding: 2px 4px 2px 20px
1440 background-color: $hover-background
1445 .oe_searchview_dashboard
1450 .oe_searchview_advanced
1454 button.oe_add_condition:before
1456 font-family: "entypoRegular" !important
1458 font-weight: 300 !important
1477 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1478 display: inline-block
1487 text-shadow: 0 1px 1px white
1489 text-decoration: none
1492 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1493 @include radius(2px)
1494 .oe_searchview_custom_delete
1499 .oe_searchview_custom_private, .oe_searchview_custom_public
1501 .oe_searchview_custom_delete
1502 display: inline-block
1503 .oe_searchview_custom_public:after
1505 font-family: "entypoRegular" !important
1507 font-weight: 300 !important
1520 .oe_view_nocontent_create
1521 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 7px 0
1528 .oe_empty_custom_dashboard
1529 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1531 padding: 100px 0 0 137px
1536 // FormView.base and dynamic tags {{{
1539 .oe_form_dropdown_section
1541 display: inline-block
1543 input, select, textarea
1544 background-color: #F66 !important
1545 border: 1px solid #D00 !important
1546 .oe_view_manager_current .oe_form_editable
1551 @include vertical-gradient(#efefef, #d8d8d8)
1552 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1553 button.oe_highlight:active
1554 @include vertical-gradient(#e3e3e3, #f6f6f6)
1555 @include box-shadow(none)
1556 button.oe_highlight:hover
1557 @include vertical-gradient(#f6f6f6, #e3e3e3)
1558 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1560 display: none !important
1562 .oe_edit_only, .oe_form_field:empty
1563 display: none !important
1564 .oe_form .oe_form_field_date
1566 // Sheet and padding
1570 margin: -16px -16px 0 -16px
1574 .oe_form_sheet_width
1576 max-width: $sheet-max-width
1582 // Sheet inline mode
1585 background: url(/web/static/src/img/form_sheetbg.png)
1586 border-bottom: 1px solid #ddd
1588 border: 1px solid #c8c8d3 //$tag-border
1589 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1595 // FormView.custom tags and classes {{{
1599 border-bottom: 1px solid #cacaca
1601 @include vertical-gradient(#fcfcfc, #dedede)
1605 display: inline-block
1615 max-width: $sheet-max-width
1617 padding: 16px 0 48px
1622 div.oe_form_configuration
1628 .oe_form_group_cell_label
1630 .oe_form_group_cell div div
1633 width: 1% !important
1634 td.oe_form_group_cell
1636 padding: 0 !important
1637 td.oe_form_group_cell_label
1639 .oe_subtotal_footer_separator
1641 border-top: 1px solid #cacaca
1648 label.oe_subtotal_footer_separator
1649 font-weight: bold !important
1650 padding: 2px 11px 2px 0px !important
1651 label.oe_form_label_help
1655 // FormView.group {{{
1659 td.oe_form_group_cell_label
1660 border-right: 1px solid #ddd
1666 td.oe_form_group_cell + .oe_form_group_cell
1667 padding: 2px 0 2px 8px
1671 .oe_form_group_cell.oe_group_right
1674 // FormView.label {{{
1676 .oe_form_label_help[for], .oe_form_label[for]
1688 // FormView.separator {{{
1689 .oe_horizontal_border
1690 border-bottom: 1px solid black
1691 .oe_horizontal_separator
1694 margin: 15px 0px 10px 0px
1695 color: $section-title-color
1696 .oe_horizontal_separator:empty
1698 .oe_vertical_separator
1699 border-left: 1px solid #666
1700 padding: 0 4px 0 4px
1702 // FormView.progressbar {{{
1703 .oe_form_field_progressbar
1704 display: inline-block
1706 .oe_form_field_progressbar.ui-progressbar
1709 @include box-sizing(border)
1710 border: 1px solid #999
1711 @include radius(3px)
1719 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1721 // FormView.fields {{{
1725 .oe_form_field_char input,
1726 .oe_form_field_url input,
1727 .oe_form_field_email input,
1728 .oe_form_field_text textarea,
1729 .oe_form_field_selection select
1731 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1733 h1, h2, h3, h4, h5, h6
1736 height: inherit !important
1740 display: inline-block
1741 padding: 2px 2px 2px 0px
1744 input[type="text"], input[type="password"], input[type="file"], select
1747 input[type="text"], input[type="password"], input[type="file"], select, textarea
1748 @include box-sizing(border)
1754 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1755 background: #E5E5E5 !important
1759 border-left: 8px solid #eee
1761 @include box-shadow(none)
1762 @include radius(0px)
1763 .oe_form_field_url button img
1765 .oe_form_field_date,
1766 .oe_form_field_datetime
1768 .oe_form_field_boolean
1771 .oe_datepicker_container
1774 display: inline-block
1776 input, select, textarea
1777 background-color: #D2D2FF !important
1779 input, select, textarea
1780 background-color: #F66 !important
1781 border: 1px solid #D00 !important
1784 margin: 3px 0 0 -21px
1786 .oe_input_icon_disabled
1790 filter: alpha(opacity=50)
1793 .oe_form_field_with_button.oe_no_button > .oe_button
1795 .oe_form_field_with_button:not(.oe_no_button)
1799 border-bottom-left-radius: 0px
1801 .oe_form_field_with_button
1817 .oe_form_field_integer
1818 width: 6em !important
1819 .oe_form_field_float
1820 width: 7em !important
1822 width: 7.5em !important
1823 .oe_form_field_datetime
1824 width: 11.5em !important
1826 // FormView.fields_binary {{{
1827 /* http://www.quirksmode.org/dom/inputfile.html
1828 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1830 .oe_hidden_input_file
1831 // Position: relative is used for the hidden input[type=file]
1832 // Do not remove it anymore !
1834 input.oe_form_binary_file
1843 filter: alpha(opacity = 0)
1844 -ms-filter: "alpha(opacity=0)"
1848 .oe_form_field_image
1851 display: inline-block
1854 .oe_form_field_image_controls
1862 background: rgba(37,37,37,0.9)
1863 @include radius(3px 3px 0 0)
1864 @include box-sizing(border)
1865 &:hover .oe_form_field_image_controls
1868 // FormView.many2one {{{
1869 .oe_form_field_many2one
1872 span.oe_m2o_drop_down_button
1881 li.oe_m2o_dropdown_option a
1884 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1887 // FormView.fieldstatus {{{
1888 ul.oe_form_status, ul.oe_form_status_clickable
1889 display: inline-block
1893 display: inline-block
1894 list-style-type: none
1895 // It is probably a bad idea to modify this margin
1898 @include vertical-gradient(#fcfcfc, #dedede)
1899 &:first-child .label
1900 border-left: 1px solid #cacaca
1903 border-right: 1px solid #cacaca
1910 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
1912 display: inline-block
1918 display: inline-block
1926 display: inline-block
1929 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
1930 @include skew-gradient(#fcfcfc, #dedede)
1931 @include radius(3px)
1932 @include transform(rotate(45deg))
1934 @include vertical-gradient(#729fcf, #3465a4)
1936 @include skew-gradient(#729fcf, #3465a4)
1939 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
1940 ul.oe_form_status_clickable
1944 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1946 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
1948 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1953 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1955 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
1957 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1959 // FormView.one2many {{{
1960 .oe_form .oe_form_field_one2many > .oe_view_manager
1961 .oe_list_pager_single_page
1963 .oe_form_field_one2many,.oe_form_field_many2many
1964 // TODO: oe_form_field_one2many_list?
1966 .oe_list_pager_single_page
1967 display: none !important
1968 .oe_form_field_one2many_list_row_add
1975 background: transparent
1976 .oe_list .oe_list_edit_row_save
1977 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
1984 .oe_view_manager_header2
1996 .oe_list_buttons.oe_editing .oe_list_save
1997 // keep "save row" button hidden in o2m
2003 background-color: #d2d2ff
2005 background-color: #eee
2010 td.oe_list_field_cell
2011 padding: 4px 6px 3px 6px
2012 .oe_list.oe_list_editable
2013 td.oe_list_record_delete
2015 .oe_list.oe_list_editable.oe_editing
2016 .oe_m2o_drop_down_button
2025 border: 1px solid #aaf
2027 &.oe_form_field_float,&.oe_form_view_integer
2031 &.oe_form_field_datetime,&.oe_form_field_date
2034 input.oe_datepicker_master
2035 width: 100% !important
2036 .oe_form_field_float,.oe_form_view_integer,&.oe_form_field_datetime,&.oe_form_field_date
2037 min-width: 0 !important
2038 max-width: none !important
2040 // FormView.many2many {{{
2041 .oe_form .oe_form_field_many2many > .oe_list
2042 .oe_list_pager_single_page
2049 .oe_list_save, .oe_list_discard
2055 display: inline-block
2065 margin: 0 // FIXME: either class or border should not be by default
2071 margin: 0 !important // dammit
2073 .oe_list_content .oe_group_header
2074 @include vertical-gradient(#fcfcfc, #dedede)
2078 td:first-child, th:first-child
2082 text-align: right !important
2085 border-bottom: 2px solid #cacaca
2098 border-width: 0 4px 4px
2100 border-color: #000 transparent
2104 @include opacity(0.6)
2107 border-left: 4px solid transparent
2108 border-right: 4px solid transparent
2109 border-top: 4px solid #000
2111 @include box-shadow(none)
2112 @include opacity(0.6)
2117 border-top: 1px solid #ddd
2118 > td.oe_list_field_cell
2120 white-space: pre-line
2124 background: transparent
2126 @include box-shadow(none)
2127 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2132 background-color: #f0f0fa
2133 @include vertical-gradient(#f0f0fa, #eeeef6)
2136 border-top: 2px solid #cacaca
2137 border-bottom: 1px solid #cacaca
2147 th.oe_list_header_handle
2150 text-indent: -9001px
2151 td.oe_list_field_handle
2153 padding: 0 !important
2156 @include text-to-entypo-icon("}",#E0E0E0,18px)
2159 .oe_list_cannot_edit
2160 .oe_list_header_handle, .oe_list_field_handle
2161 display: none !important
2162 padding: 0 !important
2163 .oe_list_cannot_delete
2164 .oe_list_record_delete
2165 display: none !important
2170 background-color: #f0f0f0
2171 border-bottom: 1px solid #cacaca
2181 background-color: white
2187 background-color: #f0f0f0
2188 border-bottom: 2px solid #cacaca
2192 vertical-align: middle
2194 vertical-align: middle
2198 border-right: 1px solid #e7e7e7
2201 text-align: right !important
2203 border-bottom: 1px solid #d6d6d6
2205 background-color: #e7e7e7
2211 .treeview-tr.oe-treeview-first
2212 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2213 .oe_open .treeview-tr.oe-treeview-first
2214 background-image: url(/web/static/src/img/collapse.gif)
2215 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2219 // Debugging stuff {{{
2220 .oe_layout_debugging
2222 outline: 2px dashed green
2224 outline: 1px solid blue
2225 .oe_form_group:hover, .oe_form_group_cell:hover
2227 .oe_form_group_row_incomplete > td:last-child:after
2228 content: "[Incomplete Row]"
2234 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2235 content: "[newline]"
2240 .oe_debug_view_log label
2247 .oe_debug_view_log span
2254 .kitten-mode-activated
2255 background-image: url(http://placekitten.com/g/1365/769)
2256 background-size: cover
2257 background-attachment: fixed
2263 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2264 div.ui-widget-overlay
2266 @include opacity(0.3)
2269 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2275 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2277 border: 1px solid $tag-border
2287 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2288 background: $tag-bg-dark
2290 //@include vertical-gradient(#f0f0fa, #eeeef6)
2293 @include radius(3px)
2295 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2296 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: