From d63c20b73de27d5b272ce8b1442044cc8d5fbb93 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Wed, 11 Jan 2012 12:07:43 +0100 Subject: [PATCH 1/2] Restyling of the config todo list bzr revid: mit@openerp.com-20120111110743-ir7lg59is1y9fegp --- .../static/src/css/dashboard.css | 21 ++++++++++++++++++- .../static/src/xml/web_dashboard.xml | 4 +--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/addons/web_dashboard/static/src/css/dashboard.css b/addons/web_dashboard/static/src/css/dashboard.css index fe31f0a9a87..955f864093f 100644 --- a/addons/web_dashboard/static/src/css/dashboard.css +++ b/addons/web_dashboard/static/src/css/dashboard.css @@ -201,7 +201,6 @@ .openerp .oe-dashboard-config-overview li { cursor: pointer; position: relative; - text-indent: 20px; } .openerp .oe-dashboard-config-overview li:hover { cursor: pointer; @@ -213,6 +212,26 @@ color: #999999; } +.openerp span.oe-label { + display: inline-block; + padding: 1px 3px 2px; + min-width: 38px; + font-size: 10px; + font-weight: bold; + color: white; + text-transform: uppercase; + text-align: center; + white-space: nowrap; + background-color: #BFBFBF; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.openerp span.oe-todo { + background: #7F82AC; +} + .openerp .oe-dashboard-layout_2-1 .index_0 .oe-dashboard-config-overview ul, .openerp .oe-dashboard-layout_1-2 .index_1 .oe-dashboard-config-overview ul { -moz-column-count: 2; diff --git a/addons/web_dashboard/static/src/xml/web_dashboard.xml b/addons/web_dashboard/static/src/xml/web_dashboard.xml index 5d503d94f1e..a342f4312b1 100644 --- a/addons/web_dashboard/static/src/xml/web_dashboard.xml +++ b/addons/web_dashboard/static/src/xml/web_dashboard.xml @@ -73,9 +73,7 @@ t-att-class="todo.done ? 'oe-done' : undefined" t-att-data-id="todo.id" t-att-title="!todo.done ? 'Execute task \'' + todo.name + '\'' : undefined"> - + From 0d64d9940dfc6de2c7177aa420f08a4feced8ff5 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Wed, 11 Jan 2012 13:21:47 +0100 Subject: [PATCH 2/2] Added padding to dashboard action content bzr revid: mit@openerp.com-20120111122147-6296xy0i7h7lm71v --- addons/web_dashboard/static/src/css/dashboard.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/web_dashboard/static/src/css/dashboard.css b/addons/web_dashboard/static/src/css/dashboard.css index 955f864093f..96ed4bed6fd 100644 --- a/addons/web_dashboard/static/src/css/dashboard.css +++ b/addons/web_dashboard/static/src/css/dashboard.css @@ -292,6 +292,10 @@ padding: 2px; } +.openerp .oe-dashboard-action-content { + padding: 8px; +} + .oe-static-home { padding: 0.5em 0.5em; text-align: center;