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
534 .oe_notebook > li.ui-tabs-active > a
539 border-width: 0 0 1px
542 .oe_notebook > li > a
546 border: 1px solid transparent
547 @include radius(4px 4px 0 0)
548 .oe_notebook > li > a:hover
549 text-decoration: none
550 background-color: #eee
551 border-color: #eee #eee #ddd
552 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
553 background-color: #ffffff
554 border: 1px solid #ddd
555 border-bottom-color: transparent
560 padding: 3px 0px 3px 0px
565 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
571 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
581 border: 1px solid $tag-border
587 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
590 @include vertical-gradient(#f0f0fa, #eeeef6)
591 @include box-shadow(none)
592 list-style-type: none
602 text-decoration: none
604 text-overflow: ellipsis
607 text-decoration: none
608 .oe_dropdown_arrow:after
611 display: inline-block
613 text-indent: -99999px
616 //margin-left set at 3px to avoid a strange overflow
618 border-left: 4px solid transparent
619 border-right: 4px solid transparent
620 border-top: 4px solid#404040
621 @include opacity(0.5)
625 .oe_sidebar_add_attachment
632 .oe_hidden_input_file
635 @include vertical-gradient(#f0f0fa, #eeeef6)
636 @include box-shadow(none)
638 .oe_sidebar_delete_item
650 text-shadow: 0 1px 1px white
652 text-decoration: none
655 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
658 .oe_sidebar_delete_item
659 display: inline-block
672 border: 1px solid #900
674 -moz-border-radius-bottomright: 8px
675 -moz-border-radius-bottomleft: 8px
676 border-bottom-right-radius: 8px
677 border-bottom-left-radius: 8px
682 .oe_webclient_timezone_notification
685 text-decoration: underline
693 background-color: #f6cf3b
697 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
703 list-style-type: none
708 border: 1px solid #222
711 @include vertical-gradient(#b92020, #600606)
713 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
716 font-family: "Lucida Grande", Helvetica, Verdana, Arial
717 border: 1px solid #999999
718 background: whitesmoke
719 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.4))
732 border: solid 1px #333
734 background: rgba(30,30,30,0.94)
735 @include radius(0 0 8px 8px)
745 text-shadow: 0 1px 1px #999999
746 @include vertical-gradient(#b41616, #600606)
751 margin: -160px -166px
752 border: solid 1px #333333
754 background: rgba(30,30,30,0.94)
759 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
780 text-decoration: underline
784 .oe_login_error_message
786 background-color: #b41616
792 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
794 .oe_login_error_message
795 display: inline-block
797 // DatabaseManager {{{
802 .oe_database_manager_menu
811 // WebClient.fullscreen {{{
812 .oe_content_full_screen
816 .oe_topbar, .oe_leftbar
824 background-color: #414141
825 @include vertical-gradient(#646060, #262626)
828 padding: 5px 10px 7px
831 text-decoration: none
834 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
835 @include transition(all 0.2s ease-out)
837 background: rgba(0,0,0,0.2)
838 text-shadow: black 0px 0px 3px
840 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
849 .oe_dropdown_arrow:after
850 border-top: 4px solid white
854 background: rgba(37,37,37,0.9)
856 border-color: rgba(0, 0, 0, 0.2)
858 border-width: 0 1px 1px
859 @include radius(0 0 6px 6px)
860 @include background-clip()
867 @include vertical-gradient(#292929, #191919)
868 @include box-shadow(none)
870 // oe menu is the list of the buttons on the left side of the bar.
871 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
872 // is a leftover from an uncomplete refactoring when the left and top menu
873 // were merged. You are welcome to refactor and clean this up
880 list-style-type: none
888 padding: 5px 10px 7px
891 text-decoration: none
894 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
895 @include transition(all 0.2s ease-out)
897 background: rgba(0,0,0,0.2)
898 text-shadow: black 0px 0px 3px
900 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
902 background: rgba(0,0,0,0.30)
903 text-shadow: black 0px 0px 3px
904 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
911 list-style-type: none
923 // Webclient.leftbar {{{
928 border-right: 1px solid $tag-border
929 text-shadow: 0 1px 1px white
958 // Webclient.leftbar items {{{
960 .oe_secondary_menu_section
964 .oe_secondary_submenu
968 display: inline-block
972 padding: 1px 0 1px 20px !important
973 list-style-type: none
977 padding: 2px 4px 2px 0
983 background: $link-color
987 border: 1px solid lightGray
988 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
990 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
993 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
999 @include transform(scale(1.1))
1001 border-top: 1px solid lightGray
1002 border-bottom: 1px solid #dedede
1003 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
1004 @include box-shadow((inset 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 -1px 3px rgba(40, 40, 40, 0.2)))
1005 background: $link-color
1011 text-shadow: 0 1px 1px white
1012 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
1016 @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.2))
1017 .oe_menu_toggler:before
1020 display: inline-block
1022 text-indent: -99999px
1027 border-top: 4px solid transparent
1028 border-bottom: 4px solid transparent
1029 border-left: 4px solid #4c4c4c
1030 @include opacity(0.5)
1031 .oe_menu_opened:before
1035 border-left: 4px solid transparent
1036 border-right: 4px solid transparent
1037 border-top: 4px solid #4c4c4c
1040 // About openerp {{{
1042 background-color: white
1043 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
1044 @include radius(0 0 2px 2px)
1048 text-decoration: underline
1059 text-shadow: 0 1px 1px #999999
1060 @include vertical-gradient(#b41616, #600606)
1063 @include radius(0 0 2px 2px)
1067 // ActionManager {{{
1073 text-decoration: underline
1076 .oe_breadcrumb_item:not(:last-child)
1077 display: inline-block
1081 text-overflow: ellipsis
1083 // ViewManager common {{{
1085 .oe_view_manager_body
1087 .oe_view_manager_view_kanban
1090 table.oe_view_manager_header
1097 text-shadow: 0 1px 1px white
1098 .oe_header_row:last-child
1101 .oe_header_row:first-child
1104 .oe_view_manager_sidebar
1118 display: inline-block
1119 border: 1px solid #ababab
1120 @include radius(5px)
1123 border-right: 1px solid #ababab
1129 text-decoration: none
1132 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1135 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1136 .oe_view_manager_buttons
1139 // ViewManager.switches {{{
1140 .oe_view_manager_switch
1150 list-style-type: none
1153 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1156 .oe_vm_switch_form:after
1158 .oe_vm_switch_graph:after
1159 font-family: "mnmliconsRegular" !important
1161 font-weight: 300 !important
1165 .oe_vm_switch_gantt:after
1166 font-family: "mnmliconsRegular" !important
1168 font-weight: 300 !important
1172 .oe_vm_switch_calendar:after
1174 .oe_vm_switch_kanban:after
1176 .oe_vm_switch_diagram:after
1192 display: inline-block
1193 border: 1px solid #ababab
1195 @include radius(5px)
1201 list-style-type: none
1203 border-right: 1px solid #ababab
1210 text-decoration: none
1213 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1216 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1217 .oe_list_pager.oe_list_pager_single_page .oe_pager_group
1220 // ViewManager application {{{
1221 .oe_view_manager_current
1223 > .oe_view_manager_header
1224 border-bottom: 1px solid #cacaca
1225 @include vertical-gradient(#fcfcfc, #dedede)
1226 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1230 .oe_header_row:first-child
1234 // ViewManager inline {{{
1235 .oe_view_manager_inline, .oe_view_manager_inlineview
1237 > .oe_view_manager_header
1241 .oe_popup_form > .oe_formview > .oe_form_pager
1242 display: none !important
1243 .oe_popup_list_pager
1254 border: 1px solid #ababab
1256 @include radius(13px)
1257 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1264 border-color: $tag-border-selected
1265 @include box-shadow(0 1px 2px $tag-border-selected inset)
1266 .oe_searchview_clear
1273 background: url(../img/search_reset.gif) center center no-repeat
1274 .oe_searchview_unfold_drawer
1279 padding: 0 7px 0 4px
1290 display: inline-block
1293 border-top: 5px solid #4C4C4C
1294 border-left: 5px solid transparent
1295 border-right: 5px solid transparent
1298 .oe_searchview_search
1299 @include text-to-icon("r", #a3a3a3)
1300 @include box-shadow(none)
1307 background: transparent
1309 .oe_searchview_facets
1314 display: inline-block
1316 .oe_searchview_facet
1322 .oe_searchview_input
1329 .oe_searchview_facet
1333 -webkit-font-smoothing: auto
1334 // spacing for opera, FF
1336 border-color: $tag-border-selected
1337 @include box-shadow(0 0 3px 1px $tag-border-selected)
1340 @include radius(0 3px 3px 0)
1341 .oe_facet_category, .oe_facet_value
1346 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1347 .oe_facet_category.oe_i
1350 border-left: 1px solid $tag-border
1351 text-shadow: 0 1px 1px white
1367 text-shadow: 0 1px 1px white
1371 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1372 @include radius(2px)
1373 &.oe_searchview_open_drawer
1374 .oe_searchview_drawer
1377 .oe_searchview_drawer
1380 // detach drawer from field slightly
1384 background-color: white
1387 border: 1px solid $tag-border
1389 @include radius(4px)
1390 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
1392 border-top: 1px solid #ccc
1399 margin: 8px 4px 4px 12px
1400 color: $section-title-color
1406 display: inline-block
1408 background-color: $hover-background
1416 background: transparent
1418 @include box-shadow(none)
1420 .oe_searchview_section
1424 @include box-sizing(border)
1433 padding: 2px 4px 2px 20px
1438 &.oe_selected:before
1440 font-family: "entypoRegular" !important
1442 font-weight: 300 !important
1447 // after oe_selected so background color is not overridden
1449 background-color: $hover-background
1457 .oe_searchview_custom
1458 padding: 0 8px 8px 8px
1465 padding: 2px 4px 2px 20px
1467 background-color: $hover-background
1472 .oe_searchview_dashboard
1477 .oe_searchview_advanced
1481 button.oe_add_condition:before
1483 font-family: "entypoRegular" !important
1485 font-weight: 300 !important
1496 &:first-child .searchview_extended_prop_or
1498 .searchview_extended_prop_or
1510 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1511 display: inline-block
1520 text-shadow: 0 1px 1px white
1522 text-decoration: none
1525 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1526 @include radius(2px)
1527 .oe_searchview_custom_delete
1532 .oe_searchview_custom_private, .oe_searchview_custom_public
1534 .oe_searchview_custom_delete
1535 display: inline-block
1536 .oe_searchview_custom_public:after
1538 font-family: "entypoRegular" !important
1540 font-weight: 300 !important
1553 .oe_view_nocontent_create
1559 display: inline-block
1565 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1568 .oe_empty_custom_dashboard
1569 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1571 padding: 100px 0 0 137px
1574 .oe_view.oe_cannot_create
1575 .oe_view_nocontent_create
1578 // FormView.base and dynamic tags {{{
1581 .oe_form_dropdown_section
1583 display: inline-block
1585 input, select, textarea
1586 background-color: #F66 !important
1587 border: 1px solid #D00 !important
1588 .oe_view_manager_current .oe_form_editable
1593 @include vertical-gradient(#efefef, #d8d8d8)
1594 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1595 button.oe_highlight:active
1596 @include vertical-gradient(#e3e3e3, #f6f6f6)
1597 @include box-shadow(none)
1598 button.oe_highlight:hover
1599 @include vertical-gradient(#f6f6f6, #e3e3e3)
1600 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1602 display: none !important
1604 .oe_edit_only, .oe_form_field:empty
1605 display: none !important
1606 .oe_form .oe_form_field_date
1608 // Sheet and padding
1612 margin: -16px -16px 0 -16px
1616 .oe_form_sheet_width
1618 max-width: $sheet-max-width
1624 // Sheet inline mode
1627 background: url(/web/static/src/img/form_sheetbg.png)
1628 border-bottom: 1px solid #ddd
1630 border: 1px solid #c8c8d3 //$tag-border
1631 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1637 // FormView.header {{{
1640 border-bottom: 1px solid #cacaca
1642 @include vertical-gradient(#fcfcfc, #dedede)
1646 display: inline-block
1653 // FormView.custom tags and classes {{{
1661 box-sizing: border-box
1662 min-width: $sheet-min-width + 2* $sheet-padding
1663 max-width: $sheet-max-width + 2* $sheet-padding
1665 padding: 16px 16px 48px
1666 div.oe_form_configuration
1672 .oe_form_group_cell_label
1674 .oe_form_group_cell div div
1677 width: 1% !important
1678 td.oe_form_group_cell
1680 padding: 0 !important
1681 td.oe_form_group_cell_label
1683 .oe_subtotal_footer_separator
1685 border-top: 1px solid #cacaca
1692 label.oe_subtotal_footer_separator
1693 font-weight: bold !important
1694 padding: 2px 11px 2px 0px !important
1695 label.oe_form_label_help
1699 // FormView.group {{{
1703 td.oe_form_group_cell_label
1704 border-right: 1px solid #ddd
1710 td.oe_form_group_cell + .oe_form_group_cell
1711 padding: 2px 0 2px 8px
1715 .oe_form_group_cell.oe_group_right
1718 // FormView.label {{{
1720 .oe_form_label_help[for], .oe_form_label[for]
1732 // FormView.separator {{{
1733 .oe_horizontal_border
1734 border-bottom: 1px solid black
1735 .oe_horizontal_separator
1738 margin: 15px 0px 10px 0px
1739 color: $section-title-color
1740 .oe_horizontal_separator:empty
1742 .oe_vertical_separator
1743 border-left: 1px solid #666
1744 padding: 0 4px 0 4px
1746 // FormView.progressbar {{{
1747 .oe_form_field_progressbar
1748 display: inline-block
1750 .oe_form_field_progressbar.ui-progressbar
1753 @include box-sizing(border)
1754 border: 1px solid #999
1755 @include radius(3px)
1763 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1765 // FormView.fields {{{
1769 .oe_form_field_char input,
1770 .oe_form_field_url input,
1771 .oe_form_field_email input,
1772 .oe_form_field_text textarea,
1773 .oe_form_field_selection select
1775 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1777 h1, h2, h3, h4, h5, h6
1780 height: inherit !important
1784 display: inline-block
1785 padding: 2px 2px 2px 0px
1788 input[type="text"], input[type="password"], input[type="file"], select
1791 input[type="text"], input[type="password"], input[type="file"], select, textarea
1792 @include box-sizing(border)
1796 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1797 background: #E5E5E5 !important
1802 @include box-shadow(none)
1803 @include radius(0px)
1804 textarea.oe_inline[disabled]
1805 border-left: 8px solid #eee
1806 .oe_form_field_url button img
1808 .oe_form_field_monetary,
1809 .oe_form_field_date,
1810 .oe_form_field_datetime
1812 .oe_form_field_boolean
1815 .oe_datepicker_container
1818 display: inline-block
1820 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1821 background-color: #D2D2FF !important
1823 input, select, textarea
1824 background-color: #F66 !important
1825 border: 1px solid #D00 !important
1828 margin: 3px 0 0 -21px
1830 .oe_input_icon_disabled
1834 filter: alpha(opacity=50)
1837 .oe_form_field_with_button.oe_no_button > .oe_button
1839 .oe_form_field_with_button:not(.oe_no_button)
1843 border-bottom-left-radius: 0px
1845 .oe_form_field_with_button
1851 .oe_form_embedded_html
1861 .oe_form_field_integer input
1863 .oe_form_field_float input
1865 .oe_form_field_date input
1867 .oe_form_field_datetime input
1870 // FormView.fields_binary {{{
1871 /* http://www.quirksmode.org/dom/inputfile.html
1872 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1874 .oe_hidden_input_file
1875 // Position: relative is used for the hidden input[type=file]
1876 // Do not remove it anymore !
1878 input.oe_form_binary_file
1887 filter: alpha(opacity = 0)
1888 -ms-filter: "alpha(opacity=0)"
1892 .oe_form_field_image
1895 display: inline-block
1898 .oe_form_field_image_controls
1906 background: rgba(37,37,37,0.9)
1907 @include radius(3px 3px 0 0)
1908 @include box-sizing(border)
1909 &:hover .oe_form_field_image_controls
1912 display: inline-block
1927 vertical-align: middle
1933 background: transparent
1942 input.oe_form_binary_file
1943 display: inline-block
1957 border: solid 1px rgba(124,123,173,0.14)
1966 text-decoration: none
1967 .oe_attachment:nth-child(odd)
1969 .oe_attachment:nth-child(even)
1972 // FormView.many2one {{{
1973 .oe_form_field_many2one
1976 span.oe_m2o_drop_down_button
1987 li.oe_m2o_dropdown_option a
1990 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1993 // FormView.fieldstatus {{{
1994 ul.oe_form_status, ul.oe_form_status_clickable
1995 display: inline-block
1999 display: inline-block
2000 list-style-type: none
2001 // It is probably a bad idea to modify this margin
2004 @include vertical-gradient(#fcfcfc, #dedede)
2005 &:first-child .label
2006 border-left: 1px solid #cacaca
2009 border-right: 1px solid #cacaca
2016 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
2018 display: inline-block
2024 display: inline-block
2032 display: inline-block
2035 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2036 @include skew-gradient(#fcfcfc, #dedede)
2037 @include radius(3px)
2038 @include transform(rotate(45deg))
2040 @include vertical-gradient(#729fcf, #3465a4)
2042 @include skew-gradient(#729fcf, #3465a4)
2045 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
2046 ul.oe_form_status_clickable
2050 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2052 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2054 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2059 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2061 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2063 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2065 // FormView.one2many {{{
2066 .oe_form .oe_form_field_one2many > .oe_view_manager
2067 .oe_list_pager_single_page
2069 .oe_form_field_one2many,.oe_form_field_many2many
2070 // TODO: oe_form_field_one2many_list?
2072 .oe_list_pager_single_page
2073 display: none !important
2074 .oe_view_manager_view_list
2077 .oe_form_field_one2many_list_row_add
2084 background: transparent
2085 .oe_list .oe_list_edit_row_save
2086 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2093 .oe_view_manager_header2
2105 .oe_list_buttons.oe_editing .oe_list_save
2106 // keep "save row" button hidden in o2m
2112 background-color: #d2d2ff
2114 background-color: #eee
2117 .oe_list_editable .oe_list_content td.oe_list_field_cell
2118 padding: 4px 6px 3px
2119 .oe_list.oe_list_editable.oe_editing
2120 .oe_edition .oe_list_field_cell:not(.oe_readonly)
2125 .oe_m2o_drop_down_button
2137 border: 1px solid #aaf
2139 input, textarea, select
2141 &.oe_form_field_float,&.oe_form_view_integer
2144 width: 100% !important
2145 &.oe_form_field_datetime,&.oe_form_field_date
2146 input.oe_datepicker_master
2147 width: 100% !important
2151 // FormView.many2many {{{
2152 .oe_form .oe_form_field_many2many > .oe_list
2153 .oe_list_pager_single_page
2160 .oe_list_save, .oe_list_discard
2166 display: inline-block
2174 .oe_list_header_handle, .oe_list_field_handle
2175 display: none !important
2176 padding: 0 !important
2178 .oe_list_record_delete
2179 display: none !important
2183 margin: 0 // FIXME: either class or border should not be by default
2189 margin: 0 !important // dammit
2191 .oe_form_field_boolean
2192 // use padding similar to actual cell to correctly position the
2194 padding: 1px 6px 3px
2195 .oe_list_content .oe_group_header
2196 @include vertical-gradient(#fcfcfc, #dedede)
2200 td:first-child, th:first-child
2204 text-align: right !important
2206 td.oe_list_field_date, th.oe_list_header_date
2209 border-bottom: 2px solid #cacaca
2215 th.oe_sortable, th.oe_sortable div
2219 th.oe_sortable div:after
2224 border-width: 0 4px 4px
2226 border-color: #000 transparent
2230 @include opacity(0.6)
2231 th.sortdown div:after
2233 border-left: 4px solid transparent
2234 border-right: 4px solid transparent
2235 border-top: 4px solid #000
2237 @include box-shadow(none)
2238 @include opacity(0.6)
2243 border-top: 1px solid #ddd
2244 > td.oe_list_field_cell
2246 white-space: pre-line
2250 background: transparent
2252 @include box-shadow(none)
2253 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2257 > td.oe_list_field_boolean input
2260 background-color: #f0f0fa
2261 @include vertical-gradient(#f0f0fa, #eeeef6)
2264 border-top: 2px solid #cacaca
2265 border-bottom: 1px solid #cacaca
2275 th.oe_list_header_handle
2278 text-indent: -9001px
2279 td.oe_list_field_handle
2281 padding: 0 !important
2284 @include text-to-entypo-icon("}",#E0E0E0,18px)
2286 .oe_list_field_progressbar progress
2291 background-color: #f0f0f0
2292 border-bottom: 1px solid #cacaca
2302 background-color: white
2308 background-color: #f0f0f0
2309 border-bottom: 2px solid #cacaca
2313 vertical-align: middle
2315 vertical-align: middle
2319 border-right: 1px solid #e7e7e7
2322 text-align: right !important
2324 border-bottom: 1px solid #d6d6d6
2326 background-color: #e7e7e7
2332 .treeview-tr.oe-treeview-first
2333 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2334 .oe_open .treeview-tr.oe-treeview-first
2335 background-image: url(/web/static/src/img/collapse.gif)
2336 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2339 // Debugging stuff {{{
2340 .oe_layout_debugging
2342 outline: 2px dashed green
2344 outline: 1px solid blue
2345 .oe_form_group:hover, .oe_form_group_cell:hover
2347 .oe_form_group_row_incomplete > td:last-child:after
2348 content: "[Incomplete Row]"
2354 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2355 content: "[newline]"
2360 .oe_debug_view_log label
2367 .oe_debug_view_log span
2374 .kitten-mode-activated
2375 background-image: url(http://placekitten.com/g/1365/769)
2376 background-size: cover
2377 background-attachment: fixed
2382 // jQueryUI top level {{{
2383 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2384 div.ui-widget-overlay
2386 @include opacity(0.3)
2387 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2388 // eg: $el.autocomplete().openerpClass();
2390 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2396 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2398 border: 1px solid $tag-border
2408 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2409 background: $tag-bg-dark
2411 //@include vertical-gradient(#f0f0fa, #eeeef6)
2414 @include radius(3px)
2420 .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
2421 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2422 display: none !important
2424 button, input[type=checkbox]
2426 .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
2429 &.oe_m2o_cm_button, &.oe_e
2432 .oe_form_field_date img, .oe_form_field_datetime img
2434 .oe_notebook > li.ui-tabs-selected
2437 .oe_form_sheet, .oe_form_sheetbg
2438 border: 0px !important
2439 box-shadow: 0px 0px 0px
2440 .oe_view_manager_current > .oe_view_manager_header
2441 border: 0px !important
2442 box-shadow: 0px 0px 0px
2444 .text-core .text-wrap .text-arrow
2446 .openerp div.oe_mail_wall
2447 overflow: hidden !important
2450 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2451 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: