summaryrefslogtreecommitdiff
path: root/addons/board/static/src/css
diff options
context:
space:
mode:
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-09-13 12:07:12 +0530
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>2012-09-13 12:07:12 +0530
commitad54fae15f06feaf94da69bd2a378caf443aa879 (patch)
treedfd89504c132e40989812d0e04e3982afc90be72 /addons/board/static/src/css
parentdc97de0e27bb1ce5d1e1ef44f4b09b48764a01f2 (diff)
[IMP]enter css.
bzr revid: vme@tinyerp.com-20120913063712-fckff2ufxgwvwuaz
Diffstat (limited to 'addons/board/static/src/css')
-rw-r--r--addons/board/static/src/css/dashboard.css33
-rw-r--r--addons/board/static/src/css/dashboard.sass25
2 files changed, 58 insertions, 0 deletions
diff --git a/addons/board/static/src/css/dashboard.css b/addons/board/static/src/css/dashboard.css
index ed66e338c81..f2bbcd07071 100644
--- a/addons/board/static/src/css/dashboard.css
+++ b/addons/board/static/src/css/dashboard.css
@@ -1,3 +1,36 @@
+.openerp .oe_dashboard_layout_1 .oe_dashboard_column.index_0 {
+ width: 100%;
+}
+.openerp .oe_dashboard_layout_1 .oe_dashboard_column.index_1, .openerp .oe_dashboard_layout_1 .oe_dashboard_column.index_2 {
+ display: none;
+}
+.openerp .oe_dashboard_layout_1-1 .oe_dashboard_column {
+ width: 50%;
+}
+.openerp .oe_dashboard_layout_1-1 .oe_dashboard_column.index_2 {
+ display: none;
+}
+.openerp .oe_dashboard_layout_1-1-1 .oe_dashboard_column {
+ width: 33%;
+}
+.openerp .oe_dashboard_layout_2-1 .oe_dashboard_column.index_0 {
+ width: 70%;
+}
+.openerp .oe_dashboard_layout_2-1 .oe_dashboard_column.index_1 {
+ width: 30%;
+}
+.openerp .oe_dashboard_layout_2-1 .oe_dashboard_column.index_2 {
+ display: none;
+}
+.openerp .oe_dashboard_layout_1-2 .oe_dashboard_column.index_0 {
+ width: 30%;
+}
+.openerp .oe_dashboard_layout_1-2 .oe_dashboard_column.index_1 {
+ width: 70%;
+}
+.openerp .oe_dashboard_layout_1-2 .oe_dashboard_column.index_2 {
+ display: none;
+}
.openerp .oe_dashboard_layout_selector ul {
white-space: nowrap;
}
diff --git a/addons/board/static/src/css/dashboard.sass b/addons/board/static/src/css/dashboard.sass
index 074b8b90c17..122b6dc232c 100644
--- a/addons/board/static/src/css/dashboard.sass
+++ b/addons/board/static/src/css/dashboard.sass
@@ -9,6 +9,31 @@
box-shadow: $bsval
.openerp
+ .oe_dashboard_layout_1 .oe_dashboard_column
+ &.index_0
+ width: 100%
+ &.index_1, &.index_2
+ display: none
+ .oe_dashboard_layout_1-1 .oe_dashboard_column
+ width: 50%
+ &.index_2
+ display: none
+ .oe_dashboard_layout_1-1-1 .oe_dashboard_column
+ width: 33%
+ .oe_dashboard_layout_2-1 .oe_dashboard_column
+ &.index_0
+ width: 70%
+ &.index_1
+ width: 30%
+ &.index_2
+ display: none
+ .oe_dashboard_layout_1-2 .oe_dashboard_column
+ &.index_0
+ width: 30%
+ &.index_1
+ width: 70%
+ &.index_2
+ display: none
.oe_dashboard_layout_selector
ul
white-space: nowrap