4 $section-title-color: #8786b7
5 $facets-border: #afafb6
6 $facets-border-selected: #a6a6fe
11 font-family: 'mnmliconsRegular'
12 src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
13 src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
14 src: url('/web/static/src/font/mnmliconsv21-webfont.ttf') format('truetype')
15 src: url('/web/static/src/font/mnmliconsv21-webfont.svg') format('svg') active
19 @mixin vertical-gradient($startColor: #555, $endColor: #333)
20 background-color: $startColor
21 background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
22 background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
23 background-image: -moz-linear-gradient(top, $startColor, $endColor) /* FF3.6 */
24 background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
25 background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */
26 background-image: linear-gradient(to bottom, $startColor, $endColor)
29 @mixin radial-gradient($gradient)
30 background-position: center center
31 background-image: -webkit-radial-gradient(circle, $gradient)
32 background-image: -moz-radial-gradient($gradient)
33 background-image: -ms-radial-gradient($gradient)
34 background-image: radial-gradient($gradient)
36 @mixin radius($radius: 5px)
37 -moz-border-radius: $radius
38 -webkit-border-radius: $radius
39 border-radius: $radius
41 @mixin box-shadow($bsval: 0px 1px 4px #777)
42 -moz-box-shadow: $bsval
43 -webkit-box-shadow: $bsval
46 @mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
47 -webkit-transition: $transval
48 -moz-transition: $transval
49 -ms-transition: $transval
50 -o-transition: $transval
53 @mixin opacity($opacity: .5)
54 filter: alpha(opacity=$opacity * 100)
57 @mixin background-clip($clip: padding-box)
58 -webkit-background-clip: $clip
59 -moz-background-clip: $clip
60 background-clip: $clip
63 -moz-box-sizing: border-box
64 -webkit-box-sizing: border-box
65 box-sizing: border-box
75 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
89 border-collapse: collapse
92 background-color: #f0f0f0
94 border-right: 1px dotted #afafb6
103 vertical-align: middle
106 .zebra tbody tr:nth-child(odd) td
107 background-color: #f0f0fa
108 @include vertical-gradient(#f0f0fa, #eeeef6)
109 .zebra tbody tr:hover td
110 @include vertical-gradient(#eee, #dedede)
120 list-style-type: none
122 // Generic classes {{{
124 font-family: "mnmliconsRegular" !important
126 font-weight: 300 !important
137 a.button:link, a.button:visited, button, input[type='submit']
138 display: inline-block
139 border: 1px solid #ababab
145 @include vertical-gradient(#efefef, #d8d8d8)
147 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
148 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
149 -webkit-font-smoothing: antialiased
152 a.button:hover, button:hover, input[type='submit']:hover
153 @include vertical-gradient(#f6f6f6, #e3e3e3)
156 a.button:focus, button:focus, input[type='submit']:focus
157 border: 1px solid #80bfff
158 @include vertical-gradient(#f6f6f6, #e3e3e3)
159 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
161 a.button:active, a.button.active, button:active, button.active, input[type='submit']:active, input[type='submit'].active
163 background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f
164 background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f
165 background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f
166 @include box-shadow(none)
168 a.button.disabled, button:disabled, input[type='submit']:disabled
169 background: #efefef !important
170 border: 1px solid #d1d1d1 !important
171 @include box-shadow(none !important)
172 color: #aaa !important
174 text-shadow: 0 1px 1px #fff !important
178 @include vertical-gradient(#dc5f59, #b33630)
179 @include box-shadow(none)
182 @include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%))
183 @include box-shadow(0 0 1px rgba(0,0,0,0.2))
185 button.primary:active
186 @include vertical-gradient(#b33630, #dc5f59)
187 @include box-shadow(none)
192 @include vertical-gradient($colour4, darken($colour4, 3%))
198 @include vertical-gradient(#dc5f59, #b33630)
212 border: 1px solid #900
214 -moz-border-radius-bottomright: 8px
215 -moz-border-radius-bottomleft: 8px
216 border-bottom-right-radius: 8px
217 border-bottom-left-radius: 8px
225 background: url("/web/static/src/img/pattern.png") repeat
230 list-style-type: none
234 display: inline-block
237 border: 1px solid #222
240 @include vertical-gradient(#b92020, #600606)
242 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
245 font-family: "Lucida Grande", Helvetica, Verdana, Arial
246 border: 1px solid #999999
247 background: whitesmoke
248 @include box-shadow(inset 0 1px 4px rgba(0, 0, 0, 0.3))
261 border: solid 1px #333
263 background: rgba(30,30,30,0.94)
264 @include radius(0 0 8px 8px)
274 text-shadow: 0 1px 1px #999999
275 @include vertical-gradient(#b41616, #600606)
280 margin: -160px -166px
281 border: solid 1px #333333
283 background: rgba(30,30,30,0.94)
288 @include box-shadow(0 0 18px rgba(0, 0, 0, 0.9))
309 text-decoration: underline
313 .oe_login_error_message
315 background-color: #b41616
321 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.8))
323 .oe_login_error_message
324 display: inline-block
326 // {{{ DatabaseManager
331 .oe_database_manager_menu
340 // WebClient.fullscreen {{{
341 .oe_content_full_screen
345 .oe_topbar, .oe_leftbar
348 // WebClient.topbar {{{
352 border-top: solid 1px #d3d3d3
353 border-bottom: solid 1px black
354 @include vertical-gradient(#646060, #262626)
367 padding: 5px 10px 7px
372 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
376 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
381 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
390 .oe_dropdown_toggle:after
393 display: inline-block
395 text-indent: -99999px
399 border-left: 4px solid transparent
400 border-right: 4px solid transparent
401 border-top: 4px solid white
402 @include opacity(0.5)
404 // Webclient.leftbar {{{
408 border-right: 1px solid #afafb6
409 text-shadow: 0 1px 1px white
442 list-style-type: none
449 background: rgba(37,37,37,0.9)
461 border-color: rgba(0, 0, 0, 0.2)
463 border-width: 0 1px 1px
464 @include radius(0 0 6px 6px)
465 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
466 @include background-clip()
470 background-color: none
479 @include vertical-gradient(#292929, #191919)
480 @include box-shadow(none)
491 padding: 5px 10px 7px
496 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
500 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
505 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
506 .oe_menu_more_container
511 background-color: #646060
513 border: 1px solid black
514 border-bottom-left-radius: 5px
515 border-bottom-right-radius: 5px
520 .oe_secondary_menu_section
524 .oe_secondary_submenu
528 display: inline-block
531 padding: 1px 0 1px 16px
535 padding: 2px 4px 2px 0
545 border: 1px solid lightGray
546 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
548 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
554 border: 1px solid lightgray
555 padding: 0px 4px 0px 4px
556 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
561 border-top: 1px solid lightGray
562 border-bottom: 1px solid lightGray
563 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
564 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
570 text-shadow: 0 1px 1px white
571 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
575 .oe_menu_toggler:before
578 display: inline-block
580 text-indent: -99999px
585 border-top: 4px solid transparent
586 border-bottom: 4px solid transparent
587 border-left: 4px solid #4c4c4c
588 @include opacity(0.5)
589 .oe_menu_opened:before
593 border-left: 4px solid transparent
594 border-right: 4px solid transparent
595 border-top: 4px solid #4c4c4c
603 text-decoration: underline
605 // Content Header MIT {{{
606 .oe-view-manager-header
607 border-top: 1px solid #cacaca
608 border-bottom: 1px solid #cacaca
609 @include vertical-gradient(#fcfcfc, #dedede)
610 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
633 text-shadow: 0 1px 1px white
634 .dropdown-toggle:after
637 border-top-color: #404040
651 display: inline-block
652 border: 1px solid #ababab
656 border-right: 1px solid #ababab
662 text-decoration: none
665 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
668 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
670 // ViewManager.header {{{
671 .oe_view_manager_header
672 border-top: 1px solid #cacaca
673 border-bottom: 1px solid #cacaca
674 @include vertical-gradient(#fcfcfc, #dedede)
675 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
681 text-shadow: 0 1px 1px white
688 .dropdown-toggle:after
691 border-top-color: #404040
699 display: inline-block
700 border: 1px solid #ababab
704 border-right: 1px solid #ababab
710 text-decoration: none
713 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
716 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
722 .oe_view_manager_buttons
726 .oe_view_manager_sidebar
727 display: inline-block
728 .oe_view_manager_pager
731 // ViewManager.switches {{{
732 .oe_view_manager_switch
742 .oe_vm_switch_calendar,
743 .oe_vm_switch_kanban,
744 .oe_vm_switch_diagram
745 background: url("/web/static/src/img/views-icons-a.png") repeat-x scroll left top transparent
750 background-position: 0px 0px
754 .oe_vm_switch_list, .oe_vm_switch_tree
755 background-position: 0px 0px
756 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
757 background-position: 0px -21px
759 .oe_vm_switch_form, .oe_vm_switch_page
760 background-position: -22px 0px
761 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
762 background-position: -22px -21px
765 background-position: -44px 0px
766 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
767 background-position: -44px -21px
770 background-position: -66px 0px
771 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
772 background-position: -66px -21px
774 .oe_vm_switch_calendar
775 background-position: -88px 0px
776 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
777 background-position: -88px -21px
780 background-position: -110px 0px
781 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
782 background-position: -110px -21px
784 .oe_vm_switch_diagram
785 background-position: 0px 0px
786 &:active, &:hover, &:focus, &.oe_view_manager_switch_selected
787 background-position: 0px -21px
789 .oe_view_manager_header
790 border-top: 1px solid #cacaca
791 border-bottom: 1px solid #cacaca
792 @include vertical-gradient(#fcfcfc, #dedede)
793 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
799 text-shadow: 0 1px 1px white
806 .dropdown-toggle:after
809 border-top-color: #404040
817 display: inline-block
818 border: 1px solid #ababab
822 border-right: 1px solid #ababab
828 text-decoration: none
831 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
834 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
840 .oe_view_manager_switch
842 .oe_view_manager_buttons
846 .oe_view_manager_sidebar
847 display: inline-block
848 .oe_view_manager_pager
852 // ViewManager.sidebar {{{
853 .oe_form_dropdown_section
855 display: inline-block
857 .oe_dropdown_toggle:after
860 display: inline-block
862 text-indent: -99999px
864 border-left: 4px solid transparent
865 border-right: 4px solid transparent
866 border-top: 4px solid white
867 @include opacity(0.5)
870 border-top-color: #404040
877 border: 1px solid #afafb6
883 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
885 list-style-type: none
888 background-color: none
896 text-decoration: none
898 text-decoration: none
899 @include vertical-gradient(#f0f0fa, #eeeef6)
900 @include box-shadow(none)
903 // SearchView xmo {{{
913 //border: 1px solid #ababab
918 //background: url('../img/search.png') no-repeat 5px
919 //background-color: white
920 //@include radius(13px)
921 //@include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
929 margin: 0 40px 0 17px
938 .VS-input-width-tester
945 input, .VS-input-width-tester
953 border: 1px solid $facets-border
959 border-color: $facets-border-selected
960 @include box-shadow(0 0 3px 1px $facets-border-selected)
965 // don't change the icon on selection
966 @include opacity(1.0)
967 background-position: center 0
970 padding: 0 4px 0 14px
973 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
980 .search_facet_input_container
981 border-left: 1px solid $facets-border
1000 padding: 0 7px 0 4px
1006 &.oe_searchview_open_drawer
1007 .oe_searchview_drawer
1010 .oe_searchview_drawer
1015 background-color: white
1018 border: 1px solid #ccc
1020 .oe_searchview_filters
1025 @include unscrew-box
1030 margin: 2px 4px 2px 8px
1031 color: $section-title-color
1046 background-color: #f0f0fa
1048 .oe_searchview_advanced
1050 border-top: 1px solid #ccc
1060 button.oe_add_condition:before
1062 button.oe_apply:before
1078 // FormView.body {{{
1082 input, select, textarea
1083 background-color: #F66 !important
1084 border: 1px solid #D00 !important
1091 border-bottom: 1px solid #cacaca
1092 @include vertical-gradient(#fcfcfc, #dedede)
1109 text-shadow: 0 1px 1px white
1110 border-left: 1px solid #cacaca
1111 border-right: 1px solid #cacaca
1117 border-right: 1px solid #cacaca
1121 border-left: 1px solid #cacaca
1138 .oe_form_steps_active
1143 background: url(/web/static/src/img/form_sheetbg.png)
1145 border-bottom: 1px solid #ddd
1146 .oe_form_sheet_width
1154 border: 1px solid #afafb6
1155 @include box-shadow(0 0 10px rgba(0,0,0,0.3))
1162 // margin-bottom: 4px
1166 // border: 1px solid
1167 // border-color: #e5e5e5 #dbdbdb #d2d2d2
1170 // line-height: 18px
1172 // FormView.label {{{
1176 .oe_form_label_help[for], .oe_form_label[for]
1179 // FormView.binaryfile {{{
1180 /* http://www.quirksmode.org/dom/inputfile.html
1181 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1189 input.oe-binary-file
1194 // Should be adjusted for all browsers
1198 filter: alpha(opacity = 0)
1199 -ms-filter: "alpha(opacity=0)"
1203 // FormView.separator {{{
1204 .oe_horizontal_separator
1206 border: 0 solid #666
1207 border-bottom-width: 1px
1208 margin: 3px 4px 3px 1px
1210 .oe_horizontal_separator:empty
1212 .oe_vertical_separator
1213 border-left: 1px solid #666
1214 padding: 0 4px 0 4px
1216 // FormView.notebook {{{
1222 .oe_form_notebook:before, .oe_form_notebook:after
1226 .oe_form_notebook:after
1228 .oe_form_notebook > li
1230 .oe_form_notebook > li > a
1236 border-width: 0 0 1px
1237 .oe_form_notebook > li
1240 .oe_form_notebook > li > a
1244 border: 1px solid transparent
1245 @include radius(4px 4px 0 0)
1246 .oe_form_notebook > li > a:hover
1247 text-decoration: none
1248 background-color: #eee
1249 border-color: #eee #eee #ddd
1250 .oe_form_notebook > li.ui-state-active > a, .oe_form_notebook > li.ui-state-active > a:hover
1251 background-color: #ffffff
1252 border: 1px solid #ddd
1253 border-bottom-color: transparent
1259 // FormView.progressbar {{{
1261 .oe_form_field_progressbar.ui-progressbar
1264 -moz-box-sizing: border-box
1265 -webkit-box-sizing: border-box
1266 -ms-box-sizing: border-box
1267 box-sizing: border-box
1268 border: 1px solid #999
1269 -moz-border-radius: 3px
1270 -webkit-border-radius: 3px
1281 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1284 .oe-listview-content
1287 border-bottom: 2px solid #cacaca
1290 border-top: 1px solid #cacaca
1291 border-top: 2px solid #cacaca
1292 border-bottom: 1px solid #cacaca
1299 td:first-child, th:first-child
1303 tbody tr:nth-child(odd) td, tbody tr:nth-child(odd) th
1304 background-color: #f0f0fa
1305 @include vertical-gradient(#f0f0fa, #eeeef6)
1306 tbody tr:hover td, tbody tr:hover th
1307 @include vertical-gradient(#eee, #dedede)
1320 //border-width: 0 4px 4px
1321 //border-style: solid
1322 //border-color: #000 transparent
1323 //visibility: hidden
1324 table .sortdown:after, table .sortdown:hover:after
1326 @include opacity(0.6)
1329 border-left: 4px solid transparent
1330 border-right: 4px solid transparent
1331 border-top: 4px solid #000
1333 @include box-shadow(none)
1334 @include opacity(0.6)
1337 .oe_kanban_group_title
1341 text-shadow: 0 1px 0 white
1342 .oe_kanban_column, .oe_kanban_group_header
1345 padding: 6px 7px 6px 6px
1347 border-left: 1px solid #f0f8f8
1348 border-right: 1px solid #b9b9b9
1354 border: 1px solid #d8d8d8
1355 border-bottom-color: #b9b9b9
1359 @include radius(4px)
1363 @include box-shadow(0 0 3px rgba(0,0,0,0.6))
1370 @include radius(3px)
1371 @include box-shadow(0 1px 2px rgba(0,0,0,0.2))
1374 // Debugging stuff {{{
1375 .oe_layout_debugging
1377 border: 2px dashed red
1379 border: 1px solid blue
1381 .oe_layout_debug_cell
1386 .oe_layout_debug_cell
1388 .oe_layout_debug_cell
1395 .oe_debug_view_log label
1402 .oe_debug_view_log span
1409 // Transitional overrides for old styles {{{
1411 .oe_form_field_many2one
1414 span.oe-m2o-drop-down-button
1420 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
1421 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: