5bbbc6bdf2e3ad9c9bbc256c89e35008b432b68d
[odoo/odoo.git] / addons / web / static / src / css / base.sass
1 @charset "utf-8"
2
3 // Variables {{{
4 $facets-border: #afafb6
5 $section-title-color: #7C7BAD
6 $tag-bg-light: #f0f0fa
7 $tag-bg-dark: #7C7BAD
8 $tag-border: #afafb6
9 $tag-border-selected: #a6a6fe
10 $hover-background: #f0f0fa
11 $link-color: #7C7BAD
12 $sheet-max-width: 860px
13 $sheet-min-width: 650px
14 $sheet-padding: 16px
15 // }}}
16 // Mixins {{{
17 @font-face
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
23     font-weight: normal
24     font-style: normal
25
26 @font-face
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
33     font-weight: normal
34     font-style: normal
35
36 @mixin reset()
37     border: none
38     padding: 0
39     margin: 0
40     background: none
41     @include radius(0)
42     @include box-shadow(none)
43
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)
52
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(circle, $gradient)
59
60 @mixin radius($radius: 5px)
61     -moz-border-radius: $radius
62     -webkit-border-radius: $radius
63     border-radius: $radius
64
65 @mixin box-shadow($bsval: 0px 1px 4px #777)
66     -moz-box-shadow: $bsval
67     -webkit-box-shadow: $bsval
68     box-shadow: $bsval
69
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
75     transition: $transval
76
77 @mixin opacity($opacity: .5)
78     filter: alpha(opacity=$opacity * 100)
79     opacity: $opacity
80
81 @mixin background-clip($clip: padding-box)
82     -webkit-background-clip: $clip
83     -moz-background-clip: $clip
84     background-clip: $clip
85
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
92
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 */
99
100 @mixin transform($transform)
101     -webkit-transform: $transform
102     -moz-transform: $transform
103     -ms-transform: $transform
104     -o-transform: $transform
105     transform: $transform
106
107 @mixin keyframes($name)
108     @-webkit-keyframes #{$name}
109         @content
110     @-moz-keyframes #{$name}
111         @content
112     @-ms-keyframes #{$name}
113         @content
114     @-o-keyframes #{$name}
115         @content
116     @keyframes #{$name}
117         @content
118
119
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)
123     font-size: 1px
124     letter-spacing: -1px
125     color: transparent
126     text-shadow: none
127     font-weight: normal
128     &:before
129         font: 21px "mnmliconsRegular"
130         content: $icon-name
131         color: $color
132
133 @mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
134     font-size: 1px
135     letter-spacing: -1px
136     color: transparent
137     text-shadow: none
138     font-weight: normal
139     &:before
140         font: $size "entypoRegular"
141         content: $icon-name
142         color: $color
143
144 // }}}
145
146 #oe_main_menu_navbar
147     min-height: 34px
148     z-index: 1001
149     border-radius: 0
150     li a, li button
151         padding: 4px 8px 4px 8px
152         margin-top: 2px
153         font-size: 13px
154     .oe_topbar_avatar
155         max-height: 18px
156         width: auto
157         
158 #oe_main_menu_navbar.navbar
159     margin-bottom: 0px
160
161 .oe_systray
162     margin-right: 0px !important
163
164 // Notifications {{{
165 .oe_notification
166     z-index: 1600
167     
168 .oe_webclient_timezone_notification
169     a
170         color: white
171         text-decoration: underline
172     p
173         margin-top: 1em
174     dt
175         font-weight: bold
176 .oe_timezone_systray
177     span
178         margin-top: 1px
179         background-color: #f6cf3b
180 // }}}
181 // Top Menu {{{
182 .navbar
183     .oe_topbar_name
184         max-width: 150px
185         display: inline-block
186         height: 15px // Customize to manage caret when topbar_name is over sized.
187         text-overflow: ellipsis
188         white-space: nowrap
189         overflow: hidden // Customize to bring ellipsis when topbar_name is over sized.
190 // }}}
191
192 .openerp
193     // Global style {{{
194     padding: 0
195     margin: 0
196     font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
197     color: #4c4c4c
198     font-size: 13px
199     background: white
200     &.openerp_webclient_container
201         height: 95%
202         height: -webkit-calc(100% - 34px)
203         height: calc(100% - 34px)
204         display: -ms-flexbox
205         display: -webkit-flex
206         display: flex
207     @media (max-width: 768px)
208         &.openerp_webclient_container
209             height: 95%
210             height: -webkit-calc(100% - 52px)
211             height: calc(100% - 52px)
212     // }}}
213     //Placeholder style{{{
214     \:-moz-placeholder
215         color: $tag-border !important
216         font-style: italic !important
217     \::-webkit-input-placeholder
218         color: $tag-border !important
219         font-style: italic !important
220     \:-ms-input-placeholder
221         color: $tag-border !important
222         font-style: italic !important
223     //}}}
224     // Tag reset {{{
225     a
226         text-decoration: none
227         cursor: pointer !important
228     table
229         padding: 0
230         border-collapse: collapse
231     thead
232         font-weight: bold
233         background-color: #f0f0f0
234         th
235             border-left: 1px solid #dfdfdf
236             &:first-child
237                 border-left: none
238             &.null
239                 border-left: none
240     th, td
241         padding: 0
242         text-align: left
243     th
244         font-weight: bold
245         vertical-align: middle
246     td
247         vertical-align: top
248     .oe_title
249         float: left
250     .oe_title:after
251         content: "."
252         display: block
253         height: 0
254         clear: both
255         visibility: hidden    
256     .oe_form_group
257         clear: both
258     .zebra tbody tr:nth-child(odd) td
259         background-color: #f0f0fa
260         @include vertical-gradient(#f0f0fa, #eeeef6)
261     .zebra tbody tr:hover td
262         @include vertical-gradient(#eee, #dedede)
263     input, textarea, select
264         padding: 2px 4px
265         border: 1px solid #ccc
266         @include radius(3px)
267         background: white
268     img
269         vertical-align: middle
270     h4
271         margin: 4px 0
272         font-weight: bold
273         font-size: inherit
274     // }}}
275     // Button style {{{
276     a.button:link, a.button:visited, .oe_button, input[type='submit']
277         display: inline-block
278         border: 1px solid rgba(0,0,0,0.4)
279         color: #4c4c4c
280         margin: 0
281         padding: 3px 12px
282         font-size: 13px
283         text-align: center
284         @include vertical-gradient(#efefef, #d8d8d8)
285         @include radius(3px)
286         @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
287         text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
288         -webkit-font-smoothing: antialiased
289         outline: none
290
291     a.button:hover,.oe_button:hover, input[type='submit']:hover
292         @include vertical-gradient(#f6f6f6, #e3e3e3)
293         cursor: pointer
294         background-position: 0
295
296     a.button:focus, .oe_button:focus, input[type='submit']:focus
297         border: 1px solid #80bfff
298         background-position: 0
299         @include vertical-gradient(#f6f6f6, #e3e3e3)
300         @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
301
302     a.button:active, a.button.active, .oe_button:active, .oe_button.active, input[type='submit']:active, input[type='submit'].active
303         @include vertical-gradient(#e3e3e3, #f6f6f6)
304         @include box-shadow(none)
305
306     a.button.disabled, .oe_button:disabled, input[type='submit']:disabled
307         background: #efefef !important
308         border: 1px solid #d1d1d1 !important
309         @include box-shadow(none !important)
310         color: #aaa !important
311         cursor: default
312         text-shadow: 0 1px 1px #fff !important
313     // }}}
314     // Jquery ui Overrides {{{
315     .ui-widget-content a
316         color: $link-color
317     .oe_bounce_container
318         display: inline-block
319
320     // Bug lp:1051746
321     .text-tag .text-button
322         height: auto !important
323         min-height: 16px
324
325     // bug noted in jquery ui CSS doesn't seem to occur in IE9,
326     // so remove position:relative
327     .ui-tabs
328         position: static
329
330     // }}}
331     // Generic classes {{{
332     .oe_i
333         font-family: "mnmliconsRegular" !important
334         font-size: 21px
335         font-weight: 300 !important
336     .oe_e
337         font-family: "entypoRegular" !important
338         font-size: 34px
339         font-weight: 300 !important
340         line-height: 100%
341     .oe_left
342         float: left
343         margin-right: 8px
344         width: 305px
345     .oe_right
346         float: right
347         margin-left: 8px
348     .oe_text_center
349         text-align: center
350     .oe_text_left
351         text-align: left
352     .oe_text_right
353         text-align: right
354     .oe_clear
355         clear: both
356     .oe_wait
357         cursor: wait
358     .oe_fade
359         color: #888
360         font-weight: normal
361     .oe_bold
362         font-weight: bold
363     .oe_inline
364         width: auto !important
365     .oe_highlight
366         color: white
367         background: #DC5F59
368     button.oe_highlight
369         @include vertical-gradient(#df3f3f, #a21a1a)
370         @include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
371     button.oe_highlight:hover
372         @include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
373     button.oe_highlight:active
374         @include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
375     .oe_background_grey
376         background: #eee !important
377
378     .oe_form_dirty
379         .oe_highlight_on_dirty
380             color: white
381             background: #dc5f59
382             font-weight: bold
383         button.oe_highlight_on_dirty
384             @include vertical-gradient(#dc5f59, #b33630)
385             @include box-shadow(none)
386             &:hover
387                 background: #ED6F6A
388     .oe_warning_redirect
389         border: none !important
390         padding: 0 !important
391         margin-left: 20px !important
392         background: #f5f7f9 !important
393         box-shadow: none !important
394         &:hover
395             text-decoration: underline !important
396     .oe_stat_button
397         font-weight: normal
398         width: 132px !important
399         height: 40px
400         color: #666
401         margin: 0px -1px -1px 0px
402         padding: 0
403         border: 1px solid #dddddd
404         border-radius: 0
405         box-shadow: none
406         background: white
407         > div
408             display: table-cell
409             vertical-align: middle
410             text-align: left
411             padding: 0
412             line-height: 120%
413         .stat_button_icon
414             color: #7C7BAD
415             font-size: 24px
416             padding: 0px 3px
417             width: 37px
418             text-align: center
419         .oe_form_field_percent_pie
420             width: 42px
421         .oe_form_field_bar_chart
422             width: 42px
423         svg
424             width: 38px
425             height: 38px
426             display: inline
427             vertical-align: middle
428     .oe_stat_button:hover
429         background: #7c7bad
430         color: white
431         .fa
432             color: white
433     .oe_button_box
434         width: 400px
435         text-align: right
436         .oe_stat_button
437             display: inline-table
438     .oe_avatar
439         > img
440             max-height: 90px
441             max-width: 90px
442             @include radius(3px)
443             @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
444             border: none
445             margin-bottom: 10px
446     .oe_avatar + div
447         margin-left: 5px
448     .oe_image_small > img
449         max-width: 50px
450         max-height: 50px
451     .oe_image_medium > img
452         max-width: 180px
453         max-height: 180px
454     .oe_button.oe_link
455         @include reset()
456         img
457             display: inline-block
458         span
459             @include reset()
460             color: $link-color
461             font-weight: bold
462             &:hover
463                 text-decoration: underline
464     .oe_star_on, .oe_star_off
465         color: #cccccc
466         text-shadow: 0 0 2px black
467         vertical-align: top
468         position: relative
469         top: -8px
470     .oe_star_on:hover, .oe_star_off:hover
471         text-decoration: none
472     .oe_star_on
473         color: gold
474     p.oe_grey
475         max-width: 650px
476     .oe_grey
477         color: #aaa
478     // Added for generic error message and customize bootstrap3 <pre>,<hr>
479     .oe_error_detail 
480         hr
481             display: block
482             -webkit-margin-before: 0.5em
483             -webkit-margin-after: 0.5em
484             -webkit-margin-start: auto
485             -webkit-margin-end: auto
486             border-style: inset
487             border-width: 1px
488     // }}}
489     // Kanban state (used in form and kanban) {{{
490     .oe_kanban_status
491         position: relative
492         display: inline-block
493         height: 12px
494         width: 12px
495         @include radius(6px)
496         @include radial-gradient((#eee 0%, #ccc 40%, #bbb 100%))
497         // +background-image(radial-gradient(45px 45px, #0ff 10px, #1e90ff 30px))
498     .oe_kanban_status_green
499         background: green
500         @include radial-gradient((#55dd55 0%, #44aa44 40%, #339933 100%))
501     .oe_kanban_status_red
502         background: red
503         @include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%))
504     .btn-group.kanban_state
505         padding-top: 8px
506         margin-right: 4px !important
507         a
508             color: #333333
509     // }}}
510     // Tags (for many2many tags, among others) {{{
511     .oe_tag
512         border: 1px solid $tag-border
513         font-size: 11px
514         padding: 2px 4px
515         margin: 0 2px 2px 0
516         @include radius(3px)
517         background: $tag-bg-light
518         color: #4C4C4C
519     .oe_tag_dark
520         background: $tag-bg-dark
521         color: #eee
522     .oe_form_field_radio
523         &.oe_horizontal
524             white-space: nowrap
525             label
526                 display: inline-block
527                 text-align: center
528                 height: 16px
529         &.oe_vertical
530             label
531                 display: inline-block
532                 margin-left: 20px
533         .oe_radio_input
534             border: 2px solid transparent
535             display: inline-block
536             height: 12px
537             width: 12px
538             vertical-align: top
539             border-radius: 10px
540             margin: 1px 0
541             position: absolute
542         &.oe_form_required.oe_form_invalid .oe_radio_input
543             border-color: red
544     .oe_tags
545         &.oe_inline
546             min-width: 250px
547         .text-wrap
548             width: 100% !important
549             textarea
550                 width: 100% !important
551         .text-core
552             min-height: 22px
553             .text-wrap .text-dropdown .text-list .text-suggestion em
554                 font-style: italic
555                 text-decoration: none
556         margin-bottom: 1px
557     // }}}
558     // Notebook {{{
559     .oe_notebook
560         margin: 8px 0
561         padding: 0 16px
562         list-style: none
563         zoom: 1
564     .oe_notebook.ui-corner-all
565         @include radius(0)
566     .oe_notebook:before, .oe_notebook:after
567         display: table
568         content: ""
569         zoom: 1
570     .oe_notebook:after
571         clear: both
572     .oe_notebook > li
573         float: left
574     .oe_notebook > li > a
575         display: block
576         color: #808080
577     .oe_notebook > li.ui-tabs-active > a
578         color: #4c4c4c
579     .oe_notebook
580         border-color: #ddd
581         border-style: solid
582         border-width: 0 0 1px
583     .oe_notebook > li
584         position: relative
585     .oe_notebook > li > a
586         padding: 0 12px
587         margin-right: 2px
588         line-height: 30px
589         border: 1px solid transparent
590         @include radius(4px 4px 0 0)
591     .oe_notebook > li > a:hover
592         text-decoration: none
593         background-color: #eee
594         border-color: #eee #eee #ddd
595     .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active
596         border-bottom: none
597         padding-bottom: 1px
598     .oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
599         background-color: #ffffff
600         border: 1px solid #ddd
601         border-bottom-color: transparent
602         cursor: default
603     .oe_notebook_page
604         padding: 0
605         //Customize label weight according bootstrap3
606         > label:not([for])
607             font-weight: normal !important
608         // End of customize 
609     div.ui-tabs
610         padding: 3px 0px 3px 0px
611     .ui-tabs-hide
612         display: none
613     // }}}
614     // Dropdown {{{
615     .oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
616         position: relative
617         cursor: pointer
618     .oe_dropdown_toggle
619         color: #2B2B2B
620         font-weight: normal
621     .oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
622         display: block
623     .oe_dropdown_menu
624         display: none
625         position: absolute
626         z-index: 3
627         margin: 0
628         border: 1px solid $tag-border
629         background: white
630         padding: 4px 0
631         min-width: 140px
632         text-align: left
633         @include radius(3px)
634         @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
635         > li
636             &:hover
637                 @include vertical-gradient(#f0f0fa, #eeeef6)
638                 @include box-shadow(none)
639             list-style-type: none
640             float: none
641             display: block
642             position: relative
643             margin: 0
644             padding: 2px 8px
645             > a
646                 white-space: nowrap
647                 display: block
648                 color: #4c4c4c
649                 text-decoration: none
650                 &:hover
651                     text-decoration: none
652     .oe_dropdown_arrow:after
653         vertical-align: top
654         margin-top: 8px
655         //margin-left set at 3px to avoid a strange overflow
656         margin-left: 3px
657         border-left: 4px solid transparent
658         border-right: 4px solid transparent
659         border-top: 4px solid#404040
660         @include opacity(0.5)
661     // }}}
662     // Loading {{{
663     .oe_loading
664         display: none
665         z-index: 1001
666         position: fixed
667         top: 0
668         right: 50%
669         padding: 4px 12px
670         background: #A61300
671         color: white
672         text-align: center
673         border: 1px solid #900
674         border-top: none
675         -moz-border-radius-bottomright: 8px
676         -moz-border-radius-bottomleft: 8px
677         border-bottom-right-radius: 8px
678         border-bottom-left-radius: 8px
679     // }}}
680     // CrashManager {{{
681     .oe_dialog_warning
682         width: 100%
683         p
684             text-align: center
685     .oe_dialog_icon
686         padding: 5px
687         width: 32px
688     // }}}
689     // DatabaseManager {{{
690     .oe_database_manager
691         background: #fff
692         color: #000
693         text-align: left
694         .oe_database_manager_menu
695             color: #000
696     // }}}
697     // WebClient.fullscreen {{{
698     .oe_content_full_screen
699         .oe_application
700             top: 0
701             left: 0
702         .oe_topbar, .oe_leftbar
703             display: none
704     // }}}
705     // Webclient.leftbar {{{
706     .oe_leftbar
707         display: -ms-flexbox
708         display: -webkit-flex
709         display: flex
710         -ms-flex-direction: column
711         -webkit-flex-direction: column
712         flex-direction: column
713         -webkit-justify-content: space-between
714         justify-content: space-between
715         -ms-flex: 0 0 auto
716         -webkit-flex-shrink: 0
717         flex-shrink: 0
718         -webkit-flex-grow: 0
719         flex-grow: 0
720         width: 220px
721         height: 100%
722         background: #f0eeee
723         border-right: 1px solid $tag-border
724         position: relative
725         display: inline-block\9
726         vertical-align: top\9
727         a.oe_logo
728             text-align: center
729             -webkit-flex-shrink: 0
730             flex-shrink: 0
731             img
732                 margin: 14px 0
733                 border: 0
734             .oe_logo_edit
735                 margin: 14px 0
736                 position: absolute
737                 top: 1px
738                 padding: 4px
739                 width: 100%
740                 display: none
741                 text-align: center
742                 color: #eee
743                 background: rgba(37,37,37,0.9)
744                 @include box-sizing(border)
745             &:hover .oe_logo_edit_admin
746                 display: block
747         .oe_secondary_menus_container
748             -webkit-flex-grow: 1
749             flex-grow: 1
750             overflow-y: auto
751         .oe_footer
752             background: #f0eeee
753             text-align: center
754             -webkit-flex-shrink: 0
755             flex-shrink: 0
756             a
757                 font-weight: bold
758                 span
759                     color: #a24689
760     // }}}
761     // Webclient.leftbar items {{{
762
763     .oe_secondary_menu_section
764         font-weight: bold
765         margin-left: 8px
766         color: $link-color
767     .oe_secondary_submenu
768         margin-bottom: 10px !important
769         line-height: 1.1em
770         margin-top: 3px
771         .oe_menu_text
772             white-space: nowrap
773             overflow: hidden
774             display: inline-block
775             text-overflow: ellipsis
776             max-width: 85%
777             margin-top: 1px
778         .badge
779             &:hover
780                 cursor: pointer
781                 @include transform(scale(1.1))
782         .oe_menu_toggler:before
783             width: 0
784             height: 0
785             display: inline-block
786             content: "&darr"
787             text-indent: -99999px
788             vertical-align: top
789             margin-left: -12px
790             margin-top: 4px
791             margin-right: 4px
792             border-top: 4px solid transparent
793             border-bottom: 4px solid transparent
794             border-left: 4px solid #4c4c4c
795             @include opacity(0.5)
796         .oe_menu_opened:before
797             margin-top: 6px
798             margin-left: -16px
799             margin-right: 4px
800             border-left: 4px solid transparent
801             border-right: 4px solid transparent
802             border-top: 4px solid #4c4c4c
803         .oe_secondary_submenu li
804             margin-left: 20px
805     // }}}
806     // About openerp {{{
807     $link-color-odoo: #a24689
808     .oe_about
809         .label
810             background-color: $link-color-odoo
811         a
812             color: $link-color-odoo
813
814         .user-details
815             position: relative
816             padding: 0
817             margin-bottom: 275px
818             .user-image
819                 width: 100%
820                 text-align: center
821             .user-info-block
822                 width: 100%
823                 position: absolute
824                 top: 55px
825                 padding-top: 35px
826                 .user-heading
827                     text-align: center
828                     margin: 10px 0 0
829                 .navigation
830                     li
831                         a
832                             padding: 10px 20px
833                         &.active a
834                             background: $link-color-odoo
835                             color: #fff
836                 .user-body
837                     text-align: center
838                     .tab-content > div
839                         float: left
840                         width: 100%
841         a.oe_activate_debug_mode
842             color: white !important
843             font-size: 100%
844         #social
845             i
846                 margin: 10px
847                 &:hover
848                     @include transform(scale(1.3))
849             .social-fb:hover
850                 color: #3B5998
851             .social-tw:hover
852                 color: #4099FF
853             .social-gp:hover
854                 color: #d34836
855             .social-lk:hover
856                 color: #007bb6
857     // }}}
858     // ActionManager {{{
859     a.oe_form_uri:hover
860         text-decoration: underline
861     .oe_application
862         height: 100%
863         -webkit-flex-grow: 1
864         flex-grow: 1
865         -ms-flex-negative: 1
866         display: inline-block\9
867         overflow: auto\9
868         width: -webkit-calc(100% - 220px)
869         width: calc(100% - 220px)
870         .oe_application
871             width: 100%
872     // }}}
873     // ViewManager common {{{
874     .oe-view-manager
875         width: 100%
876         height: 100%
877         display: -webkit-flex
878         display: flex
879         -webkit-flex-direction: column
880         flex-direction: column
881         .oe-view-manager-content
882             overflow: auto
883             -webkit-flex-grow: 1
884             flex-grow: 1
885             position: relative
886             a
887                 color: $link-color
888             > div
889                 position: absolute
890                 position: static\9
891                 top: 0
892                 bottom: 0
893                 right: 0
894                 left: 0
895                 display: none
896             .oe-view-manager-content
897                 > div
898                     position: relative
899                     display: block
900         .oe-view-manager-debug
901             margin-right: 5px
902     .oe-view-manager-header
903         background-color: rgb(240, 238, 238)
904         border-bottom: 1px solid #afafb6
905         -webkit-flex-shrink: 0
906         flex-shrink: 0
907         width: 100%
908         -webkit-user-select: none
909         -moz-user-select: none
910         user-select: none
911         .dropdown-menu
912             li
913                 position: relative
914                 a
915                     padding: 3px 25px
916             .oe_searchview_custom_public
917                 a:after
918                     font-family: FontAwesome
919                     content: "\f0c0"
920                     color: #666
921                     margin-left: 3px
922         .selected
923             display: block
924             a
925                 font-weight: bold
926             a:before
927                 font-family: FontAwesome
928                 position: absolute
929                 left: 6px
930                 top: 3px
931                 content: "\f00c"
932         .oe-right-toolbar
933             float: right
934             > div
935                 display: inline-block
936         .row:first-child
937             padding-top: 3px
938             padding-bottom: 3px
939         .row:last-child
940             padding-bottom: 10px
941         .oe_tag
942             @include radius(0px)
943         .oe-view-title
944             font-size: 18px
945             padding-left: 0
946             margin: 0
947             background-color: rgb(240, 238, 238)
948             li
949                 -moz-user-select: initial
950                 -webkit-user-select: initial
951                 user-select: initial
952         .oe-view-manager-search-view
953             padding-top: 5px
954         .oe-view-manager-switch
955             .oe-vm-switch-kanban:before
956                 content: "\f009"
957             .oe-vm-switch-list:before
958                 content: ""
959             .oe-vm-switch-form:before
960                 content: "\f044"
961             .oe-vm-switch-graph:before
962                 content: "\f080"
963             .oe-vm-switch-calendar:before
964                 content: "\f073"
965             .oe-vm-switch-gantt:before
966                 content: "\f0ae"
967             .oe-vm-switch-pivot:before
968                 content: "\f0ce"
969         .oe-view-manager-buttons
970             display: inline-block
971             > div
972                 display: none
973         .oe-view-manager-sidebar
974             display: inline-block
975             float: right
976             .oe_form_binary_form
977                 cursor: pointer
978                 span
979                     padding: 3px 20px
980                 input.oe_form_binary_file
981                     width: 100%
982
983             .oe_form_binary_form:hover
984                 background-color: #f5f5f5
985             .oe_file_attachment
986                 padding: 3px 20px
987                 display: inline-block
988             .oe_sidebar_delete_item
989                 padding: 0
990                 display: inline-block
991             .dropdown-menu
992                 li
993                     a
994                         width: 100%
995         .oe_form_buttons
996             padding: 0
997         .oe_form_buttons_view
998             > button
999                 float: left
1000                 &:last-child
1001                     float: right
1002                     margin-left: 4px
1003
1004         .oe-pager-buttons
1005             min-height: 30px
1006     .oe_view_manager_inline, .oe_view_manager_inlineview
1007         > .oe-view-manager-header
1008             display: none
1009
1010         // }}}
1011     // FormPopup {{{
1012     .o-modal-header
1013         > div
1014             margin-left: 45%
1015     .oe_popup_form 
1016         display: none
1017         .oe_formview .oe_form_pager
1018             display: none !important
1019         // Customize label weight for popup wizard appear from another wizard according bootstrap3
1020         table label
1021             font-weight: normal
1022         // End of customize
1023     .oe_popup_list_pager
1024         float: right
1025     // }}}
1026     // SearchView {{{
1027     .oe_searchview
1028         cursor: text
1029         position: relative
1030         display: none
1031         height: auto
1032         padding-top: 1px
1033         padding-bottom: 1px
1034         .oe_searchview_unfold_drawer
1035             position: absolute
1036             top: 8px
1037             right: 5px
1038             cursor: pointer
1039         .oe_searchview_search
1040             cursor: pointer
1041             position: absolute
1042             top: 8px
1043             left: 5px
1044         .oe_searchview_facets
1045             min-height: 22px
1046             margin: 2px 20px 0 0
1047             *
1048                 vertical-align: top
1049                 display: inline-block
1050                 font-size: 100%
1051             .oe_searchview_facet
1052                 margin: 1px 0
1053                 font-size: 11px
1054                 &:focus
1055                     outline: none
1056                 .label
1057                     @include radius(0px)
1058             .oe_searchview_input
1059                 padding: 2px 0 0 6px
1060                 font-size: 12px
1061                 height: 16px
1062                 -webkit-user-select: initial
1063                 -moz-user-select: initial
1064                 user-select: initial
1065                 &:focus
1066                     outline: none
1067             .oe_searchview_input:first-child
1068                 margin-left: 10px
1069             .oe_searchview_facet
1070                 position: relative
1071                 cursor: pointer
1072                 padding: 0
1073                 -webkit-font-smoothing: auto
1074                 // spacing for opera, FF
1075                 &:focus
1076                     border-color: $tag-border-selected
1077                     @include box-shadow(0 0 3px 1px $tag-border-selected)
1078                 .oe_facet_values
1079                     background: $tag-bg-light
1080                 .oe_facet_category, .oe_facet_value
1081                     padding: 0 4px
1082                 .oe_facet_category
1083                     color: white
1084                     text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1085                 .oe_facet_category.oe_i
1086                     font-size: 16px
1087                 .oe_facet_value
1088                     border-left: 1px solid #afafb6
1089                     color: #4C4C4C
1090                     &:last-child
1091                         padding-right: 16px
1092                     &:first-child
1093                         border-left: none
1094                 .oe_facet_remove
1095                     position: absolute
1096                     top: 3px
1097                     right: 3px
1098                     color: #8786b7
1099                     line-height: 8px
1100                     width: 12px
1101                     height: 12px
1102                     padding-top: 1px
1103                     text-align: center
1104                     font-weight: bold
1105                     cursor: pointer
1106                     text-shadow: 0 1px 1px white
1107                     &:hover
1108                         color: white
1109                         background: #8786b7
1110                         text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
1111                         @include radius(2px)
1112
1113         .oe-autocomplete
1114             display: none
1115             position: absolute
1116             background-color: white
1117             width: 400px
1118             border: 1px solid #afafb6
1119             z-index: 666
1120             margin-top: 2px
1121             cursor: default
1122             @include radius(3px)
1123             ul
1124                 list-style-type: none
1125                 padding-left: 0
1126                 margin: 5px 0px
1127                 li
1128                     padding-left: 20px
1129                     text-shadow: 0 0 0 white
1130                     span:first-child
1131                         margin-right: 5px
1132                     span.oe-expand
1133                         cursor: pointer
1134                 li.oe-indent
1135                     margin-left: 20px
1136                 li.oe-selection-focus
1137                     background-color: #7c7bad
1138                     color: white
1139                 li.oe-separator
1140                     margin-top: 2px
1141                     margin-bottom: 2px
1142                     border-top: 1px solid #afafb6
1143                 li.oe-separator:last-child
1144                     display: none
1145
1146     .oe-search-options
1147         a
1148             padding-left: 25px
1149             padding-right: 25px
1150             width: 100%
1151             -webkit-user-select: none
1152             -moz-user-select: none
1153             user-select: none
1154         .oe-apply-filter
1155             margin-left: 25px
1156         .oe-add-filter-menu
1157             display: none
1158         .oe-add-condition
1159             width: auto
1160             margin-left: 10px
1161             padding-left: 0
1162             padding-right: 10px
1163         .oe-group-selector
1164             margin: 3px 25px
1165             min-width: -webkit-calc(100% - 40px)
1166             min-width: calc(100% - 40px)
1167             max-width: 250px
1168             width: auto
1169         .divider
1170             display: none
1171         .filters-menu
1172             overflow: auto
1173             overflow-x: hidden
1174             .divider
1175                 display: list-item
1176         .closed-menu
1177             a:before
1178                 font-family: FontAwesome
1179                 position: absolute
1180                 left: 12px
1181                 top: 3px
1182                 content: "\f0da"
1183         .open-menu
1184             a:before
1185                 font-family: FontAwesome
1186                 position: absolute
1187                 left: 9px
1188                 top: 3px
1189                 content: "\f0d7"
1190
1191         .oe-select-group
1192             margin: 3px 25px
1193         .oe-add-group
1194             display: none
1195         .oe-save-name
1196             display: none
1197             margin: 3px 25px
1198             span
1199                 white-space: nowrap
1200                 input
1201                     margin-left: 0
1202         .searchview_extended_prop_field
1203             display: inline
1204             width: -webkic-calc(100% - 20px)
1205             width: calc(100% - 20px)
1206         
1207         .searchview_extended_prop_op
1208             margin: 3px 0
1209             width: -webkit-calc(100% - 20px)
1210             width: calc(100% - 20px)
1211         .searchview_extended_delete_prop
1212             float: right
1213             display: inline
1214             cursor: pointer
1215         .searchview_extended_prop_value
1216             width: -webkit-calc(100% - 20px)
1217             width: calc(100% - 20px)
1218             > select, > input
1219                 width: -webkit-calc(100% - 20px)
1220                 width: calc(100% - 20px)
1221             .oe_datepicker_main
1222                 width: -webkit-calc(100% - 20px)
1223                 width: calc(100% - 20px)
1224             .oe_datepicker_master
1225                 width: 100%
1226             .fa-calendar
1227                 margin-left: -21px
1228                 cursor: pointer
1229         span.remove-filter
1230             position: absolute
1231             top: 6px
1232             right: 10px
1233             cursor: pointer
1234         .dropdown-menu
1235             > li
1236                 position: relative
1237                 white-space: nowrap
1238             li.oe-filter-condition
1239                 white-space: normal
1240                 padding-left: 25px
1241                 padding-right: 10px
1242                 margin-bottom: 5px
1243                 .o-or-filter
1244                     display: none
1245             li.oe-filter-condition + li.oe-filter-condition
1246                 margin-top: 10px
1247                 .o-or-filter
1248                     display: block
1249             .o-or-filter
1250                 position: absolute
1251                 left: 5px
1252                 top: 5px
1253         a
1254             display: inline-block
1255
1256     input.oe-save-name
1257         width: auto
1258     .oe_pager_value
1259         display: inline-block  
1260
1261     // }}}
1262     // Views Common {{{
1263     .oe_view_nocontent
1264         padding: 15px
1265         margin-top: 0
1266         color: #777777
1267         font-size: 125%
1268         max-width: 700px
1269         .oe_view_nocontent_create
1270             margin-top: 0
1271             padding-top: 35px
1272             color: #4c4c4c
1273             &:before
1274                 content: ""
1275                 display: inline-block
1276                 position: absolute
1277                 width: 70px
1278                 height: 80px
1279                 margin-left: -70px
1280                 margin-top: -50px
1281                 background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
1282         > p
1283             padding-left: 78px
1284         .oe_empty_custom_dashboard
1285             background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
1286             margin-top: -15px
1287             padding: 100px 0 0 137px
1288             min-height: 327px
1289             margin-left: -15px
1290     .oe_view.oe_cannot_create
1291         .oe_view_nocontent_create
1292             display: none
1293     // }}}
1294     // FormView.base and dynamic tags {{{
1295     .oe_formview
1296         background: white
1297     .oe_form_dropdown_section
1298         position: relative
1299         display: inline-block
1300     .oe_form_invalid
1301         input, select, textarea
1302             background-color: #F66 !important
1303             border: 1px solid #D00 !important
1304     .oe_view_manager_current .oe_form_editable
1305         .oe_highlight
1306             color: #404040
1307             background: none
1308         button.oe_highlight
1309             @include vertical-gradient(#efefef, #d8d8d8)
1310             @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1311         button.oe_highlight:active
1312             @include vertical-gradient(#e3e3e3, #f6f6f6)
1313             @include box-shadow(none)
1314         button.oe_highlight:hover
1315             @include vertical-gradient(#f6f6f6, #e3e3e3)
1316             @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
1317     .oe_form_invisible
1318         display: none !important
1319     .oe_form_editable
1320         .oe_read_only
1321             display: none !important
1322     .oe_form_readonly
1323         .oe_edit_only, .oe_form_field:empty
1324             display: none !important
1325         .oe_form .oe_form_field_date
1326             width: auto
1327         .oe_form_field_boolean.boolean
1328             position: relative
1329             top: -20px
1330             width: 14px
1331             height: 14px
1332             z-index: 10000
1333             // IE needs a color in order for the layer to respond to mouse events
1334             backgroundColor: "#fff"
1335             opacity: 0
1336     // Sheet and padding
1337     .oe_form_nosheet
1338         margin: 16px
1339         > header
1340             margin: -16px -16px 0 -16px
1341             padding: 0
1342     .oe_form_nosheet.oe_form_nomargin
1343         margin: 0
1344         > header
1345             margin: 0
1346     .oe_form_sheetbg
1347         padding: 16px 0
1348     .oe_form_sheet_width
1349         min-width: 650px
1350         max-width: $sheet-max-width
1351         margin: 0 auto
1352     .oe_form_sheet
1353         background: white
1354         min-height: 330px
1355         padding: 16px
1356         .oe_list
1357             overflow-x: auto
1358     // Sheet inline mode
1359     .oe_application
1360         .oe_form_sheetbg
1361             background: url(/web/static/src/img/form_sheetbg.png)
1362             border-bottom: 1px solid #ddd
1363             // Customize font weight according bootstrap3
1364             .oe_subtotal_footer label
1365                 font-weight: bold
1366             table label
1367                 font-weight: normal
1368             // End of customize
1369         .oe_form_sheet
1370             border: 1px solid #c8c8d3 //$tag-border
1371             @include box-shadow(0 4px 20px rgba(0,0,0,0.15))
1372             .ui-tabs
1373                 margin: 0 -16px
1374             .oe_notebook_page
1375                 padding: 0 16px
1376     // }}}
1377     // FormView.header {{{
1378     .oe_form > :not(.oe_form_nosheet) header, .oe_form > .oe_form_nosheet header
1379         padding-left: 2px
1380         ul:not(.oe_tooltip_technical):not(.oe_dropdown_menu)
1381             display: inline-block
1382             float: right
1383         .oe_button
1384             margin: 3px 2px 1px
1385             &:first-child
1386                 margin-left: 6px
1387
1388     .oe_form  header
1389         border-bottom: 1px solid #cacaca
1390         padding-left: 2px
1391         @include vertical-gradient(#fcfcfc, #dedede)
1392         > span
1393             margin-left: 4px        
1394         
1395     // }}}
1396     // FormView.custom tags and classes {{{
1397     .oe_form
1398         header
1399             .oe_tags
1400                 margin: 5px 0 0 5px
1401                 width: 400px
1402                 padding-bottom: 0
1403         div.oe_chatter
1404             box-sizing: border-box
1405             min-width: $sheet-min-width + 2* $sheet-padding
1406             max-width: $sheet-max-width + 2* $sheet-padding
1407             margin: 0 auto
1408             padding: 16px 16px 48px
1409         div.oe_form_configuration
1410             p, ul, ol
1411                 color: #aaa
1412                 max-width: 650px
1413             label
1414                 min-width: 150px
1415             .oe_form_group_cell_label
1416                 padding: 1px 0
1417             .oe_form_group_cell div div
1418                 padding: 1px 0
1419         .oe_subtotal_footer
1420             width: 1% !important
1421             td.oe_form_group_cell
1422                 text-align: right
1423                 padding: 0 !important
1424             td.oe_form_group_cell_label
1425                 border-right: none
1426             .oe_subtotal_footer_separator
1427                 width: 108px
1428                 border-top: 1px solid #cacaca
1429                 margin-top: 4px
1430                 padding-top: 4px
1431                 font-weight: bold
1432                 font-size: 18px
1433             label:after
1434                 content: ":"
1435             label.oe_subtotal_footer_separator
1436                 font-weight: bold !important
1437                 padding: 2px 11px 2px 0px !important
1438             label.oe_form_label_help
1439                 font-weight: normal !important
1440         .oe_form_box_info
1441             background: #fe9
1442             border-bottom: 1px solid #cb6
1443             padding: 4px
1444             > p
1445                 margin: auto
1446         .oe_form_box_warning
1447             background: #bd362f
1448             border-bottom: 1px solid #900
1449             padding: 4px
1450             *
1451                 color: white
1452                 text-shadow: none
1453             > p
1454                 margin: auto
1455     // }}}
1456     // FormView.group {{{
1457     .oe_form
1458         .oe_form_button
1459             margin: 2px
1460         td.oe_form_group_cell_label
1461             border-right: 1px solid #ddd
1462             padding: 2px 0px
1463             label
1464                 line-height: 18px
1465                 display: block
1466                 min-width: 150px
1467                 font-weight: bold !important
1468         td.oe_form_group_cell + .oe_form_group_cell
1469             padding: 2px 0 2px 8px
1470         .oe_form_group
1471             width: 100%
1472             margin: 9px 0 9px 0
1473             .oe_form_group_cell.oe_group_right
1474                 padding-left: 20px
1475     // }}}
1476     // FormView.label {{{
1477     .oe_form
1478         .oe_form_label_help[for], .oe_form_label[for]
1479             white-space: nowrap
1480             padding-right: 8px
1481             span
1482                 font-size: 80%
1483                 color: darkGreen
1484                 vertical-align: top
1485                 position: relative
1486                 top: -4px
1487                 padding: 0 2px
1488     // }}}
1489     // FormView.separator {{{
1490     .oe_horizontal_border
1491         border-bottom: 1px solid black
1492     .oe_horizontal_separator
1493         font-weight: bold
1494         font-size: 20px
1495         margin: 15px 0px 10px 0px
1496         color: $section-title-color
1497         &:empty
1498             height: 5px
1499     .oe_vertical_separator
1500         border-left: 1px solid #666
1501         padding: 0 4px 0 4px
1502     // }}}
1503     // FormView.progressbar {{{
1504     .oe_form_field_progressbar
1505         display: inline-block
1506         min-width: 70px
1507     .oe_form_field_progressbar.ui-progressbar
1508         height: 22px
1509         font-size: 10px
1510         @include box-sizing(border)
1511         border: 1px solid #999
1512         @include radius(3px)
1513         background: white
1514         min-width: 50px
1515         span
1516             position: absolute
1517             margin-left: 10px
1518             font-weight: bold
1519         .ui-widget-header
1520             background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
1521     // }}}
1522     // FormView.fields {{{
1523     .oe_form
1524         .oe_form_field_text
1525             width: 100%
1526             .oe_form_text_content
1527                 text-overflow: ellipsis
1528                 display: inline-block
1529                 white-space: pre-wrap
1530                 overflow-x: hidden
1531                 width: 100%
1532         .oe_form_field_char input,
1533         .oe_form_field_url input,
1534         .oe_form_field_email input,
1535         .oe_form_field_text textarea,
1536         .oe_form_field_selection select
1537             width: 100%
1538         .oe_notebook_page .oe_form_field_text textarea
1539             min-height: 96px
1540         .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
1541             width: 500px
1542         h1, h2, h3, h4, h5, h6
1543             margin: 0 0 4px 0
1544             input
1545                 height: inherit !important
1546                 font-size: inherit
1547         // Customize for formview
1548         .oe_title h1, h1
1549             font-weight: bold
1550             font-size: 2em
1551         h2
1552             font-size: 1.5em
1553         label
1554             font-weight: bold
1555             margin-bottom: 0px
1556             display: inline
1557         // End of customize
1558         .oe_form_field
1559             width: 100%
1560             display: inline-block
1561             padding: 2px 2px 2px 0px
1562             vertical-align: top
1563             input
1564                 margin: 0px
1565         input[type="text"], input[type="password"], input[type="file"], select
1566             height: 22px
1567             padding-top: 2px
1568         input[type="text"], input[type="password"], input[type="file"], select, textarea
1569             @include box-sizing(border)
1570             background: white
1571             min-width: 60px
1572             color: #1f1f1f
1573             font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
1574         input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
1575             background: #E5E5E5 !important
1576             color: #666
1577         textarea[disabled]
1578             border: none
1579             padding-left: 8px
1580             @include box-shadow(none)
1581             @include radius(0px)
1582             color: #4c4c4c
1583         textarea.oe_inline[disabled]
1584             border-left: 8px solid #eee
1585         .oe_form_field_url button img
1586             vertical-align: top
1587         .oe_form_field_monetary,
1588         .oe_form_field_date,
1589         .oe_form_field_datetime
1590             white-space: nowrap
1591         .oe_form_field_boolean
1592             width: auto
1593         .oe_datepicker_root
1594             display: inline-block
1595             .datepickerbutton
1596                 margin-left: 5px
1597                 cursor: pointer
1598         .oe_form_required
1599             input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
1600                 background-color: #D2D2FF !important
1601         .oe_form_invalid
1602             input, select, textarea
1603                 background-color: #F66 !important
1604                 border: 1px solid #D00 !important
1605         .oe_input_icon
1606             cursor: pointer
1607             margin: 3px 0 0 -21px
1608             vertical-align: top
1609         .oe_input_icon_disabled
1610             position: absolute
1611             cursor: default
1612             opacity: 0.5
1613             filter: alpha(opacity=50)
1614             right: 5px
1615             top: 3px
1616         .oe_form_field_with_button.oe_no_button > .oe_button
1617             display: none
1618         .oe_form_field_with_button:not(.oe_no_button)
1619             > .oe_button
1620                 float: right
1621                 @include radius(0)
1622                 border-bottom-left-radius: 0px
1623                 height: 22px
1624         .oe_form_field_with_button
1625             input
1626                 width: 100%
1627             > div
1628                 position: relative
1629                 overflow: hidden
1630         .oe_form_embedded_html
1631             position: relative
1632             width: 100%
1633             margin: auto
1634             overflow: auto            
1635             text-align: justify
1636         .oe_form_field_html .oe_input_icon
1637             float: right
1638             margin: 4px 7px
1639
1640     .oe_form_editable
1641         .oe_form
1642             .oe_form_field_integer input
1643                 width: 6em
1644             .oe_form_field_float input
1645                 width: 7em
1646             .oe_form_field_date input
1647                 width: 100px
1648             .oe_form_field_datetime input
1649                 width: 150px
1650     // }}}
1651     // FormView.fields_binary {{{
1652     /* http://www.quirksmode.org/dom/inputfile.html
1653      * http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
1654      */
1655     .oe_hidden_input_file
1656         // Position: relative is used for the hidden input[type=file]
1657         // Do not remove it anymore !
1658         position: relative
1659         input.oe_form_binary_file
1660             z-index: 0
1661             line-height: 0
1662             font-size: 12px
1663             position: absolute
1664             top: 1px
1665             left: 0
1666             right: 0
1667             opacity: 0
1668             filter: alpha(opacity = 0)
1669             -ms-filter: "alpha(opacity=0)"
1670             margin: 0
1671             padding: 0
1672     .oe_form
1673         .oe_form_field_binary
1674             display: inline-block
1675         .oe_form_field_image
1676             padding: 0
1677             position: relative
1678             display: inline-block
1679             width: auto
1680             vertical-align: top
1681             .oe_form_field_image_controls
1682                 position: absolute
1683                 top: 1px
1684                 padding: 6px 0
1685                 width: 100%
1686                 display: none
1687                 text-align: center
1688                 color: #eee
1689                 background: rgba(37,37,37,0.9)
1690                 @include radius(3px 3px 0 0)
1691                 @include box-sizing(border)
1692             &:hover .oe_form_field_image_controls
1693                 display: block
1694             img
1695                 max-width: 256px
1696                 max-height: 256px
1697     .oe_fileupload
1698         display: inline-block
1699         clear: both
1700         width: 100%
1701         margin-bottom: -15px
1702         .oe_add
1703             float: left
1704             position: relative
1705             width: 100%
1706             left: +2px
1707             margin: 9px 0 /* Customize margin according bootstrap3 */
1708             overflow: hidden
1709             button
1710                 display: inline
1711                 height: 24px
1712                 font-size: 12px
1713                 line-height: 12px
1714                 vertical-align: middle
1715             button.oe_attach
1716                 width: 24px
1717                 background: transparent
1718                 color: #7C7BAD
1719                 box-shadow: none
1720                 border: none
1721                 text-shadow: none
1722                 .oe_e
1723                     position: relative
1724                     top: -10px
1725                     left: -9px                    
1726             input.oe_form_binary_file
1727                 display: inline-block
1728                 margin-left: -85px
1729                 height: 22px
1730                 width: 152px
1731                 margin-top: -24px
1732                 cursor: pointer
1733             .oe_attach_label
1734                 color: #7C7BAD
1735                 margin-left: -3px
1736         .oe_attachments
1737             margin-bottom: 4px
1738             margin-right: 0px
1739             font-size: 12px
1740             border-radius: 2px
1741             border: solid 1px rgba(124,123,173,0.14)
1742             .oe_attachment
1743                 padding: 2px
1744                 padding-left: 4px
1745                 padding-right: 4px
1746                 .oe_e
1747                     font-size: 23px
1748                     margin-top: -5px
1749                 .oe_e:hover
1750                     text-decoration: none
1751             .oe_attachment:nth-child(odd)
1752                 background: white
1753             .oe_attachment:nth-child(even)
1754                 background: #F4F5FA
1755     // }}}
1756     // FormView.many2one {{{
1757     .oe_form_field_many2one
1758         display: inline-block
1759         td:first-child
1760             position: relative
1761         span.oe_m2o_drop_down_button
1762             position: absolute
1763             top: 2px
1764             right: 0px
1765         .oe_m2o_cm_button
1766             line-height: 14px
1767             float: right
1768             padding-left: 2px
1769         input
1770             padding-right: 13px
1771     &.ui-autocomplete
1772         li.oe_m2o_dropdown_option a
1773             font-style: italic
1774             padding-left: 2em
1775         li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
1776             margin-top: 10px
1777     // }}}
1778     // FormView.fieldstatus {{{
1779     ul.oe_form_status, ul.oe_form_status_clickable
1780         display: inline-block
1781         margin: 0
1782         padding: 0 18px 0 0
1783         li
1784             display: inline-block
1785             list-style-type: none
1786             // It is probably a bad idea to modify this margin
1787             margin: 0 -18px 0 0
1788             padding: 0
1789             @include vertical-gradient(#fcfcfc, #dedede)
1790             &:first-child > .label
1791                 border-left: 1px solid #cacaca
1792                 padding-left: 14px
1793             &:last-child
1794                 border-right: 1px solid #cacaca
1795                 > .label
1796                     padding-right: 14px
1797                 > .arrow
1798                     display: none
1799             > .label
1800                 color: #4c4c4c
1801                 text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
1802                 padding: 7px
1803                 display: inline-block
1804                 padding-left: 24px
1805                 margin: 0
1806                 position: relative
1807                 // Customize for statusbar label
1808                 line-height: normal
1809                 font-size: 100%
1810                 font-weight: normal
1811                 // End of customize
1812             > .arrow
1813                 width: 17px
1814                 height: 30px
1815                 display: inline-block
1816                 vertical-align: top
1817                 overflow: hidden
1818                 margin-left: -5px
1819                 span
1820                     position: relative
1821                     width: 24px
1822                     height: 24px
1823                     display: inline-block
1824                     margin-left: -12px
1825                     margin-top: 3px
1826                     box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
1827                     @include skew-gradient(#fcfcfc, #dedede)
1828                     @include radius(3px)
1829                     @include transform(rotate(45deg))
1830         ul.oe_dropdown_menu
1831             display: none
1832             padding: 0
1833             min-width: 0
1834             &.oe_opened
1835                 display: block
1836             li
1837                 margin: 0
1838                 width: 100%
1839                 span.label
1840                     padding-left: 14px
1841
1842         li.oe_active
1843             @include vertical-gradient(#729fcf, #3465a4)
1844             > .arrow span
1845                 @include skew-gradient(#729fcf, #3465a4)
1846             > .label
1847                 color: white
1848                 text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
1849     ul.oe_form_status_clickable
1850         li
1851             cursor: pointer
1852             &:hover
1853                 @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1854                 > .label
1855                     text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
1856                 > .arrow span
1857                     @include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
1858             > .label
1859                 color: $link-color
1860         li.oe_active
1861             &:hover
1862                 @include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1863                 > .label
1864                     text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
1865                 > .arrow span
1866                     @include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
1867     // }}}
1868     // FormView.one2many {{{
1869     .oe_form .oe_form_field_one2many > .oe_view_manager
1870         .oe_list_pager_single_page
1871             display: none
1872     .oe_form_field_one2many,.oe_form_field_many2many
1873         // TODO: oe_form_field_one2many_list?
1874         > .oe_view_manager
1875             .oe_list_pager_single_page
1876                 display: none !important
1877             .oe_view_manager_view_list
1878                 min-height: 132px
1879
1880         .oe_form_field_one2many_list_row_add,.oe_form_field_many2many_list_row_add
1881             font-weight: bold
1882         .oe_list_content
1883             > thead
1884                 border-bottom: 1px
1885             > tbody
1886                 tr:nth-child(odd)
1887                     background: transparent
1888         .oe_list .oe_list_edit_row_save
1889             background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
1890             &:before
1891                 visibility: hidden
1892
1893         &> .oe_view_manager
1894             .oe_header_row_top
1895                 display: none
1896             .oe_view_manager_header2
1897                 td
1898                     padding: 0px 8px
1899                     line-height: 16px
1900                     .oe_i
1901                         font-size: 13px
1902                     .oe_pager_group
1903                         height: auto
1904                         line-height: 16px
1905                         li
1906                             height: auto
1907                             line-height: 16px
1908         .oe_list_buttons.oe_editing .oe_list_save
1909             // keep "save row" button hidden in o2m
1910             visibility: hidden
1911     .oe_form_editable
1912         .oe_list_editable
1913             .oe_list_content
1914                 td.oe_required
1915                     background-color: #d2d2ff
1916                 td.oe_readonly
1917                     background-color: #eee
1918
1919     $row-height: 27px
1920     .oe_list_editable .oe_list_content td.oe_list_field_cell
1921         padding: 4px 6px 3px
1922     .oe_list.oe_list_editable.oe_editing
1923         .oe_edition .oe_list_field_cell
1924             *
1925                 visibility: hidden
1926             color: transparent
1927             text-shadow: none
1928         .oe_m2o_drop_down_button
1929             top: 5px
1930         .oe_m2o_cm_button
1931             line-height: 19px
1932         .oe_input_icon
1933             margin-top: 5px
1934         .oe_form_field
1935             &.oe_list_field_handle
1936                 color: transparent
1937             &.oe_readonly
1938                 padding: 4px 6px 3px
1939                 text-align: left
1940             min-width: 0
1941             max-width: none
1942             input, textarea
1943                 height: $row-height
1944                 @include radius(0)
1945                 border: 1px solid #aaf
1946                 margin: 0
1947             input, textarea, select
1948                 min-width: 0
1949             &.oe_form_field_float,&.oe_form_view_integer
1950                 &.oe_readonly
1951                     padding: 6px 0px 0px
1952                     text-align: right
1953                 span
1954                     padding: 0px 6px
1955                 input
1956                     width: 100% !important
1957                     text-align: right
1958             &.oe_form_field_datetime,&.oe_form_field_date
1959                 input.oe_datepicker_master
1960                     width: 100% !important
1961             &.oe_form_field_reference
1962                 display: table
1963     .oe_list_group_name
1964         white-space: nowrap
1965     // }}}
1966     // FormView.many2many {{{
1967     .oe_form .oe_form_field_many2many > .oe_list
1968         .oe_list_pager_single_page
1969             display: none
1970     // }}}
1971     // ListView {{{
1972     .oe_list_buttons
1973         .oe_alternative
1974             visibility: hidden
1975         .oe_list_save, .oe_list_discard
1976             display: none
1977         &.oe_editing
1978             .oe_list_add
1979                 display: none
1980             .oe_list_save
1981                 display: inline-block
1982             .oe_list_discard
1983                 display: inline
1984             .oe_alternative
1985                 visibility: visible
1986
1987     .oe_list
1988         &.oe_cannot_edit
1989             .oe_list_header_handle, .oe_list_field_handle
1990                 display: none !important
1991                 padding: 0 !important
1992         &.oe_cannot_delete
1993             .oe_list_record_delete
1994                 display: none !important
1995
1996         .oe_form
1997             .oe_form_nosheet
1998                 margin: 0 // FIXME: either class or border should not be by default
1999                 padding: 0
2000                 border: none
2001             .oe_form_field
2002                 width: auto
2003                 position: absolute
2004                 margin: 0 !important // dammit
2005                 padding: 0
2006             .oe_form_field_boolean input
2007                 margin: 1px 0 0 10px !important
2008         .oe_list_content .oe_group_header
2009             @include vertical-gradient(#fcfcfc, #dedede)
2010
2011     .oe_list_content
2012         width: 100%
2013         td:first-child, th:first-child
2014             &:after
2015                 border-width: 0
2016         td.oe_number
2017             text-align: right !important
2018             max-width: 100px
2019         td.oe_list_field_date, th.oe_list_header_date
2020             min-width: 6em
2021         > thead
2022             border-bottom: 2px solid #cacaca
2023             background: #eee
2024             vertical-align: top
2025         td, th
2026             padding: 3px 6px
2027             line-height: 18px
2028         th.oe_sortable, th.oe_sortable div
2029             cursor: pointer
2030         th.oe_sortable div
2031             position: relative
2032         th.oe_sortable div:after
2033             margin-right: 6px
2034             content: ""
2035             margin-top: 7px
2036             border-width: 0 4px 4px
2037             border-style: solid
2038             border-color: #000 transparent
2039             visibility: hidden
2040         th.sortup div:after
2041             float: right
2042             visibility: visible
2043             @include opacity(0.6)
2044         .oe_list_header_many2many_tags
2045             min-width: 70px
2046         th.sortdown div:after
2047             float: right
2048             border-bottom: none
2049             border-left: 4px solid transparent
2050             border-right: 4px solid transparent
2051             border-top: 4px solid #000
2052             visibility: visible
2053             @include box-shadow(none)
2054             @include opacity(0.6)
2055         > tbody
2056             cursor: pointer
2057             > tr
2058                 height: $row-height
2059                 border-top: 1px solid #ddd
2060                 > td.oe_list_field_cell
2061                     padding: 3px 6px
2062                     white-space: pre-line
2063                 > td, > th
2064                     > button
2065                         border: none
2066                         background: transparent
2067                         padding: 0
2068                     > button.btn_txt
2069                         border: 1px solid rgba(0,0,0,0.4)
2070                         background: #e3e3e3
2071                         padding: 3px 12px
2072                 > td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
2073                     width: 17px
2074                     &:after
2075                         border-width: 0
2076                 > td.oe_list_field_boolean input
2077                     @include opacity()
2078             > tr:nth-child(odd)
2079                 background-color: #f0f0fa
2080                 @include vertical-gradient(#f0f0fa, #eeeef6)
2081
2082         > tfoot
2083             border-top: 2px solid #cacaca
2084             border-bottom: 1px solid #cacaca
2085             background: #eee
2086             font-weight: bold
2087
2088
2089         .numeric
2090             text-align: right
2091             width: 82px
2092             input
2093                 text-align: right
2094         th.oe_list_header_handle
2095             font-size: 1px
2096             overflow: hidden
2097             text-indent: -9001px
2098         td.oe_list_field_handle
2099             width: 1em
2100             padding: 0 !important
2101             cursor: ns-resize
2102             .oe_list_handle
2103                 @include text-to-entypo-icon("}",#E0E0E0,18px)
2104                 margin-right: 7px
2105         .oe_list_field_progressbar progress
2106             width: 100%
2107     // }}}
2108     // Tree view {{{
2109     .tree_header
2110         background-color: #f0f0f0
2111         border-bottom: 1px solid #cacaca
2112         color: #4c4c4c
2113         padding: 5px
2114         height: 25px
2115         button
2116             float: right
2117             height: 27px
2118             margin-right: 5px
2119     .oe-treeview-table
2120         width: 100%
2121         background-color: white
2122         border-spacing: 0
2123         color: #4c4c4c
2124         th
2125             padding: 10px
2126             font-weight: bold
2127             background-color: #f0f0f0
2128             border-bottom: 2px solid #cacaca
2129
2130         td
2131             cursor: pointer
2132             vertical-align: middle
2133             text-align: left
2134             vertical-align: middle
2135             height: 20px
2136             padding-left: 4px
2137             padding-right: 4px
2138             border-right: 1px solid #e7e7e7
2139
2140         td.oe_number
2141             text-align: right !important
2142         tr
2143             border-bottom: 1px solid #d6d6d6
2144             &:hover
2145                 background-color: #e7e7e7
2146         span
2147             font-size: 90%
2148             font-weight: normal
2149             white-space: nowrap
2150             display: block
2151         .treeview-tr.oe-treeview-first
2152             background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
2153         .oe_open .treeview-tr.oe-treeview-first
2154             background-image: url(/web/static/src/img/collapse.gif)
2155         .treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
2156             margin-left: 16px
2157     // }}}
2158     // Debugging stuff {{{
2159     .oe_layout_debugging
2160         .oe_form_group
2161             outline: 2px dashed green
2162         .oe_form_group_cell
2163             outline: 1px solid blue
2164         .oe_form_group:hover, .oe_form_group_cell:hover
2165             outline-color: red
2166         .oe_form_group_row_incomplete > td:last-child:after
2167             content: "[Incomplete Row]"
2168             background: red
2169             padding: 2px
2170             font-weight: bold
2171             color: white
2172             float: right
2173         .oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
2174             content: "[newline]"
2175     .oe_debug_view
2176         float: left
2177         margin-top: 5px
2178         width: auto
2179     .oe_debug_view_log
2180         font-size: 95%
2181         line-height: 1.2em
2182     // }}}
2183     // Bootstrap HACKS {{{
2184     .oe_navbar .dropdown-menu
2185         font-size: 13px
2186         padding: 4px 0
2187         background: #333333 !important
2188         background: rgba(37, 37, 37, 0.9) !important
2189         border-color: #999999
2190         border-color: rgba(0, 0, 0, 0.2)
2191         background-color: #414141
2192         text-shadow: none
2193         @include vertical-gradient(#646060, #262626)
2194         @include radius(3px)
2195         li
2196             a,a:hover,a:focus
2197                 color: #eeeeee
2198
2199     // Minimized unused white space and label weight for wizard popup
2200     .oe_view_manager_new .oe_form_nosheet
2201         margin-top: 8px
2202         .oe_form_label
2203             font-weight: normal
2204
2205     // Customize bootstrap3 for leftbar
2206     .nav-pills
2207         li > a
2208             padding: 6px 4px 2px 18px
2209             color: #4c4c4c
2210         .nav-stacked > li > ul
2211             padding-left: 16px
2212     .nav-pills > li.active,a.list-group-item.active
2213         > a
2214             background-color: #7c7bad
2215             color: white
2216             border-radius: 0
2217         a:hover,a:focus
2218             background-color: #7c7bad
2219         .badge
2220             background-color: white
2221             color: #7c7bad
2222             text-shadow: none
2223     .badge
2224         font-weight: normal
2225         font-size: 11px
2226         background-color: #7c7bad
2227
2228     // Customize for global tags
2229     h1,h2
2230         font-weight: bold
2231     h3
2232         font-size: 1.17em
2233         font-weight: bold
2234     p
2235         display: block
2236         -webkit-margin-before: 1em
2237         -webkit-margin-after: 1em
2238         -webkit-margin-start: 0px
2239         -webkit-margin-end: 0px
2240     pre
2241         background-color: #FFFFFF
2242         border: none
2243         padding: 10px 0 3px 0
2244
2245
2246
2247     // Customize for chatter
2248     h5
2249         font-weight: bold
2250         font-size: smaller
2251     .oe_form .oe_subtype label, .oe_subtype label
2252         font-weight: normal
2253     .oe_msg_subtype_check
2254         margin: 3px 3px 0 !important
2255     // }}}
2256 // Customize for kanban tooltip
2257 .jqstooltip
2258     height: auto !important
2259     width: auto !important
2260     padding: 0
2261         
2262 @-moz-document url-prefix()
2263     .openerp
2264         .oe_form_field_many2one .oe_m2o_cm_button
2265             line-height: 18px
2266         .oe_webclient
2267             .oe_star_on, .oe_star_off
2268                 top: 0px
2269
2270 // Kitten Mode {{{
2271 .kitten-mode-activated
2272     background-size: cover
2273     background-attachment: fixed
2274     >*
2275         opacity: 0.70
2276 .loading-kitten
2277     @include radius(15px)
2278     @include box-shadow(0 0 5px 5px #999)
2279 // }}}
2280
2281 // jQueryUI top level {{{
2282 // The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
2283 div.ui-widget-overlay
2284     background: black
2285     @include opacity(0.3)
2286 // TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
2287 //       eg: $el.autocomplete().openerpClass();
2288 .ui-widget
2289     font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2290     color: #4c4c4c
2291     font-size: 13px
2292
2293 .ui-menu
2294     padding: 2px 0
2295     @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
2296     margin-top: 4px
2297     border: 1px solid $tag-border
2298     .ui-menu-item
2299         width: 100%
2300         padding: 0
2301         a
2302             padding: 1px 16px
2303         a.ui-corner-all
2304             @include radius(0)
2305         a.ui-state-active
2306             background: #f0f0fa
2307     .ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
2308         background: $tag-bg-dark
2309         //color: #4c4c4c
2310         //@include vertical-gradient(#f0f0fa, #eeeef6)
2311
2312 .ui-corner-all
2313     @include radius(3px)
2314 // }}}
2315
2316 .openerp
2317     .db_option_table
2318         td
2319             padding-bottom: 10px !important
2320
2321 // Server side single forms {{{
2322 @mixin single-form($width: 400px)
2323     padding: 10px
2324     position: absolute
2325     left: 50%
2326     top: 50%
2327     width: $width
2328     /* Set margins to offset 50% of the w/h */
2329     margin-top: -($width / 2)
2330     margin-left: -($width / 2)
2331
2332 body.oe_single_form
2333     background: #eee url(/web/static/src/img/form_sheetbg.png)
2334     height: 100%
2335
2336     .oe_single_form_logo
2337         padding: 10px
2338         text-align: center
2339         margin-bottom: 10px
2340
2341     .oe_single_form_footer
2342         position: absolute
2343         bottom: -30px
2344         right: 0px
2345         width: 100%
2346         text-align: center
2347
2348     .oe_single_form_container
2349         @include single-form(400px)
2350
2351 // }}}
2352
2353 // Internet Explorer 9+ specifics {{{
2354 .openerp_ie
2355     .placeholder
2356         color: $tag-border !important
2357         font-style: italic !important
2358     .oe_form_binary_file
2359         width: 80px
2360     .oe_form_field_boolean input
2361         background: #fff
2362     .db_option_table .oe_form_field_selection
2363         width: auto
2364     input[type='checkbox']
2365         border: none
2366         background: none
2367         box-shadow: none
2368     .oe_logo
2369         img
2370             border: none
2371     .oe_header_row
2372         button.oe_highlight
2373             padding-top: 0
2374             padding-bottom: 0
2375     .oe_view_manager_view_kanban
2376         display: table-cell
2377     .oe_view_manager_buttons
2378         button.oe_write_full
2379             padding-top: 0
2380             padding-bottom: 0
2381         button.oe_highlight
2382             padding-top: 0
2383             padding-bottom: 0
2384         button .oe_form_button_edit
2385             padding-top: 0
2386             padding-bottom: 0
2387         button .oe_form_button_create
2388             padding-top: 0
2389             padding-bottom: 0
2390     .oe_kanban_image
2391         border: none
2392     .oe_msg_icon
2393         border: none
2394     .oe_form
2395         header
2396             ul
2397                 height: 29px
2398     .oe_attach
2399         filter: none
2400     .oe_link
2401         filter: none
2402     .oe_kanban_show_more
2403         clear: both
2404         text-align: center
2405     &.oe_kanban_grouped .oe_kanban_show_more .oe_button
2406         width: 100%
2407         padding: 3px 12px
2408
2409     .oe_form_buttons button
2410         padding-top: 0
2411         padding-bottom: 0
2412     .oe_sidebar button
2413         padding-top: 0
2414         padding-bottom: 0
2415     img
2416         border: none
2417     //buttons.
2418     .oe_dropdown_arrow
2419         line-height: 1.7em
2420     .oe_form_buttons, .oe_view_manager_buttons
2421         button
2422             line-height: 1.7em
2423         .oe_highlight
2424             line-height: 1.7em
2425     .oe_topbar
2426         filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
2427     .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
2428         filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
2429     .oe_popup_form
2430         width: 99% !important
2431     .oe_form_label
2432         white-space: normal !important
2433     ul.oe_form_status, ul.oe_form_status_clickable
2434         li
2435             display: inline-block
2436             clear: both
2437             &:last-child
2438                 overflow: hidden
2439                 border-right: 1px solid #cacaca
2440                 > .label
2441                     padding-right: 14px
2442                     border-right: none
2443                 > .arrow
2444                     display: inline-block
2445                     opacity: 0
2446                     filter: alpha(opacity = 0)
2447                     border: none
2448                     width: 0
2449                     border-right: none 
2450             > .label
2451                 border-bottom: 1px solid #cacaca
2452                 background: transparent
2453             > .arrow
2454                 span
2455                     background-color: #eeeeee !important
2456         li.oe_active
2457             > .label
2458                 border-bottom: 1px solid #729fcf
2459             > .arrow span
2460                 background-color: #729fcf !important
2461
2462     .oe_webclient
2463         height: auto !important
2464 // }}}
2465
2466 // @media print {{{
2467 @media print
2468     .openerp
2469         .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body
2470             overflow: visible
2471         .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
2472             // We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
2473             display: none !important
2474         .oe_list_content
2475             button, input[type=checkbox]
2476                 visibility: hidden
2477         .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
2478             visibility: hidden
2479         a
2480             &.oe_m2o_cm_button, &.oe_e
2481                 visibility: hidden
2482         .oe_form
2483             .oe_form_field_date img, .oe_form_field_datetime img
2484                 visibility: hidden
2485         .oe_notebook > li.ui-tabs-selected
2486             display: block
2487         .oe_application
2488             .oe_form_sheet, .oe_form_sheetbg
2489                 border: 0px !important
2490                 box-shadow: 0px 0px 0px
2491                 .oe_list
2492                     overflow-x: visible
2493         .oe_view_manager_current > .oe_view_manager_header
2494             border: 0px !important
2495             box-shadow: 0px 0px 0px
2496         text-shadow: none
2497         .text-core .text-wrap .text-arrow
2498             background: none
2499         .openerp div.oe_mail_wall
2500             overflow: hidden !important
2501     .openerp.openerp_webclient_container
2502         overflow: visible
2503 // }}}
2504
2505 // End of customize
2506
2507 // Customize bootstrap3 for tooltip
2508 .tooltip
2509     padding: 0
2510     margin: 0
2511     font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
2512     color: #4c4c4c
2513     font-size: 12px
2514     background: white
2515     text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
2516     background-color: transparent
2517     z-index: 1800
2518     .tooltip-inner
2519         text-align: left !important
2520         max-width: 350px
2521         .oe_tooltip_string
2522             color: #FD5
2523             font-weight: bold
2524             font-size: 13px
2525         .oe_tooltip_help
2526             white-space: pre-wrap
2527         .oe_tooltip_technical
2528             padding: 0 0 4px 0
2529             margin: 5px 0 0 15px
2530             li
2531                 list-style: circle
2532         .oe_tooltip_technical_title
2533             font-weight: bold
2534         .oe_tooltip_close
2535             margin: -5px 0 0 2px
2536             cursor: default
2537             float: right
2538             color: white
2539             &:hover
2540                 color: #999
2541                 cursor: pointer
2542         .oe_tooltip_message
2543             max-width: 310px
2544
2545 // Hack for ui icon {{{
2546 .ui-icon
2547     width: 18px
2548     height: 18px
2549 // End hack}}}
2550
2551 // Customized modal according bootstrap3
2552 .modal
2553     .modal-header button.close
2554         border: none
2555         background: none
2556         padding: 1px
2557         height: 18px
2558         font-size: 20px
2559     .modal-body
2560         overflow: auto
2561         padding: 0
2562         .oe_application
2563             width: 100%
2564         .oe_popup_list
2565             display: none
2566             min-height: 150px
2567         .oe-view-manager
2568             min-height: 150px
2569         .oe_form_sheetbg
2570             .oe_form_sheet
2571                 padding: 0
2572     .modal-footer
2573         text-align: left
2574     .oe_button
2575         margin: 0 4px 0 0
2576     .oe_act_window.modal-body
2577         padding: 0
2578     .oe-view-manager-content > div
2579         position: static !important
2580
2581 @media (min-width: 768px)
2582     .modal .modal-body
2583         max-height: -webkit-calc(100vh - 170px)
2584         max-height: calc(100vh - 170px)
2585
2586 .ui-datepicker
2587     z-index: 1500 !important
2588
2589 input[type="radio"], input[type="checkbox"]
2590     margin-right: 4px
2591     margin-left: 4px
2592
2593 .blockUI.blockOverlay
2594     background-color: black
2595     opacity: 0.6000000238418579
2596
2597 /* ---- EDITOR TOUR ---- {{{ */
2598
2599 div.tour-backdrop
2600     z-index: 2009
2601 .popover.tour
2602     &.orphan .arrow
2603         display: none
2604     .popover-navigation
2605         padding: 9px 14px
2606         *[data-role="end"]
2607             float: right
2608         *[data-role="next"],*[data-role="end"]
2609             cursor: pointer
2610 .popover.fixed
2611     position: fixed
2612 .tour-backdrop
2613     position: fixed
2614     top: 0
2615     right: 0
2616     bottom: 0
2617     left: 0
2618     z-index: 1100
2619     background-color: #000
2620     opacity: 0.8
2621
2622
2623 // }}}
2624
2625 body
2626     overflow: hidden
2627
2628 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) 
2629     .oe-view-manager-content
2630         > div
2631             position: absolute !important
2632         .oe-view-manager-content
2633             > div
2634                 position: relative !important
2635
2636
2637 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
2638 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: