summaryrefslogtreecommitdiff
path: root/addons/board/static/src/css
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-09-10 13:51:38 +0200
committerFabien Meghazi <fme@openerp.com>2012-09-10 13:51:38 +0200
commit9c8b6653356b945b41002e2e84c9fc6da597b5a4 (patch)
treec9499de30c0ca58beb2b55d2e829675b59ac8d04 /addons/board/static/src/css
parent4c855040978e0d4d6bb38a1739975efada6ca583 (diff)
[FIX] Fixed dashboard layout selector styling
bzr revid: fme@openerp.com-20120910115138-wy8w2exdi18jb489
Diffstat (limited to 'addons/board/static/src/css')
-rw-r--r--addons/board/static/src/css/dashboard.css19
-rw-r--r--addons/board/static/src/css/dashboard.sass17
2 files changed, 26 insertions, 10 deletions
diff --git a/addons/board/static/src/css/dashboard.css b/addons/board/static/src/css/dashboard.css
index 38e224daf42..ed66e338c81 100644
--- a/addons/board/static/src/css/dashboard.css
+++ b/addons/board/static/src/css/dashboard.css
@@ -1,3 +1,17 @@
+.openerp .oe_dashboard_layout_selector ul {
+ white-space: nowrap;
+}
+.openerp .oe_dashboard_layout_selector li {
+ margin: 0;
+ padding: 0;
+ list-style-type: none;
+ float: left;
+}
+.openerp .oe_dashboard_layout_selector li .oe_dashboard_selected_layout {
+ margin-left: -30px;
+ vertical-align: bottom;
+ margin-bottom: 10px;
+}
.openerp .oe_dashboard_links {
text-align: right;
margin: 0 4px 6px 0;
@@ -5,11 +19,6 @@
.openerp .oe_dashboard {
width: 100%;
}
-.openerp .oe_dashboard .oe_dashboard_layout_selector ul, .openerp .oe_dashboard .oe_dashboard_layout_selector li {
- margin: 0;
- padding: 0;
- list-style-type: none;
-}
.openerp .oe_dashboard .oe_action {
margin: 0 8px 8px 0;
background-color: white;
diff --git a/addons/board/static/src/css/dashboard.sass b/addons/board/static/src/css/dashboard.sass
index 1bfc01a3809..32f0e3b4f3a 100644
--- a/addons/board/static/src/css/dashboard.sass
+++ b/addons/board/static/src/css/dashboard.sass
@@ -9,16 +9,23 @@
box-shadow: $bsval
.openerp
+ .oe_dashboard_layout_selector
+ ul
+ white-space: nowrap
+ li
+ margin: 0
+ padding: 0
+ list-style-type: none
+ float: left
+ .oe_dashboard_selected_layout
+ margin-left: -30px
+ vertical-align: bottom
+ margin-bottom: 10px
.oe_dashboard_links
text-align: right
margin: 0 4px 6px 0
.oe_dashboard
width: 100%
- .oe_dashboard_layout_selector
- ul, li
- margin: 0
- padding: 0
- list-style-type: none
.oe_action
margin: 0 8px 8px 0
background-color: white