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))
98 background: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
100 @mixin transform($transform)
101 -webkit-transform: $transform
102 -moz-transform: $transform
103 -ms-transform: $transform
104 -o-transform: $transform
105 transform: $transform
107 @mixin keyframes($name)
108 @-webkit-keyframes #{$name}
110 @-moz-keyframes #{$name}
112 @-ms-keyframes #{$name}
114 @-o-keyframes #{$name}
120 // Transforms the (readable) text of an inline element into an mmlicons icon,
121 // allows for actual readable text in-code (and in readers?) with iconic looks
122 @mixin text-to-icon($icon-name, $color: #404040)
128 font: 21px "mnmliconsRegular"
132 @mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
138 font: $size "entypoRegular"
148 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
152 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
153 &.openerp_webclient_container
156 //Placeholder style{{{
158 color: $tag-border !important
159 font-style: italic !important
160 \::-webkit-input-placeholder
161 color: $tag-border !important
162 font-style: italic !important
163 \:-ms-input-placeholder
164 color: $tag-border !important
165 font-style: italic !important
169 text-decoration: none
170 cursor: pointer !important
173 border-collapse: collapse
176 background-color: #f0f0f0
178 border-left: 1px solid #dfdfdf
188 vertical-align: middle
191 .zebra tbody tr:nth-child(odd) td
192 background-color: #f0f0fa
193 @include vertical-gradient(#f0f0fa, #eeeef6)
194 .zebra tbody tr:hover td
195 @include vertical-gradient(#eee, #dedede)
196 input, textarea, select
198 border: 1px solid #ccc
202 vertical-align: middle
207 a.button:link, a.button:visited, button, input[type='submit'], .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
208 display: inline-block
209 border: 1px solid rgba(0,0,0,0.4)
215 @include vertical-gradient(#efefef, #d8d8d8)
217 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
218 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
219 -webkit-font-smoothing: antialiased
222 a.button:hover, button:hover, input[type='submit']:hover, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-hover
223 @include vertical-gradient(#f6f6f6, #e3e3e3)
225 background-position: 0
227 a.button:focus, button:focus, input[type='submit']:focus, .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button.ui-state-focus
228 border: 1px solid #80bfff
229 background-position: 0
230 @include vertical-gradient(#f6f6f6, #e3e3e3)
231 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
233 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
234 @include vertical-gradient(#e3e3e3, #f6f6f6)
235 @include box-shadow(none)
237 a.button.disabled, button:disabled, input[type='submit']:disabled
238 background: #efefef !important
239 border: 1px solid #d1d1d1 !important
240 @include box-shadow(none !important)
241 color: #aaa !important
243 text-shadow: 0 1px 1px #fff !important
245 // Jquery ui Overrides {{{
249 display: inline-block
252 .text-tag .text-button
253 height: auto !important
256 // bug noted in jquery ui CSS doesn't seem to occur in IE9,
257 // so remove position:relative
266 background-color: rgba(60,60,60,0.7)
268 border-color: #888 #555 #444
271 @include box-shadow(0 1px 12px rgba(0, 0, 0, 0.6))
272 @include background-clip()
275 .ui-dialog-titlebar, .ui-dialog-content, .ui-dialog-buttonpane
278 border-bottom: 1px solid #cacaca
279 @include radius(2px 2px 0 0)
280 @include vertical-gradient(#FCFCFC, #DEDEDE)
288 .ui-dialog-buttonpane
289 border-top: 1px solid #e0e0e0
292 @include radius(0 0 2px 2px)
299 .ui-dialog-titlebar-close
309 text-shadow: 0 1px 0 white
312 background: transparent
316 text-decoration: none
318 background-color: white
319 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
320 @include radius(0 0 2px 2px)
324 text-decoration: underline
335 text-shadow: 0 1px 1px #999999
336 @include vertical-gradient(#b41616, #600606)
339 @include radius(0 0 2px 2px)
343 &.ui-dialog.oe_act_window
354 background-color: black
358 // Generic classes {{{
360 font-family: "mnmliconsRegular" !important
362 font-weight: 300 !important
364 font-family: "entypoRegular" !important
366 font-weight: 300 !important
385 width: auto !important
390 @include vertical-gradient(#df3f3f, #a21a1a)
391 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
392 button.oe_highlight:hover
393 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
394 button.oe_highlight:active
395 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
397 background: #eee !important
400 .oe_highlight_on_dirty
404 button.oe_highlight_on_dirty
405 @include vertical-gradient(#dc5f59, #b33630)
406 @include box-shadow(none)
428 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
433 .oe_image_small > img
436 .oe_image_medium > img
442 display: inline-block
448 text-decoration: underline
450 .oe_star_on, .oe_star_off
452 text-shadow: 0 0 2px black
456 .oe_star_on:hover, .oe_star_off:hover
457 text-decoration: none
467 // Tags (for many2many tags, among others) {{{
469 border: 1px solid $tag-border
474 background: $tag-bg-light
477 background: $tag-bg-dark
484 width: 100% !important
486 width: 100% !important
487 .text-core .text-wrap .text-dropdown .text-list .text-suggestion em
489 text-decoration: none
500 white-space: pre-wrap
501 .oe_tooltip_technical
506 .oe_tooltip_technical_title
525 .oe_notebook.ui-corner-all
527 .oe_notebook:before, .oe_notebook:after
535 .oe_notebook > li > a
538 .oe_notebook > li.ui-tabs-active > a
543 border-width: 0 0 1px
546 .oe_notebook > li > a
550 border: 1px solid transparent
551 @include radius(4px 4px 0 0)
552 .oe_notebook > li > a:hover
553 text-decoration: none
554 background-color: #eee
555 border-color: #eee #eee #ddd
556 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
557 background-color: #ffffff
558 border: 1px solid #ddd
559 border-bottom-color: transparent
564 padding: 3px 0px 3px 0px
569 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
575 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
585 border: 1px solid $tag-border
591 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
594 @include vertical-gradient(#f0f0fa, #eeeef6)
595 @include box-shadow(none)
596 list-style-type: none
606 text-decoration: none
608 text-overflow: ellipsis
611 text-decoration: none
612 .oe_dropdown_arrow:after
615 display: inline-block
617 text-indent: -99999px
620 //margin-left set at 3px to avoid a strange overflow
622 border-left: 4px solid transparent
623 border-right: 4px solid transparent
624 border-top: 4px solid#404040
625 @include opacity(0.5)
629 .oe_sidebar_add_attachment
636 .oe_hidden_input_file
639 @include vertical-gradient(#f0f0fa, #eeeef6)
640 @include box-shadow(none)
642 .oe_sidebar_delete_item
654 text-shadow: 0 1px 1px white
656 text-decoration: none
659 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
662 .oe_sidebar_delete_item
663 display: inline-block
676 border: 1px solid #900
678 -moz-border-radius-bottomright: 8px
679 -moz-border-radius-bottomleft: 8px
680 border-bottom-right-radius: 8px
681 border-bottom-left-radius: 8px
686 .oe_webclient_timezone_notification
689 text-decoration: underline
697 background-color: #f6cf3b
710 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
716 list-style-type: none
721 border: 1px solid #222
724 @include vertical-gradient(#b92020, #600606)
726 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
729 font-family: "Lucida Grande", Helvetica, Verdana, Arial
730 border: 1px solid #999999
731 background: whitesmoke
732 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
745 border: solid 1px #333
747 background: rgba(30,30,30,0.94)
748 @include radius(0 0 8px 8px)
758 text-shadow: 0 1px 1px #999999
759 @include vertical-gradient(#b41616, #600606)
764 margin: -160px -166px
765 border: solid 1px #333333
767 background: rgba(30,30,30,0.94)
772 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
793 text-decoration: underline
797 .oe_login_error_message
799 background-color: #b41616
805 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
807 .oe_login_error_message
808 display: inline-block
810 // DatabaseManager {{{
815 .oe_database_manager_menu
824 // WebClient.fullscreen {{{
825 .oe_content_full_screen
829 .oe_topbar, .oe_leftbar
837 background-color: #414141
838 @include vertical-gradient(#646060, #262626)
839 .oe_topbar_anonymous_login
840 background-color: #dc5f59
842 @include vertical-gradient(#FC8787, #800000)
845 padding: 5px 10px 7px
848 text-decoration: none
850 background: transparent
851 @include transition(all 0.2s ease-out)
853 background: rgba(0,0,0,0.1)
855 text-shadow: 0px 0px 3px rgba(0,0,0,0.2)
856 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
859 padding: 5px 10px 7px
862 text-decoration: none
865 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
866 @include transition(all 0.2s ease-out)
868 background: rgba(0,0,0,0.2)
869 text-shadow: black 0px 0px 3px
871 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
880 .oe_dropdown_arrow:after
881 border-top: 4px solid white
885 background: rgba(37,37,37,0.9)
887 border-color: rgba(0, 0, 0, 0.2)
889 border-width: 0 1px 1px
890 @include radius(0 0 6px 6px)
891 @include background-clip()
898 @include vertical-gradient(#292929, #191919)
899 @include box-shadow(none)
903 display: inline-block
905 text-overflow: ellipsis
908 // oe menu is the list of the buttons on the left side of the bar.
909 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
910 // is a leftover from an uncomplete refactoring when the left and top menu
911 // were merged. You are welcome to refactor and clean this up
918 list-style-type: none
926 padding: 5px 10px 7px
929 text-decoration: none
932 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
933 @include transition(all 0.2s ease-out)
935 background: rgba(0,0,0,0.2)
936 text-shadow: black 0px 0px 3px
938 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
940 background: rgba(0,0,0,0.30)
941 text-shadow: black 0px 0px 3px
942 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
949 list-style-type: none
961 // Webclient.leftbar {{{
966 border-right: 1px solid $tag-border
967 text-shadow: 0 1px 1px white
986 background: rgba(37,37,37,0.9)
987 @include box-sizing(border)
988 &:hover .oe_logo_edit_admin
1003 // Webclient.leftbar items {{{
1005 .oe_secondary_menu_section
1009 .oe_secondary_submenu
1010 padding: 2px 0 8px 0
1013 display: inline-block
1017 padding: 1px 0 1px 20px !important
1018 list-style-type: none
1022 padding: 2px 4px 2px 0
1028 background: $link-color
1032 border: 1px solid lightGray
1033 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
1034 @include radius(4px)
1035 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
1039 display: inline-block
1040 text-overflow: ellipsis
1044 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
1050 @include transform(scale(1.1))
1052 border-top: 1px solid lightGray
1053 border-bottom: 1px solid #dedede
1054 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
1055 @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
1056 background: $link-color
1062 text-shadow: 0 1px 1px white
1063 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
1067 @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
1068 .oe_menu_toggler:before
1071 display: inline-block
1073 text-indent: -99999px
1078 border-top: 4px solid transparent
1079 border-bottom: 4px solid transparent
1080 border-left: 4px solid #4c4c4c
1081 @include opacity(0.5)
1082 .oe_menu_opened:before
1086 border-left: 4px solid transparent
1087 border-right: 4px solid transparent
1088 border-top: 4px solid #4c4c4c
1091 // About openerp {{{
1093 background-color: white
1094 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
1095 @include radius(0 0 2px 2px)
1099 text-decoration: underline
1110 text-shadow: 0 1px 1px #999999
1111 @include vertical-gradient(#b41616, #600606)
1114 @include radius(0 0 2px 2px)
1118 // ActionManager {{{
1125 text-decoration: underline
1128 .oe_breadcrumb_item:not(:last-child)
1131 text-overflow: ellipsis
1132 .oe_breadcrumb_title > *
1133 display: inline-block
1136 // ViewManager common {{{
1138 .oe_view_manager_body
1140 .oe_view_manager_view_kanban
1143 table.oe_view_manager_header
1144 border-collapse: separate
1151 text-shadow: 0 1px 1px white
1152 .oe_header_row:last-child
1155 .oe_header_row:first-child
1158 .oe_view_manager_sidebar
1172 display: inline-block
1173 border: 1px solid #ababab
1174 @include radius(5px)
1177 border-right: 1px solid #ababab
1183 text-decoration: none
1186 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1189 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1190 .oe_view_manager_buttons
1193 // ViewManager.switches {{{
1194 .oe_view_manager_switch
1204 list-style-type: none
1207 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1210 .oe_vm_switch_form:after
1212 .oe_vm_switch_graph:after
1213 font-family: "mnmliconsRegular" !important
1215 font-weight: 300 !important
1219 .oe_vm_switch_gantt:after
1220 font-family: "mnmliconsRegular" !important
1222 font-weight: 300 !important
1226 .oe_vm_switch_calendar:after
1228 .oe_vm_switch_kanban:after
1230 .oe_vm_switch_diagram:after
1246 display: inline-block
1247 border: 1px solid #ababab
1249 @include radius(5px)
1255 list-style-type: none
1257 border-right: 1px solid #ababab
1264 text-decoration: none
1267 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1270 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1271 .oe_list_pager.oe_list_pager_single_page .oe_pager_group
1274 // ViewManager application {{{
1275 .oe_view_manager_current
1277 > .oe_view_manager_header
1278 border-bottom: 1px solid #cacaca
1279 @include vertical-gradient(#fcfcfc, #dedede)
1280 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1284 .oe_header_row:first-child
1288 // ViewManager inline {{{
1289 .oe_view_manager_inline, .oe_view_manager_inlineview
1291 > .oe_view_manager_header
1295 .oe_popup_form > .oe_formview > .oe_form_pager
1296 display: none !important
1297 .oe_popup_list_pager
1308 border: 1px solid #ababab
1310 @include radius(13px)
1311 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1318 border-color: $tag-border-selected
1319 @include box-shadow(0 1px 2px $tag-border-selected inset)
1320 .oe_searchview_clear
1327 background: url(../img/search_reset.gif) center center no-repeat
1328 .oe_searchview_unfold_drawer
1333 padding: 0 7px 0 4px
1344 display: inline-block
1347 border-top: 5px solid #4C4C4C
1348 border-left: 5px solid transparent
1349 border-right: 5px solid transparent
1352 .oe_searchview_search
1353 @include text-to-icon("r", #a3a3a3)
1354 @include box-shadow(none)
1361 background: transparent
1363 .oe_searchview_facets
1368 display: inline-block
1370 .oe_searchview_facet
1376 .oe_searchview_input
1383 .oe_searchview_facet
1387 -webkit-font-smoothing: auto
1388 // spacing for opera, FF
1390 border-color: $tag-border-selected
1391 @include box-shadow(0 0 3px 1px $tag-border-selected)
1394 @include radius(0 3px 3px 0)
1395 .oe_facet_category, .oe_facet_value
1400 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1401 .oe_facet_category.oe_i
1404 border-left: 1px solid $tag-border
1405 text-shadow: 0 1px 1px white
1421 text-shadow: 0 1px 1px white
1425 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1426 @include radius(2px)
1427 &.oe_searchview_open_drawer
1428 .oe_searchview_drawer
1431 .oe_searchview_drawer
1434 // detach drawer from field slightly
1438 background-color: white
1441 border: 1px solid $tag-border
1443 @include radius(4px)
1444 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1446 border-top: 1px solid #ccc
1453 margin: 8px 4px 4px 12px
1454 color: $section-title-color
1460 display: inline-block
1462 background-color: $hover-background
1470 background: transparent
1472 @include box-shadow(none)
1474 .oe_searchview_section
1478 @include box-sizing(border)
1487 padding: 2px 4px 2px 20px
1492 &.oe_selected:before
1494 font-family: "entypoRegular" !important
1496 font-weight: 300 !important
1501 // after oe_selected so background color is not overridden
1503 background-color: $hover-background
1511 .oe_searchview_custom
1512 padding: 0 8px 8px 8px
1519 padding: 2px 4px 2px 20px
1521 background-color: $hover-background
1526 .oe_searchview_dashboard
1531 .oe_searchview_advanced
1535 button.oe_add_condition:before
1537 font-family: "entypoRegular" !important
1539 font-weight: 300 !important
1550 &:first-child .searchview_extended_prop_or
1552 .searchview_extended_prop_or
1564 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1565 display: inline-block
1574 text-shadow: 0 1px 1px white
1576 text-decoration: none
1579 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1580 @include radius(2px)
1581 .oe_searchview_custom_delete
1586 .oe_searchview_custom_private, .oe_searchview_custom_public
1588 .oe_searchview_custom_delete
1589 display: inline-block
1590 .oe_searchview_custom_public:after
1592 font-family: "entypoRegular" !important
1594 font-weight: 300 !important
1607 .oe_view_nocontent_create
1613 display: inline-block
1619 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1622 .oe_empty_custom_dashboard
1623 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1625 padding: 100px 0 0 137px
1628 .oe_view.oe_cannot_create
1629 .oe_view_nocontent_create
1632 // FormView.base and dynamic tags {{{
1635 .oe_form_dropdown_section
1637 display: inline-block
1639 input, select, textarea
1640 background-color: #F66 !important
1641 border: 1px solid #D00 !important
1642 .oe_view_manager_current .oe_form_editable
1647 @include vertical-gradient(#efefef, #d8d8d8)
1648 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1649 button.oe_highlight:active
1650 @include vertical-gradient(#e3e3e3, #f6f6f6)
1651 @include box-shadow(none)
1652 button.oe_highlight:hover
1653 @include vertical-gradient(#f6f6f6, #e3e3e3)
1654 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1656 display: none !important
1658 .oe_edit_only, .oe_form_field:empty
1659 display: none !important
1660 .oe_form .oe_form_field_date
1662 // Sheet and padding
1666 margin: -16px -16px 0 -16px
1668 .oe_form_nosheet.oe_form_nomargin
1674 .oe_form_sheet_width
1676 max-width: $sheet-max-width
1684 // Sheet inline mode
1687 background: url(/web/static/src/img/form_sheetbg.png)
1688 border-bottom: 1px solid #ddd
1690 border: 1px solid #c8c8d3 //$tag-border
1691 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1697 // FormView.header {{{
1700 border-bottom: 1px solid #cacaca
1702 @include vertical-gradient(#fcfcfc, #dedede)
1706 display: inline-block
1713 // FormView.custom tags and classes {{{
1721 box-sizing: border-box
1722 min-width: $sheet-min-width + 2* $sheet-padding
1723 max-width: $sheet-max-width + 2* $sheet-padding
1725 padding: 16px 16px 48px
1726 div.oe_form_configuration
1732 .oe_form_group_cell_label
1734 .oe_form_group_cell div div
1737 width: 1% !important
1738 td.oe_form_group_cell
1740 padding: 0 !important
1741 td.oe_form_group_cell_label
1743 .oe_subtotal_footer_separator
1745 border-top: 1px solid #cacaca
1752 label.oe_subtotal_footer_separator
1753 font-weight: bold !important
1754 padding: 2px 11px 2px 0px !important
1755 label.oe_form_label_help
1759 // FormView.group {{{
1763 td.oe_form_group_cell_label
1764 border-right: 1px solid #ddd
1770 td.oe_form_group_cell + .oe_form_group_cell
1771 padding: 2px 0 2px 8px
1775 .oe_form_group_cell.oe_group_right
1778 // FormView.label {{{
1780 .oe_form_label_help[for], .oe_form_label[for]
1792 // FormView.separator {{{
1793 .oe_horizontal_border
1794 border-bottom: 1px solid black
1795 .oe_horizontal_separator
1798 margin: 15px 0px 10px 0px
1799 color: $section-title-color
1800 .oe_horizontal_separator:empty
1802 .oe_vertical_separator
1803 border-left: 1px solid #666
1804 padding: 0 4px 0 4px
1806 // FormView.progressbar {{{
1807 .oe_form_field_progressbar
1808 display: inline-block
1810 .oe_form_field_progressbar.ui-progressbar
1813 @include box-sizing(border)
1814 border: 1px solid #999
1815 @include radius(3px)
1823 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1825 // FormView.fields {{{
1829 .oe_form_field_char input,
1830 .oe_form_field_url input,
1831 .oe_form_field_email input,
1832 .oe_form_field_text textarea,
1833 .oe_form_field_selection select
1835 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1837 h1, h2, h3, h4, h5, h6
1840 height: inherit !important
1844 display: inline-block
1845 padding: 2px 2px 2px 0px
1848 input[type="text"], input[type="password"], input[type="file"], select
1851 input[type="text"], input[type="password"], input[type="file"], select, textarea
1852 @include box-sizing(border)
1856 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1857 background: #E5E5E5 !important
1862 @include box-shadow(none)
1863 @include radius(0px)
1864 textarea.oe_inline[disabled]
1865 border-left: 8px solid #eee
1866 .oe_form_field_url button img
1868 .oe_form_field_monetary,
1869 .oe_form_field_date,
1870 .oe_form_field_datetime
1872 .oe_form_field_boolean
1875 .oe_datepicker_container
1878 display: inline-block
1880 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1881 background-color: #D2D2FF !important
1883 input, select, textarea
1884 background-color: #F66 !important
1885 border: 1px solid #D00 !important
1888 margin: 3px 0 0 -21px
1890 .oe_input_icon_disabled
1894 filter: alpha(opacity=50)
1897 .oe_form_field_with_button.oe_no_button > .oe_button
1899 .oe_form_field_with_button:not(.oe_no_button)
1903 border-bottom-left-radius: 0px
1905 .oe_form_field_with_button
1911 .oe_form_embedded_html
1921 .oe_form_field_integer input
1923 .oe_form_field_float input
1925 .oe_form_field_date input
1927 .oe_form_field_datetime input
1930 // FormView.fields_binary {{{
1931 /* http://www.quirksmode.org/dom/inputfile.html
1932 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1934 .oe_hidden_input_file
1935 // Position: relative is used for the hidden input[type=file]
1936 // Do not remove it anymore !
1938 input.oe_form_binary_file
1947 filter: alpha(opacity = 0)
1948 -ms-filter: "alpha(opacity=0)"
1952 .oe_form_field_image
1955 display: inline-block
1958 .oe_form_field_image_controls
1966 background: rgba(37,37,37,0.9)
1967 @include radius(3px 3px 0 0)
1968 @include box-sizing(border)
1969 &:hover .oe_form_field_image_controls
1972 display: inline-block
1987 vertical-align: middle
1993 background: transparent
2002 input.oe_form_binary_file
2003 display: inline-block
2017 border: solid 1px rgba(124,123,173,0.14)
2026 text-decoration: none
2027 .oe_attachment:nth-child(odd)
2029 .oe_attachment:nth-child(even)
2032 // FormView.many2one {{{
2033 .oe_form_field_many2one
2036 span.oe_m2o_drop_down_button
2047 li.oe_m2o_dropdown_option a
2050 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
2053 // FormView.fieldstatus {{{
2054 ul.oe_form_status, ul.oe_form_status_clickable
2055 display: inline-block
2059 display: inline-block
2060 list-style-type: none
2061 // It is probably a bad idea to modify this margin
2064 @include vertical-gradient(#fcfcfc, #dedede)
2065 &:first-child .label
2066 border-left: 1px solid #cacaca
2069 border-right: 1px solid #cacaca
2076 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
2078 display: inline-block
2084 display: inline-block
2092 display: inline-block
2095 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2096 @include skew-gradient(#fcfcfc, #dedede)
2097 @include radius(3px)
2098 @include transform(rotate(45deg))
2100 @include vertical-gradient(#729fcf, #3465a4)
2102 @include skew-gradient(#729fcf, #3465a4)
2105 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
2106 ul.oe_form_status_clickable
2110 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2112 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2114 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2119 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2121 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2123 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2125 // FormView.one2many {{{
2126 .oe_form .oe_form_field_one2many > .oe_view_manager
2127 .oe_list_pager_single_page
2129 .oe_form_field_one2many,.oe_form_field_many2many
2130 // TODO: oe_form_field_one2many_list?
2132 .oe_list_pager_single_page
2133 display: none !important
2134 .oe_view_manager_view_list
2137 .oe_form_field_one2many_list_row_add
2144 background: transparent
2145 .oe_list .oe_list_edit_row_save
2146 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2153 .oe_view_manager_header2
2165 .oe_list_buttons.oe_editing .oe_list_save
2166 // keep "save row" button hidden in o2m
2172 background-color: #d2d2ff
2174 background-color: #eee
2177 .oe_list_editable .oe_list_content td.oe_list_field_cell
2178 padding: 4px 6px 3px
2179 .oe_list.oe_list_editable.oe_editing
2180 .oe_edition .oe_list_field_cell:not(.oe_readonly)
2185 .oe_m2o_drop_down_button
2197 border: 1px solid #aaf
2199 input, textarea, select
2201 &.oe_form_field_float,&.oe_form_view_integer
2204 width: 100% !important
2205 &.oe_form_field_datetime,&.oe_form_field_date
2206 input.oe_datepicker_master
2207 width: 100% !important
2211 // FormView.many2many {{{
2212 .oe_form .oe_form_field_many2many > .oe_list
2213 .oe_list_pager_single_page
2220 .oe_list_save, .oe_list_discard
2226 display: inline-block
2234 .oe_list_header_handle, .oe_list_field_handle
2235 display: none !important
2236 padding: 0 !important
2238 .oe_list_record_delete
2239 display: none !important
2243 margin: 0 // FIXME: either class or border should not be by default
2249 margin: 0 !important // dammit
2251 .oe_form_field_boolean
2252 // use padding similar to actual cell to correctly position the
2254 padding: 1px 6px 3px
2255 .oe_list_content .oe_group_header
2256 @include vertical-gradient(#fcfcfc, #dedede)
2260 td:first-child, th:first-child
2264 text-align: right !important
2266 td.oe_list_field_date, th.oe_list_header_date
2269 border-bottom: 2px solid #cacaca
2275 th.oe_sortable, th.oe_sortable div
2279 th.oe_sortable div:after
2284 border-width: 0 4px 4px
2286 border-color: #000 transparent
2290 @include opacity(0.6)
2291 .oe_list_header_many2many_tags
2293 th.sortdown div:after
2295 border-left: 4px solid transparent
2296 border-right: 4px solid transparent
2297 border-top: 4px solid #000
2299 @include box-shadow(none)
2300 @include opacity(0.6)
2305 border-top: 1px solid #ddd
2306 > td.oe_list_field_cell
2308 white-space: pre-line
2312 background: transparent
2314 @include box-shadow(none)
2315 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2319 > td.oe_list_field_boolean input
2322 background-color: #f0f0fa
2323 @include vertical-gradient(#f0f0fa, #eeeef6)
2326 border-top: 2px solid #cacaca
2327 border-bottom: 1px solid #cacaca
2337 th.oe_list_header_handle
2340 text-indent: -9001px
2341 td.oe_list_field_handle
2343 padding: 0 !important
2346 @include text-to-entypo-icon("}",#E0E0E0,18px)
2348 .oe_list_field_progressbar progress
2353 background-color: #f0f0f0
2354 border-bottom: 1px solid #cacaca
2364 background-color: white
2370 background-color: #f0f0f0
2371 border-bottom: 2px solid #cacaca
2375 vertical-align: middle
2377 vertical-align: middle
2381 border-right: 1px solid #e7e7e7
2384 text-align: right !important
2386 border-bottom: 1px solid #d6d6d6
2388 background-color: #e7e7e7
2394 .treeview-tr.oe-treeview-first
2395 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2396 .oe_open .treeview-tr.oe-treeview-first
2397 background-image: url(/web/static/src/img/collapse.gif)
2398 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2401 // Debugging stuff {{{
2402 .oe_layout_debugging
2404 outline: 2px dashed green
2406 outline: 1px solid blue
2407 .oe_form_group:hover, .oe_form_group_cell:hover
2409 .oe_form_group_row_incomplete > td:last-child:after
2410 content: "[Incomplete Row]"
2416 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2417 content: "[newline]"
2422 .oe_debug_view_log label
2429 .oe_debug_view_log span
2436 .kitten-mode-activated
2437 background-image: url(http://placekitten.com/g/1365/769)
2438 background-size: cover
2439 background-attachment: fixed
2444 // jQueryUI top level {{{
2445 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2446 div.ui-widget-overlay
2448 @include opacity(0.3)
2449 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2450 // eg: $el.autocomplete().openerpClass();
2452 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2458 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2460 border: 1px solid $tag-border
2470 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2471 background: $tag-bg-dark
2473 //@include vertical-gradient(#f0f0fa, #eeeef6)
2476 @include radius(3px)
2479 // Internet Explorer 9+ specifics {{{
2481 .oe_form_field_boolean input
2483 input[type='checkbox']
2494 .oe_view_manager_buttons
2495 button.oe_write_full
2501 button .oe_form_button_edit
2504 button .oe_form_button_create
2519 .oe_kanban_show_more
2522 &.oe_kanban_grouped .oe_kanban_show_more .oe_button
2526 .oe_form_buttons button
2537 .oe_form_buttons, .oe_view_manager_buttons
2543 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
2544 .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
2545 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
2547 width: 99% !important
2549 white-space: normal !important
2550 ul.oe_form_status, ul.oe_form_status_clickable
2552 display: inline-block
2556 border-right: 1px solid #cacaca
2561 display: inline-block
2563 filter: alpha(opacity = 0)
2568 border-bottom: 1px solid #cacaca
2569 background: transparent
2572 background-color: #fefefe !important
2575 border-bottom: 1px solid #729fcf
2577 background-color: #729fcf !important
2580 .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button
2581 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EFEFEF', endColorstr='#D8D8D8')
2587 .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
2588 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2589 display: none !important
2591 button, input[type=checkbox]
2593 .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
2596 &.oe_m2o_cm_button, &.oe_e
2599 .oe_form_field_date img, .oe_form_field_datetime img
2601 .oe_notebook > li.ui-tabs-selected
2604 .oe_form_sheet, .oe_form_sheetbg
2605 border: 0px !important
2606 box-shadow: 0px 0px 0px
2609 .oe_view_manager_current > .oe_view_manager_header
2610 border: 0px !important
2611 box-shadow: 0px 0px 0px
2613 .text-core .text-wrap .text-arrow
2615 .openerp div.oe_mail_wall
2616 overflow: hidden !important
2619 .blockUI.blockOverlay
2620 background-color: black
2621 opacity: 0.6000000238418579
2623 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2624 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: