summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-04-01 23:55:07 +0200
committerAntony Lesuisse <al@openerp.com>2012-04-01 23:55:07 +0200
commita5aa1bc1a7c7f5aeee290ccb5e5fdec9cd28a00c (patch)
treeec0c38ab7251ed337493603a54c2da898c180983 /addons/web/static/src/css/base.sass
parent9a9b9e76bdb62f99fb037b23650519c1759016c9 (diff)
notebook styling
bzr revid: al@openerp.com-20120401215507-yxxvpphhm788fq8f
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass40
1 files changed, 39 insertions, 1 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index ca2d5ee2e29..d1d59a88f69 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -509,7 +509,44 @@ $colour4: #8a89ba
.oe_layout_debug_cell
display: none
-
+ .oe_form_notebook
+ margin: 8px 0
+ padding: 0 8px
+ list-style: none
+ zoom: 1
+ .oe_form_notebook:before, .oe_form_notebook:after
+ display: table
+ content: ""
+ zoom: 1
+ .oe_form_notebook:after
+ clear: both
+ .oe_form_notebook > li
+ float: left
+ .oe_form_notebook > li > a
+ display: block
+ color: #4c4c4c
+ .oe_form_notebook
+ border-color: #ddd
+ border-style: solid
+ border-width: 0 0 1px
+ .oe_form_notebook > li
+ position: relative
+ margin-bottom: -1px
+ .oe_form_notebook > li > a
+ padding: 0 12px
+ margin-right: 2px
+ line-height: 30px
+ border: 1px solid transparent
+ @include radius(4px 4px 0 0)
+ .oe_form_notebook > li > a:hover
+ text-decoration: none
+ background-color: #eee
+ border-color: #eee #eee #ddd
+ .oe_form_notebook > li.ui-state-active > a, .oe_form_notebook > li.ui-state-active > a:hover
+ background-color: #ffffff
+ border: 1px solid #ddd
+ border-bottom-color: transparent
+ cursor: default
// }}}
// FormView Widgets {{{
@@ -530,3 +567,4 @@ $colour4: #8a89ba
// au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers <afile> > "%:p:r.css"
// vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker:
+