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