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: mix($startColor, $endColor)
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)
129 font: 21px "mnmliconsRegular"
133 @mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
140 font: $size "entypoRegular"
150 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
154 &.openerp_webclient_container
157 //Placeholder style{{{
159 color: $tag-border !important
160 font-style: italic !important
161 \::-webkit-input-placeholder
162 color: $tag-border !important
163 font-style: italic !important
164 \:-ms-input-placeholder
165 color: $tag-border !important
166 font-style: italic !important
170 text-decoration: none
171 cursor: pointer !important
174 border-collapse: collapse
177 background-color: #f0f0f0
179 border-left: 1px solid #dfdfdf
189 vertical-align: middle
203 .zebra tbody tr:nth-child(odd) td
204 background-color: #f0f0fa
205 @include vertical-gradient(#f0f0fa, #eeeef6)
206 .zebra tbody tr:hover td
207 @include vertical-gradient(#eee, #dedede)
208 input, textarea, select
210 border: 1px solid #ccc
214 vertical-align: middle
221 a.button:link, a.button:visited, button, .oe_button, input[type='submit']
222 display: inline-block
223 border: 1px solid rgba(0,0,0,0.4)
229 @include vertical-gradient(#efefef, #d8d8d8)
231 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
232 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
233 -webkit-font-smoothing: antialiased
236 a.button:hover, button:hover,.oe_button:hover, input[type='submit']:hover
237 @include vertical-gradient(#f6f6f6, #e3e3e3)
239 background-position: 0
241 a.button:focus, button:focus, .oe_button:focus, input[type='submit']:focus
242 border: 1px solid #80bfff
243 background-position: 0
244 @include vertical-gradient(#f6f6f6, #e3e3e3)
245 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
247 a.button:active, a.button.active, button:active, .oe_button:active, .oe_button.active, input[type='submit']:active, input[type='submit'].active
248 @include vertical-gradient(#e3e3e3, #f6f6f6)
249 @include box-shadow(none)
251 a.button.disabled, button:disabled, .oe_button:disabled, input[type='submit']:disabled
252 background: #efefef !important
253 border: 1px solid #d1d1d1 !important
254 @include box-shadow(none !important)
255 color: #aaa !important
257 text-shadow: 0 1px 1px #fff !important
259 // Jquery ui Overrides {{{
263 display: inline-block
266 .text-tag .text-button
267 height: auto !important
270 // bug noted in jquery ui CSS doesn't seem to occur in IE9,
271 // so remove position:relative
276 // Generic classes {{{
278 font-family: "mnmliconsRegular" !important
280 font-weight: 300 !important
282 font-family: "entypoRegular" !important
284 font-weight: 300 !important
309 width: auto !important
314 @include vertical-gradient(#df3f3f, #a21a1a)
315 @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
316 button.oe_highlight:hover
317 @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
318 button.oe_highlight:active
319 @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
321 background: #eee !important
324 .oe_highlight_on_dirty
328 button.oe_highlight_on_dirty
329 @include vertical-gradient(#dc5f59, #b33630)
330 @include box-shadow(none)
335 width: 132px !important
338 margin: 0px -1px -1px 0px
340 border: 1px solid #dddddd
346 vertical-align: middle
356 .oe_form_field_percent_pie
358 .oe_form_field_bar_chart
364 vertical-align: middle
365 .oe_stat_button:hover
374 display: inline-table
380 @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
385 .oe_image_small > img
388 .oe_image_medium > img
394 display: inline-block
400 text-decoration: underline
402 .oe_star_on, .oe_star_off
404 text-shadow: 0 0 2px black
408 .oe_star_on:hover, .oe_star_off:hover
409 text-decoration: none
416 // Added for generic error message and customize bootstrap3 <pre>,<hr>
420 -webkit-margin-before: 0.5em
421 -webkit-margin-after: 0.5em
422 -webkit-margin-start: auto
423 -webkit-margin-end: auto
427 // Kanban state (used in form and kanban) {{{
430 display: inline-block
434 @include radial-gradient((#eee 0%, #ccc 40%, #bbb 100%))
435 // +background-image(radial-gradient(45px 45px, #0ff 10px, #1e90ff 30px))
436 .oe_kanban_status_green
438 @include radial-gradient((#55dd55 0%, #44aa44 40%, #339933 100%))
439 .oe_kanban_status_red
441 @include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%))
442 .btn-group.kanban_state
444 margin-right: 4px !important
447 padding-right: 10px !important
448 .dropdown-menu li a, .dropdown-menu li a:hover, .dropdown-menu li a:focus
454 // Tags (for many2many tags, among others) {{{
456 border: 1px solid $tag-border
461 background: $tag-bg-light
464 background: $tag-bg-dark
470 display: inline-block
478 border: 2px solid transparent
479 display: inline-block
492 width: 100% !important
494 width: 100% !important
497 .text-wrap .text-dropdown .text-list .text-suggestion em
499 text-decoration: none
508 .oe_notebook.ui-corner-all
510 .oe_notebook:before, .oe_notebook:after
518 .oe_notebook > li > a
521 .oe_notebook > li.ui-tabs-active > a
526 border-width: 0 0 1px
529 .oe_notebook > li > a
533 border: 1px solid transparent
534 @include radius(4px 4px 0 0)
535 .oe_notebook > li > a:hover
536 text-decoration: none
537 background-color: #eee
538 border-color: #eee #eee #ddd
539 .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active
542 .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
543 background-color: #ffffff
544 border: 1px solid #ddd
545 border-bottom-color: transparent
549 //Customize label weight according bootstrap3
551 font-weight: normal !important
554 padding: 3px 0px 3px 0px
559 .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
565 .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
572 border: 1px solid $tag-border
578 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
581 @include vertical-gradient(#f0f0fa, #eeeef6)
582 @include box-shadow(none)
583 list-style-type: none
593 text-decoration: none
595 text-decoration: none
596 .oe_dropdown_arrow:after
599 display: inline-block
601 text-indent: -99999px
604 //margin-left set at 3px to avoid a strange overflow
606 border-left: 4px solid transparent
607 border-right: 4px solid transparent
608 border-top: 4px solid#404040
609 @include opacity(0.5)
613 .oe_sidebar_add_attachment
620 .oe_hidden_input_file
623 @include vertical-gradient(#f0f0fa, #eeeef6)
624 @include box-shadow(none)
626 .oe_sidebar_delete_item
638 text-shadow: 0 1px 1px white
640 text-decoration: none
643 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
646 .oe_sidebar_delete_item
647 display: inline-block
660 border: 1px solid #900
662 -moz-border-radius-bottomright: 8px
663 -moz-border-radius-bottomleft: 8px
664 border-bottom-right-radius: 8px
665 border-bottom-left-radius: 8px
671 .oe_webclient_timezone_notification
674 text-decoration: underline
682 background-color: #f6cf3b
693 // DatabaseManager {{{
698 .oe_database_manager_menu
707 // WebClient.fullscreen {{{
708 .oe_content_full_screen
712 .oe_topbar, .oe_leftbar
718 .oe_topbar_anonymous_login
719 background-color: #dc5f59
721 @include vertical-gradient(#FC8787, #800000)
724 padding: 5px 10px 7px
727 text-decoration: none
729 background: transparent
730 @include transition(all 0.2s ease-out)
732 background: rgba(0,0,0,0.1)
734 text-shadow: 0px 0px 3px rgba(0,0,0,0.2)
735 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
738 padding: 5px 10px 26px
741 text-decoration: none
744 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
745 @include transition(all 0.2s ease-out)
747 background: rgba(0,0,0,0.2)
748 text-shadow: black 0px 0px 3px
750 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
759 .oe_dropdown_arrow:after
760 border-top: 4px solid white
764 background: rgba(37,37,37,0.9)
766 border-color: rgba(0, 0, 0, 0.2)
768 border-width: 0 2px 1px
769 @include radius(0 0 6px 6px)
770 @include background-clip()
777 @include vertical-gradient(#292929, #191919)
778 @include box-shadow(none)
781 display: inline-block
782 height: 15px // Customize to manage caret when topbar_name is over sized.
783 text-overflow: ellipsis
785 overflow: hidden // Customize to bring ellipsis when topbar_name is over sized.
787 // oe menu is the list of the buttons on the left side of the bar.
788 // So why aren't the buttons oe_topbar_items ? This sad state of affairs
789 // is a leftover from an uncomplete refactoring when the left and top menu
790 // were merged. You are welcome to refactor and clean this up
797 list-style-type: none
805 padding: 5px 10px 26px !important
808 text-decoration: none
809 color: #eee !important
811 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
812 @include transition(all 0.2s ease-out)
814 background: rgba(0,0,0,0.2)
815 text-shadow: black 0px 0px 3px
817 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
819 background: rgba(0,0,0,0.30)
820 text-shadow: black 0px 0px 3px
821 @include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
828 list-style-type: none
840 // Webclient.leftbar {{{
845 border-right: 1px solid $tag-border
867 background: rgba(37,37,37,0.9)
868 @include box-sizing(border)
869 &:hover .oe_logo_edit_admin
877 > div.oe_secondary_menus_container
895 // Webclient.leftbar items {{{
897 .oe_secondary_menu_section
901 .oe_secondary_submenu
902 margin-bottom: 10px !important
908 display: inline-block
909 text-overflow: ellipsis
915 @include transform(scale(1.1))
916 .oe_menu_toggler:before
919 display: inline-block
921 text-indent: -99999px
926 border-top: 4px solid transparent
927 border-bottom: 4px solid transparent
928 border-left: 4px solid #4c4c4c
929 @include opacity(0.5)
930 .oe_menu_opened:before
934 border-left: 4px solid transparent
935 border-right: 4px solid transparent
936 border-top: 4px solid #4c4c4c
937 .oe_secondary_submenu li
942 background-color: white
943 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
944 @include radius(0 0 2px 2px)
948 text-decoration: underline
954 text-shadow: 0 1px 1px #999999
955 @include vertical-gradient(#b41616, #600606)
958 @include radius(0 0 2px 2px)
964 text-decoration: underline
974 > .oe_view_manager_wrapper
980 > .oe_view_manager_body
990 .oe_breadcrumb_item:not(:last-child)
993 text-overflow: ellipsis
994 .oe_breadcrumb_title > *
995 display: inline-block
999 // ViewManager common {{{
1004 .oe_view_manager_view_kanban:not(:empty)
1006 &[data-view-type=kanban]
1007 .oe_view_manager_body
1010 table.oe_view_manager_header
1011 border-collapse: separate
1018 text-shadow: 0 1px 1px white
1019 .oe_header_row:last-child
1022 .oe_header_row:first-child
1025 .oe_view_manager_sidebar
1028 .oe_dropdown_arrow:after
1042 display: inline-block
1043 border: 1px solid #ababab
1044 @include radius(5px)
1047 border-right: 1px solid #ababab
1053 text-decoration: none
1056 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1059 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1060 .oe_view_manager_buttons
1063 // ViewManager.switches {{{
1064 .oe_view_manager_switch
1074 list-style-type: none
1077 .oe_vm_switch_list:after, .oe_vm_switch_tree:after
1080 .oe_vm_switch_form:after
1082 .oe_vm_switch_graph:after
1083 font-family: "mnmliconsRegular" !important
1085 font-weight: 300 !important
1089 .oe_vm_switch_gantt:after
1090 font-family: "mnmliconsRegular" !important
1092 font-weight: 300 !important
1096 .oe_vm_switch_calendar:after
1098 .oe_vm_switch_kanban:after
1100 .oe_vm_switch_diagram:after
1116 display: inline-block
1117 border: 1px solid #ababab
1119 @include radius(5px)
1125 list-style-type: none
1127 border-right: 1px solid #ababab
1134 text-decoration: none
1137 @include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
1140 text-shadow: 0 1px 2px rgba(0,0,0,0.4)
1141 .oe_list_pager.oe_list_pager_single_page .oe_pager_group
1144 // ViewManager application {{{
1145 .oe_view_manager_current
1147 > .oe_view_manager_header
1148 border-bottom: 1px solid #cacaca
1149 @include vertical-gradient(#fcfcfc, #dedede)
1150 @include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
1154 .oe_header_row:first-child
1158 // ViewManager inline {{{
1159 .oe_view_manager_inline, .oe_view_manager_inlineview
1161 > .oe_view_manager_header
1166 .oe_formview .oe_form_pager
1167 display: none !important
1168 // Customize label weight for popup wizard appear from another wizard according bootstrap3
1172 .oe_popup_list_pager
1183 border: 1px solid #ababab
1185 @include radius(13px)
1186 @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
1192 //Customize searchview input, select
1193 input:not([type]), input[type="text"], input[type="number"]
1196 input[type="checkbox"]
1197 margin: 3px 3px 3px 4px
1199 margin: 2px 4px 2px 0
1202 border-color: $tag-border-selected
1203 @include box-shadow(0 1px 2px $tag-border-selected inset)
1204 .oe_searchview_clear
1211 background: url(../img/search_reset.gif) center center no-repeat
1212 .oe_searchview_unfold_drawer
1217 padding: 0 7px 0 4px
1228 display: inline-block
1231 border-top: 5px solid #4C4C4C
1232 border-left: 5px solid transparent
1233 border-right: 5px solid transparent
1236 .oe_searchview_search
1237 @include text-to-icon("r", #a3a3a3)
1238 @include box-shadow(none)
1245 background: transparent
1247 .oe_searchview_facets
1249 margin: 0 35px 0 15px
1252 display: inline-block
1254 .oe_searchview_facet
1259 .oe_searchview_input
1266 .oe_searchview_facet
1270 -webkit-font-smoothing: auto
1271 // spacing for opera, FF
1273 border-color: $tag-border-selected
1274 @include box-shadow(0 0 3px 1px $tag-border-selected)
1276 background: $tag-bg-light
1277 @include radius(0 3px 3px 0)
1278 .oe_facet_category, .oe_facet_value
1282 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1283 .oe_facet_category.oe_i
1286 border-left: 1px solid $tag-border
1287 text-shadow: 0 1px 1px white
1303 text-shadow: 0 1px 1px white
1307 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1308 @include radius(2px)
1314 background-color: white
1315 border: 1px solid black
1320 list-style-type: none
1325 text-shadow: 0 0 0 white
1332 li.oe-selection-focus
1333 background-color: #7c7bad
1338 border-top: 1px solid #afafb6
1339 li.oe-separator:last-child
1343 .oe_searchview_drawer_container
1345 .oe_searchview_drawer
1351 border-bottom: 1px solid $tag-border
1360 li:hover:not(.badge)
1361 background-color: $hover-background
1367 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
1400 display: inline-block
1405 display: inline-block
1407 text-overflow: ellipsis
1408 vertical-align: bottom
1416 margin: 0 0 8px -3px // Managed margin-left according bootstrap3
1417 .oe_searchview_savefilter
1420 .oe_searchview_custom
1435 display: inline-block
1436 span:hover:not(.badge)
1437 background-color: $hover-background
1440 //Customize for searchview label
1444 .oe_searchview_dashboard
1449 .oe_searchview_advanced
1454 button.oe_add_condition:before
1456 font-family: "entypoRegular" !important
1458 font-weight: 300 !important
1468 &:first-child .searchview_extended_prop_or
1471 .searchview_extended_prop_or
1473 margin-left: -14px //Customize 'or' in searchview
1483 .oe_searchview_custom_delete, .searchview_extended_delete_prop
1484 display: inline-block
1493 text-shadow: 0 1px 1px white
1495 text-decoration: none
1498 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1499 @include radius(2px)
1500 .oe_searchview_custom_delete
1505 .oe_searchview_custom_private, .oe_searchview_custom_public
1507 .oe_searchview_custom_delete
1508 display: inline-block
1509 .oe_searchview_custom_public:after
1511 font-family: "entypoRegular" !important
1513 font-weight: 300 !important
1524 .oe_view_nocontent_create
1530 display: inline-block
1536 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1539 .oe_empty_custom_dashboard
1540 background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1542 padding: 100px 0 0 137px
1545 .oe_view.oe_cannot_create
1546 .oe_view_nocontent_create
1549 // FormView.base and dynamic tags {{{
1552 .oe_form_dropdown_section
1554 display: inline-block
1556 input, select, textarea
1557 background-color: #F66 !important
1558 border: 1px solid #D00 !important
1559 .oe_view_manager_current .oe_form_editable
1564 @include vertical-gradient(#efefef, #d8d8d8)
1565 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1566 button.oe_highlight:active
1567 @include vertical-gradient(#e3e3e3, #f6f6f6)
1568 @include box-shadow(none)
1569 button.oe_highlight:hover
1570 @include vertical-gradient(#f6f6f6, #e3e3e3)
1571 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1573 display: none !important
1576 display: none !important
1578 .oe_edit_only, .oe_form_field:empty
1579 display: none !important
1580 .oe_form .oe_form_field_date
1582 .oe_form_field_boolean.boolean
1588 // IE needs a color in order for the layer to respond to mouse events
1589 backgroundColor: "#fff"
1591 // Sheet and padding
1595 margin: -16px -16px 0 -16px
1597 .oe_form_nosheet.oe_form_nomargin
1603 .oe_form_sheet_width
1605 max-width: $sheet-max-width
1613 // Sheet inline mode
1616 background: url(/web/static/src/img/form_sheetbg.png)
1617 border-bottom: 1px solid #ddd
1618 // Customize font weight according bootstrap3
1619 .oe_subtotal_footer label
1625 border: 1px solid #c8c8d3 //$tag-border
1626 @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1632 // FormView.header {{{
1633 .oe_form > :not(.oe_form_nosheet) header
1635 ul:not(.oe_tooltip_technical):not(.oe_dropdown_menu)
1636 display: inline-block
1644 border-bottom: 1px solid #cacaca
1646 @include vertical-gradient(#fcfcfc, #dedede)
1651 // FormView.custom tags and classes {{{
1659 box-sizing: border-box
1660 min-width: $sheet-min-width + 2* $sheet-padding
1661 max-width: $sheet-max-width + 2* $sheet-padding
1663 padding: 16px 16px 48px
1664 div.oe_form_configuration
1670 .oe_form_group_cell_label
1672 .oe_form_group_cell div div
1675 width: 1% !important
1676 td.oe_form_group_cell
1678 padding: 0 !important
1679 td.oe_form_group_cell_label
1681 .oe_subtotal_footer_separator
1683 border-top: 1px solid #cacaca
1690 label.oe_subtotal_footer_separator
1691 font-weight: bold !important
1692 padding: 2px 11px 2px 0px !important
1693 label.oe_form_label_help
1694 font-weight: normal !important
1697 border-bottom: 1px solid #cb6
1701 .oe_form_box_warning
1703 border-bottom: 1px solid #900
1711 // FormView.group {{{
1715 td.oe_form_group_cell_label
1716 border-right: 1px solid #ddd
1722 font-weight: bold !important
1723 td.oe_form_group_cell + .oe_form_group_cell
1724 padding: 2px 0 2px 8px
1728 .oe_form_group_cell.oe_group_right
1731 // FormView.label {{{
1733 .oe_form_label_help[for], .oe_form_label[for]
1744 // FormView.separator {{{
1745 .oe_horizontal_border
1746 border-bottom: 1px solid black
1747 .oe_horizontal_separator
1750 margin: 15px 0px 10px 0px
1751 color: $section-title-color
1752 .oe_horizontal_separator:empty
1754 .oe_vertical_separator
1755 border-left: 1px solid #666
1756 padding: 0 4px 0 4px
1758 // FormView.progressbar {{{
1759 .oe_form_field_progressbar
1760 display: inline-block
1762 .oe_form_field_progressbar.ui-progressbar
1765 @include box-sizing(border)
1766 border: 1px solid #999
1767 @include radius(3px)
1775 background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1777 // FormView.fields {{{
1781 .oe_form_text_content
1782 text-overflow: ellipsis
1783 display: inline-block
1784 white-space: pre-wrap
1787 .oe_form_field_char input,
1788 .oe_form_field_url input,
1789 .oe_form_field_email input,
1790 .oe_form_field_text textarea,
1791 .oe_form_field_selection select
1793 .oe_notebook_page .oe_form_field_text textarea
1795 .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1797 h1, h2, h3, h4, h5, h6
1800 height: inherit !important
1802 // Customize for formview
1815 display: inline-block
1816 padding: 2px 2px 2px 0px
1820 input[type="text"], input[type="password"], input[type="file"], select
1823 input[type="text"], input[type="password"], input[type="file"], select, textarea
1824 @include box-sizing(border)
1828 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
1829 input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1830 background: #E5E5E5 !important
1835 @include box-shadow(none)
1836 @include radius(0px)
1838 textarea.oe_inline[disabled]
1839 border-left: 8px solid #eee
1840 .oe_form_field_url button img
1842 .oe_form_field_monetary,
1843 .oe_form_field_date,
1844 .oe_form_field_datetime
1846 .oe_form_field_boolean
1848 .oe_datepicker_container
1851 display: inline-block
1853 input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1854 background-color: #D2D2FF !important
1856 input, select, textarea
1857 background-color: #F66 !important
1858 border: 1px solid #D00 !important
1861 margin: 3px 0 0 -21px
1863 .oe_input_icon_disabled
1867 filter: alpha(opacity=50)
1870 .oe_form_field_with_button.oe_no_button > .oe_button
1872 .oe_form_field_with_button:not(.oe_no_button)
1876 border-bottom-left-radius: 0px
1878 .oe_form_field_with_button
1884 .oe_form_embedded_html
1890 .oe_form_field_html .oe_input_icon
1896 .oe_form_field_integer input
1898 .oe_form_field_float input
1900 .oe_form_field_date input
1902 .oe_form_field_datetime input
1905 // FormView.fields_binary {{{
1906 /* http://www.quirksmode.org/dom/inputfile.html
1907 * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1909 .oe_hidden_input_file
1910 // Position: relative is used for the hidden input[type=file]
1911 // Do not remove it anymore !
1913 input.oe_form_binary_file
1922 filter: alpha(opacity = 0)
1923 -ms-filter: "alpha(opacity=0)"
1927 .oe_form_field_binary
1928 display: inline-block
1929 .oe_form_field_image
1932 display: inline-block
1935 .oe_form_field_image_controls
1943 background: rgba(37,37,37,0.9)
1944 @include radius(3px 3px 0 0)
1945 @include box-sizing(border)
1946 &:hover .oe_form_field_image_controls
1949 display: inline-block
1952 margin-bottom: -15px
1958 margin: 9px 0 /* Customize margin according bootstrap3 */
1965 vertical-align: middle
1968 background: transparent
1977 input.oe_form_binary_file
1978 display: inline-block
1992 border: solid 1px rgba(124,123,173,0.14)
2001 text-decoration: none
2002 .oe_attachment:nth-child(odd)
2004 .oe_attachment:nth-child(even)
2007 // FormView.many2one {{{
2008 .oe_form_field_many2one
2009 display: inline-block
2012 span.oe_m2o_drop_down_button
2023 li.oe_m2o_dropdown_option a
2026 li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
2029 // FormView.fieldstatus {{{
2030 ul.oe_form_status, ul.oe_form_status_clickable
2031 display: inline-block
2035 display: inline-block
2036 list-style-type: none
2037 // It is probably a bad idea to modify this margin
2040 @include vertical-gradient(#fcfcfc, #dedede)
2041 &:first-child > .label
2042 border-left: 1px solid #cacaca
2045 border-right: 1px solid #cacaca
2052 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
2054 display: inline-block
2058 // Customize for statusbar label
2066 display: inline-block
2074 display: inline-block
2077 box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
2078 @include skew-gradient(#fcfcfc, #dedede)
2079 @include radius(3px)
2080 @include transform(rotate(45deg))
2094 @include vertical-gradient(#729fcf, #3465a4)
2096 @include skew-gradient(#729fcf, #3465a4)
2099 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
2100 ul.oe_form_status_clickable
2104 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2106 text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
2108 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
2113 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2115 text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
2117 @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
2119 // FormView.one2many {{{
2120 .oe_form .oe_form_field_one2many > .oe_view_manager
2121 .oe_list_pager_single_page
2123 .oe_form_field_one2many,.oe_form_field_many2many
2124 // TODO: oe_form_field_one2many_list?
2126 .oe_list_pager_single_page
2127 display: none !important
2128 .oe_view_manager_view_list
2131 .oe_form_field_one2many_list_row_add
2138 background: transparent
2139 .oe_list .oe_list_edit_row_save
2140 background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
2147 .oe_view_manager_header2
2159 .oe_list_buttons.oe_editing .oe_list_save
2160 // keep "save row" button hidden in o2m
2166 background-color: #d2d2ff
2168 background-color: #eee
2171 .oe_list_editable .oe_list_content td.oe_list_field_cell
2172 padding: 4px 6px 3px
2173 .oe_list.oe_list_editable.oe_editing
2174 .oe_edition .oe_list_field_cell
2179 .oe_m2o_drop_down_button
2186 &.oe_list_field_handle
2189 padding: 4px 6px 3px
2196 border: 1px solid #aaf
2198 input, textarea, select
2200 &.oe_form_field_float,&.oe_form_view_integer
2202 padding: 6px 0px 0px
2206 width: 100% !important
2208 &.oe_form_field_datetime,&.oe_form_field_date
2209 input.oe_datepicker_master
2210 width: 100% !important
2211 &.oe_form_field_reference
2216 // FormView.many2many {{{
2217 .oe_form .oe_form_field_many2many > .oe_list
2218 .oe_list_pager_single_page
2225 .oe_list_save, .oe_list_discard
2231 display: inline-block
2239 .oe_list_header_handle, .oe_list_field_handle
2240 display: none !important
2241 padding: 0 !important
2243 .oe_list_record_delete
2244 display: none !important
2248 margin: 0 // FIXME: either class or border should not be by default
2254 margin: 0 !important // dammit
2256 .oe_form_field_boolean input
2257 margin: 1px 0 0 10px !important
2258 .oe_list_content .oe_group_header
2259 @include vertical-gradient(#fcfcfc, #dedede)
2263 td:first-child, th:first-child
2267 text-align: right !important
2269 td.oe_list_field_date, th.oe_list_header_date
2272 border-bottom: 2px solid #cacaca
2278 th.oe_sortable, th.oe_sortable div
2282 th.oe_sortable div:after
2286 border-width: 0 4px 4px
2288 border-color: #000 transparent
2293 @include opacity(0.6)
2294 .oe_list_header_many2many_tags
2296 th.sortdown div:after
2299 border-left: 4px solid transparent
2300 border-right: 4px solid transparent
2301 border-top: 4px solid #000
2303 @include box-shadow(none)
2304 @include opacity(0.6)
2309 border-top: 1px solid #ddd
2310 > td.oe_list_field_cell
2312 white-space: pre-line
2316 background: transparent
2319 border: 1px solid rgba(0,0,0,0.4)
2322 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2326 > td.oe_list_field_boolean input
2329 background-color: #f0f0fa
2330 @include vertical-gradient(#f0f0fa, #eeeef6)
2333 border-top: 2px solid #cacaca
2334 border-bottom: 1px solid #cacaca
2344 th.oe_list_header_handle
2347 text-indent: -9001px
2348 td.oe_list_field_handle
2350 padding: 0 !important
2353 @include text-to-entypo-icon("}",#E0E0E0,18px)
2355 .oe_list_field_progressbar progress
2360 background-color: #f0f0f0
2361 border-bottom: 1px solid #cacaca
2371 background-color: white
2377 background-color: #f0f0f0
2378 border-bottom: 2px solid #cacaca
2382 vertical-align: middle
2384 vertical-align: middle
2388 border-right: 1px solid #e7e7e7
2391 text-align: right !important
2393 border-bottom: 1px solid #d6d6d6
2395 background-color: #e7e7e7
2401 .treeview-tr.oe-treeview-first
2402 background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2403 .oe_open .treeview-tr.oe-treeview-first
2404 background-image: url(/web/static/src/img/collapse.gif)
2405 .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2408 // Debugging stuff {{{
2409 .oe_layout_debugging
2411 outline: 2px dashed green
2413 outline: 1px solid blue
2414 .oe_form_group:hover, .oe_form_group_cell:hover
2416 .oe_form_group_row_incomplete > td:last-child:after
2417 content: "[Incomplete Row]"
2423 .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2424 content: "[newline]"
2431 // Bootstrap HACKS {{{
2438 background-color: #414141
2439 @include vertical-gradient(#646060, #262626)
2444 background: rgba(0, 0, 0, 0.3)
2445 .open > a,a:hover,a:focus
2446 background: rgba(0, 0, 0, 0.3) !important
2447 .dropdown > a .caret
2448 border-top-color: #777 !important
2449 border-bottom-color: #777 !important
2453 padding: 4px 32px 4px 12px
2454 .oe_navbar .dropdown-menu
2457 background: #333333 !important
2458 background: rgba(37, 37, 37, 0.9) !important
2459 border-color: #999999
2460 border-color: rgba(0, 0, 0, 0.2)
2461 background-color: #414141
2463 @include vertical-gradient(#646060, #262626)
2464 @include radius(3px)
2469 // Minimized unused white space and label weight for wizard popup
2470 .oe_view_manager_new .oe_form_nosheet
2475 // Customize bootstrap3 for leftbar
2478 padding: 3px 4px 2px 18px
2480 nav-pills.nav-stacked > li > ul
2482 .nav-pills > li.active,a.list-group-item.active
2484 background-color: #7c7bad
2488 background-color: #7c7bad
2490 background-color: white
2496 background-color: #7c7bad
2498 // Customize for global tags
2508 -webkit-margin-before: 1em
2509 -webkit-margin-after: 1em
2510 -webkit-margin-start: 0px
2511 -webkit-margin-end: 0px
2513 background-color: #FFFFFF
2515 padding: 10px 0 3px 0
2519 // Customize for chatter
2523 .oe_form .oe_subtype label, .oe_subtype label
2525 .oe_msg_subtype_check
2526 margin: 3px 3px 0 !important
2528 // Customize for kanban tooltip
2530 height: auto !important
2531 width: auto !important
2534 @-moz-document url-prefix()
2536 .oe_searchview .oe_searchview_search
2538 .oe_form_field_many2one .oe_m2o_cm_button
2541 .oe_star_on, .oe_star_off
2545 .kitten-mode-activated
2546 background-size: cover
2547 background-attachment: fixed
2551 @include radius(15px)
2552 @include box-shadow(0 0 5px 5px #999)
2555 // jQueryUI top level {{{
2556 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2557 div.ui-widget-overlay
2559 @include opacity(0.3)
2560 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2561 // eg: $el.autocomplete().openerpClass();
2563 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2569 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2571 border: 1px solid $tag-border
2581 .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2582 background: $tag-bg-dark
2584 //@include vertical-gradient(#f0f0fa, #eeeef6)
2587 @include radius(3px)
2593 padding-bottom: 10px !important
2595 // Server side single forms {{{
2596 @mixin single-form($width: 400px)
2602 /* Set margins to offset 50% of the w/h */
2603 margin-top: -($width / 2)
2604 margin-left: -($width / 2)
2607 background: #eee url(/web/static/src/img/form_sheetbg.png)
2610 .oe_single_form_logo
2615 .oe_single_form_footer
2622 .oe_single_form_container
2623 @include single-form(400px)
2627 // Internet Explorer 9+ specifics {{{
2630 color: $tag-border !important
2631 font-style: italic !important
2632 .oe_form_binary_file
2634 .oe_form_field_boolean input
2636 .db_option_table .oe_form_field_selection
2638 input[type='checkbox']
2649 .oe_view_manager_view_kanban
2651 .oe_view_manager_buttons
2652 button.oe_write_full
2658 button .oe_form_button_edit
2661 button .oe_form_button_create
2676 .oe_kanban_show_more
2679 &.oe_kanban_grouped .oe_kanban_show_more .oe_button
2683 .oe_form_buttons button
2694 .oe_form_buttons, .oe_view_manager_buttons
2700 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
2701 .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
2702 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
2704 width: 99% !important
2706 white-space: normal !important
2707 ul.oe_form_status, ul.oe_form_status_clickable
2709 display: inline-block
2713 border-right: 1px solid #cacaca
2718 display: inline-block
2720 filter: alpha(opacity = 0)
2725 border-bottom: 1px solid #cacaca
2726 background: transparent
2729 background-color: #eeeeee !important
2732 border-bottom: 1px solid #729fcf
2734 background-color: #729fcf !important
2737 height: auto !important
2743 .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
2744 // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2745 display: none !important
2747 button, input[type=checkbox]
2749 .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
2752 &.oe_m2o_cm_button, &.oe_e
2755 .oe_form_field_date img, .oe_form_field_datetime img
2757 .oe_notebook > li.ui-tabs-selected
2760 .oe_form_sheet, .oe_form_sheetbg
2761 border: 0px !important
2762 box-shadow: 0px 0px 0px
2765 .oe_view_manager_current > .oe_view_manager_header
2766 border: 0px !important
2767 box-shadow: 0px 0px 0px
2769 .text-core .text-wrap .text-arrow
2771 .openerp div.oe_mail_wall
2772 overflow: hidden !important
2777 // Customize bootstrap3 for tooltip
2781 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2785 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
2786 background-color: transparent
2788 text-align: left !important
2795 white-space: pre-wrap
2796 .oe_tooltip_technical
2798 margin: 5px 0 0 15px
2801 .oe_tooltip_technical_title
2804 margin: -5px 0 0 2px
2814 // Hack for ui icon {{{
2820 // Customized modal according bootstrap3
2822 .modal-header button.close
2832 .oe_act_window.modal-body
2836 z-index: 1500 !important
2838 input[type="radio"], input[type="checkbox"]
2842 .blockUI.blockOverlay
2843 background-color: black
2844 opacity: 0.6000000238418579
2846 /* ---- EDITOR TOUR ---- {{{ */
2857 *[data-role="next"],*[data-role="end"]
2868 background-color: #000
2876 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2877 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: