7 @mixin vertical-gradient($startColor: #555, $endColor: #333)
8 background-color: $startColor
9 background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
10 background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
11 background-image: -moz-linear-gradient(top, $startColor, $endColor) /* FF3.6 */
12 background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
13 background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */
14 background-image: linear-gradient(to bottom, $startColor, $endColor)
17 @mixin radial-gradient($gradient)
18 background-position: center center
19 background-image: -webkit-radial-gradient(circle, $gradient)
20 background-image: -moz-radial-gradient($gradient)
21 background-image: -ms-radial-gradient($gradient)
22 background-image: radial-gradient($gradient)
24 @mixin radius($radius: 5px)
25 -moz-border-radius: $radius
26 -webkit-border-radius: $radius
27 border-radius: $radius
29 @mixin box-shadow($bsval: 0px 1px 4px #777)
30 -moz-box-shadow: $bsval
31 -webkit-box-shadow: $bsval
34 @mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
35 -webkit-transition: $transval
36 -moz-transition: $transval
37 -ms-transition: $transval
38 -o-transition: $transval
41 @mixin opacity($opacity: .5)
42 filter: alpha(opacity=$opacity * 100)
45 @mixin background-clip($clip: padding-box)
46 -webkit-background-clip: $clip
47 -moz-background-clip: $clip
48 background-clip: $clip
55 font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
65 a.button:link, a.button:visited, button, input[type='submit']
67 border: 1px solid #ababab
73 @include vertical-gradient(#efefef, #d8d8d8)
75 @include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
76 text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
77 -webkit-font-smoothing: antialiased
80 a.button:hover, button:hover, input[type='submit']:hover
81 @include vertical-gradient(#f6f6f6, #e3e3e3)
84 a.button:focus, button:focus, input[type='submit']:focus
85 border: 1px solid #80bfff
86 @include vertical-gradient(#f6f6f6, #e3e3e3)
87 @include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
89 a.button:active, a.button.active, button:active, button.active, input[type='submit']:active, input[type='submit'].active
91 background: -moz-linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f
92 background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#f6f6f6)) #1b468f
93 background: linear-gradient(top, #e3e3e3, #f6f6f6) #1b468f
94 @include box-shadow(none)
96 a.button.disabled, button:disabled, input[type='submit']:disabled
97 background: #efefef !important
98 border: 1px solid #d1d1d1 !important
99 @include box-shadow(none !important)
100 color: #aaa !important
102 text-shadow: 0 1px 1px #fff !important
106 @include vertical-gradient(#dc5f59, #b33630)
107 @include box-shadow(none)
110 @include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%))
111 @include box-shadow(0 0 1px rgba(0,0,0,0.2))
113 button.primary:active
114 @include vertical-gradient(#b33630, #dc5f59)
115 @include box-shadow(none)
120 @include vertical-gradient($colour4, darken($colour4, 3%))
126 @include vertical-gradient(#dc5f59, #b33630)
132 border-collapse: collapse
135 background-color: #f0f0f0
137 border-right: 1px dotted #afafb6
146 vertical-align: middle
151 .zebra tbody tr:nth-child(odd) td
152 background-color: #f0f0fa
153 @include vertical-gradient(#f0f0fa, #eeeef6)
155 .zebra tbody tr:hover td
156 @include vertical-gradient(#eee, #dedede)
168 list-style-type: none
173 // Generic classes {{{
181 // Fullscreen mode {{{
182 .oe_content_full_screen
198 border-top: solid 1px #d3d3d3
199 border-bottom: solid 1px black
200 @include vertical-gradient(#646060, #262626)
213 padding: 5px 10px 7px
218 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
222 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
227 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
236 .oe_dropdown_toggle:after
239 display: inline-block
241 text-indent: -99999px
245 border-left: 4px solid transparent
246 border-right: 4px solid transparent
247 border-top: 4px solid white
248 @include opacity(0.5)
250 // TopBarUserMenu {{{
256 list-style-type: none
263 background: rgba(37,37,37,0.9)
275 border-color: rgba(0, 0, 0, 0.2)
277 border-width: 0 1px 1px
278 @include radius(0 0 6px 6px)
279 @include box-shadow(0 1px 4px rgba(0,0,0,0.3))
280 @include background-clip()
284 background-color: none
293 @include vertical-gradient(#292929, #191919)
294 @include box-shadow(none)
300 border-right: 1px solid #afafb6
301 text-shadow: 0 1px 1px white
337 padding: 5px 10px 7px
342 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
346 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
351 @include box-shadow(0 1px 2px rgba(255,255,255,0.3) inset)
352 .oe_menu_more_container
357 background-color: #646060
359 border: 1px solid black
360 border-bottom-left-radius: 5px
361 border-bottom-right-radius: 5px
366 .oe_secondary_menu_section
370 .oe_secondary_submenu
374 display: inline-block
377 padding: 1px 0 1px 16px
381 padding: 2px 4px 2px 0
391 border: 1px solid lightGray
392 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
394 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
397 border-top: 1px solid lightGray
398 border-bottom: 1px solid lightGray
399 text-shadow: 0 1px 1px rgba(0,0,0,0.2)
400 @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.2))
406 text-shadow: 0 1px 1px white
407 @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2))
408 .oe_menu_toggler:before
411 display: inline-block
413 text-indent: -99999px
418 border-top: 4px solid transparent
419 border-bottom: 4px solid transparent
420 border-left: 4px solid #4c4c4c
421 @include opacity(0.5)
422 .oe_menu_opened:before
426 border-left: 4px solid transparent
427 border-right: 4px solid transparent
428 border-top: 4px solid #4c4c4c
436 // Application to rename into action {{{
442 text-decoration: underline
444 // FormView Layout {{{
449 border-bottom: 1px solid #cacaca
450 @include vertical-gradient(#fcfcfc, #dedede)
467 text-shadow: 0 1px 1px white
468 border-left: 1px solid #cacaca
469 border-right: 1px solid #cacaca
475 border-right: 1px solid #cacaca
479 border-left: 1px solid #cacaca
496 .oe_form_steps_active
500 background: url(/web/static/src/img/form_sheetbg.png)
502 border-bottom: 1px solid #ddd
511 border: 1px solid #afafb6
512 @include box-shadow(0 0 10px rgba(0,0,0,0.3))
519 // margin-bottom: 4px
524 // border-color: #e5e5e5 #dbdbdb #d2d2d2
537 border: 2px dashed red
539 border: 1px solid blue
541 .oe_layout_debug_cell
546 .oe_layout_debug_cell
548 .oe_layout_debug_cell
556 .oe_form_notebook:before, .oe_form_notebook:after
560 .oe_form_notebook:after
562 .oe_form_notebook > li
564 .oe_form_notebook > li > a
570 border-width: 0 0 1px
571 .oe_form_notebook > li
574 .oe_form_notebook > li > a
578 border: 1px solid transparent
579 @include radius(4px 4px 0 0)
580 .oe_form_notebook > li > a:hover
581 text-decoration: none
582 background-color: #eee
583 border-color: #eee #eee #ddd
584 .oe_form_notebook > li.ui-state-active > a, .oe_form_notebook > li.ui-state-active > a:hover
585 background-color: #ffffff
586 border: 1px solid #ddd
587 border-bottom-color: transparent
592 .oe_kanban_group_title
596 text-shadow: 0 1px 0 white
597 .oe_kanban_column, .oe_kanban_group_header
600 padding: 6px 7px 6px 6px
602 border-left: 1px solid #f0f8f8
603 border-right: 1px solid #b9b9b9
609 border: 1px solid #d8d8d8
610 border-bottom-color: #b9b9b9
618 @include box-shadow(0 0 3px rgba(0,0,0,0.6))
626 @include box-shadow(0 1px 2px rgba(0,0,0,0.2))
629 // Application to rename into action {{{
634 text-decoration: underline
637 // Transitional overrides for old styles {{{
639 .oe_form_field_many2one
642 span.oe-m2o-drop-down-button
648 // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
649 // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: