From d63c20b73de27d5b272ce8b1442044cc8d5fbb93 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Wed, 11 Jan 2012 12:07:43 +0100 Subject: [PATCH] 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"> - +