2012-04-07 13:44:59 +00:00
|
|
|
@charset "utf-8"
|
|
|
|
|
2012-04-07 14:00:06 +00:00
|
|
|
// Variables {{{
|
2012-08-14 10:39:11 +00:00
|
|
|
$facets-border: #afafb6
|
2012-08-17 14:22:29 +00:00
|
|
|
$section-title-color: #7C7BAD
|
2012-07-26 16:11:06 +00:00
|
|
|
$tag-bg-light: #f0f0fa
|
2012-08-17 14:22:29 +00:00
|
|
|
$tag-bg-dark: #7C7BAD
|
2012-07-26 16:11:06 +00:00
|
|
|
$tag-border: #afafb6
|
|
|
|
$tag-border-selected: #a6a6fe
|
2012-05-16 10:42:48 +00:00
|
|
|
$hover-background: #f0f0fa
|
2012-08-17 14:22:29 +00:00
|
|
|
$link-color: #7C7BAD
|
2012-07-06 07:30:30 +00:00
|
|
|
$sheet-max-width: 860px
|
2012-10-29 10:47:10 +00:00
|
|
|
$sheet-min-width: 650px
|
|
|
|
$sheet-padding: 16px
|
2012-04-07 14:00:06 +00:00
|
|
|
// }}}
|
|
|
|
// Mixins {{{
|
2012-04-07 13:44:59 +00:00
|
|
|
@font-face
|
|
|
|
font-family: 'mnmliconsRegular'
|
|
|
|
src: url('/web/static/src/font/mnmliconsv21-webfont.eot') format('eot')
|
|
|
|
src: url('/web/static/src/font/mnmliconsv21-webfont.woff') format('woff')
|
|
|
|
src: url('/web/static/src/font/mnmliconsv21-webfont.ttf') format('truetype')
|
|
|
|
src: url('/web/static/src/font/mnmliconsv21-webfont.svg') format('svg') active
|
|
|
|
font-weight: normal
|
|
|
|
font-style: normal
|
2012-03-27 22:20:41 +00:00
|
|
|
|
2012-05-11 15:42:48 +00:00
|
|
|
@font-face
|
|
|
|
font-family: 'EntypoRegular'
|
|
|
|
src: url('/web/static/src/font/entypo-webfont.eot') format('eot')
|
|
|
|
src: url('/web/static/src/font/entypo-webfont.eot?#iefix') format('embedded-opentype')
|
|
|
|
src: url('/web/static/src/font/entypo-webfont.woff') format('woff')
|
|
|
|
src: url('/web/static/src/font/entypo-webfont.ttf') format('truetype')
|
|
|
|
src: url('/web/static/src/font/entypo-webfont.svg') format('svg') active
|
|
|
|
font-weight: normal
|
|
|
|
font-style: normal
|
|
|
|
|
2012-06-27 09:41:06 +00:00
|
|
|
@mixin reset()
|
|
|
|
border: none
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
|
|
|
background: none
|
2012-09-04 10:11:39 +00:00
|
|
|
@include radius(0)
|
2012-06-27 09:41:06 +00:00
|
|
|
@include box-shadow(none)
|
|
|
|
|
2012-02-23 13:55:03 +00:00
|
|
|
@mixin vertical-gradient($startColor: #555, $endColor: #333)
|
2013-01-09 13:18:48 +00:00
|
|
|
background-color: mix($startColor, $endColor)
|
2012-03-07 09:12:54 +00:00
|
|
|
background-image: -webkit-gradient(linear, left top, left bottom, from($startColor), to($endColor)) /* Saf4+, Chrome */
|
|
|
|
background-image: -webkit-linear-gradient(top, $startColor, $endColor) /* Chrome 10+, Saf5.1+, iOS 5+ */
|
|
|
|
background-image: -moz-linear-gradient(top, $startColor, $endColor) /* FF3.6 */
|
|
|
|
background-image: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
|
|
|
|
background-image: -o-linear-gradient(top, $startColor, $endColor) /* Opera 11.10+ */
|
|
|
|
background-image: linear-gradient(to bottom, $startColor, $endColor)
|
|
|
|
|
2012-02-23 13:55:03 +00:00
|
|
|
@mixin radial-gradient($gradient)
|
|
|
|
background-position: center center
|
|
|
|
background-image: -webkit-radial-gradient(circle, $gradient)
|
2012-03-07 09:12:54 +00:00
|
|
|
background-image: -moz-radial-gradient($gradient)
|
|
|
|
background-image: -ms-radial-gradient($gradient)
|
|
|
|
background-image: radial-gradient($gradient)
|
2012-02-23 13:55:03 +00:00
|
|
|
|
|
|
|
@mixin radius($radius: 5px)
|
|
|
|
-moz-border-radius: $radius
|
|
|
|
-webkit-border-radius: $radius
|
|
|
|
border-radius: $radius
|
|
|
|
|
|
|
|
@mixin box-shadow($bsval: 0px 1px 4px #777)
|
|
|
|
-moz-box-shadow: $bsval
|
|
|
|
-webkit-box-shadow: $bsval
|
2012-06-12 12:19:47 +00:00
|
|
|
box-shadow: $bsval
|
2012-02-23 13:55:03 +00:00
|
|
|
|
|
|
|
@mixin transition($transval: (border linear 0.2s, box-shadow linear 0.2s))
|
|
|
|
-webkit-transition: $transval
|
|
|
|
-moz-transition: $transval
|
|
|
|
-ms-transition: $transval
|
|
|
|
-o-transition: $transval
|
|
|
|
transition: $transval
|
|
|
|
|
|
|
|
@mixin opacity($opacity: .5)
|
|
|
|
filter: alpha(opacity=$opacity * 100)
|
|
|
|
opacity: $opacity
|
|
|
|
|
|
|
|
@mixin background-clip($clip: padding-box)
|
|
|
|
-webkit-background-clip: $clip
|
|
|
|
-moz-background-clip: $clip
|
|
|
|
background-clip: $clip
|
2012-03-26 14:50:17 +00:00
|
|
|
|
2012-06-12 13:34:37 +00:00
|
|
|
@mixin box-sizing($type: content)
|
|
|
|
// type = border || content || padding
|
|
|
|
-webkit-box-sizing: #{$type}-box
|
|
|
|
-moz-box-sizing: #{$type}-box
|
|
|
|
-ms-box-sizing: #{$type}-box
|
|
|
|
box-sizing: #{$type}-box
|
2012-03-26 14:50:17 +00:00
|
|
|
|
2012-08-13 18:29:46 +00:00
|
|
|
@mixin skew-gradient($startColor: #555, $endColor: #333)
|
|
|
|
background-color: $endColor
|
|
|
|
background: -moz-linear-gradient(135deg, $endColor, $startColor)
|
|
|
|
background: -o-linear-gradient(135deg, $startColor, $endColor)
|
|
|
|
background: -webkit-gradient(linear, left top, right bottom, from($startColor), to($endColor))
|
2012-11-13 16:21:07 +00:00
|
|
|
background: -ms-linear-gradient(top, $startColor, $endColor) /* IE10 */
|
2012-08-13 18:29:46 +00:00
|
|
|
|
|
|
|
@mixin transform($transform)
|
|
|
|
-webkit-transform: $transform
|
2012-09-04 12:49:21 +00:00
|
|
|
-moz-transform: $transform
|
2012-08-13 18:29:46 +00:00
|
|
|
-ms-transform: $transform
|
2012-09-04 12:49:21 +00:00
|
|
|
-o-transform: $transform
|
|
|
|
transform: $transform
|
|
|
|
|
|
|
|
@mixin keyframes($name)
|
|
|
|
@-webkit-keyframes #{$name}
|
|
|
|
@content
|
|
|
|
@-moz-keyframes #{$name}
|
|
|
|
@content
|
|
|
|
@-ms-keyframes #{$name}
|
|
|
|
@content
|
|
|
|
@-o-keyframes #{$name}
|
|
|
|
@content
|
|
|
|
@keyframes #{$name}
|
|
|
|
@content
|
2012-08-13 18:29:46 +00:00
|
|
|
|
2012-09-20 15:49:26 +00:00
|
|
|
|
2012-05-15 06:12:12 +00:00
|
|
|
// Transforms the (readable) text of an inline element into an mmlicons icon,
|
|
|
|
// allows for actual readable text in-code (and in readers?) with iconic looks
|
|
|
|
@mixin text-to-icon($icon-name, $color: #404040)
|
|
|
|
font-size: 1px
|
|
|
|
letter-spacing: -1px
|
|
|
|
color: transparent
|
2013-04-30 08:34:44 +00:00
|
|
|
text-shadow: none
|
2012-10-22 16:27:08 +00:00
|
|
|
font-weight: normal
|
2012-05-15 06:12:12 +00:00
|
|
|
&:before
|
2012-07-03 10:27:50 +00:00
|
|
|
font: 21px "mnmliconsRegular"
|
2012-05-15 06:12:12 +00:00
|
|
|
content: $icon-name
|
|
|
|
color: $color
|
|
|
|
|
2012-09-18 16:17:51 +00:00
|
|
|
@mixin text-to-entypo-icon($icon-name, $color: #404040, $size: 21px)
|
|
|
|
font-size: 1px
|
|
|
|
letter-spacing: -1px
|
|
|
|
color: transparent
|
2013-04-30 08:34:44 +00:00
|
|
|
text-shadow: none
|
2012-10-22 16:27:08 +00:00
|
|
|
font-weight: normal
|
2012-09-18 16:17:51 +00:00
|
|
|
&:before
|
|
|
|
font: $size "entypoRegular"
|
|
|
|
content: $icon-name
|
|
|
|
color: $color
|
|
|
|
|
2012-07-26 00:23:18 +00:00
|
|
|
// }}}
|
2012-02-23 13:55:03 +00:00
|
|
|
|
2012-04-10 12:15:26 +00:00
|
|
|
.openerp
|
2012-03-28 13:17:35 +00:00
|
|
|
// Global style {{{
|
2012-02-23 15:02:30 +00:00
|
|
|
padding: 0
|
|
|
|
margin: 0
|
|
|
|
font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
|
|
|
|
color: #4c4c4c
|
|
|
|
font-size: 13px
|
|
|
|
background: white
|
2012-11-15 17:36:14 +00:00
|
|
|
&.openerp_webclient_container
|
|
|
|
height: 100%
|
2012-04-07 14:00:06 +00:00
|
|
|
// }}}
|
2012-07-12 07:09:12 +00:00
|
|
|
//Placeholder style{{{
|
|
|
|
\:-moz-placeholder
|
2012-08-09 16:52:08 +00:00
|
|
|
color: $tag-border !important
|
2012-07-12 07:09:12 +00:00
|
|
|
font-style: italic !important
|
|
|
|
\::-webkit-input-placeholder
|
2012-08-09 16:52:08 +00:00
|
|
|
color: $tag-border !important
|
2012-07-12 07:09:12 +00:00
|
|
|
font-style: italic !important
|
2012-11-13 16:21:07 +00:00
|
|
|
\:-ms-input-placeholder
|
|
|
|
color: $tag-border !important
|
|
|
|
font-style: italic !important
|
2012-07-12 07:09:12 +00:00
|
|
|
//}}}
|
2012-04-07 14:00:06 +00:00
|
|
|
// Tag reset {{{
|
2012-02-23 15:02:30 +00:00
|
|
|
a
|
|
|
|
text-decoration: none
|
2012-09-20 11:49:53 +00:00
|
|
|
cursor: pointer !important
|
2012-04-07 14:00:06 +00:00
|
|
|
table
|
|
|
|
padding: 0
|
|
|
|
border-collapse: collapse
|
|
|
|
thead
|
|
|
|
font-weight: bold
|
|
|
|
background-color: #f0f0f0
|
|
|
|
th
|
2012-10-08 15:49:35 +00:00
|
|
|
border-left: 1px solid #dfdfdf
|
|
|
|
&:first-child
|
|
|
|
border-left: none
|
|
|
|
&.null
|
|
|
|
border-left: none
|
2012-04-07 14:00:06 +00:00
|
|
|
th, td
|
|
|
|
padding: 0
|
|
|
|
text-align: left
|
|
|
|
th
|
|
|
|
font-weight: bold
|
|
|
|
vertical-align: middle
|
|
|
|
td
|
|
|
|
vertical-align: top
|
2014-02-03 17:39:26 +00:00
|
|
|
.oe_title
|
|
|
|
width: 50%
|
|
|
|
float: left
|
|
|
|
.oe_title:after
|
|
|
|
content: "."
|
|
|
|
display: block
|
|
|
|
height: 0
|
|
|
|
clear: both
|
|
|
|
visibility: hidden
|
|
|
|
.oe_form_group
|
|
|
|
clear: both
|
2012-04-07 14:00:06 +00:00
|
|
|
.zebra tbody tr:nth-child(odd) td
|
|
|
|
background-color: #f0f0fa
|
|
|
|
@include vertical-gradient(#f0f0fa, #eeeef6)
|
|
|
|
.zebra tbody tr:hover td
|
|
|
|
@include vertical-gradient(#eee, #dedede)
|
2012-06-15 17:03:09 +00:00
|
|
|
input, textarea, select
|
2012-07-06 16:43:57 +00:00
|
|
|
padding: 2px 4px
|
2012-05-24 18:16:48 +00:00
|
|
|
border: 1px solid #ccc
|
|
|
|
@include radius(3px)
|
2012-06-26 09:03:33 +00:00
|
|
|
background: white
|
2012-06-07 17:51:47 +00:00
|
|
|
img
|
|
|
|
vertical-align: middle
|
|
|
|
h4
|
|
|
|
margin: 4px 0
|
2013-12-02 13:19:43 +00:00
|
|
|
font-weight: bold
|
|
|
|
font-size: inherit
|
2012-04-07 14:00:06 +00:00
|
|
|
// }}}
|
|
|
|
// Button style {{{
|
2014-04-10 10:06:31 +00:00
|
|
|
a.button:link, a.button:visited, button, .oe_button, input[type='submit']
|
2012-03-28 13:17:35 +00:00
|
|
|
display: inline-block
|
2012-09-19 09:45:42 +00:00
|
|
|
border: 1px solid rgba(0,0,0,0.4)
|
2012-08-13 18:29:46 +00:00
|
|
|
color: #4c4c4c
|
2012-06-19 13:23:58 +00:00
|
|
|
margin: 0
|
2012-06-03 15:55:11 +00:00
|
|
|
padding: 3px 12px
|
2012-03-28 13:17:35 +00:00
|
|
|
font-size: 13px
|
|
|
|
text-align: center
|
|
|
|
@include vertical-gradient(#efefef, #d8d8d8)
|
|
|
|
@include radius(3px)
|
|
|
|
@include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
|
|
|
|
text-shadow: 0 1px 1px rgba(255, 255, 255, .5)
|
|
|
|
-webkit-font-smoothing: antialiased
|
|
|
|
outline: none
|
|
|
|
|
2014-04-10 10:06:31 +00:00
|
|
|
a.button:hover, button:hover,.oe_button:hover, input[type='submit']:hover
|
2012-03-28 13:17:35 +00:00
|
|
|
@include vertical-gradient(#f6f6f6, #e3e3e3)
|
|
|
|
cursor: pointer
|
2012-07-30 15:47:50 +00:00
|
|
|
background-position: 0
|
2012-03-28 13:17:35 +00:00
|
|
|
|
2014-04-10 10:06:31 +00:00
|
|
|
a.button:focus, button:focus, .oe_button:focus, input[type='submit']:focus
|
2012-03-28 13:17:35 +00:00
|
|
|
border: 1px solid #80bfff
|
2012-07-30 15:47:50 +00:00
|
|
|
background-position: 0
|
2012-03-28 13:17:35 +00:00
|
|
|
@include vertical-gradient(#f6f6f6, #e3e3e3)
|
|
|
|
@include box-shadow((0 0 3px #80bfff, 0 1px 1px rgba(255, 255, 255, .8) inset))
|
|
|
|
|
2014-04-10 10:06:31 +00:00
|
|
|
a.button:active, a.button.active, button:active, .oe_button:active, .oe_button.active, input[type='submit']:active, input[type='submit'].active
|
2012-06-21 16:38:31 +00:00
|
|
|
@include vertical-gradient(#e3e3e3, #f6f6f6)
|
2012-03-28 13:17:35 +00:00
|
|
|
@include box-shadow(none)
|
|
|
|
|
2013-12-17 07:30:42 +00:00
|
|
|
a.button.disabled, button:disabled, .oe_button:disabled, input[type='submit']:disabled
|
2012-03-28 13:17:35 +00:00
|
|
|
background: #efefef !important
|
|
|
|
border: 1px solid #d1d1d1 !important
|
|
|
|
@include box-shadow(none !important)
|
|
|
|
color: #aaa !important
|
|
|
|
cursor: default
|
|
|
|
text-shadow: 0 1px 1px #fff !important
|
2012-06-15 20:33:48 +00:00
|
|
|
// }}}
|
2012-06-19 08:45:26 +00:00
|
|
|
// Jquery ui Overrides {{{
|
2012-08-03 15:37:58 +00:00
|
|
|
.ui-widget-content a
|
|
|
|
color: $link-color
|
2012-09-04 10:19:16 +00:00
|
|
|
.oe_bounce_container
|
|
|
|
display: inline-block
|
2012-07-30 15:47:50 +00:00
|
|
|
|
2012-11-15 17:36:14 +00:00
|
|
|
// Bug lp:1051746
|
|
|
|
.text-tag .text-button
|
|
|
|
height: auto !important
|
|
|
|
min-height: 16px
|
|
|
|
|
2012-10-22 13:16:24 +00:00
|
|
|
// bug noted in jquery ui CSS doesn't seem to occur in IE9,
|
|
|
|
// so remove position:relative
|
|
|
|
.ui-tabs
|
|
|
|
position: static
|
2012-10-31 14:06:09 +00:00
|
|
|
|
2012-06-19 08:45:26 +00:00
|
|
|
// }}}
|
|
|
|
// Generic classes {{{
|
|
|
|
.oe_i
|
|
|
|
font-family: "mnmliconsRegular" !important
|
|
|
|
font-size: 21px
|
|
|
|
font-weight: 300 !important
|
|
|
|
.oe_e
|
|
|
|
font-family: "entypoRegular" !important
|
|
|
|
font-size: 34px
|
|
|
|
font-weight: 300 !important
|
2014-01-27 17:24:14 +00:00
|
|
|
line-height: 100%
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_left
|
|
|
|
float: left
|
|
|
|
margin-right: 8px
|
2014-03-13 12:48:55 +00:00
|
|
|
width: 305px
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_right
|
|
|
|
float: right
|
|
|
|
margin-left: 8px
|
2013-03-13 15:44:29 +00:00
|
|
|
.oe_text_center
|
|
|
|
text-align: center
|
|
|
|
.oe_text_left
|
|
|
|
text-align: left
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_text_right
|
|
|
|
text-align: right
|
|
|
|
.oe_clear
|
|
|
|
clear: both
|
|
|
|
.oe_wait
|
|
|
|
cursor: wait
|
|
|
|
.oe_fade
|
|
|
|
color: #888
|
2012-07-16 20:35:52 +00:00
|
|
|
font-weight: normal
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_bold
|
|
|
|
font-weight: bold
|
2012-06-21 13:07:58 +00:00
|
|
|
.oe_inline
|
|
|
|
width: auto !important
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_highlight
|
2012-03-28 13:17:35 +00:00
|
|
|
color: white
|
2012-06-19 08:45:26 +00:00
|
|
|
background: #DC5F59
|
|
|
|
button.oe_highlight
|
2012-09-04 13:05:09 +00:00
|
|
|
@include vertical-gradient(#df3f3f, #a21a1a)
|
|
|
|
@include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
|
2012-06-19 08:45:26 +00:00
|
|
|
button.oe_highlight:hover
|
2012-09-04 17:02:47 +00:00
|
|
|
@include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
|
2012-09-04 13:05:09 +00:00
|
|
|
button.oe_highlight:active
|
2012-09-04 17:02:47 +00:00
|
|
|
@include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
|
2012-09-03 16:40:10 +00:00
|
|
|
.oe_background_grey
|
|
|
|
background: #eee !important
|
2012-08-21 16:44:16 +00:00
|
|
|
|
2012-06-25 20:27:10 +00:00
|
|
|
.oe_form_dirty
|
|
|
|
.oe_highlight_on_dirty
|
|
|
|
color: white
|
|
|
|
background: #dc5f59
|
|
|
|
font-weight: bold
|
|
|
|
button.oe_highlight_on_dirty
|
|
|
|
@include vertical-gradient(#dc5f59, #b33630)
|
|
|
|
@include box-shadow(none)
|
|
|
|
&:hover
|
|
|
|
background: #ED6F6A
|
2012-06-19 09:30:11 +00:00
|
|
|
.oe_button_box
|
2014-03-13 12:48:55 +00:00
|
|
|
width: 400px
|
|
|
|
text-align: left
|
2014-03-17 15:27:10 +00:00
|
|
|
.oe_stat_button:hover
|
2014-03-19 08:57:18 +00:00
|
|
|
background: #7c7bad
|
|
|
|
color: white
|
|
|
|
.fa
|
|
|
|
color: white
|
2014-03-12 13:22:13 +00:00
|
|
|
.oe_stat_button
|
|
|
|
font-weight: normal
|
|
|
|
display: inline-table
|
2014-03-13 12:48:55 +00:00
|
|
|
width: 33% !important
|
2014-03-19 08:57:18 +00:00
|
|
|
height: 42px
|
2014-03-13 12:48:55 +00:00
|
|
|
margin: 0px -1px -1px 0px
|
2014-03-19 08:57:18 +00:00
|
|
|
padding: 0
|
2014-03-12 13:45:38 +00:00
|
|
|
color: #666
|
2014-03-19 08:57:18 +00:00
|
|
|
border: 1px solid #dddddd
|
|
|
|
border-radius: 0
|
2014-03-20 08:21:29 +00:00
|
|
|
box-shadow: none
|
2014-03-17 15:27:10 +00:00
|
|
|
background: white
|
2014-03-12 13:22:13 +00:00
|
|
|
> div
|
|
|
|
display: table-cell
|
|
|
|
vertical-align: middle
|
2014-03-13 12:48:55 +00:00
|
|
|
text-align: left
|
2014-03-17 15:27:10 +00:00
|
|
|
padding: 0
|
2014-03-19 08:57:18 +00:00
|
|
|
line-height: 120%
|
2014-03-12 13:22:13 +00:00
|
|
|
.stat_button_icon
|
|
|
|
color: #7C7BAD
|
|
|
|
font-size: 24px
|
2014-03-17 15:27:10 +00:00
|
|
|
padding: 0px 3px
|
2014-03-19 08:57:18 +00:00
|
|
|
width: 37px
|
2014-03-13 12:48:55 +00:00
|
|
|
text-align: center
|
2014-04-08 11:31:07 +00:00
|
|
|
.oe_form_field_percent_pie
|
|
|
|
width: 42px
|
|
|
|
.oe_form_field_bar_chart
|
|
|
|
width: 42px
|
2014-03-13 12:48:55 +00:00
|
|
|
svg
|
|
|
|
width: 38px
|
|
|
|
height: 38px
|
2014-04-08 11:31:07 +00:00
|
|
|
display: inline
|
|
|
|
vertical-align: middle
|
2012-06-19 12:57:47 +00:00
|
|
|
.oe_avatar
|
2012-07-12 16:43:44 +00:00
|
|
|
> img
|
2012-08-21 16:15:17 +00:00
|
|
|
max-height: 90px
|
|
|
|
max-width: 90px
|
2012-06-19 12:57:47 +00:00
|
|
|
@include radius(3px)
|
2012-08-31 16:31:53 +00:00
|
|
|
@include box-shadow(0 1px 4px rgba(0, 0, 0, 0.4))
|
2012-06-19 12:57:47 +00:00
|
|
|
border: none
|
2012-09-02 12:58:05 +00:00
|
|
|
margin-bottom: 10px
|
2012-07-16 20:35:52 +00:00
|
|
|
.oe_avatar + div
|
2012-07-16 21:18:40 +00:00
|
|
|
margin-left: 5px
|
2012-08-06 15:54:18 +00:00
|
|
|
.oe_image_small > img
|
|
|
|
max-width: 50px
|
|
|
|
max-height: 50px
|
|
|
|
.oe_image_medium > img
|
|
|
|
max-width: 180px
|
|
|
|
max-height: 180px
|
2012-06-27 09:41:06 +00:00
|
|
|
.oe_button.oe_link
|
|
|
|
@include reset()
|
|
|
|
img
|
2012-12-03 15:15:25 +00:00
|
|
|
display: inline-block
|
2012-06-27 09:41:06 +00:00
|
|
|
span
|
|
|
|
@include reset()
|
2012-08-03 15:37:58 +00:00
|
|
|
color: $link-color
|
2012-06-27 09:41:06 +00:00
|
|
|
font-weight: bold
|
|
|
|
&:hover
|
|
|
|
text-decoration: underline
|
2012-07-06 16:43:57 +00:00
|
|
|
.oe_webclient
|
|
|
|
.oe_star_on, .oe_star_off
|
|
|
|
color: #cccccc
|
|
|
|
text-shadow: 0 0 2px black
|
|
|
|
vertical-align: top
|
|
|
|
position: relative
|
|
|
|
top: -5px
|
|
|
|
.oe_star_on:hover, .oe_star_off:hover
|
|
|
|
text-decoration: none
|
|
|
|
.oe_star_on
|
|
|
|
color: gold
|
2012-10-08 08:11:37 +00:00
|
|
|
p.oe_grey
|
|
|
|
max-width: 650px
|
|
|
|
.oe_grey
|
|
|
|
color: #aaa
|
2013-12-02 13:19:43 +00:00
|
|
|
// Added for generic error message and customize bootstrap3 <pre>,<hr>
|
|
|
|
.oe_error_detail
|
|
|
|
hr
|
|
|
|
display: block
|
|
|
|
-webkit-margin-before: 0.5em
|
|
|
|
-webkit-margin-after: 0.5em
|
|
|
|
-webkit-margin-start: auto
|
|
|
|
-webkit-margin-end: auto
|
|
|
|
border-style: inset
|
|
|
|
border-width: 1px
|
2012-07-12 12:56:37 +00:00
|
|
|
// }}}
|
2012-10-02 14:26:15 +00:00
|
|
|
|
2012-07-12 13:32:50 +00:00
|
|
|
// Tags (for many2many tags, among others) {{{
|
2012-07-14 16:58:56 +00:00
|
|
|
.oe_tag
|
2012-07-26 16:11:06 +00:00
|
|
|
border: 1px solid $tag-border
|
|
|
|
font-size: 11px
|
|
|
|
padding: 2px 4px
|
2012-07-14 16:58:56 +00:00
|
|
|
margin: 0 2px 2px 0
|
2012-07-26 16:11:06 +00:00
|
|
|
@include radius(3px)
|
|
|
|
background: $tag-bg-light
|
|
|
|
color: #4C4C4C
|
|
|
|
.oe_tag_dark
|
|
|
|
background: $tag-bg-dark
|
|
|
|
color: #eee
|
2013-03-02 22:40:18 +00:00
|
|
|
.oe_form_field_radio
|
2013-03-21 15:04:05 +00:00
|
|
|
&.oe_horizontal
|
|
|
|
white-space: nowrap
|
2013-04-10 16:09:17 +00:00
|
|
|
label
|
2013-03-21 15:04:05 +00:00
|
|
|
display: inline-block
|
|
|
|
text-align: center
|
2013-04-11 09:06:54 +00:00
|
|
|
height: 16px
|
|
|
|
&.oe_vertical
|
|
|
|
label
|
|
|
|
margin-left: 4px
|
2013-04-11 09:33:19 +00:00
|
|
|
&.oe_form_required
|
2013-04-11 09:06:54 +00:00
|
|
|
.oe_radio_input
|
|
|
|
border: 2px solid transparent
|
|
|
|
display: inline-block
|
|
|
|
height: 12px
|
|
|
|
width: 12px
|
|
|
|
vertical-align: bottom
|
|
|
|
border-radius: 10px
|
|
|
|
margin: 1px 0
|
|
|
|
&.oe_form_invalid
|
|
|
|
.oe_radio_input
|
|
|
|
border-color: red
|
2012-07-12 13:32:50 +00:00
|
|
|
.oe_tags
|
2012-08-14 10:39:11 +00:00
|
|
|
&.oe_inline
|
|
|
|
min-width: 250px
|
2012-07-12 12:56:37 +00:00
|
|
|
.text-wrap
|
|
|
|
width: 100% !important
|
|
|
|
textarea
|
|
|
|
width: 100% !important
|
2013-06-07 15:13:39 +00:00
|
|
|
.text-core
|
|
|
|
min-height: 22px
|
|
|
|
.text-wrap .text-dropdown .text-list .text-suggestion em
|
|
|
|
font-style: italic
|
|
|
|
text-decoration: none
|
2012-09-02 13:30:23 +00:00
|
|
|
margin-bottom: 1px
|
2012-06-19 08:45:26 +00:00
|
|
|
// }}}
|
|
|
|
// Tooltips {{{
|
|
|
|
&.oe_tooltip
|
|
|
|
font-size: 12px
|
|
|
|
.oe_tooltip_string
|
|
|
|
color: #FD5
|
|
|
|
font-weight: bold
|
|
|
|
font-size: 13px
|
|
|
|
.oe_tooltip_help
|
|
|
|
white-space: pre-wrap
|
|
|
|
.oe_tooltip_technical
|
|
|
|
padding: 0 0 4px 0
|
|
|
|
margin: 5px 0 0 15px
|
|
|
|
li
|
|
|
|
list-style: circle
|
|
|
|
.oe_tooltip_technical_title
|
|
|
|
font-weight: bold
|
2012-08-06 14:00:44 +00:00
|
|
|
.oe_tooltip_close
|
|
|
|
margin: -5px 0 0 2px
|
|
|
|
cursor: default
|
|
|
|
float: right
|
|
|
|
color: white
|
|
|
|
&:hover
|
|
|
|
color: #999
|
|
|
|
cursor: pointer
|
|
|
|
.oe_tooltip_message
|
|
|
|
max-width: 310px
|
2012-06-19 08:45:26 +00:00
|
|
|
// }}}
|
|
|
|
// Notebook {{{
|
|
|
|
.oe_notebook
|
|
|
|
margin: 8px 0
|
2012-06-19 13:53:57 +00:00
|
|
|
padding: 0 16px
|
2012-06-19 08:45:26 +00:00
|
|
|
list-style: none
|
|
|
|
zoom: 1
|
2012-06-25 14:48:45 +00:00
|
|
|
.oe_notebook.ui-corner-all
|
|
|
|
@include radius(0)
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_notebook:before, .oe_notebook:after
|
|
|
|
display: table
|
|
|
|
content: ""
|
|
|
|
zoom: 1
|
|
|
|
.oe_notebook:after
|
|
|
|
clear: both
|
|
|
|
.oe_notebook > li
|
|
|
|
float: left
|
|
|
|
.oe_notebook > li > a
|
|
|
|
display: block
|
2012-12-11 15:45:50 +00:00
|
|
|
color: #808080
|
|
|
|
.oe_notebook > li.ui-tabs-active > a
|
2012-06-19 08:45:26 +00:00
|
|
|
color: #4c4c4c
|
|
|
|
.oe_notebook
|
|
|
|
border-color: #ddd
|
|
|
|
border-style: solid
|
|
|
|
border-width: 0 0 1px
|
|
|
|
.oe_notebook > li
|
|
|
|
position: relative
|
|
|
|
.oe_notebook > li > a
|
|
|
|
padding: 0 12px
|
|
|
|
margin-right: 2px
|
|
|
|
line-height: 30px
|
|
|
|
border: 1px solid transparent
|
|
|
|
@include radius(4px 4px 0 0)
|
|
|
|
.oe_notebook > li > a:hover
|
|
|
|
text-decoration: none
|
|
|
|
background-color: #eee
|
|
|
|
border-color: #eee #eee #ddd
|
2013-12-10 11:24:44 +00:00
|
|
|
.ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active
|
|
|
|
border-bottom: none
|
|
|
|
padding-bottom: 1px
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_notebook > li.ui-state-active > a, .oe_notebook > li.ui-state-active > a:hover
|
|
|
|
background-color: #ffffff
|
|
|
|
border: 1px solid #ddd
|
|
|
|
border-bottom-color: transparent
|
|
|
|
cursor: default
|
|
|
|
.oe_notebook_page
|
|
|
|
padding: 0
|
2013-12-02 13:19:43 +00:00
|
|
|
//Customize label weight according bootstrap3
|
|
|
|
> label:not([for])
|
|
|
|
font-weight: normal !important
|
|
|
|
// End of customize
|
2012-06-19 08:45:26 +00:00
|
|
|
div.ui-tabs
|
|
|
|
padding: 3px 0px 3px 0px
|
|
|
|
.ui-tabs-hide
|
2012-03-28 13:17:35 +00:00
|
|
|
display: none
|
2012-02-23 15:02:30 +00:00
|
|
|
// }}}
|
2012-06-19 08:45:26 +00:00
|
|
|
// Dropdown {{{
|
2012-06-20 15:14:53 +00:00
|
|
|
.oe_dropdown, .oe_dropdown_hover, .oe_dropdown_toggle
|
2012-06-19 20:55:30 +00:00
|
|
|
position: relative
|
|
|
|
cursor: pointer
|
2012-07-06 16:43:57 +00:00
|
|
|
.oe_dropdown_toggle
|
2012-12-07 12:13:41 +00:00
|
|
|
color: #2B2B2B
|
2012-07-06 16:43:57 +00:00
|
|
|
font-weight: normal
|
2012-06-20 15:14:53 +00:00
|
|
|
.oe_dropdown_hover:hover .oe_dropdown_menu, .oe_dropdown_menu.oe_opened
|
2012-06-19 20:55:30 +00:00
|
|
|
display: block
|
2012-06-20 15:14:53 +00:00
|
|
|
.oe_dropdown_menu
|
2012-06-19 08:45:26 +00:00
|
|
|
display: none
|
|
|
|
position: absolute
|
2012-09-19 11:11:51 +00:00
|
|
|
z-index: 3
|
2012-09-11 14:17:38 +00:00
|
|
|
margin: 0
|
2012-08-09 16:52:08 +00:00
|
|
|
border: 1px solid $tag-border
|
2012-06-20 10:21:26 +00:00
|
|
|
background: white
|
2012-07-18 14:35:39 +00:00
|
|
|
padding: 4px 0
|
2012-07-05 11:58:47 +00:00
|
|
|
min-width: 140px
|
2012-06-19 08:45:26 +00:00
|
|
|
text-align: left
|
|
|
|
@include radius(3px)
|
|
|
|
@include box-shadow(0 1px 4px rgba(0,0,0,0.3))
|
2012-06-20 13:59:31 +00:00
|
|
|
> li
|
2012-06-19 08:45:26 +00:00
|
|
|
&:hover
|
|
|
|
@include vertical-gradient(#f0f0fa, #eeeef6)
|
|
|
|
@include box-shadow(none)
|
|
|
|
list-style-type: none
|
|
|
|
float: none
|
|
|
|
display: block
|
2012-06-20 10:21:26 +00:00
|
|
|
position: relative
|
2012-09-11 14:17:38 +00:00
|
|
|
margin: 0
|
2012-07-18 14:35:39 +00:00
|
|
|
padding: 2px 8px
|
2012-06-20 13:59:31 +00:00
|
|
|
> a
|
2012-06-20 10:21:26 +00:00
|
|
|
white-space: nowrap
|
2012-06-19 08:45:26 +00:00
|
|
|
display: block
|
|
|
|
color: #4c4c4c
|
|
|
|
text-decoration: none
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
2012-06-20 15:14:53 +00:00
|
|
|
.oe_dropdown_arrow:after
|
2012-06-20 10:21:26 +00:00
|
|
|
width: 0
|
|
|
|
height: 0
|
|
|
|
display: inline-block
|
|
|
|
content: "&darr"
|
|
|
|
text-indent: -99999px
|
|
|
|
vertical-align: top
|
|
|
|
margin-top: 8px
|
2012-09-25 16:26:28 +00:00
|
|
|
//margin-left set at 3px to avoid a strange overflow
|
2012-10-22 16:27:08 +00:00
|
|
|
margin-left: 3px
|
2012-06-20 10:21:26 +00:00
|
|
|
border-left: 4px solid transparent
|
|
|
|
border-right: 4px solid transparent
|
|
|
|
border-top: 4px solid#404040
|
|
|
|
@include opacity(0.5)
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_sidebar
|
|
|
|
white-space: nowrap
|
2012-06-20 15:14:53 +00:00
|
|
|
.oe_dropdown_menu
|
2012-06-20 10:21:26 +00:00
|
|
|
.oe_sidebar_add_attachment
|
|
|
|
height: 20px
|
|
|
|
cursor: pointer
|
|
|
|
padding-left: 6px
|
|
|
|
margin-top: 6px
|
|
|
|
span
|
|
|
|
font-weight: bold
|
|
|
|
.oe_hidden_input_file
|
|
|
|
width: 200px
|
|
|
|
&:hover
|
|
|
|
@include vertical-gradient(#f0f0fa, #eeeef6)
|
|
|
|
@include box-shadow(none)
|
|
|
|
li
|
|
|
|
.oe_sidebar_delete_item
|
|
|
|
position: absolute
|
|
|
|
top: 4px
|
|
|
|
right: 4px
|
|
|
|
display: none
|
|
|
|
width: 12px
|
|
|
|
height: 12px
|
|
|
|
padding: 1px
|
|
|
|
color: #8786b7
|
|
|
|
line-height: 8px
|
|
|
|
text-align: center
|
|
|
|
font-weight: bold
|
|
|
|
text-shadow: 0 1px 1px white
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
|
|
|
color: white
|
|
|
|
background: #8786b7
|
|
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
|
|
|
|
@include radius(2px)
|
|
|
|
&:hover
|
|
|
|
.oe_sidebar_delete_item
|
|
|
|
display: inline-block
|
2012-06-19 08:45:26 +00:00
|
|
|
// }}}
|
2012-04-09 21:43:48 +00:00
|
|
|
// Loading {{{
|
2012-04-08 15:06:33 +00:00
|
|
|
.oe_loading
|
|
|
|
display: none
|
|
|
|
z-index: 100
|
|
|
|
position: fixed
|
|
|
|
top: 0
|
|
|
|
right: 50%
|
|
|
|
padding: 4px 12px
|
|
|
|
background: #A61300
|
|
|
|
color: white
|
|
|
|
text-align: center
|
|
|
|
border: 1px solid #900
|
|
|
|
border-top: none
|
|
|
|
-moz-border-radius-bottomright: 8px
|
|
|
|
-moz-border-radius-bottomleft: 8px
|
|
|
|
border-bottom-right-radius: 8px
|
|
|
|
border-bottom-left-radius: 8px
|
|
|
|
// }}}
|
2012-11-29 21:37:43 +00:00
|
|
|
// Notifications {{{
|
2012-04-09 00:39:01 +00:00
|
|
|
.oe_notification
|
2014-04-23 08:19:14 +00:00
|
|
|
z-index: 1500
|
|
|
|
|
2012-11-29 21:37:43 +00:00
|
|
|
.oe_webclient_timezone_notification
|
|
|
|
a
|
|
|
|
color: white
|
|
|
|
text-decoration: underline
|
|
|
|
p
|
|
|
|
margin-top: 1em
|
|
|
|
dt
|
|
|
|
font-weight: bold
|
|
|
|
.oe_timezone_systray
|
|
|
|
span
|
|
|
|
margin-top: 1px
|
2012-11-29 22:37:04 +00:00
|
|
|
background-color: #f6cf3b
|
2012-04-09 00:39:01 +00:00
|
|
|
// }}}
|
2012-11-08 14:50:01 +00:00
|
|
|
// CrashManager {{{
|
|
|
|
.oe_dialog_warning
|
|
|
|
width: 100%
|
|
|
|
p
|
|
|
|
text-align: center
|
|
|
|
.oe_dialog_icon
|
|
|
|
padding: 5px
|
|
|
|
width: 32px
|
|
|
|
// }}}
|
2012-04-09 21:43:48 +00:00
|
|
|
// DatabaseManager {{{
|
2012-04-08 16:52:25 +00:00
|
|
|
.oe_database_manager
|
2012-04-09 00:39:01 +00:00
|
|
|
background: #fff
|
2012-04-08 16:52:25 +00:00
|
|
|
color: #000
|
|
|
|
text-align: left
|
|
|
|
.oe_database_manager_menu
|
2012-04-08 22:42:01 +00:00
|
|
|
color: #000
|
2012-04-08 16:52:25 +00:00
|
|
|
// }}}
|
|
|
|
// WebClient {{{
|
|
|
|
.oe_webclient
|
|
|
|
width: 100%
|
|
|
|
height: 100%
|
|
|
|
border-spacing: 0px
|
|
|
|
// }}}
|
|
|
|
// WebClient.fullscreen {{{
|
|
|
|
.oe_content_full_screen
|
|
|
|
.oe_application
|
|
|
|
top: 0
|
|
|
|
left: 0
|
|
|
|
.oe_topbar, .oe_leftbar
|
|
|
|
display: none
|
|
|
|
// }}}
|
2012-09-21 14:09:32 +00:00
|
|
|
// Top Menu {{{
|
2012-10-22 16:27:08 +00:00
|
|
|
|
2013-12-02 13:19:43 +00:00
|
|
|
.navbar
|
2012-12-17 08:57:59 +00:00
|
|
|
.oe_topbar_anonymous_login
|
|
|
|
background-color: #dc5f59
|
|
|
|
color: #eeeeee
|
|
|
|
@include vertical-gradient(#FC8787, #800000)
|
|
|
|
a
|
|
|
|
display: block
|
|
|
|
padding: 5px 10px 7px
|
|
|
|
line-height: 20px
|
2013-12-02 13:19:43 +00:00
|
|
|
height: 30px
|
2012-12-17 08:57:59 +00:00
|
|
|
text-decoration: none
|
|
|
|
color: white
|
|
|
|
background: transparent
|
|
|
|
@include transition(all 0.2s ease-out)
|
|
|
|
a:hover
|
|
|
|
background: rgba(0,0,0,0.1)
|
|
|
|
color: white
|
|
|
|
text-shadow: 0px 0px 3px rgba(0,0,0,0.2)
|
|
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
|
2012-02-23 15:02:30 +00:00
|
|
|
.oe_topbar_item
|
2012-06-19 13:14:32 +00:00
|
|
|
display: block
|
2013-12-02 13:19:43 +00:00
|
|
|
padding: 5px 10px 26px
|
2012-06-19 13:14:32 +00:00
|
|
|
line-height: 20px
|
|
|
|
height: 20px
|
2012-09-25 16:26:28 +00:00
|
|
|
text-decoration: none
|
2012-06-19 13:14:32 +00:00
|
|
|
color: #eee
|
|
|
|
vertical-align: top
|
|
|
|
text-shadow: 0 1px 1px rgba(0,0,0,0.2)
|
2012-09-25 16:26:28 +00:00
|
|
|
@include transition(all 0.2s ease-out)
|
2012-10-08 08:11:37 +00:00
|
|
|
&:hover
|
2012-09-25 16:26:28 +00:00
|
|
|
background: rgba(0,0,0,0.2)
|
|
|
|
text-shadow: black 0px 0px 3px
|
2012-06-19 13:14:32 +00:00
|
|
|
color: white
|
2012-09-25 16:26:28 +00:00
|
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
|
2012-02-23 15:02:30 +00:00
|
|
|
|
|
|
|
.oe_topbar_avatar
|
|
|
|
width: 24px
|
|
|
|
height: 24px
|
|
|
|
margin: -2px 2px 0 0
|
2012-06-07 17:51:47 +00:00
|
|
|
@include radius(3px)
|
2012-02-27 13:45:31 +00:00
|
|
|
.oe_topbar_avatar
|
|
|
|
vertical-align: top
|
2012-06-20 15:14:53 +00:00
|
|
|
.oe_dropdown_arrow:after
|
2012-06-19 21:22:12 +00:00
|
|
|
border-top: 4px solid white
|
2013-12-02 13:19:43 +00:00
|
|
|
.dropdown_menu
|
2012-06-28 07:41:23 +00:00
|
|
|
top: 32px
|
2012-06-19 20:55:30 +00:00
|
|
|
background: #333
|
|
|
|
background: rgba(37,37,37,0.9)
|
|
|
|
border-color: #999
|
|
|
|
border-color: rgba(0, 0, 0, 0.2)
|
|
|
|
border-style: solid
|
2013-10-18 09:43:36 +00:00
|
|
|
border-width: 0 2px 1px
|
2012-06-19 20:55:30 +00:00
|
|
|
@include radius(0 0 6px 6px)
|
|
|
|
@include background-clip()
|
|
|
|
li
|
|
|
|
float: none
|
2012-07-19 15:28:04 +00:00
|
|
|
padding: 3px 12px
|
2012-06-19 20:55:30 +00:00
|
|
|
a
|
|
|
|
color: #eee
|
2012-07-19 15:28:04 +00:00
|
|
|
&:hover
|
|
|
|
@include vertical-gradient(#292929, #191919)
|
|
|
|
@include box-shadow(none)
|
2012-12-13 10:52:00 +00:00
|
|
|
.oe_topbar_name
|
|
|
|
max-width: 150px
|
|
|
|
display: inline-block
|
2013-12-02 13:19:43 +00:00
|
|
|
height: 15px // Customize to manage caret when topbar_name is over sized.
|
2012-12-13 10:52:00 +00:00
|
|
|
text-overflow: ellipsis
|
|
|
|
white-space: nowrap
|
2013-12-02 13:19:43 +00:00
|
|
|
overflow: hidden // Customize to bring ellipsis when topbar_name is over sized.
|
2012-07-05 11:58:47 +00:00
|
|
|
|
2012-09-25 16:26:28 +00:00
|
|
|
// oe menu is the list of the buttons on the left side of the bar.
|
|
|
|
// So why aren't the buttons oe_topbar_items ? This sad state of affairs
|
|
|
|
// is a leftover from an uncomplete refactoring when the left and top menu
|
|
|
|
// were merged. You are welcome to refactor and clean this up
|
2013-12-02 13:19:43 +00:00
|
|
|
.navbar-nav
|
2012-02-23 15:02:30 +00:00
|
|
|
float: left
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
2012-09-25 16:26:28 +00:00
|
|
|
font-size: 13px
|
2012-08-17 15:55:51 +00:00
|
|
|
> li
|
2012-09-11 14:17:38 +00:00
|
|
|
list-style-type: none
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
2012-02-23 15:02:30 +00:00
|
|
|
float: left
|
2012-09-25 16:26:28 +00:00
|
|
|
display: block
|
|
|
|
color: #eeeeee
|
2012-08-17 15:55:51 +00:00
|
|
|
> a
|
|
|
|
display: block
|
2013-12-02 13:19:43 +00:00
|
|
|
padding: 5px 10px 26px !important
|
2012-08-17 15:55:51 +00:00
|
|
|
line-height: 20px
|
|
|
|
height: 20px
|
2012-09-25 16:26:28 +00:00
|
|
|
text-decoration: none
|
2013-12-02 13:19:43 +00:00
|
|
|
color: #eee !important
|
2012-08-17 15:55:51 +00:00
|
|
|
vertical-align: top
|
|
|
|
text-shadow: 0 1px 1px rgba(0,0,0,0.2)
|
2012-09-25 16:26:28 +00:00
|
|
|
@include transition(all 0.2s ease-out)
|
2012-10-08 08:11:37 +00:00
|
|
|
&:hover
|
2012-09-25 16:26:28 +00:00
|
|
|
background: rgba(0,0,0,0.2)
|
|
|
|
text-shadow: black 0px 0px 3px
|
2012-08-17 15:55:51 +00:00
|
|
|
color: white
|
2012-09-25 16:26:28 +00:00
|
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
|
2013-12-02 13:19:43 +00:00
|
|
|
> .active
|
2012-10-01 17:12:26 +00:00
|
|
|
background: rgba(0,0,0,0.30)
|
2012-09-25 16:26:28 +00:00
|
|
|
text-shadow: black 0px 0px 3px
|
|
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.4) inset)
|
|
|
|
|
|
|
|
.oe_user_menu
|
|
|
|
float: right
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
|
|
|
li
|
|
|
|
list-style-type: none
|
|
|
|
float: left
|
|
|
|
.oe_dropdown_menu
|
|
|
|
right: -1px
|
|
|
|
|
|
|
|
.oe_systray > div
|
|
|
|
float: left
|
|
|
|
padding: 0 4px 0 4px
|
|
|
|
.oe_systray
|
|
|
|
float: right
|
|
|
|
|
|
|
|
// }}}
|
|
|
|
// Webclient.leftbar {{{
|
|
|
|
.oe_leftbar
|
|
|
|
display: none
|
|
|
|
width: 220px
|
|
|
|
background: #f0eeee
|
|
|
|
border-right: 1px solid $tag-border
|
2013-12-02 13:19:43 +00:00
|
|
|
text-shadow: none
|
2012-09-25 16:26:28 +00:00
|
|
|
padding-bottom: 16px
|
|
|
|
a.oe_logo
|
2012-12-18 11:17:34 +00:00
|
|
|
position: relative
|
2012-09-25 16:26:28 +00:00
|
|
|
width: 220px
|
|
|
|
display: block
|
|
|
|
text-align: center
|
|
|
|
img
|
|
|
|
margin: 14px 0
|
2012-11-15 17:51:46 +00:00
|
|
|
border: 0
|
2012-12-18 11:17:34 +00:00
|
|
|
.oe_logo_edit
|
|
|
|
margin: 14px 0
|
|
|
|
position: absolute
|
|
|
|
top: 1px
|
|
|
|
padding: 4px
|
|
|
|
width: 100%
|
|
|
|
display: none
|
|
|
|
text-align: center
|
|
|
|
color: #eee
|
|
|
|
background: rgba(37,37,37,0.9)
|
|
|
|
@include box-sizing(border)
|
|
|
|
&:hover .oe_logo_edit_admin
|
|
|
|
display: block
|
2012-09-25 16:26:28 +00:00
|
|
|
.oe_footer
|
|
|
|
position: fixed
|
|
|
|
bottom: 0
|
|
|
|
padding: 4px 0
|
|
|
|
background: #f0eeee
|
|
|
|
width: 220px
|
|
|
|
text-align: center
|
|
|
|
a
|
2012-12-15 21:41:13 +00:00
|
|
|
font-weight: bold
|
2012-09-25 16:26:28 +00:00
|
|
|
color: black
|
|
|
|
span
|
|
|
|
color: #c81010
|
|
|
|
// }}}
|
|
|
|
// Webclient.leftbar items {{{
|
|
|
|
|
2012-02-28 13:41:21 +00:00
|
|
|
.oe_secondary_menu_section
|
|
|
|
font-weight: bold
|
|
|
|
margin-left: 8px
|
2012-08-03 15:37:58 +00:00
|
|
|
color: $link-color
|
2012-02-28 13:41:21 +00:00
|
|
|
.oe_secondary_submenu
|
2013-12-02 13:19:43 +00:00
|
|
|
margin-bottom: 10px !important
|
|
|
|
line-height: 1.1em
|
|
|
|
margin-top: 3px
|
2013-01-02 12:53:44 +00:00
|
|
|
.oe_menu_text
|
|
|
|
white-space: nowrap
|
|
|
|
overflow: hidden
|
|
|
|
display: inline-block
|
|
|
|
text-overflow: ellipsis
|
|
|
|
max-width: 85%
|
2013-12-02 13:19:43 +00:00
|
|
|
margin-top: 1px
|
|
|
|
.badge
|
2012-08-23 16:19:53 +00:00
|
|
|
&:hover
|
|
|
|
cursor: pointer
|
2012-09-03 16:40:10 +00:00
|
|
|
@include transform(scale(1.1))
|
2012-02-28 13:41:21 +00:00
|
|
|
.oe_menu_toggler:before
|
|
|
|
width: 0
|
|
|
|
height: 0
|
|
|
|
display: inline-block
|
|
|
|
content: "&darr"
|
|
|
|
text-indent: -99999px
|
|
|
|
vertical-align: top
|
2012-04-20 18:27:15 +00:00
|
|
|
margin-left: -12px
|
2012-02-28 13:41:21 +00:00
|
|
|
margin-top: 4px
|
|
|
|
margin-right: 4px
|
|
|
|
border-top: 4px solid transparent
|
|
|
|
border-bottom: 4px solid transparent
|
|
|
|
border-left: 4px solid #4c4c4c
|
|
|
|
@include opacity(0.5)
|
|
|
|
.oe_menu_opened:before
|
|
|
|
margin-top: 6px
|
2012-05-11 14:11:18 +00:00
|
|
|
margin-left: -16px
|
2012-02-28 13:41:21 +00:00
|
|
|
margin-right: 4px
|
|
|
|
border-left: 4px solid transparent
|
|
|
|
border-right: 4px solid transparent
|
|
|
|
border-top: 4px solid #4c4c4c
|
2013-01-07 13:38:48 +00:00
|
|
|
.oe_secondary_submenu li
|
|
|
|
margin-left: 20px
|
2012-09-21 14:09:32 +00:00
|
|
|
// }}}
|
|
|
|
// About openerp {{{
|
|
|
|
.oe_about
|
|
|
|
background-color: white
|
2012-10-31 14:06:09 +00:00
|
|
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAKUlEQVQIHWO8e/fufwYsgAUkJigoiCIF5DMyoYggcUiXgNnBiGQKmAkARpcEQeriln4AAAAASUVORK5CYII=)
|
2012-09-21 14:09:32 +00:00
|
|
|
@include radius(0 0 2px 2px)
|
|
|
|
a
|
|
|
|
color: $link-color
|
|
|
|
&:hover
|
|
|
|
text-decoration: underline
|
|
|
|
&:focus
|
|
|
|
outline: none
|
|
|
|
.oe_logo
|
|
|
|
margin-left: -6px
|
|
|
|
.oe_bottom
|
|
|
|
text-shadow: 0 1px 1px #999999
|
|
|
|
@include vertical-gradient(#b41616, #600606)
|
|
|
|
color: #eee
|
|
|
|
padding: 0 16px
|
|
|
|
@include radius(0 0 2px 2px)
|
|
|
|
a
|
|
|
|
color: #eee
|
2012-02-23 15:02:30 +00:00
|
|
|
// }}}
|
2012-04-07 14:00:06 +00:00
|
|
|
// ActionManager {{{
|
2014-02-20 13:50:30 +00:00
|
|
|
a.oe_form_uri:hover
|
|
|
|
text-decoration: underline
|
2012-03-28 13:17:35 +00:00
|
|
|
.oe_application
|
2012-03-29 14:31:13 +00:00
|
|
|
width: 100%
|
2012-12-20 15:14:26 +00:00
|
|
|
height: 100%
|
2012-03-28 13:17:35 +00:00
|
|
|
a
|
2012-08-03 15:37:58 +00:00
|
|
|
color: $link-color
|
2012-06-15 20:10:30 +00:00
|
|
|
> div
|
|
|
|
height: 100%
|
2012-09-12 13:22:15 +00:00
|
|
|
.oe_breadcrumb_item:not(:last-child)
|
2012-09-12 12:54:45 +00:00
|
|
|
max-width: 7em
|
|
|
|
white-space: nowrap
|
|
|
|
text-overflow: ellipsis
|
2012-11-13 16:41:19 +00:00
|
|
|
.oe_breadcrumb_title > *
|
|
|
|
display: inline-block
|
|
|
|
overflow: hidden
|
2013-12-02 13:19:43 +00:00
|
|
|
font-weight: bold
|
2012-02-23 17:44:39 +00:00
|
|
|
// }}}
|
2012-06-19 08:45:26 +00:00
|
|
|
// ViewManager common {{{
|
2012-06-15 16:59:33 +00:00
|
|
|
.oe_view_manager
|
2013-02-18 11:08:02 +00:00
|
|
|
display: table
|
|
|
|
height: inherit
|
|
|
|
width: 100%
|
2012-06-15 20:10:30 +00:00
|
|
|
.oe_view_manager_body
|
2012-10-22 16:27:08 +00:00
|
|
|
height: inherit
|
2013-09-19 13:55:17 +00:00
|
|
|
.oe_view_manager_view_kanban:not(:empty)
|
2012-06-15 20:10:30 +00:00
|
|
|
height: inherit
|
2014-03-18 16:56:22 +00:00
|
|
|
&[data-view-type=kanban]
|
|
|
|
.oe_view_manager_body
|
|
|
|
display: table-row
|
2012-06-15 20:10:30 +00:00
|
|
|
|
2012-07-14 15:31:55 +00:00
|
|
|
table.oe_view_manager_header
|
2012-11-13 16:41:19 +00:00
|
|
|
border-collapse: separate
|
2012-06-15 16:59:33 +00:00
|
|
|
width: 100%
|
2012-07-14 15:31:55 +00:00
|
|
|
table-layout: fixed
|
2012-06-15 16:59:33 +00:00
|
|
|
.oe_header_row
|
|
|
|
//min-height: 26px
|
|
|
|
//line-height: 26px
|
|
|
|
clear: both
|
|
|
|
text-shadow: 0 1px 1px white
|
|
|
|
.oe_header_row:last-child
|
|
|
|
td
|
|
|
|
padding-top: 0
|
2012-08-09 16:52:08 +00:00
|
|
|
.oe_header_row:first-child
|
|
|
|
td
|
|
|
|
padding-top: 8px
|
2012-06-15 16:59:33 +00:00
|
|
|
.oe_view_manager_sidebar
|
|
|
|
margin: 0px auto
|
|
|
|
text-align: center
|
2012-12-07 12:13:41 +00:00
|
|
|
.oe_dropdown_arrow:after
|
|
|
|
opacity: 0.9
|
2012-05-11 14:11:18 +00:00
|
|
|
td
|
2012-06-15 16:59:33 +00:00
|
|
|
line-height: 26px
|
|
|
|
h2
|
|
|
|
font-size: 18px
|
|
|
|
margin: 0
|
|
|
|
float: left
|
2013-12-02 13:19:43 +00:00
|
|
|
line-height: 30px
|
2012-06-15 16:59:33 +00:00
|
|
|
a
|
2012-08-03 15:37:58 +00:00
|
|
|
color: $link-color
|
2012-08-21 16:44:16 +00:00
|
|
|
.oe_dropdown_menu
|
|
|
|
line-height: normal
|
2012-06-15 16:59:33 +00:00
|
|
|
.oe_button_group
|
|
|
|
display: inline-block
|
|
|
|
border: 1px solid #ababab
|
|
|
|
@include radius(5px)
|
|
|
|
li
|
|
|
|
float: left
|
|
|
|
border-right: 1px solid #ababab
|
|
|
|
&:last-child
|
|
|
|
border: none
|
|
|
|
a
|
|
|
|
color: #4c4c4c
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
|
|
|
.active
|
|
|
|
background: #999
|
|
|
|
@include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
|
|
|
|
a
|
|
|
|
color: #fff
|
|
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.4)
|
|
|
|
.oe_view_manager_buttons
|
|
|
|
white-space: nowrap
|
|
|
|
// }}}
|
|
|
|
// ViewManager.switches {{{
|
|
|
|
.oe_view_manager_switch
|
2012-09-11 14:17:38 +00:00
|
|
|
padding: 0
|
|
|
|
margin: 0 0 0 8px
|
2012-06-15 16:59:33 +00:00
|
|
|
li
|
2012-09-11 14:17:38 +00:00
|
|
|
margin: 0
|
2012-06-15 16:59:33 +00:00
|
|
|
width: 24px
|
|
|
|
height: 24px
|
|
|
|
line-height: 16px
|
2012-09-05 09:18:59 +00:00
|
|
|
padding: 0
|
2012-09-11 14:17:38 +00:00
|
|
|
text-align: center
|
|
|
|
list-style-type: none
|
2012-06-15 16:59:33 +00:00
|
|
|
a
|
|
|
|
position: relative
|
|
|
|
.oe_vm_switch_list:after, .oe_vm_switch_tree:after
|
|
|
|
padding: 2px
|
|
|
|
content: "i"
|
2012-06-20 16:41:44 +00:00
|
|
|
.oe_vm_switch_form:after
|
|
|
|
content: "m"
|
2012-06-15 16:59:33 +00:00
|
|
|
.oe_vm_switch_graph:after
|
|
|
|
font-family: "mnmliconsRegular" !important
|
|
|
|
font-size: 21px
|
|
|
|
font-weight: 300 !important
|
|
|
|
content: "}"
|
|
|
|
top: -2px
|
2012-05-14 12:29:59 +00:00
|
|
|
position: relative
|
2012-06-15 16:59:33 +00:00
|
|
|
.oe_vm_switch_gantt:after
|
|
|
|
font-family: "mnmliconsRegular" !important
|
|
|
|
font-size: 21px
|
|
|
|
font-weight: 300 !important
|
|
|
|
content: "y"
|
|
|
|
top: -2px
|
|
|
|
position: relative
|
|
|
|
.oe_vm_switch_calendar:after
|
|
|
|
content: "P"
|
|
|
|
.oe_vm_switch_kanban:after
|
|
|
|
content: "k"
|
|
|
|
.oe_vm_switch_diagram:after
|
|
|
|
content: "f"
|
|
|
|
// }}}
|
2012-11-22 13:35:55 +00:00
|
|
|
// List pager {{{
|
|
|
|
.oe_list_pager
|
|
|
|
line-height: 26px
|
2012-11-23 10:27:55 +00:00
|
|
|
.oe_pager_value
|
|
|
|
float: left
|
|
|
|
margin-right: 8px
|
|
|
|
ul.oe_pager_group
|
|
|
|
padding: 0
|
|
|
|
margin: 0
|
|
|
|
.oe_pager_group
|
|
|
|
float: left
|
|
|
|
height: 24px
|
|
|
|
line-height: 24px
|
|
|
|
display: inline-block
|
|
|
|
border: 1px solid #ababab
|
|
|
|
cursor: pointer
|
|
|
|
@include radius(5px)
|
|
|
|
li
|
|
|
|
height: 24px
|
|
|
|
line-height: 24px
|
2012-11-22 13:35:55 +00:00
|
|
|
padding: 0
|
|
|
|
margin: 0
|
2012-11-23 10:27:55 +00:00
|
|
|
list-style-type: none
|
2012-11-22 13:35:55 +00:00
|
|
|
float: left
|
2012-11-23 10:27:55 +00:00
|
|
|
border-right: 1px solid #ababab
|
|
|
|
&:last-child
|
|
|
|
border: none
|
|
|
|
a
|
|
|
|
color: #4c4c4c
|
|
|
|
padding: 0 8px
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
|
|
|
.active
|
|
|
|
background: #999
|
|
|
|
@include box-shadow(0 1px 4px rgba(0,0,0,0.3) inset)
|
2012-11-22 13:35:55 +00:00
|
|
|
a
|
2012-11-23 10:27:55 +00:00
|
|
|
color: #fff
|
|
|
|
text-shadow: 0 1px 2px rgba(0,0,0,0.4)
|
2012-11-22 13:35:55 +00:00
|
|
|
.oe_list_pager.oe_list_pager_single_page .oe_pager_group
|
|
|
|
display: none
|
|
|
|
// }}}
|
2012-06-19 08:45:26 +00:00
|
|
|
// ViewManager application {{{
|
2012-07-02 21:34:48 +00:00
|
|
|
.oe_view_manager_current
|
2012-06-15 20:10:30 +00:00
|
|
|
height: 100%
|
2012-06-15 16:59:33 +00:00
|
|
|
> .oe_view_manager_header
|
|
|
|
border-bottom: 1px solid #cacaca
|
|
|
|
@include vertical-gradient(#fcfcfc, #dedede)
|
|
|
|
@include box-shadow((0 1px 0 rgba(255,255,255,0.4), 0 0 9px rgba(0,0,0,0.1)))
|
|
|
|
.oe_header_row
|
|
|
|
td
|
|
|
|
padding: 8px
|
|
|
|
.oe_header_row:first-child
|
|
|
|
td
|
|
|
|
padding-top: 8px
|
2012-06-15 17:02:46 +00:00
|
|
|
// }}}
|
2012-07-02 21:34:48 +00:00
|
|
|
// ViewManager inline {{{
|
2012-09-08 23:12:08 +00:00
|
|
|
.oe_view_manager_inline, .oe_view_manager_inlineview
|
2012-07-02 21:34:48 +00:00
|
|
|
height: 100%
|
|
|
|
> .oe_view_manager_header
|
|
|
|
display: none
|
|
|
|
// }}}
|
2012-11-22 13:35:55 +00:00
|
|
|
// FormPopup {{{
|
2013-12-02 13:19:43 +00:00
|
|
|
.oe_popup_form
|
|
|
|
.oe_formview .oe_form_pager
|
|
|
|
display: none !important
|
|
|
|
// Customize label weight for popup wizard appear from another wizard according bootstrap3
|
|
|
|
table label
|
|
|
|
font-weight: normal
|
|
|
|
// End of customize
|
2012-11-22 13:35:55 +00:00
|
|
|
.oe_popup_list_pager
|
|
|
|
float: right
|
2012-04-08 16:52:25 +00:00
|
|
|
// }}}
|
2012-05-24 18:16:48 +00:00
|
|
|
// SearchView {{{
|
2012-04-08 16:52:25 +00:00
|
|
|
.oe_searchview
|
2012-05-02 13:43:12 +00:00
|
|
|
cursor: text
|
2012-04-08 16:52:25 +00:00
|
|
|
position: relative
|
2012-04-09 15:43:59 +00:00
|
|
|
float: right
|
2012-05-24 18:16:48 +00:00
|
|
|
padding: 1px 0
|
|
|
|
line-height: 18px
|
2012-07-14 15:31:55 +00:00
|
|
|
width: 400px
|
2012-04-30 14:39:07 +00:00
|
|
|
border: 1px solid #ababab
|
2012-04-24 10:59:41 +00:00
|
|
|
background: white
|
2012-05-24 18:16:48 +00:00
|
|
|
@include radius(13px)
|
2012-04-30 14:39:07 +00:00
|
|
|
@include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
|
2012-05-31 13:41:50 +00:00
|
|
|
input, textarea
|
|
|
|
padding: 3px
|
|
|
|
height: 14px
|
2012-06-29 16:06:06 +00:00
|
|
|
font-size: 12px
|
2012-05-31 13:41:50 +00:00
|
|
|
line-height: 18px
|
2013-12-02 13:19:43 +00:00
|
|
|
//Customize searchview input, select
|
|
|
|
input:not([type]), input[type="text"], input[type="number"]
|
|
|
|
width: 156px
|
|
|
|
height: 22px
|
|
|
|
input[type="checkbox"]
|
|
|
|
margin: 3px 3px 3px 4px
|
|
|
|
select
|
|
|
|
margin: 2px 4px 2px 0
|
|
|
|
//End of customize
|
2012-05-02 13:43:12 +00:00
|
|
|
&.oe_focused
|
2012-07-26 16:11:06 +00:00
|
|
|
border-color: $tag-border-selected
|
|
|
|
@include box-shadow(0 1px 2px $tag-border-selected inset)
|
2012-04-30 14:39:07 +00:00
|
|
|
.oe_searchview_clear
|
|
|
|
cursor: pointer
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
2012-05-24 18:16:48 +00:00
|
|
|
right: 18px
|
2012-04-30 14:39:07 +00:00
|
|
|
width: 15px
|
2013-06-05 10:52:40 +00:00
|
|
|
height: 24px
|
2012-05-24 18:16:48 +00:00
|
|
|
background: url(../img/search_reset.gif) center center no-repeat
|
2012-04-24 10:59:41 +00:00
|
|
|
.oe_searchview_unfold_drawer
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
right: 0
|
2013-06-05 10:52:40 +00:00
|
|
|
height: 24px
|
2012-04-24 10:59:41 +00:00
|
|
|
padding: 0 7px 0 4px
|
|
|
|
color: #ccc
|
|
|
|
cursor: pointer
|
2012-04-30 14:39:07 +00:00
|
|
|
&:hover
|
|
|
|
color: #999
|
2012-04-24 10:59:41 +00:00
|
|
|
&:before
|
2012-05-24 18:16:48 +00:00
|
|
|
position: absolute
|
|
|
|
top: 10px
|
|
|
|
right: 7px
|
|
|
|
width: 0
|
|
|
|
height: 0
|
|
|
|
display: inline-block
|
|
|
|
content: ""
|
|
|
|
vertical-align: top
|
|
|
|
border-top: 5px solid #4C4C4C
|
|
|
|
border-left: 5px solid transparent
|
|
|
|
border-right: 5px solid transparent
|
|
|
|
@include opacity()
|
2012-04-07 14:00:06 +00:00
|
|
|
|
2012-07-24 12:46:07 +00:00
|
|
|
.oe_searchview_search
|
|
|
|
@include text-to-icon("r", #a3a3a3)
|
|
|
|
@include box-shadow(none)
|
|
|
|
@include radius(0)
|
|
|
|
position: absolute
|
|
|
|
left: 3px
|
|
|
|
top: 1px
|
|
|
|
padding: 0
|
|
|
|
border: none
|
|
|
|
background: transparent
|
|
|
|
|
2012-04-30 14:39:07 +00:00
|
|
|
.oe_searchview_facets
|
2012-05-24 18:16:48 +00:00
|
|
|
min-height: 22px
|
2013-06-05 10:52:40 +00:00
|
|
|
margin: 0 35px 0 15px
|
2012-05-14 14:24:49 +00:00
|
|
|
*
|
|
|
|
vertical-align: top
|
2012-04-30 14:39:07 +00:00
|
|
|
display: inline-block
|
2012-05-24 18:16:48 +00:00
|
|
|
line-height: 17px
|
2012-07-26 16:11:06 +00:00
|
|
|
.oe_searchview_facet
|
2012-05-24 18:16:48 +00:00
|
|
|
margin: 1px 0
|
|
|
|
font-size: 11px
|
2012-05-14 14:24:49 +00:00
|
|
|
&:focus
|
|
|
|
outline: none
|
|
|
|
.oe_searchview_input
|
2012-07-19 15:58:37 +00:00
|
|
|
padding: 0 0 0 6px
|
2012-07-26 16:11:06 +00:00
|
|
|
font-size: 12px
|
|
|
|
height: 16px
|
|
|
|
margin-top: 3px
|
|
|
|
&:focus
|
|
|
|
outline: none
|
2012-05-14 14:24:49 +00:00
|
|
|
.oe_searchview_facet
|
|
|
|
position: relative
|
2012-04-07 14:00:06 +00:00
|
|
|
cursor: pointer
|
2012-07-26 16:11:06 +00:00
|
|
|
padding: 0
|
2012-05-14 14:24:49 +00:00
|
|
|
-webkit-font-smoothing: auto
|
|
|
|
// spacing for opera, FF
|
|
|
|
&:focus
|
2012-07-26 16:11:06 +00:00
|
|
|
border-color: $tag-border-selected
|
|
|
|
@include box-shadow(0 0 3px 1px $tag-border-selected)
|
2012-05-14 14:24:49 +00:00
|
|
|
.oe_facet_values
|
2013-06-05 10:52:40 +00:00
|
|
|
background: $tag-bg-light
|
2012-05-14 14:24:49 +00:00
|
|
|
@include radius(0 3px 3px 0)
|
|
|
|
.oe_facet_category, .oe_facet_value
|
2012-05-24 18:16:48 +00:00
|
|
|
padding: 0 4px
|
2012-04-30 14:39:07 +00:00
|
|
|
.oe_facet_category
|
2012-05-14 14:24:49 +00:00
|
|
|
color: white
|
|
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
|
2012-05-24 18:16:48 +00:00
|
|
|
.oe_facet_category.oe_i
|
|
|
|
font-size: 16px
|
2012-05-14 14:24:49 +00:00
|
|
|
.oe_facet_value
|
2012-07-26 16:11:06 +00:00
|
|
|
border-left: 1px solid $tag-border
|
2012-05-24 18:16:48 +00:00
|
|
|
text-shadow: 0 1px 1px white
|
2012-07-26 16:11:06 +00:00
|
|
|
color: #4C4C4C
|
2012-05-24 18:16:48 +00:00
|
|
|
&:last-child
|
|
|
|
padding-right: 16px
|
2012-05-14 14:24:49 +00:00
|
|
|
.oe_facet_remove
|
2012-05-09 10:48:59 +00:00
|
|
|
position: absolute
|
2012-05-24 18:16:48 +00:00
|
|
|
top: 3px
|
|
|
|
right: 3px
|
|
|
|
color: #8786b7
|
|
|
|
line-height: 8px
|
|
|
|
width: 12px
|
|
|
|
height: 12px
|
2012-08-01 14:28:05 +00:00
|
|
|
padding-top: 1px
|
2012-05-24 18:16:48 +00:00
|
|
|
text-align: center
|
|
|
|
font-weight: bold
|
|
|
|
cursor: pointer
|
|
|
|
text-shadow: 0 1px 1px white
|
2012-05-14 14:24:49 +00:00
|
|
|
&:hover
|
2012-05-24 18:16:48 +00:00
|
|
|
color: white
|
|
|
|
background: #8786b7
|
|
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
|
|
|
|
@include radius(2px)
|
2012-04-07 14:00:06 +00:00
|
|
|
&.oe_searchview_open_drawer
|
|
|
|
.oe_searchview_drawer
|
|
|
|
display: block
|
|
|
|
|
|
|
|
.oe_searchview_drawer
|
2013-05-17 06:01:33 +00:00
|
|
|
cursor: default
|
2012-04-07 14:00:06 +00:00
|
|
|
position: absolute
|
2013-03-05 09:36:19 +00:00
|
|
|
z-index: 2
|
2012-05-15 06:18:33 +00:00
|
|
|
// detach drawer from field slightly
|
2012-05-24 18:16:48 +00:00
|
|
|
margin-top: 4px
|
2012-04-07 14:00:06 +00:00
|
|
|
top: 100%
|
2012-05-24 18:16:48 +00:00
|
|
|
right: -1px
|
2012-04-07 14:00:06 +00:00
|
|
|
background-color: white
|
2012-05-15 06:22:54 +00:00
|
|
|
min-width: 100%
|
2012-04-07 14:00:06 +00:00
|
|
|
display: none
|
2012-08-09 16:52:08 +00:00
|
|
|
border: 1px solid $tag-border
|
2012-04-10 12:39:23 +00:00
|
|
|
text-align: left
|
2012-05-24 18:16:48 +00:00
|
|
|
@include radius(4px)
|
|
|
|
@include box-shadow(0 1px 4px rgba(0,0,0,0.3))
|
2012-05-10 18:52:14 +00:00
|
|
|
> div
|
|
|
|
border-top: 1px solid #ccc
|
2012-05-24 18:16:48 +00:00
|
|
|
margin: 0
|
|
|
|
padding: 8px
|
2012-05-10 18:52:14 +00:00
|
|
|
> div:first-child
|
|
|
|
border-top: none
|
|
|
|
margin: 0
|
2012-05-25 17:00:53 +00:00
|
|
|
h3
|
2013-03-28 06:59:03 +00:00
|
|
|
margin: 8px 4px 4px 0px
|
2012-05-25 17:00:53 +00:00
|
|
|
color: $section-title-color
|
|
|
|
font-size: 13px
|
2012-05-11 14:32:25 +00:00
|
|
|
h4, h4 *
|
2013-03-28 06:59:03 +00:00
|
|
|
margin: 0 0 0 2px
|
2012-05-11 14:32:25 +00:00
|
|
|
cursor: pointer
|
2012-05-24 18:16:48 +00:00
|
|
|
font-weight: normal
|
|
|
|
display: inline-block
|
|
|
|
&:hover
|
|
|
|
background-color: $hover-background
|
2012-05-11 14:32:25 +00:00
|
|
|
h4:before
|
|
|
|
content: "▸ "
|
2012-05-24 18:16:48 +00:00
|
|
|
color: #a3a3a3
|
|
|
|
button
|
|
|
|
margin: 4px 0
|
|
|
|
.button
|
2012-05-08 16:21:37 +00:00
|
|
|
border: none
|
2012-05-16 10:42:48 +00:00
|
|
|
background: transparent
|
2012-05-08 16:21:37 +00:00
|
|
|
padding: 0 2px
|
|
|
|
@include box-shadow(none)
|
|
|
|
@include radius(0)
|
2012-05-25 17:00:53 +00:00
|
|
|
.oe_searchview_section
|
2012-04-07 14:00:06 +00:00
|
|
|
display: table
|
|
|
|
width: 100%
|
|
|
|
> div
|
2012-06-12 13:34:37 +00:00
|
|
|
@include box-sizing(border)
|
2012-04-07 14:00:06 +00:00
|
|
|
display: table-cell
|
|
|
|
width: 50%
|
2013-12-02 13:19:43 +00:00
|
|
|
padding-left: 2px // Managed padding-left according bootstrap3
|
2012-04-07 14:00:06 +00:00
|
|
|
ul
|
2012-05-24 18:16:48 +00:00
|
|
|
margin: 0 8px 8px
|
2012-04-07 14:00:06 +00:00
|
|
|
padding: 0
|
|
|
|
list-style: none
|
|
|
|
li
|
|
|
|
list-style: none
|
2012-05-24 18:16:48 +00:00
|
|
|
padding: 2px 4px 2px 20px
|
2012-05-16 10:42:48 +00:00
|
|
|
line-height: 14px
|
2012-04-07 14:00:06 +00:00
|
|
|
color: inherit
|
|
|
|
cursor: pointer
|
2012-05-24 18:16:48 +00:00
|
|
|
position: relative
|
|
|
|
&.oe_selected:before
|
|
|
|
content: "W"
|
|
|
|
font-family: "entypoRegular" !important
|
|
|
|
font-size: 24px
|
|
|
|
font-weight: 300 !important
|
|
|
|
color: #a3a3a3
|
|
|
|
position: absolute
|
|
|
|
left: 4px
|
|
|
|
top: -2px
|
2012-05-18 15:23:42 +00:00
|
|
|
// after oe_selected so background color is not overridden
|
2012-04-07 14:00:06 +00:00
|
|
|
&:hover
|
2012-05-16 10:42:48 +00:00
|
|
|
background-color: $hover-background
|
2012-07-19 16:04:56 +00:00
|
|
|
form
|
|
|
|
margin-left: 12px
|
|
|
|
p
|
|
|
|
margin: 4px 0
|
|
|
|
line-height: 18px
|
|
|
|
button
|
2013-12-02 13:19:43 +00:00
|
|
|
margin: 0 0 8px -3px // Managed margin-left according bootstrap3
|
2012-05-08 16:21:37 +00:00
|
|
|
.oe_searchview_custom
|
2012-05-31 11:16:12 +00:00
|
|
|
padding: 0 8px 8px 8px
|
2013-03-28 06:59:03 +00:00
|
|
|
div
|
|
|
|
padding: 0
|
2013-03-29 05:57:03 +00:00
|
|
|
h4
|
|
|
|
margin: 0
|
2012-05-11 14:32:25 +00:00
|
|
|
form
|
|
|
|
display: none
|
2012-05-16 10:42:48 +00:00
|
|
|
li
|
2012-04-07 14:00:06 +00:00
|
|
|
cursor: pointer
|
2012-05-16 10:42:48 +00:00
|
|
|
position: relative
|
2012-05-25 17:00:53 +00:00
|
|
|
line-height: 14px
|
|
|
|
padding: 2px 4px 2px 20px
|
2012-05-16 10:42:48 +00:00
|
|
|
&:hover
|
|
|
|
background-color: $hover-background
|
|
|
|
button
|
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
right: 5px
|
2013-12-02 13:19:43 +00:00
|
|
|
//Customize for searchview label
|
|
|
|
label
|
|
|
|
font-weight: normal
|
|
|
|
//End of Customize
|
2012-06-07 12:21:17 +00:00
|
|
|
.oe_searchview_dashboard
|
|
|
|
form
|
|
|
|
display: none
|
|
|
|
margin-top: 2px
|
2012-06-20 14:08:20 +00:00
|
|
|
|
2012-05-11 14:32:25 +00:00
|
|
|
.oe_searchview_advanced
|
2012-04-30 14:39:07 +00:00
|
|
|
form
|
2012-04-07 14:00:06 +00:00
|
|
|
display: none
|
2012-05-25 17:00:53 +00:00
|
|
|
margin-top: 8px
|
2012-04-07 14:00:06 +00:00
|
|
|
button.oe_add_condition:before
|
2012-05-24 18:16:48 +00:00
|
|
|
content: "Z"
|
|
|
|
font-family: "entypoRegular" !important
|
|
|
|
font-size: 24px
|
|
|
|
font-weight: 300 !important
|
|
|
|
margin-right: 4px
|
2012-04-07 14:00:06 +00:00
|
|
|
ul
|
|
|
|
list-style: none
|
|
|
|
padding: 0
|
|
|
|
li
|
2012-05-25 17:00:53 +00:00
|
|
|
position: relative
|
2012-04-07 14:00:06 +00:00
|
|
|
list-style: none
|
|
|
|
margin: 0
|
2012-05-15 06:22:54 +00:00
|
|
|
white-space: nowrap
|
2012-10-02 14:06:44 +00:00
|
|
|
&:first-child .searchview_extended_prop_or
|
|
|
|
visibility: hidden
|
2013-12-02 13:19:43 +00:00
|
|
|
margin-left: -14px
|
2012-10-02 14:06:44 +00:00
|
|
|
.searchview_extended_prop_or
|
|
|
|
opacity: 0.5
|
2013-12-02 13:19:43 +00:00
|
|
|
margin-left: -14px //Customize 'or' in searchview
|
2012-05-11 14:32:25 +00:00
|
|
|
.oe_opened
|
|
|
|
h4:before
|
|
|
|
content: "▾ "
|
2012-05-24 18:16:48 +00:00
|
|
|
position: relative
|
|
|
|
top: -1px
|
2012-05-11 14:32:25 +00:00
|
|
|
form
|
|
|
|
display: block
|
2012-04-07 14:00:06 +00:00
|
|
|
|
2012-05-15 06:12:12 +00:00
|
|
|
// delete buttons
|
|
|
|
.oe_searchview_custom_delete, .searchview_extended_delete_prop
|
2012-05-31 17:02:28 +00:00
|
|
|
display: inline-block
|
2012-05-25 17:00:53 +00:00
|
|
|
width: 12px
|
|
|
|
height: 12px
|
2012-05-31 17:02:28 +00:00
|
|
|
line-height: 12px
|
|
|
|
padding: 1px
|
2012-05-25 17:00:53 +00:00
|
|
|
color: #8786b7
|
|
|
|
line-height: 8px
|
|
|
|
text-align: center
|
|
|
|
font-weight: bold
|
|
|
|
text-shadow: 0 1px 1px white
|
|
|
|
&:hover
|
|
|
|
text-decoration: none
|
|
|
|
color: white
|
|
|
|
background: #8786b7
|
|
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
|
|
|
|
@include radius(2px)
|
2012-05-31 17:02:28 +00:00
|
|
|
.oe_searchview_custom_delete
|
|
|
|
display: none
|
|
|
|
position: absolute
|
|
|
|
bottom: 1px
|
|
|
|
right: 4px
|
|
|
|
.oe_searchview_custom_private, .oe_searchview_custom_public
|
|
|
|
&:hover
|
|
|
|
.oe_searchview_custom_delete
|
|
|
|
display: inline-block
|
|
|
|
.oe_searchview_custom_public:after
|
|
|
|
content: ","
|
|
|
|
font-family: "entypoRegular" !important
|
|
|
|
font-size: 22px
|
|
|
|
font-weight: 300 !important
|
|
|
|
margin: 0 0 0 4px
|
|
|
|
padding: 0
|
|
|
|
|
2012-07-12 12:56:37 +00:00
|
|
|
|
2012-04-07 14:00:06 +00:00
|
|
|
// }}}
|
2012-05-10 09:04:04 +00:00
|
|
|
// Views Common {{{
|
|
|
|
.oe_view_nocontent
|
2012-08-04 19:01:26 +00:00
|
|
|
padding: 15px
|
2012-08-04 15:10:59 +00:00
|
|
|
margin-top: 0
|
|
|
|
color: #777777
|
|
|
|
font-size: 125%
|
|
|
|
max-width: 700px
|
|
|
|
.oe_view_nocontent_create
|
2012-08-04 19:01:26 +00:00
|
|
|
margin-top: 0
|
2012-08-04 15:10:59 +00:00
|
|
|
padding-top: 35px
|
|
|
|
color: #4c4c4c
|
2012-11-23 13:55:14 +00:00
|
|
|
&:before
|
|
|
|
content: ""
|
|
|
|
display: inline-block
|
|
|
|
position: absolute
|
|
|
|
width: 70px
|
|
|
|
height: 80px
|
2012-11-24 18:03:21 +00:00
|
|
|
margin-left: -70px
|
2012-11-24 18:00:23 +00:00
|
|
|
margin-top: -50px
|
2012-11-23 13:55:14 +00:00
|
|
|
background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px
|
2012-08-04 15:10:59 +00:00
|
|
|
> p
|
2012-11-24 18:03:21 +00:00
|
|
|
padding-left: 78px
|
2012-08-04 18:46:47 +00:00
|
|
|
.oe_empty_custom_dashboard
|
|
|
|
background: transparent url(/web/static/src/img/graph_background.png) no-repeat 0 0
|
2012-08-04 19:01:26 +00:00
|
|
|
margin-top: -15px
|
2012-08-04 18:46:47 +00:00
|
|
|
padding: 100px 0 0 137px
|
|
|
|
min-height: 327px
|
|
|
|
margin-left: -15px
|
2012-10-23 09:55:59 +00:00
|
|
|
.oe_view.oe_cannot_create
|
|
|
|
.oe_view_nocontent_create
|
|
|
|
display: none
|
2012-04-10 11:43:35 +00:00
|
|
|
// }}}
|
2012-06-19 13:42:02 +00:00
|
|
|
// FormView.base and dynamic tags {{{
|
|
|
|
.oe_formview
|
|
|
|
background: white
|
2012-06-19 08:45:26 +00:00
|
|
|
.oe_form_dropdown_section
|
|
|
|
position: relative
|
|
|
|
display: inline-block
|
2012-04-09 15:38:18 +00:00
|
|
|
.oe_form_invalid
|
|
|
|
input, select, textarea
|
|
|
|
background-color: #F66 !important
|
|
|
|
border: 1px solid #D00 !important
|
2012-06-28 14:32:52 +00:00
|
|
|
.oe_view_manager_current .oe_form_editable
|
2012-06-21 16:38:31 +00:00
|
|
|
.oe_highlight
|
|
|
|
color: #404040
|
|
|
|
background: none
|
|
|
|
button.oe_highlight
|
|
|
|
@include vertical-gradient(#efefef, #d8d8d8)
|
|
|
|
@include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
|
|
|
|
button.oe_highlight:active
|
|
|
|
@include vertical-gradient(#e3e3e3, #f6f6f6)
|
|
|
|
@include box-shadow(none)
|
|
|
|
button.oe_highlight:hover
|
|
|
|
@include vertical-gradient(#f6f6f6, #e3e3e3)
|
|
|
|
@include box-shadow((0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(255, 255, 255, .8) inset))
|
2012-06-19 13:42:02 +00:00
|
|
|
.oe_form_invisible
|
|
|
|
display: none !important
|
2013-04-04 11:56:58 +00:00
|
|
|
.oe_form_editable
|
|
|
|
.oe_read_only
|
|
|
|
display: none !important
|
2012-06-19 13:42:02 +00:00
|
|
|
.oe_form_readonly
|
|
|
|
.oe_edit_only, .oe_form_field:empty
|
|
|
|
display: none !important
|
2012-07-10 07:49:46 +00:00
|
|
|
.oe_form .oe_form_field_date
|
|
|
|
width: auto
|
2013-05-02 07:37:06 +00:00
|
|
|
.oe_form_field_boolean.boolean
|
|
|
|
position: relative
|
|
|
|
top: -20px
|
|
|
|
width: 14px
|
|
|
|
height: 14px
|
|
|
|
z-index: 10000
|
|
|
|
// IE needs a color in order for the layer to respond to mouse events
|
|
|
|
backgroundColor: "#fff"
|
|
|
|
opacity: 0
|
2012-10-22 16:27:08 +00:00
|
|
|
// Sheet and padding
|
2012-07-12 12:56:37 +00:00
|
|
|
.oe_form_nosheet
|
2012-08-16 16:38:42 +00:00
|
|
|
margin: 16px
|
|
|
|
> header
|
|
|
|
margin: -16px -16px 0 -16px
|
2012-09-19 08:32:01 +00:00
|
|
|
padding: 0
|
2012-12-15 11:08:29 +00:00
|
|
|
.oe_form_nosheet.oe_form_nomargin
|
|
|
|
margin: 0
|
|
|
|
> header
|
|
|
|
margin: 0
|
2012-09-04 12:41:17 +00:00
|
|
|
.oe_form_sheetbg
|
2012-09-20 15:49:26 +00:00
|
|
|
padding: 16px 0
|
2012-09-04 12:41:17 +00:00
|
|
|
.oe_form_sheet_width
|
|
|
|
min-width: 650px
|
|
|
|
max-width: $sheet-max-width
|
|
|
|
margin: 0 auto
|
|
|
|
.oe_form_sheet
|
|
|
|
background: white
|
|
|
|
min-height: 330px
|
|
|
|
padding: 16px
|
2012-12-12 13:48:47 +00:00
|
|
|
.oe_list
|
|
|
|
overflow-x: auto
|
2012-09-04 12:41:17 +00:00
|
|
|
// Sheet inline mode
|
|
|
|
.oe_application
|
|
|
|
.oe_form_sheetbg
|
|
|
|
background: url(/web/static/src/img/form_sheetbg.png)
|
|
|
|
border-bottom: 1px solid #ddd
|
2013-12-02 13:19:43 +00:00
|
|
|
// Customize font weight according bootstrap3
|
|
|
|
.oe_subtotal_footer label
|
|
|
|
font-weight: bold
|
|
|
|
table label
|
|
|
|
font-weight: normal
|
|
|
|
// End of customize
|
2012-09-04 12:41:17 +00:00
|
|
|
.oe_form_sheet
|
2012-09-20 15:49:26 +00:00
|
|
|
border: 1px solid #c8c8d3 //$tag-border
|
|
|
|
@include box-shadow(0 4px 20px rgba(0,0,0,0.15))
|
2012-09-04 12:41:17 +00:00
|
|
|
.ui-tabs
|
|
|
|
margin: 0 -16px
|
|
|
|
.oe_notebook_page
|
|
|
|
padding: 0 16px
|
2012-04-10 10:48:05 +00:00
|
|
|
// }}}
|
2012-10-08 12:27:21 +00:00
|
|
|
// FormView.header {{{
|
2014-01-27 17:24:14 +00:00
|
|
|
.oe_form > :not(.oe_form_nosheet) header
|
2012-10-08 12:27:21 +00:00
|
|
|
padding-left: 2px
|
|
|
|
ul
|
|
|
|
display: inline-block
|
|
|
|
float: right
|
2012-10-14 19:55:14 +00:00
|
|
|
.oe_button
|
2012-10-08 12:27:21 +00:00
|
|
|
margin: 3px 2px 1px
|
|
|
|
&:first-child
|
|
|
|
margin-left: 6px
|
2014-01-27 17:24:14 +00:00
|
|
|
|
|
|
|
.oe_form header
|
|
|
|
border-bottom: 1px solid #cacaca
|
|
|
|
padding-left: 2px
|
|
|
|
@include vertical-gradient(#fcfcfc, #dedede)
|
|
|
|
> span
|
|
|
|
margin-left: 4px
|
|
|
|
|
2012-10-08 12:27:21 +00:00
|
|
|
// }}}
|
2012-06-19 08:45:26 +00:00
|
|
|
// FormView.custom tags and classes {{{
|
2012-10-22 16:27:08 +00:00
|
|
|
.oe_form
|
2012-10-14 19:55:14 +00:00
|
|
|
header
|
|
|
|
.oe_tags
|
|
|
|
margin: 5px 0 0 5px
|
|
|
|
width: 400px
|
|
|
|
padding-bottom: 0
|
2012-07-13 11:47:37 +00:00
|
|
|
div.oe_chatter
|
2012-12-17 08:57:59 +00:00
|
|
|
box-sizing: border-box
|
2012-10-29 10:47:10 +00:00
|
|
|
min-width: $sheet-min-width + 2* $sheet-padding
|
|
|
|
max-width: $sheet-max-width + 2* $sheet-padding
|
2012-06-19 09:30:11 +00:00
|
|
|
margin: 0 auto
|
2012-10-30 11:06:21 +00:00
|
|
|
padding: 16px 16px 48px
|
2012-08-05 10:12:58 +00:00
|
|
|
div.oe_form_configuration
|
2012-09-04 16:42:41 +00:00
|
|
|
p, ul, ol
|
2012-08-05 10:12:58 +00:00
|
|
|
color: #aaa
|
|
|
|
max-width: 650px
|
2012-08-05 10:21:46 +00:00
|
|
|
label
|
|
|
|
min-width: 150px
|
2012-08-17 15:12:29 +00:00
|
|
|
.oe_form_group_cell_label
|
2012-09-04 13:05:09 +00:00
|
|
|
padding: 1px 0
|
2012-08-17 15:12:29 +00:00
|
|
|
.oe_form_group_cell div div
|
|
|
|
padding: 1px 0
|
2012-09-04 12:41:17 +00:00
|
|
|
.oe_subtotal_footer
|
|
|
|
width: 1% !important
|
|
|
|
td.oe_form_group_cell
|
|
|
|
text-align: right
|
|
|
|
padding: 0 !important
|
|
|
|
td.oe_form_group_cell_label
|
|
|
|
border-right: none
|
|
|
|
.oe_subtotal_footer_separator
|
|
|
|
width: 108px
|
|
|
|
border-top: 1px solid #cacaca
|
2012-09-18 16:17:51 +00:00
|
|
|
margin-top: 4px
|
|
|
|
padding-top: 4px
|
2012-09-04 12:41:17 +00:00
|
|
|
font-weight: bold
|
|
|
|
font-size: 18px
|
|
|
|
label:after
|
|
|
|
content: ":"
|
|
|
|
label.oe_subtotal_footer_separator
|
|
|
|
font-weight: bold !important
|
|
|
|
padding: 2px 11px 2px 0px !important
|
|
|
|
label.oe_form_label_help
|
2013-12-02 13:19:43 +00:00
|
|
|
font-weight: normal !important
|
2013-03-13 15:44:29 +00:00
|
|
|
.oe_form_box_info
|
|
|
|
background: #fe9
|
|
|
|
border-bottom: 1px solid #cb6
|
|
|
|
padding: 4px
|
|
|
|
> p
|
|
|
|
margin: auto
|
2013-03-14 22:26:16 +00:00
|
|
|
.oe_form_box_warning
|
|
|
|
background: #bd362f
|
|
|
|
border-bottom: 1px solid #900
|
|
|
|
padding: 4px
|
|
|
|
*
|
|
|
|
color: white
|
|
|
|
text-shadow: none
|
|
|
|
> p
|
|
|
|
margin: auto
|
2012-04-02 13:04:43 +00:00
|
|
|
// }}}
|
2012-06-19 13:42:02 +00:00
|
|
|
// FormView.group {{{
|
2012-06-19 09:30:11 +00:00
|
|
|
.oe_form
|
2012-07-16 20:35:52 +00:00
|
|
|
.oe_form_button
|
|
|
|
margin: 2px
|
2012-06-19 09:30:11 +00:00
|
|
|
td.oe_form_group_cell_label
|
|
|
|
border-right: 1px solid #ddd
|
2012-09-04 13:05:09 +00:00
|
|
|
padding: 2px 0px
|
2012-06-19 09:30:11 +00:00
|
|
|
label
|
|
|
|
line-height: 18px
|
|
|
|
display: block
|
2013-12-02 13:19:43 +00:00
|
|
|
min-width: 150px
|
|
|
|
font-weight: bold !important
|
2012-06-19 09:30:11 +00:00
|
|
|
td.oe_form_group_cell + .oe_form_group_cell
|
2012-09-04 13:05:09 +00:00
|
|
|
padding: 2px 0 2px 8px
|
2012-06-19 13:51:15 +00:00
|
|
|
.oe_form_group
|
2012-06-19 14:07:24 +00:00
|
|
|
width: 100%
|
2012-08-05 10:12:58 +00:00
|
|
|
margin: 9px 0 9px 0
|
2012-07-16 11:13:24 +00:00
|
|
|
.oe_form_group_cell.oe_group_right
|
|
|
|
padding-left: 20px
|
2012-04-09 21:43:48 +00:00
|
|
|
// }}}
|
2012-04-08 16:52:25 +00:00
|
|
|
// FormView.label {{{
|
2012-04-08 15:06:33 +00:00
|
|
|
.oe_form
|
2012-04-24 09:03:50 +00:00
|
|
|
.oe_form_label_help[for], .oe_form_label[for]
|
2012-04-25 13:28:22 +00:00
|
|
|
white-space: nowrap
|
2012-09-04 13:05:09 +00:00
|
|
|
padding-right: 8px
|
2012-04-24 12:22:49 +00:00
|
|
|
span
|
|
|
|
font-size: 80%
|
|
|
|
color: darkGreen
|
|
|
|
vertical-align: top
|
|
|
|
position: relative
|
|
|
|
top: -4px
|
|
|
|
padding: 0 2px
|
2012-04-02 13:04:43 +00:00
|
|
|
// }}}
|
2012-06-19 13:42:02 +00:00
|
|
|
// FormView.separator {{{
|
|
|
|
.oe_horizontal_border
|
|
|
|
border-bottom: 1px solid black
|
|
|
|
.oe_horizontal_separator
|
|
|
|
font-weight: bold
|
|
|
|
font-size: 20px
|
2012-08-29 19:12:43 +00:00
|
|
|
margin: 15px 0px 10px 0px
|
2012-08-17 15:12:29 +00:00
|
|
|
color: $section-title-color
|
2012-06-19 13:42:02 +00:00
|
|
|
.oe_horizontal_separator:empty
|
|
|
|
height: 5px
|
|
|
|
.oe_vertical_separator
|
|
|
|
border-left: 1px solid #666
|
|
|
|
padding: 0 4px 0 4px
|
|
|
|
// }}}
|
|
|
|
// FormView.progressbar {{{
|
|
|
|
.oe_form_field_progressbar
|
|
|
|
display: inline-block
|
|
|
|
min-width: 70px
|
|
|
|
.oe_form_field_progressbar.ui-progressbar
|
|
|
|
height: 22px
|
|
|
|
font-size: 10px
|
|
|
|
@include box-sizing(border)
|
|
|
|
border: 1px solid #999
|
|
|
|
@include radius(3px)
|
|
|
|
background: white
|
|
|
|
min-width: 50px
|
|
|
|
span
|
|
|
|
position: absolute
|
|
|
|
margin-left: 10px
|
|
|
|
font-weight: bold
|
|
|
|
.ui-widget-header
|
|
|
|
background: #cccccc url(/web/static/lib/jquery.ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x
|
|
|
|
// }}}
|
2012-04-09 21:43:48 +00:00
|
|
|
// FormView.fields {{{
|
|
|
|
.oe_form
|
2012-06-19 13:42:02 +00:00
|
|
|
.oe_form_field_text
|
|
|
|
width: 100%
|
2013-03-06 15:13:06 +00:00
|
|
|
.oe_form_text_content
|
|
|
|
text-overflow: ellipsis
|
|
|
|
display: inline-block
|
|
|
|
white-space: pre-wrap
|
|
|
|
overflow-x: hidden
|
|
|
|
width: 100%
|
2012-06-19 13:42:02 +00:00
|
|
|
.oe_form_field_char input,
|
|
|
|
.oe_form_field_url input,
|
2012-07-10 10:12:05 +00:00
|
|
|
.oe_form_field_email input,
|
2012-06-19 13:42:02 +00:00
|
|
|
.oe_form_field_text textarea,
|
|
|
|
.oe_form_field_selection select
|
2012-07-10 10:12:05 +00:00
|
|
|
width: 100%
|
2013-06-06 12:07:35 +00:00
|
|
|
.oe_notebook_page .oe_form_field_text textarea
|
|
|
|
min-height: 96px
|
2012-06-21 14:06:42 +00:00
|
|
|
.oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea
|
2012-06-19 13:42:02 +00:00
|
|
|
width: 500px
|
|
|
|
h1, h2, h3, h4, h5, h6
|
|
|
|
margin: 0 0 4px 0
|
|
|
|
input
|
|
|
|
height: inherit !important
|
|
|
|
font-size: inherit
|
2013-12-02 13:19:43 +00:00
|
|
|
// Customize for formview
|
|
|
|
.oe_title h1, h1
|
|
|
|
font-weight: bold
|
|
|
|
font-size: 2em
|
|
|
|
h2
|
|
|
|
font-size: 1.5em
|
|
|
|
label
|
|
|
|
font-weight: bold
|
|
|
|
margin-bottom: 0px
|
|
|
|
display: inline
|
|
|
|
// End of customize
|
2012-06-03 11:52:27 +00:00
|
|
|
.oe_form_field
|
2012-06-01 15:32:11 +00:00
|
|
|
width: 100%
|
2012-06-07 14:07:25 +00:00
|
|
|
display: inline-block
|
2012-06-03 15:26:04 +00:00
|
|
|
padding: 2px 2px 2px 0px
|
2013-02-12 06:22:14 +00:00
|
|
|
vertical-align: top
|
2012-06-03 11:52:27 +00:00
|
|
|
input
|
|
|
|
margin: 0px
|
2012-06-19 13:42:02 +00:00
|
|
|
input[type="text"], input[type="password"], input[type="file"], select
|
2012-04-09 21:43:48 +00:00
|
|
|
height: 22px
|
|
|
|
padding-top: 2px
|
2012-06-19 13:42:02 +00:00
|
|
|
input[type="text"], input[type="password"], input[type="file"], select, textarea
|
2012-06-12 13:34:37 +00:00
|
|
|
@include box-sizing(border)
|
2012-04-09 21:43:48 +00:00
|
|
|
background: white
|
2012-09-05 11:24:46 +00:00
|
|
|
min-width: 60px
|
2012-04-09 21:43:48 +00:00
|
|
|
color: #1f1f1f
|
2013-01-29 10:06:14 +00:00
|
|
|
font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
|
2012-06-19 13:42:02 +00:00
|
|
|
input[readonly], select[readonly], textarea[readonly], input[disabled], select[disabled]
|
2012-04-09 21:43:48 +00:00
|
|
|
background: #E5E5E5 !important
|
|
|
|
color: #666
|
2012-05-08 11:47:34 +00:00
|
|
|
textarea[disabled]
|
|
|
|
border: none
|
|
|
|
padding-left: 8px
|
|
|
|
@include box-shadow(none)
|
|
|
|
@include radius(0px)
|
2013-03-28 11:23:27 +00:00
|
|
|
color: #4c4c4c
|
2012-10-02 15:59:56 +00:00
|
|
|
textarea.oe_inline[disabled]
|
|
|
|
border-left: 8px solid #eee
|
2012-04-09 21:43:48 +00:00
|
|
|
.oe_form_field_url button img
|
|
|
|
vertical-align: top
|
2012-12-03 18:42:14 +00:00
|
|
|
.oe_form_field_monetary,
|
2012-04-09 21:43:48 +00:00
|
|
|
.oe_form_field_date,
|
|
|
|
.oe_form_field_datetime
|
|
|
|
white-space: nowrap
|
|
|
|
.oe_form_field_boolean
|
2012-06-21 11:34:45 +00:00
|
|
|
width: auto
|
2012-04-09 21:43:48 +00:00
|
|
|
.oe_datepicker_container
|
|
|
|
display: none
|
|
|
|
.oe_datepicker_root
|
|
|
|
display: inline-block
|
2012-10-22 16:27:08 +00:00
|
|
|
.oe_form_required
|
2012-10-05 14:08:31 +00:00
|
|
|
input:not([disabled]):not([readonly]), select:not([disabled]):not([readonly]), textarea:not([disabled]):not([readonly])
|
2012-04-09 21:43:48 +00:00
|
|
|
background-color: #D2D2FF !important
|
|
|
|
.oe_form_invalid
|
|
|
|
input, select, textarea
|
|
|
|
background-color: #F66 !important
|
|
|
|
border: 1px solid #D00 !important
|
|
|
|
.oe_input_icon
|
|
|
|
cursor: pointer
|
|
|
|
margin: 3px 0 0 -21px
|
|
|
|
vertical-align: top
|
|
|
|
.oe_input_icon_disabled
|
|
|
|
position: absolute
|
|
|
|
cursor: default
|
|
|
|
opacity: 0.5
|
|
|
|
filter: alpha(opacity=50)
|
|
|
|
right: 5px
|
|
|
|
top: 3px
|
2012-07-10 10:12:05 +00:00
|
|
|
.oe_form_field_with_button.oe_no_button > .oe_button
|
|
|
|
display: none
|
|
|
|
.oe_form_field_with_button:not(.oe_no_button)
|
2012-05-30 21:26:51 +00:00
|
|
|
> .oe_button
|
|
|
|
float: right
|
2012-06-15 17:03:09 +00:00
|
|
|
@include radius(0)
|
2012-05-30 21:26:51 +00:00
|
|
|
border-bottom-left-radius: 0px
|
|
|
|
height: 22px
|
2012-07-10 10:12:05 +00:00
|
|
|
.oe_form_field_with_button
|
|
|
|
input
|
|
|
|
width: 100%
|
2012-05-30 21:26:51 +00:00
|
|
|
> div
|
|
|
|
position: relative
|
|
|
|
overflow: hidden
|
2012-10-04 16:57:54 +00:00
|
|
|
.oe_form_embedded_html
|
2012-09-20 16:22:05 +00:00
|
|
|
position: relative
|
2014-02-28 13:52:24 +00:00
|
|
|
width: 100%
|
|
|
|
margin: auto
|
2014-03-05 14:28:49 +00:00
|
|
|
overflow: auto
|
2012-09-20 16:22:05 +00:00
|
|
|
text-align: justify
|
2013-06-07 10:15:17 +00:00
|
|
|
.oe_form_field_html .oe_input_icon
|
|
|
|
float: right
|
|
|
|
margin: 4px 7px
|
2012-10-22 16:27:08 +00:00
|
|
|
|
2012-07-14 00:05:19 +00:00
|
|
|
.oe_form_editable
|
|
|
|
.oe_form
|
2012-10-08 15:28:31 +00:00
|
|
|
.oe_form_field_integer input
|
2012-11-13 12:30:47 +00:00
|
|
|
width: 6em
|
2012-10-08 15:28:31 +00:00
|
|
|
.oe_form_field_float input
|
2012-11-13 12:30:47 +00:00
|
|
|
width: 7em
|
2012-10-08 15:28:31 +00:00
|
|
|
.oe_form_field_date input
|
2013-04-30 08:34:44 +00:00
|
|
|
width: 100px
|
2012-10-08 15:28:31 +00:00
|
|
|
.oe_form_field_datetime input
|
2013-04-30 08:34:44 +00:00
|
|
|
width: 150px
|
2012-04-09 21:43:48 +00:00
|
|
|
// }}}
|
2012-06-19 13:23:58 +00:00
|
|
|
// FormView.fields_binary {{{
|
2012-04-09 18:43:30 +00:00
|
|
|
/* http://www.quirksmode.org/dom/inputfile.html
|
|
|
|
* http://stackoverflow.com/questions/2855589/replace-input-type-file-by-an-image
|
|
|
|
*/
|
2012-06-13 10:05:16 +00:00
|
|
|
.oe_hidden_input_file
|
2012-09-19 11:46:29 +00:00
|
|
|
// Position: relative is used for the hidden input[type=file]
|
|
|
|
// Do not remove it anymore !
|
|
|
|
position: relative
|
2012-06-27 14:12:49 +00:00
|
|
|
input.oe_form_binary_file
|
2012-04-09 18:43:30 +00:00
|
|
|
z-index: 0
|
|
|
|
line-height: 0
|
|
|
|
font-size: 12px
|
|
|
|
position: absolute
|
|
|
|
top: 1px
|
2012-08-03 15:37:58 +00:00
|
|
|
left: 0
|
|
|
|
right: 0
|
2012-04-09 18:43:30 +00:00
|
|
|
opacity: 0
|
|
|
|
filter: alpha(opacity = 0)
|
|
|
|
-ms-filter: "alpha(opacity=0)"
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
2012-06-13 10:05:16 +00:00
|
|
|
.oe_form
|
2013-12-02 13:19:43 +00:00
|
|
|
.oe_form_field_binary
|
|
|
|
display: inline-block
|
2012-06-04 14:42:11 +00:00
|
|
|
.oe_form_field_image
|
|
|
|
padding: 0
|
|
|
|
position: relative
|
2012-05-30 21:26:51 +00:00
|
|
|
display: inline-block
|
2012-06-04 14:42:11 +00:00
|
|
|
width: auto
|
|
|
|
vertical-align: top
|
|
|
|
.oe_form_field_image_controls
|
|
|
|
position: absolute
|
|
|
|
top: 1px
|
2012-11-29 08:33:14 +00:00
|
|
|
padding: 4px 0
|
2012-08-03 15:37:58 +00:00
|
|
|
width: 100%
|
2012-06-12 08:18:12 +00:00
|
|
|
display: none
|
2012-06-04 14:42:11 +00:00
|
|
|
text-align: center
|
2012-08-03 15:37:58 +00:00
|
|
|
color: #eee
|
|
|
|
background: rgba(37,37,37,0.9)
|
|
|
|
@include radius(3px 3px 0 0)
|
2012-06-12 13:34:37 +00:00
|
|
|
@include box-sizing(border)
|
2012-06-04 14:42:11 +00:00
|
|
|
&:hover .oe_form_field_image_controls
|
2012-06-12 08:18:12 +00:00
|
|
|
display: block
|
2012-11-15 17:36:14 +00:00
|
|
|
.oe_fileupload
|
|
|
|
display: inline-block
|
|
|
|
clear: both
|
|
|
|
width: 100%
|
2013-12-02 13:19:43 +00:00
|
|
|
margin-bottom: -15px
|
2012-11-15 17:36:14 +00:00
|
|
|
.oe_add
|
|
|
|
float: left
|
|
|
|
position: relative
|
|
|
|
width: 100%
|
|
|
|
left: +2px
|
2013-12-02 13:19:43 +00:00
|
|
|
margin: 9px 0 /* Customize margin according bootstrap3 */
|
2012-11-22 09:59:42 +00:00
|
|
|
overflow: hidden
|
2012-11-15 17:36:14 +00:00
|
|
|
button
|
|
|
|
display: inline
|
|
|
|
height: 24px
|
|
|
|
font-size: 12px
|
|
|
|
line-height: 12px
|
|
|
|
vertical-align: middle
|
|
|
|
button.oe_attach
|
|
|
|
width: 24px
|
2012-12-17 08:57:59 +00:00
|
|
|
background: transparent
|
2012-11-15 17:36:14 +00:00
|
|
|
color: #7C7BAD
|
|
|
|
box-shadow: none
|
|
|
|
border: none
|
|
|
|
text-shadow: none
|
|
|
|
.oe_e
|
|
|
|
position: relative
|
2014-06-19 10:56:46 +00:00
|
|
|
top: -10px
|
2014-01-27 17:24:14 +00:00
|
|
|
left: -9px
|
2012-11-15 17:36:14 +00:00
|
|
|
input.oe_form_binary_file
|
|
|
|
display: inline-block
|
2012-11-22 09:59:42 +00:00
|
|
|
margin-left: -85px
|
|
|
|
height: 22px
|
|
|
|
width: 152px
|
|
|
|
margin-top: -24px
|
|
|
|
cursor: pointer
|
2012-11-15 17:36:14 +00:00
|
|
|
.oe_attach_label
|
|
|
|
color: #7C7BAD
|
|
|
|
margin-left: -3px
|
|
|
|
.oe_attachments
|
|
|
|
margin-bottom: 4px
|
|
|
|
margin-right: 0px
|
|
|
|
font-size: 12px
|
|
|
|
border-radius: 2px
|
|
|
|
border: solid 1px rgba(124,123,173,0.14)
|
|
|
|
.oe_attachment
|
|
|
|
padding: 2px
|
|
|
|
padding-left: 4px
|
|
|
|
padding-right: 4px
|
|
|
|
.oe_e
|
|
|
|
font-size: 23px
|
|
|
|
margin-top: -5px
|
|
|
|
.oe_e:hover
|
|
|
|
text-decoration: none
|
|
|
|
.oe_attachment:nth-child(odd)
|
|
|
|
background: white
|
|
|
|
.oe_attachment:nth-child(even)
|
|
|
|
background: #F4F5FA
|
2012-04-09 18:43:30 +00:00
|
|
|
// }}}
|
2012-06-19 13:42:02 +00:00
|
|
|
// FormView.many2one {{{
|
|
|
|
.oe_form_field_many2one
|
2013-12-02 13:19:43 +00:00
|
|
|
display: inline-block
|
2012-06-19 13:42:02 +00:00
|
|
|
td:first-child
|
|
|
|
position: relative
|
2012-06-27 14:12:49 +00:00
|
|
|
span.oe_m2o_drop_down_button
|
2012-06-19 13:23:58 +00:00
|
|
|
position: absolute
|
2012-07-17 14:47:33 +00:00
|
|
|
top: 2px
|
2012-07-10 10:12:05 +00:00
|
|
|
right: 0px
|
2012-07-17 14:47:33 +00:00
|
|
|
.oe_m2o_cm_button
|
|
|
|
line-height: 14px
|
2012-08-08 19:38:42 +00:00
|
|
|
float: right
|
|
|
|
padding-left: 2px
|
2012-11-14 10:55:54 +00:00
|
|
|
input
|
|
|
|
padding-right: 13px
|
2012-08-29 15:37:56 +00:00
|
|
|
&.ui-autocomplete
|
|
|
|
li.oe_m2o_dropdown_option a
|
|
|
|
font-style: italic
|
|
|
|
padding-left: 2em
|
|
|
|
li:not(.oe_m2o_dropdown_option) + li.oe_m2o_dropdown_option
|
|
|
|
margin-top: 10px
|
2012-04-09 18:43:30 +00:00
|
|
|
// }}}
|
2012-09-04 16:42:41 +00:00
|
|
|
// FormView.fieldstatus {{{
|
2012-09-11 14:17:38 +00:00
|
|
|
ul.oe_form_status, ul.oe_form_status_clickable
|
|
|
|
display: inline-block
|
|
|
|
margin: 0
|
|
|
|
padding: 0 18px 0 0
|
2012-10-22 16:27:08 +00:00
|
|
|
li
|
2012-09-11 14:17:38 +00:00
|
|
|
display: inline-block
|
|
|
|
list-style-type: none
|
2012-09-20 15:49:26 +00:00
|
|
|
// It is probably a bad idea to modify this margin
|
|
|
|
margin: 0 -18px 0 0
|
2012-09-11 14:17:38 +00:00
|
|
|
padding: 0
|
|
|
|
@include vertical-gradient(#fcfcfc, #dedede)
|
2013-03-21 12:49:52 +00:00
|
|
|
&:first-child > .label
|
2012-09-11 14:17:38 +00:00
|
|
|
border-left: 1px solid #cacaca
|
|
|
|
padding-left: 14px
|
|
|
|
&:last-child
|
|
|
|
border-right: 1px solid #cacaca
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-09-11 14:17:38 +00:00
|
|
|
padding-right: 14px
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow
|
2012-09-11 14:17:38 +00:00
|
|
|
display: none
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-09-11 14:17:38 +00:00
|
|
|
color: #4c4c4c
|
|
|
|
text-shadow: 0 1px 1px #fcfcfc, 0 -1px 1px #dedede
|
|
|
|
padding: 7px
|
|
|
|
display: inline-block
|
|
|
|
padding-left: 24px
|
|
|
|
margin: 0
|
|
|
|
position: relative
|
2013-12-02 13:19:43 +00:00
|
|
|
// Customize for statusbar label
|
|
|
|
line-height: normal
|
|
|
|
font-size: 100%
|
|
|
|
font-weight: normal
|
|
|
|
// End of customize
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow
|
2012-09-11 14:17:38 +00:00
|
|
|
width: 17px
|
2013-12-02 13:19:43 +00:00
|
|
|
height: 30px
|
2012-09-11 14:17:38 +00:00
|
|
|
display: inline-block
|
|
|
|
vertical-align: top
|
|
|
|
overflow: hidden
|
|
|
|
margin-left: -5px
|
2012-10-22 16:27:08 +00:00
|
|
|
span
|
2012-09-11 14:17:38 +00:00
|
|
|
position: relative
|
|
|
|
width: 24px
|
|
|
|
height: 24px
|
|
|
|
display: inline-block
|
|
|
|
margin-left: -12px
|
|
|
|
margin-top: 3px
|
|
|
|
box-shadow: -1px 1px 2px rgba(255,255,255,0.2), inset -1px 1px 1px rgba(0,0,0,0.2)
|
|
|
|
@include skew-gradient(#fcfcfc, #dedede)
|
|
|
|
@include radius(3px)
|
|
|
|
@include transform(rotate(45deg))
|
2013-10-18 09:43:36 +00:00
|
|
|
ul.oe_dropdown_menu
|
|
|
|
display: none
|
|
|
|
padding: 0
|
|
|
|
min-width: 0
|
|
|
|
&.oe_opened
|
2013-05-16 12:33:04 +00:00
|
|
|
display: block
|
2013-10-18 09:43:36 +00:00
|
|
|
li
|
|
|
|
margin: 0
|
|
|
|
width: 100%
|
|
|
|
span.label
|
|
|
|
padding-left: 14px
|
|
|
|
|
2012-09-11 14:17:38 +00:00
|
|
|
li.oe_active
|
|
|
|
@include vertical-gradient(#729fcf, #3465a4)
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow span
|
2012-09-11 14:17:38 +00:00
|
|
|
@include skew-gradient(#729fcf, #3465a4)
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-09-11 14:17:38 +00:00
|
|
|
color: white
|
|
|
|
text-shadow: 0 1px 1px #729fcf, 0 -1px 1px #3465a4
|
|
|
|
ul.oe_form_status_clickable
|
|
|
|
li
|
|
|
|
cursor: pointer
|
2012-10-22 16:27:08 +00:00
|
|
|
&:hover
|
2012-09-11 14:17:38 +00:00
|
|
|
@include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-09-11 14:17:38 +00:00
|
|
|
text-shadow: 0 -1px 1px #fcfcfc, 0 1px 1px #dedede
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow span
|
2012-09-11 14:17:38 +00:00
|
|
|
@include vertical-gradient(darken(#fcfcfc, 8%), darken(#dedede, 8%))
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-09-11 14:17:38 +00:00
|
|
|
color: $link-color
|
|
|
|
li.oe_active
|
2012-10-22 16:27:08 +00:00
|
|
|
&:hover
|
2012-09-11 14:17:38 +00:00
|
|
|
@include vertical-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-09-11 14:17:38 +00:00
|
|
|
text-shadow: 0 -1px 1px #729fcf, 0 1px 1px #3465a4
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow span
|
2012-09-11 14:17:38 +00:00
|
|
|
@include skew-gradient(darken(#729fcf, 10%), darken(#3465a4, 10%))
|
2012-09-04 16:42:41 +00:00
|
|
|
// }}}
|
2012-06-19 08:45:26 +00:00
|
|
|
// FormView.one2many {{{
|
|
|
|
.oe_form .oe_form_field_one2many > .oe_view_manager
|
|
|
|
.oe_list_pager_single_page
|
|
|
|
display: none
|
2012-07-14 20:01:42 +00:00
|
|
|
.oe_form_field_one2many,.oe_form_field_many2many
|
2012-06-25 13:52:15 +00:00
|
|
|
// TODO: oe_form_field_one2many_list?
|
2012-08-08 19:38:42 +00:00
|
|
|
> .oe_view_manager
|
|
|
|
.oe_list_pager_single_page
|
|
|
|
display: none !important
|
2012-10-26 15:28:50 +00:00
|
|
|
.oe_view_manager_view_list
|
|
|
|
min-height: 132px
|
|
|
|
|
2012-08-08 19:38:42 +00:00
|
|
|
.oe_form_field_one2many_list_row_add
|
|
|
|
font-weight: bold
|
2012-07-13 14:12:37 +00:00
|
|
|
.oe_list_content
|
|
|
|
> thead
|
|
|
|
border-bottom: 1px
|
|
|
|
> tbody
|
|
|
|
tr:nth-child(odd)
|
|
|
|
background: transparent
|
2012-06-27 14:12:49 +00:00
|
|
|
.oe_list .oe_list_edit_row_save
|
2012-06-28 14:57:19 +00:00
|
|
|
background: url(/web/static/src/img/iconset-b-remove.png) 50% 50% no-repeat
|
|
|
|
&:before
|
|
|
|
visibility: hidden
|
2012-06-25 13:52:15 +00:00
|
|
|
|
|
|
|
&> .oe_view_manager
|
|
|
|
.oe_header_row_top
|
|
|
|
display: none
|
|
|
|
.oe_view_manager_header2
|
|
|
|
td
|
|
|
|
padding: 0px 8px
|
2012-04-10 21:26:45 +00:00
|
|
|
line-height: 16px
|
2012-06-25 13:52:15 +00:00
|
|
|
.oe_i
|
|
|
|
font-size: 13px
|
|
|
|
.oe_pager_group
|
2012-04-10 21:26:45 +00:00
|
|
|
height: auto
|
|
|
|
line-height: 16px
|
2012-06-25 13:52:15 +00:00
|
|
|
li
|
|
|
|
height: auto
|
|
|
|
line-height: 16px
|
2012-07-11 14:43:27 +00:00
|
|
|
.oe_list_buttons.oe_editing .oe_list_save
|
|
|
|
// keep "save row" button hidden in o2m
|
|
|
|
visibility: hidden
|
2012-08-08 19:38:42 +00:00
|
|
|
.oe_form_editable
|
|
|
|
.oe_list_editable
|
|
|
|
.oe_list_content
|
|
|
|
td.oe_required
|
|
|
|
background-color: #d2d2ff
|
|
|
|
td.oe_readonly
|
|
|
|
background-color: #eee
|
2012-09-04 10:11:39 +00:00
|
|
|
|
|
|
|
$row-height: 27px
|
2012-11-07 13:21:52 +00:00
|
|
|
.oe_list_editable .oe_list_content td.oe_list_field_cell
|
|
|
|
padding: 4px 6px 3px
|
2012-08-08 19:38:42 +00:00
|
|
|
.oe_list.oe_list_editable.oe_editing
|
2012-10-18 06:37:03 +00:00
|
|
|
.oe_edition .oe_list_field_cell:not(.oe_readonly)
|
|
|
|
*
|
|
|
|
visibility: hidden
|
|
|
|
color: transparent
|
2012-11-02 14:13:48 +00:00
|
|
|
text-shadow: none
|
2012-08-08 19:38:42 +00:00
|
|
|
.oe_m2o_drop_down_button
|
|
|
|
top: 5px
|
|
|
|
.oe_m2o_cm_button
|
2012-11-13 14:39:53 +00:00
|
|
|
line-height: 19px
|
|
|
|
.oe_input_icon
|
|
|
|
margin-top: 5px
|
2012-08-08 19:38:42 +00:00
|
|
|
.oe_form_field
|
2012-11-13 12:30:47 +00:00
|
|
|
min-width: 0
|
|
|
|
max-width: none
|
2012-09-12 18:02:58 +00:00
|
|
|
input, textarea
|
2012-09-04 10:11:39 +00:00
|
|
|
height: $row-height
|
|
|
|
@include radius(0)
|
2012-08-08 19:38:42 +00:00
|
|
|
border: 1px solid #aaf
|
2012-09-04 10:11:39 +00:00
|
|
|
margin: 0
|
2012-11-14 12:51:34 +00:00
|
|
|
input, textarea, select
|
2012-11-13 12:30:47 +00:00
|
|
|
min-width: 0
|
2012-08-08 19:38:42 +00:00
|
|
|
&.oe_form_field_float,&.oe_form_view_integer
|
|
|
|
input
|
|
|
|
text-align: right
|
2012-10-17 15:59:20 +00:00
|
|
|
width: 100% !important
|
2012-08-08 19:38:42 +00:00
|
|
|
&.oe_form_field_datetime,&.oe_form_field_date
|
|
|
|
input.oe_datepicker_master
|
|
|
|
width: 100% !important
|
2014-01-14 11:59:47 +00:00
|
|
|
&.oe_form_field_reference
|
|
|
|
display: table
|
2012-10-17 11:58:45 +00:00
|
|
|
.oe_list_group_name
|
|
|
|
white-space: nowrap
|
2012-06-12 13:15:43 +00:00
|
|
|
// }}}
|
|
|
|
// FormView.many2many {{{
|
2012-06-27 14:12:49 +00:00
|
|
|
.oe_form .oe_form_field_many2many > .oe_list
|
2012-06-12 13:15:43 +00:00
|
|
|
.oe_list_pager_single_page
|
|
|
|
display: none
|
|
|
|
// }}}
|
2012-04-07 14:00:06 +00:00
|
|
|
// ListView {{{
|
2012-07-10 14:32:28 +00:00
|
|
|
.oe_list_buttons
|
2012-09-11 06:36:07 +00:00
|
|
|
.oe_alternative
|
|
|
|
visibility: hidden
|
2012-07-11 14:20:48 +00:00
|
|
|
.oe_list_save, .oe_list_discard
|
2012-07-10 14:32:28 +00:00
|
|
|
display: none
|
|
|
|
&.oe_editing
|
2012-09-11 06:36:07 +00:00
|
|
|
.oe_list_add
|
2012-07-10 14:32:28 +00:00
|
|
|
display: none
|
|
|
|
.oe_list_save
|
|
|
|
display: inline-block
|
2012-07-11 14:20:48 +00:00
|
|
|
.oe_list_discard
|
|
|
|
display: inline
|
2012-09-11 06:36:07 +00:00
|
|
|
.oe_alternative
|
|
|
|
visibility: visible
|
2012-07-10 14:32:28 +00:00
|
|
|
|
2012-07-11 11:29:59 +00:00
|
|
|
.oe_list
|
2012-10-23 09:55:59 +00:00
|
|
|
&.oe_cannot_edit
|
|
|
|
.oe_list_header_handle, .oe_list_field_handle
|
|
|
|
display: none !important
|
|
|
|
padding: 0 !important
|
|
|
|
&.oe_cannot_delete
|
|
|
|
.oe_list_record_delete
|
|
|
|
display: none !important
|
|
|
|
|
2012-08-07 09:31:07 +00:00
|
|
|
.oe_form
|
|
|
|
.oe_form_nosheet
|
|
|
|
margin: 0 // FIXME: either class or border should not be by default
|
|
|
|
padding: 0
|
|
|
|
border: none
|
|
|
|
.oe_form_field
|
|
|
|
width: auto
|
|
|
|
position: absolute
|
|
|
|
margin: 0 !important // dammit
|
|
|
|
padding: 0
|
2013-06-27 09:17:05 +00:00
|
|
|
.oe_form_field_boolean input
|
|
|
|
margin: 1px 0 0 10px !important
|
2012-08-30 13:05:24 +00:00
|
|
|
.oe_list_content .oe_group_header
|
|
|
|
@include vertical-gradient(#fcfcfc, #dedede)
|
2012-06-27 14:32:28 +00:00
|
|
|
|
2012-06-27 14:12:49 +00:00
|
|
|
.oe_list_content
|
2012-04-07 13:44:59 +00:00
|
|
|
width: 100%
|
2012-06-08 11:52:49 +00:00
|
|
|
td:first-child, th:first-child
|
|
|
|
&:after
|
|
|
|
border-width: 0
|
2012-07-16 18:07:50 +00:00
|
|
|
td.oe_number
|
|
|
|
text-align: right !important
|
|
|
|
max-width: 100px
|
2012-11-14 15:07:17 +00:00
|
|
|
td.oe_list_field_date, th.oe_list_header_date
|
|
|
|
min-width: 6em
|
2012-05-10 10:35:13 +00:00
|
|
|
> thead
|
2012-04-20 17:44:27 +00:00
|
|
|
border-bottom: 2px solid #cacaca
|
|
|
|
background: #eee
|
|
|
|
vertical-align: top
|
2012-06-08 11:52:49 +00:00
|
|
|
td, th
|
|
|
|
padding: 3px 6px
|
|
|
|
line-height: 18px
|
2012-10-17 12:16:01 +00:00
|
|
|
th.oe_sortable, th.oe_sortable div
|
|
|
|
cursor: pointer
|
|
|
|
th.oe_sortable div
|
|
|
|
position: relative
|
|
|
|
th.oe_sortable div:after
|
2013-01-03 17:42:14 +00:00
|
|
|
margin-right: 6px
|
2012-06-08 11:52:49 +00:00
|
|
|
content: ""
|
|
|
|
margin-top: 7px
|
|
|
|
border-width: 0 4px 4px
|
|
|
|
border-style: solid
|
|
|
|
border-color: #000 transparent
|
|
|
|
visibility: hidden
|
2012-10-17 12:16:01 +00:00
|
|
|
th.sortup div:after
|
2013-06-06 10:41:45 +00:00
|
|
|
float: right
|
2012-06-08 11:52:49 +00:00
|
|
|
visibility: visible
|
|
|
|
@include opacity(0.6)
|
2012-12-20 18:37:56 +00:00
|
|
|
.oe_list_header_many2many_tags
|
|
|
|
min-width: 70px
|
2012-10-17 12:16:01 +00:00
|
|
|
th.sortdown div:after
|
2013-06-06 10:41:45 +00:00
|
|
|
float: right
|
2012-06-08 11:52:49 +00:00
|
|
|
border-bottom: none
|
|
|
|
border-left: 4px solid transparent
|
|
|
|
border-right: 4px solid transparent
|
|
|
|
border-top: 4px solid #000
|
|
|
|
visibility: visible
|
|
|
|
@include box-shadow(none)
|
|
|
|
@include opacity(0.6)
|
2012-05-10 10:35:13 +00:00
|
|
|
> tbody
|
2012-04-20 17:44:27 +00:00
|
|
|
cursor: pointer
|
2012-05-10 10:35:13 +00:00
|
|
|
> tr
|
2012-09-04 10:11:39 +00:00
|
|
|
height: $row-height
|
2012-04-20 17:44:27 +00:00
|
|
|
border-top: 1px solid #ddd
|
2012-06-27 14:12:49 +00:00
|
|
|
> td.oe_list_field_cell
|
2012-05-10 10:35:13 +00:00
|
|
|
padding: 3px 6px
|
2012-07-18 13:37:12 +00:00
|
|
|
white-space: pre-line
|
2012-05-27 10:45:04 +00:00
|
|
|
> td, > th
|
2014-04-23 09:41:24 +00:00
|
|
|
> button
|
2012-05-10 10:35:13 +00:00
|
|
|
border: none
|
|
|
|
background: transparent
|
|
|
|
padding: 0
|
2014-04-23 09:41:24 +00:00
|
|
|
> button.btn_txt
|
|
|
|
border: 1px solid rgba(0,0,0,0.4)
|
|
|
|
background: #e3e3e3
|
|
|
|
padding: 3px 12px
|
2012-05-10 10:35:13 +00:00
|
|
|
> td.oe_list_checkbox:first-child, th.oe_list_checkbox:first-child
|
|
|
|
width: 17px
|
|
|
|
&:after
|
|
|
|
border-width: 0
|
2012-11-13 13:18:06 +00:00
|
|
|
> td.oe_list_field_boolean input
|
|
|
|
@include opacity()
|
2012-05-10 10:35:13 +00:00
|
|
|
> tr:nth-child(odd)
|
2012-04-20 17:44:27 +00:00
|
|
|
background-color: #f0f0fa
|
|
|
|
@include vertical-gradient(#f0f0fa, #eeeef6)
|
2012-08-30 13:05:24 +00:00
|
|
|
|
2012-05-10 10:35:13 +00:00
|
|
|
> tfoot
|
2012-04-20 17:44:27 +00:00
|
|
|
border-top: 2px solid #cacaca
|
|
|
|
border-bottom: 1px solid #cacaca
|
|
|
|
background: #eee
|
|
|
|
font-weight: bold
|
|
|
|
|
|
|
|
|
2012-04-07 13:44:59 +00:00
|
|
|
.numeric
|
|
|
|
text-align: right
|
|
|
|
width: 82px
|
|
|
|
input
|
|
|
|
text-align: right
|
2012-08-08 07:56:29 +00:00
|
|
|
th.oe_list_header_handle
|
|
|
|
font-size: 1px
|
|
|
|
overflow: hidden
|
|
|
|
text-indent: -9001px
|
|
|
|
td.oe_list_field_handle
|
2012-08-07 13:43:43 +00:00
|
|
|
width: 1em
|
2012-09-18 16:17:51 +00:00
|
|
|
padding: 0 !important
|
2012-08-07 14:13:51 +00:00
|
|
|
cursor: ns-resize
|
2012-08-07 13:43:43 +00:00
|
|
|
.oe_list_handle
|
2012-09-18 16:17:51 +00:00
|
|
|
@include text-to-entypo-icon("}",#E0E0E0,18px)
|
|
|
|
margin-right: 7px
|
2012-11-06 14:18:35 +00:00
|
|
|
.oe_list_field_progressbar progress
|
|
|
|
width: 100%
|
2012-03-19 10:29:04 +00:00
|
|
|
// }}}
|
2012-07-26 00:23:18 +00:00
|
|
|
// Tree view {{{
|
|
|
|
.tree_header
|
|
|
|
background-color: #f0f0f0
|
|
|
|
border-bottom: 1px solid #cacaca
|
|
|
|
color: #4c4c4c
|
|
|
|
padding: 5px
|
|
|
|
height: 25px
|
|
|
|
button
|
|
|
|
float: right
|
|
|
|
height: 27px
|
|
|
|
margin-right: 5px
|
|
|
|
.oe-treeview-table
|
|
|
|
width: 100%
|
|
|
|
background-color: white
|
|
|
|
border-spacing: 0
|
2012-09-27 13:17:06 +00:00
|
|
|
color: #4c4c4c
|
2012-07-26 00:23:18 +00:00
|
|
|
th
|
|
|
|
padding: 10px
|
|
|
|
font-weight: bold
|
|
|
|
background-color: #f0f0f0
|
|
|
|
border-bottom: 2px solid #cacaca
|
2012-09-27 13:17:06 +00:00
|
|
|
|
|
|
|
td
|
2012-07-26 00:23:18 +00:00
|
|
|
cursor: pointer
|
2012-09-27 13:17:06 +00:00
|
|
|
vertical-align: middle
|
2012-07-26 00:23:18 +00:00
|
|
|
text-align: left
|
2012-09-27 13:17:06 +00:00
|
|
|
vertical-align: middle
|
|
|
|
height: 20px
|
|
|
|
padding-left: 4px
|
|
|
|
padding-right: 4px
|
|
|
|
border-right: 1px solid #e7e7e7
|
|
|
|
|
|
|
|
td.oe_number
|
2012-07-26 00:23:18 +00:00
|
|
|
text-align: right !important
|
2012-09-27 13:17:06 +00:00
|
|
|
tr
|
|
|
|
border-bottom: 1px solid #d6d6d6
|
|
|
|
&:hover
|
|
|
|
background-color: #e7e7e7
|
2012-07-26 00:23:18 +00:00
|
|
|
span
|
|
|
|
font-size: 90%
|
|
|
|
font-weight: normal
|
|
|
|
white-space: nowrap
|
|
|
|
display: block
|
|
|
|
.treeview-tr.oe-treeview-first
|
|
|
|
background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat
|
|
|
|
.oe_open .treeview-tr.oe-treeview-first
|
|
|
|
background-image: url(/web/static/src/img/collapse.gif)
|
|
|
|
.treeview-tr.oe-treeview-first span, .treeview-td.oe-treeview-first span
|
|
|
|
margin-left: 16px
|
2012-03-19 10:29:04 +00:00
|
|
|
// }}}
|
2012-04-09 18:43:30 +00:00
|
|
|
// Debugging stuff {{{
|
|
|
|
.oe_layout_debugging
|
|
|
|
.oe_form_group
|
2012-04-19 15:33:41 +00:00
|
|
|
outline: 2px dashed green
|
2012-04-09 18:43:30 +00:00
|
|
|
.oe_form_group_cell
|
2012-04-18 16:10:39 +00:00
|
|
|
outline: 1px solid blue
|
2012-04-19 15:33:41 +00:00
|
|
|
.oe_form_group:hover, .oe_form_group_cell:hover
|
|
|
|
outline-color: red
|
2012-04-25 14:23:36 +00:00
|
|
|
.oe_form_group_row_incomplete > td:last-child:after
|
|
|
|
content: "[Incomplete Row]"
|
|
|
|
background: red
|
|
|
|
padding: 2px
|
|
|
|
font-weight: bold
|
|
|
|
color: white
|
|
|
|
float: right
|
|
|
|
.oe_form_group_row_incomplete.oe_form_group_row_newline > td:last-child:after
|
|
|
|
content: "[newline]"
|
2012-04-09 18:55:03 +00:00
|
|
|
.oe_debug_view
|
|
|
|
float: left
|
2012-04-09 18:43:30 +00:00
|
|
|
.oe_debug_view_log
|
|
|
|
font-size: 95%
|
2014-01-20 15:06:06 +00:00
|
|
|
line-height: 1.2em
|
2012-04-09 18:43:30 +00:00
|
|
|
// }}}
|
2014-01-16 16:54:39 +00:00
|
|
|
// Bootstrap HACKS {{{
|
|
|
|
.navbar
|
|
|
|
min-height: 32px
|
|
|
|
margin-bottom: 0px
|
|
|
|
border: none
|
2014-02-13 14:26:43 +00:00
|
|
|
z-index: 1
|
|
|
|
position: static
|
2014-01-16 16:54:39 +00:00
|
|
|
background-color: #414141
|
|
|
|
@include vertical-gradient(#646060, #262626)
|
|
|
|
.navbar-default
|
|
|
|
.navbar-nav
|
|
|
|
li
|
|
|
|
a:hover,a:focus
|
|
|
|
background: rgba(0, 0, 0, 0.3)
|
|
|
|
.open > a,a:hover,a:focus
|
|
|
|
background: rgba(0, 0, 0, 0.3) !important
|
|
|
|
.dropdown > a .caret
|
|
|
|
border-top-color: #777 !important
|
|
|
|
border-bottom-color: #777 !important
|
|
|
|
.navbar-nav
|
|
|
|
li
|
|
|
|
a
|
|
|
|
padding: 4px 32px 4px 12px
|
|
|
|
.oe_navbar .dropdown-menu
|
|
|
|
font-size: 13px
|
|
|
|
padding: 4px 0
|
|
|
|
background: #333333 !important
|
|
|
|
background: rgba(37, 37, 37, 0.9) !important
|
|
|
|
border-color: #999999
|
|
|
|
border-color: rgba(0, 0, 0, 0.2)
|
|
|
|
background-color: #414141
|
|
|
|
text-shadow: none
|
|
|
|
@include vertical-gradient(#646060, #262626)
|
|
|
|
@include radius(3px)
|
|
|
|
li
|
|
|
|
a,a:hover,a:focus
|
|
|
|
color: #eeeeee
|
|
|
|
|
|
|
|
// Minimized unused white space and label weight for wizard popup
|
|
|
|
.oe_view_manager_new .oe_form_nosheet
|
|
|
|
margin-top: 8px
|
|
|
|
.oe_form_label
|
|
|
|
font-weight: normal
|
|
|
|
|
|
|
|
// Customize bootstrap3 for leftbar
|
|
|
|
.nav
|
|
|
|
li > a
|
|
|
|
padding: 3px 4px 2px 18px
|
|
|
|
color: #4c4c4c
|
|
|
|
nav-pills.nav-stacked > li > ul
|
|
|
|
padding-left: 16px
|
|
|
|
.nav-pills > li.active,a.list-group-item.active
|
|
|
|
> a
|
|
|
|
background-color: #7c7bad
|
|
|
|
color: white
|
|
|
|
border-radius: 0
|
|
|
|
a:hover,a:focus
|
|
|
|
background-color: #7c7bad
|
|
|
|
.badge
|
|
|
|
background-color: white
|
|
|
|
color: #7c7bad
|
|
|
|
text-shadow: none
|
|
|
|
.badge
|
|
|
|
font-weight: normal
|
|
|
|
font-size: 11px
|
|
|
|
background-color: #7c7bad
|
|
|
|
|
|
|
|
// Customize for global tags
|
|
|
|
button, body
|
|
|
|
line-height: normal
|
|
|
|
h1,h2
|
|
|
|
font-weight: bold
|
|
|
|
h3
|
|
|
|
font-size: 1.17em
|
|
|
|
font-weight: bold
|
|
|
|
p
|
|
|
|
display: block
|
|
|
|
-webkit-margin-before: 1em
|
|
|
|
-webkit-margin-after: 1em
|
|
|
|
-webkit-margin-start: 0px
|
|
|
|
-webkit-margin-end: 0px
|
|
|
|
pre
|
|
|
|
background-color: #FFFFFF
|
|
|
|
border: none
|
|
|
|
padding: 10px 0 3px 0
|
|
|
|
|
2014-02-10 10:04:39 +00:00
|
|
|
|
2014-01-16 16:54:39 +00:00
|
|
|
|
|
|
|
// Customize for chatter
|
|
|
|
h5
|
|
|
|
font-weight: bold
|
|
|
|
font-size: smaller
|
|
|
|
.oe_form .oe_subtype label, .oe_subtype label
|
|
|
|
font-weight: normal
|
|
|
|
.oe_msg_subtype_check
|
|
|
|
margin: 3px 3px 0 !important
|
|
|
|
// }}}
|
2014-02-10 10:04:39 +00:00
|
|
|
// Customize for kanban tooltip
|
|
|
|
.jqstooltip
|
|
|
|
height: auto !important
|
|
|
|
width: auto !important
|
|
|
|
padding: 0
|
|
|
|
|
2013-02-08 09:12:25 +00:00
|
|
|
@-moz-document url-prefix()
|
2013-02-08 10:58:10 +00:00
|
|
|
.openerp
|
|
|
|
.oe_searchview .oe_searchview_search
|
2013-02-14 09:40:33 +00:00
|
|
|
top: -1px
|
2013-02-08 11:45:15 +00:00
|
|
|
.oe_form_field_many2one .oe_m2o_cm_button
|
|
|
|
line-height: 18px
|
2013-02-11 06:00:41 +00:00
|
|
|
.oe_webclient
|
|
|
|
.oe_star_on, .oe_star_off
|
|
|
|
top: 0px
|
2013-02-08 09:12:25 +00:00
|
|
|
|
2012-06-08 17:14:52 +00:00
|
|
|
// Kitten Mode {{{
|
2012-05-23 15:28:04 +00:00
|
|
|
.kitten-mode-activated
|
2012-05-23 15:14:45 +00:00
|
|
|
background-size: cover
|
2012-05-23 15:28:04 +00:00
|
|
|
background-attachment: fixed
|
2012-05-23 15:14:45 +00:00
|
|
|
>*
|
2012-05-23 15:28:04 +00:00
|
|
|
opacity: 0.70
|
2013-04-04 23:48:29 +00:00
|
|
|
.loading-kitten
|
|
|
|
@include radius(15px)
|
|
|
|
@include box-shadow(0 0 5px 5px #999)
|
2012-06-08 17:14:52 +00:00
|
|
|
// }}}
|
2012-02-23 13:55:03 +00:00
|
|
|
|
2012-11-15 17:36:14 +00:00
|
|
|
// jQueryUI top level {{{
|
2012-08-21 16:44:16 +00:00
|
|
|
// The jQuery-ui overlay and Autocomplete are outside the .openerp div, please don't add indentation !!!
|
2012-07-30 15:47:50 +00:00
|
|
|
div.ui-widget-overlay
|
|
|
|
background: black
|
|
|
|
@include opacity(0.3)
|
2012-11-15 17:36:14 +00:00
|
|
|
// TODO: I think only the overlay is problematic, the other top level widgets should use $.fn.openerpClass()
|
|
|
|
// eg: $el.autocomplete().openerpClass();
|
2012-08-21 16:44:16 +00:00
|
|
|
.ui-widget
|
|
|
|
font-family: "Lucida Grande", Helvetica, Verdana, Arial, sans-serif
|
|
|
|
color: #4c4c4c
|
|
|
|
font-size: 13px
|
|
|
|
|
|
|
|
.ui-menu
|
|
|
|
padding: 2px 0
|
|
|
|
@include box-shadow(0 1px 4px rgba(0,0,0,0.3))
|
|
|
|
margin-top: 4px
|
2012-08-23 09:45:32 +00:00
|
|
|
border: 1px solid $tag-border
|
2012-08-21 16:44:16 +00:00
|
|
|
.ui-menu-item
|
|
|
|
width: 100%
|
|
|
|
padding: 0
|
|
|
|
a
|
2012-10-22 16:27:08 +00:00
|
|
|
padding: 1px 16px
|
2012-08-21 16:44:16 +00:00
|
|
|
a.ui-corner-all
|
|
|
|
@include radius(0)
|
|
|
|
a.ui-state-active
|
|
|
|
background: #f0f0fa
|
|
|
|
.ui-menu-item a.ui-state-hover, .ui-menu-item a.ui-state-active
|
|
|
|
background: $tag-bg-dark
|
|
|
|
//color: #4c4c4c
|
|
|
|
//@include vertical-gradient(#f0f0fa, #eeeef6)
|
|
|
|
|
|
|
|
.ui-corner-all
|
|
|
|
@include radius(3px)
|
2012-11-15 17:36:14 +00:00
|
|
|
// }}}
|
2012-08-21 16:44:16 +00:00
|
|
|
|
2013-03-11 20:00:52 +00:00
|
|
|
.openerp
|
|
|
|
.db_option_table
|
|
|
|
td
|
|
|
|
padding-bottom: 10px !important
|
|
|
|
|
2014-01-14 13:44:27 +00:00
|
|
|
// Server side single forms {{{
|
|
|
|
@mixin single-form($width: 400px)
|
|
|
|
padding: 10px
|
|
|
|
position: absolute
|
|
|
|
left: 50%
|
|
|
|
top: 50%
|
|
|
|
width: $width
|
|
|
|
/* Set margins to offset 50% of the w/h */
|
|
|
|
margin-top: -($width / 2)
|
|
|
|
margin-left: -($width / 2)
|
|
|
|
|
2014-01-16 10:15:54 +00:00
|
|
|
body.oe_single_form
|
2014-01-14 13:44:27 +00:00
|
|
|
background: #eee url(/web/static/src/img/form_sheetbg.png)
|
|
|
|
height: 100%
|
|
|
|
|
2014-01-16 10:15:54 +00:00
|
|
|
.oe_single_form_logo
|
|
|
|
padding: 10px
|
|
|
|
text-align: center
|
|
|
|
margin-bottom: 10px
|
2014-01-14 13:44:27 +00:00
|
|
|
|
2014-01-16 10:15:54 +00:00
|
|
|
.oe_single_form_footer
|
|
|
|
position: absolute
|
|
|
|
bottom: -30px
|
|
|
|
right: 0px
|
|
|
|
width: 100%
|
|
|
|
text-align: center
|
2014-01-14 13:44:27 +00:00
|
|
|
|
2014-01-16 10:15:54 +00:00
|
|
|
.oe_single_form_container
|
|
|
|
@include single-form(400px)
|
2014-01-14 13:44:27 +00:00
|
|
|
|
|
|
|
// }}}
|
|
|
|
|
2012-11-15 17:48:31 +00:00
|
|
|
// Internet Explorer 9+ specifics {{{
|
|
|
|
.openerp_ie
|
2012-12-27 16:18:37 +00:00
|
|
|
.placeholder
|
|
|
|
color: $tag-border !important
|
|
|
|
font-style: italic !important
|
2013-04-30 08:34:44 +00:00
|
|
|
.oe_form_binary_file
|
|
|
|
width: 80px
|
2012-12-20 13:25:52 +00:00
|
|
|
.oe_form_field_boolean input
|
2012-12-20 11:13:28 +00:00
|
|
|
background: #fff
|
2013-01-04 15:44:24 +00:00
|
|
|
.db_option_table .oe_form_field_selection
|
|
|
|
width: auto
|
2012-11-15 17:48:31 +00:00
|
|
|
input[type='checkbox']
|
|
|
|
border: none
|
|
|
|
background: none
|
|
|
|
box-shadow: none
|
|
|
|
.oe_logo
|
|
|
|
img
|
|
|
|
border: none
|
|
|
|
.oe_header_row
|
|
|
|
button.oe_highlight
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
2013-02-27 21:07:15 +00:00
|
|
|
.oe_view_manager_view_kanban
|
|
|
|
display: table-cell
|
2012-11-15 17:48:31 +00:00
|
|
|
.oe_view_manager_buttons
|
|
|
|
button.oe_write_full
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
|
|
|
button.oe_highlight
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
|
|
|
button .oe_form_button_edit
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
|
|
|
button .oe_form_button_create
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
|
|
|
.oe_kanban_image
|
|
|
|
border: none
|
|
|
|
.oe_msg_icon
|
|
|
|
border: none
|
|
|
|
.oe_form
|
|
|
|
header
|
|
|
|
ul
|
|
|
|
height: 29px
|
|
|
|
.oe_attach
|
|
|
|
filter: none
|
|
|
|
.oe_link
|
|
|
|
filter: none
|
|
|
|
.oe_kanban_show_more
|
|
|
|
clear: both
|
|
|
|
text-align: center
|
|
|
|
&.oe_kanban_grouped .oe_kanban_show_more .oe_button
|
|
|
|
width: 100%
|
|
|
|
padding: 3px 12px
|
|
|
|
|
|
|
|
.oe_form_buttons button
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
|
|
|
.oe_sidebar button
|
|
|
|
padding-top: 0
|
|
|
|
padding-bottom: 0
|
2012-12-20 08:58:07 +00:00
|
|
|
img
|
|
|
|
border: none
|
|
|
|
//buttons.
|
|
|
|
.oe_dropdown_arrow
|
|
|
|
line-height: 1.7em
|
|
|
|
.oe_form_buttons, .oe_view_manager_buttons
|
|
|
|
button
|
|
|
|
line-height: 1.7em
|
|
|
|
.oe_highlight
|
|
|
|
line-height: 1.7em
|
|
|
|
.oe_topbar
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#646060', endColorstr='#262626')
|
2013-01-02 10:59:40 +00:00
|
|
|
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
|
2012-12-20 08:58:07 +00:00
|
|
|
.oe_popup_form
|
|
|
|
width: 99% !important
|
|
|
|
.oe_form_label
|
|
|
|
white-space: normal !important
|
|
|
|
ul.oe_form_status, ul.oe_form_status_clickable
|
|
|
|
li
|
|
|
|
display: inline-block
|
|
|
|
clear: both
|
|
|
|
&:last-child
|
|
|
|
overflow: hidden
|
|
|
|
border-right: 1px solid #cacaca
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-12-20 08:58:07 +00:00
|
|
|
padding-right: 14px
|
|
|
|
border-right: none
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow
|
2012-12-20 08:58:07 +00:00
|
|
|
display: inline-block
|
|
|
|
opacity: 0
|
|
|
|
filter: alpha(opacity = 0)
|
|
|
|
border: none
|
|
|
|
width: 0
|
|
|
|
border-right: none
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
|
|
|
border-bottom: 1px solid #cacaca
|
|
|
|
background: transparent
|
|
|
|
> .arrow
|
|
|
|
span
|
2013-11-18 18:24:16 +00:00
|
|
|
background-color: #eeeeee !important
|
2012-12-20 08:58:07 +00:00
|
|
|
li.oe_active
|
2013-03-21 12:49:52 +00:00
|
|
|
> .label
|
2012-12-20 08:58:07 +00:00
|
|
|
border-bottom: 1px solid #729fcf
|
2013-03-21 12:49:52 +00:00
|
|
|
> .arrow span
|
2012-12-20 08:58:07 +00:00
|
|
|
background-color: #729fcf !important
|
2012-11-15 17:48:31 +00:00
|
|
|
|
2014-05-22 06:26:28 +00:00
|
|
|
.oe_webclient
|
|
|
|
height: auto !important
|
2012-11-15 17:48:31 +00:00
|
|
|
// }}}
|
|
|
|
|
2012-11-15 17:36:14 +00:00
|
|
|
// @media print {{{
|
2012-10-15 11:34:33 +00:00
|
|
|
@media print
|
2012-10-18 13:17:56 +00:00
|
|
|
.openerp
|
2012-11-15 17:36:14 +00:00
|
|
|
.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
|
|
|
|
// We use !important here because jQuery adds @style = display: block on elements when using $.fn.show()
|
|
|
|
display: none !important
|
2012-10-25 12:07:07 +00:00
|
|
|
.oe_list_content
|
|
|
|
button, input[type=checkbox]
|
|
|
|
visibility: hidden
|
|
|
|
.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
|
|
|
|
visibility: hidden
|
|
|
|
a
|
|
|
|
&.oe_m2o_cm_button, &.oe_e
|
|
|
|
visibility: hidden
|
2012-10-23 11:33:53 +00:00
|
|
|
.oe_form
|
|
|
|
.oe_form_field_date img, .oe_form_field_datetime img
|
|
|
|
visibility: hidden
|
2012-10-18 13:17:56 +00:00
|
|
|
.oe_notebook > li.ui-tabs-selected
|
|
|
|
display: block
|
|
|
|
.oe_application
|
|
|
|
.oe_form_sheet, .oe_form_sheetbg
|
2012-10-19 11:14:57 +00:00
|
|
|
border: 0px !important
|
|
|
|
box-shadow: 0px 0px 0px
|
2012-12-12 13:48:47 +00:00
|
|
|
.oe_list
|
|
|
|
overflow-x: visible
|
2012-10-19 11:14:57 +00:00
|
|
|
.oe_view_manager_current > .oe_view_manager_header
|
|
|
|
border: 0px !important
|
|
|
|
box-shadow: 0px 0px 0px
|
2012-10-19 06:37:30 +00:00
|
|
|
text-shadow: none
|
2012-10-25 12:07:07 +00:00
|
|
|
.text-core .text-wrap .text-arrow
|
|
|
|
background: none
|
|
|
|
.openerp div.oe_mail_wall
|
|
|
|
overflow: hidden !important
|
2012-11-15 17:36:14 +00:00
|
|
|
// }}}
|
|
|
|
|
2013-12-02 13:19:43 +00:00
|
|
|
|
|
|
|
// Hack for ui icon {{{
|
|
|
|
.ui-icon
|
|
|
|
width: 18px
|
|
|
|
height: 18px
|
|
|
|
// End hack}}}
|
|
|
|
|
2014-04-10 10:06:31 +00:00
|
|
|
// Customized modal according bootstrap3
|
|
|
|
.modal
|
2014-04-11 12:27:53 +00:00
|
|
|
.modal-header button.close
|
|
|
|
border: none
|
|
|
|
background: none
|
|
|
|
padding: 1px
|
|
|
|
height: 18px
|
|
|
|
font-size: 20px
|
2014-04-10 10:06:31 +00:00
|
|
|
.modal-footer
|
|
|
|
text-align: left
|
2014-04-16 15:15:43 +00:00
|
|
|
.oe_button
|
|
|
|
margin: 0 4px 0 0
|
2014-04-11 12:27:53 +00:00
|
|
|
.oe_act_window.modal-body
|
|
|
|
padding: 0
|
2014-04-10 10:06:31 +00:00
|
|
|
|
2014-04-23 08:19:14 +00:00
|
|
|
.ui-datepicker
|
|
|
|
z-index: 1500 !important
|
|
|
|
|
2013-12-02 13:19:43 +00:00
|
|
|
input[type="radio"], input[type="checkbox"]
|
|
|
|
margin-right: 4px
|
|
|
|
margin-left: 4px
|
|
|
|
|
2012-12-17 17:20:21 +00:00
|
|
|
.blockUI.blockOverlay
|
|
|
|
background-color: black
|
|
|
|
opacity: 0.6000000238418579
|
|
|
|
|
2012-02-23 13:55:03 +00:00
|
|
|
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
|
|
|
|
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:
|