summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorMahendra Barad <mba@tinyerp.com>2014-05-08 18:01:56 +0200
committerThibault Delavallée <tde@openerp.com>2014-05-08 18:01:56 +0200
commitb4aa0eb76f8497bf4479b8c27636c464be09e68d (patch)
tree96f198c525b53f91232cf88e40f5fdd769b1d503 /addons/web/static/src/css/base.sass
parentdf2e290da53d6e41af48161c83c3520fde65c6ad (diff)
parent8bf965a865137cf96f7f5abb6dff5a2fc53d6dd5 (diff)
[MERGE] [ADD] kanban_state_selection widget, allowing to manage kanban_state-like selection fields using bullet + dropdown; priority widget allowing to manage priorities using stars.
bzr revid: tde@openerp.com-20140508160156-b2jekyiajkjp7bse
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass31
1 files changed, 29 insertions, 2 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index f1a92f44288..c15c90abb7a 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -404,7 +404,7 @@ $sheet-padding: 16px
text-shadow: 0 0 2px black
vertical-align: top
position: relative
- top: -5px
+ top: -8px
.oe_star_on:hover, .oe_star_off:hover
text-decoration: none
.oe_star_on
@@ -424,7 +424,33 @@ $sheet-padding: 16px
border-style: inset
border-width: 1px
// }}}
-
+ // Kanban state (used in form and kanban) {{{
+ .oe_kanban_status
+ position: relative
+ display: inline-block
+ height: 12px
+ width: 12px
+ @include radius(6px)
+ @include radial-gradient((#eee 0%, #ccc 40%, #bbb 100%))
+ // +background-image(radial-gradient(45px 45px, #0ff 10px, #1e90ff 30px))
+ .oe_kanban_status_green
+ background: green
+ @include radial-gradient((#55dd55 0%, #44aa44 40%, #339933 100%))
+ .oe_kanban_status_red
+ background: red
+ @include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%))
+ .btn-group.kanban_state
+ padding-top: 8px
+ margin-right: 4px !important
+ .dropdown-menu
+ min-width: 100%
+ padding-right: 10px !important
+ .dropdown-menu li a, .dropdown-menu li a:hover, .dropdown-menu li a:focus
+ padding-left: 5px
+ padding-right: 0px
+ a
+ color: #333333
+ // }}}
// Tags (for many2many tags, among others) {{{
.oe_tag
border: 1px solid $tag-border
@@ -2752,5 +2778,6 @@ input[type="radio"], input[type="checkbox"]
background-color: black
opacity: 0.6000000238418579
+
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: