From 752fa2e2a5b144cb9ce2e7217827c2432f385255 Mon Sep 17 00:00:00 2001 From: "Mahendra Barad (OpenERP)" Date: Thu, 19 Dec 2013 14:08:51 +0530 Subject: [IMP]improved css as well as improved stagemode widget bzr revid: mba@tinyerp.com-20131219083851-c2hp4dddtpfxm0l6 --- addons/web/static/src/css/base.css | 38 ++++++++++++++++++++++++++++++++++--- addons/web/static/src/css/base.sass | 25 ++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 3 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 010585ee4a0..e59be2e551e 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1,4 +1,4 @@ -@charset "utf-8"; +@charset "UTF-8"; @font-face { font-family: "mnmliconsRegular"; src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot"); @@ -2290,7 +2290,7 @@ } .openerp .oe_form .oe_form_label_help[for] span, .openerp .oe_form .oe_form_label[for] span { font-size: 80%; - color: darkGreen; + color: darkgreen; vertical-align: top; position: relative; top: -4px; @@ -3434,7 +3434,6 @@ div.ui-widget-overlay { overflow: hidden !important; } } - .nav li > a { padding: 3px 4px 2px 18px; color: #4c4c4c; @@ -3569,6 +3568,39 @@ h5 { color: #eeeeee; } +.dropdown-menu.with-arrow { + background: white; + background: white !important; +} + +.dropdown-menu.with-arrow:before { + position: absolute; + top: -12px; + left: 9px; + display: inline-block; + border-right: 12px solid transparent; + border-bottom: 12px solid #cccccc; + border-left: 12px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ""; +} + +.dropdown-menu.with-arrow:after { + position: absolute; + top: -11px; + left: 10px; + display: inline-block; + border-right: 11px solid transparent; + border-bottom: 11px solid white; + border-left: 11px solid transparent; + content: ""; +} + +.dropdown-menu.with-arrow li a { + color: black; + font-weight: bold; +} + .ui-icon { width: 18px; height: 18px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index e9a51370192..3f915de78d9 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2843,6 +2843,31 @@ h5 li a,a:hover,a:focus color: #eeeeee +.dropdown-menu.with-arrow + background: #FFF + background: #FFF !important +.dropdown-menu.with-arrow:before + position: absolute + top: -12px + left: 9px + display: inline-block + border-right: 12px solid transparent + border-bottom: 12px solid #ccc + border-left: 12px solid transparent + border-bottom-color: rgba(0, 0, 0, 0.2) + content: '' +.dropdown-menu.with-arrow:after + position: absolute + top: -11px + left: 10px + display: inline-block + border-right: 11px solid transparent + border-bottom: 11px solid #ffffff + border-left: 11px solid transparent + content: '' +.dropdown-menu.with-arrow li a + color: #000 + font-weight: bold // End hack }}} // Hack for ui icon {{{ -- cgit v1.2.3 From fdcb64ef8c4bf9775bc38e133ccd923342fd7fa7 Mon Sep 17 00:00:00 2001 From: "Mahendra Barad (OpenERP)" Date: Fri, 20 Dec 2013 14:18:46 +0530 Subject: [IMP]improve the legend widget bzr revid: mba@tinyerp.com-20131220084846-875n332j1m1igip7 --- addons/web/static/src/css/base.css | 5 +++-- addons/web/static/src/css/base.sass | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index e59be2e551e..c40bb16cdf1 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3598,9 +3598,10 @@ h5 { .dropdown-menu.with-arrow li a { color: black; - font-weight: bold; } - +.dropdown-menu.with-arrow li a, .dropdown-menu.with-arrow li a:hover, .dropdown-menu.with-arrow li a:focus { + text-decoration: none; +} .ui-icon { width: 18px; height: 18px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 3f915de78d9..c36cc2b8eb2 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2867,7 +2867,8 @@ h5 content: '' .dropdown-menu.with-arrow li a color: #000 - font-weight: bold +.dropdown-menu.with-arrow li a, .dropdown-menu.with-arrow li a:hover, .dropdown-menu.with-arrow li a:focus + text-decoration: none; // End hack }}} // Hack for ui icon {{{ -- cgit v1.2.3 From 53a1a4f1fbbcc3d11f1e973333a8073b526b748e Mon Sep 17 00:00:00 2001 From: "Mahendra Barad (OpenERP)" Date: Fri, 20 Dec 2013 14:58:40 +0530 Subject: [IMP]improved css bzr revid: mba@tinyerp.com-20131220092840-933qq22q1v9287mn --- addons/web/static/src/css/base.css | 4 ++-- addons/web/static/src/css/base.sass | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index c40bb16cdf1..c4f0f91adcd 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3576,7 +3576,7 @@ h5 { .dropdown-menu.with-arrow:before { position: absolute; top: -12px; - left: 9px; + left: 0px; display: inline-block; border-right: 12px solid transparent; border-bottom: 12px solid #cccccc; @@ -3588,7 +3588,7 @@ h5 { .dropdown-menu.with-arrow:after { position: absolute; top: -11px; - left: 10px; + left: 1px; display: inline-block; border-right: 11px solid transparent; border-bottom: 11px solid white; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index c36cc2b8eb2..078fb28e137 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2849,7 +2849,7 @@ h5 .dropdown-menu.with-arrow:before position: absolute top: -12px - left: 9px + left: 0px display: inline-block border-right: 12px solid transparent border-bottom: 12px solid #ccc @@ -2859,7 +2859,7 @@ h5 .dropdown-menu.with-arrow:after position: absolute top: -11px - left: 10px + left: 1px display: inline-block border-right: 11px solid transparent border-bottom: 11px solid #ffffff -- cgit v1.2.3 From a33461433c73b774e6409295c43b89c90ad584f2 Mon Sep 17 00:00:00 2001 From: "Mahendra Barad (OpenERP)" Date: Thu, 23 Jan 2014 17:56:00 +0530 Subject: [IMP]improved kanban state as boostrap btn and dorpdown bzr revid: mba@tinyerp.com-20140123122600-hqo3g9c5l6r24o3t --- addons/web/static/src/css/base.css | 50 ++++++++++++++++--------------------- addons/web/static/src/css/base.sass | 44 +++++++++++++------------------- 2 files changed, 40 insertions(+), 54 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 7bee0019028..1510a4c4b0a 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -659,10 +659,6 @@ display: block; color: gray; } -.openerp .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active { - border-bottom: none; - padding-bottom: 1px; -} .openerp .oe_notebook > li.ui-tabs-active > a { color: #4c4c4c; } @@ -688,6 +684,10 @@ background-color: #eeeeee; border-color: #eeeeee #eeeeee #dddddd; } +.openerp .ui-tabs .oe_notebook.ui-tabs-nav li.ui-tabs-active { + border-bottom: none; + padding-bottom: 1px; +} .openerp .oe_notebook > li.ui-state-active > a, .openerp .oe_notebook > li.ui-state-active > a:hover { background-color: white; border: 1px solid #dddddd; @@ -3575,40 +3575,34 @@ h5 { color: #eeeeee; } -.dropdown-menu.with-arrow { +.dropdown-menu.state { background: white; background: white !important; + min-width: 73px; } -.dropdown-menu.with-arrow:before { - position: absolute; - top: -12px; - left: 0px; - display: inline-block; - border-right: 12px solid transparent; - border-bottom: 12px solid #cccccc; - border-left: 12px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ""; +.dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus { + text-decoration: none; + color: #333333; + padding-left: 5px; + padding-right: 0px; } -.dropdown-menu.with-arrow:after { - position: absolute; - top: -11px; - left: 1px; - display: inline-block; - border-right: 11px solid transparent; - border-bottom: 11px solid white; - border-left: 11px solid transparent; - content: ""; +.btn.btn-xs.btn-danger { + color: white; + text-decoration: none !important; } -.dropdown-menu.with-arrow li a { - color: black; +.btn.btn-xs.btn-default { + color: #333333; + text-decoration: none !important; } -.dropdown-menu.with-arrow li a, .dropdown-menu.with-arrow li a:hover, .dropdown-menu.with-arrow li a:focus { - text-decoration: none; + +.btn.btn-xs.btn-success { + color: white; + text-decoration: none !important; } + .ui-icon { width: 18px; height: 18px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 291ecc5ca79..c9f3e6f51b1 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2848,32 +2848,24 @@ h5 li a,a:hover,a:focus color: #eeeeee -.dropdown-menu.with-arrow - background: #FFF - background: #FFF !important -.dropdown-menu.with-arrow:before - position: absolute - top: -12px - left: 0px - display: inline-block - border-right: 12px solid transparent - border-bottom: 12px solid #ccc - border-left: 12px solid transparent - border-bottom-color: rgba(0, 0, 0, 0.2) - content: '' -.dropdown-menu.with-arrow:after - position: absolute - top: -11px - left: 1px - display: inline-block - border-right: 11px solid transparent - border-bottom: 11px solid #ffffff - border-left: 11px solid transparent - content: '' -.dropdown-menu.with-arrow li a - color: #000 -.dropdown-menu.with-arrow li a, .dropdown-menu.with-arrow li a:hover, .dropdown-menu.with-arrow li a:focus - text-decoration: none; +.dropdown-menu.state + background: white + background: white !important + min-width: 73px +.dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus + text-decoration: none + color: #333 + padding-left: 5px + padding-right: 0px +.btn.btn-xs.btn-danger + color: #FFF + text-decoration: none !important +.btn.btn-xs.btn-default + color: #333 + text-decoration: none !important +.btn.btn-xs.btn-success + color: #FFF + text-decoration: none !important // End hack }}} // Hack for ui icon {{{ -- cgit v1.2.3 From cea18d95caea232fec718a47709ef2142d9e9e37 Mon Sep 17 00:00:00 2001 From: "Mahendra Barad (OpenERP)" Date: Wed, 19 Feb 2014 15:22:42 +0530 Subject: [IMP]save record on status change bzr revid: mba@tinyerp.com-20140219095242-jppybyffehlqqmy0 --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 9bd1f495f1e..430c11c19b3 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3437,7 +3437,7 @@ body.oe_single_form .oe_single_form_container { .dropdown-menu.state { background: white; background: white !important; - min-width: 73px; + min-width: 100%; } .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 6a065668376..84db0ff5da7 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2777,7 +2777,7 @@ body.oe_single_form .dropdown-menu.state background: white background: white !important - min-width: 73px + min-width: 100% .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus text-decoration: none color: #333 -- cgit v1.2.3 From 955f6c4cd7a73777646bd205ab2bc9799148dff0 Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Tue, 18 Mar 2014 14:50:12 +0530 Subject: [IMP]improve dropdown bzr revid: mba@tinyerp.com-20140318092012-4ch33v0e4ej88t2z --- addons/web/static/src/css/base.css | 1 + addons/web/static/src/css/base.sass | 1 + 2 files changed, 2 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 69ca592298c..7e615c56a5e 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3435,6 +3435,7 @@ body.oe_single_form .oe_single_form_container { background: white; background: white !important; min-width: 100%; + padding-right: 9px !important; } .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 384bbcc3638..b034206c926 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2775,6 +2775,7 @@ body.oe_single_form background: white background: white !important min-width: 100% + padding-right: 10px !important .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus text-decoration: none color: #333 -- cgit v1.2.3 From 0c621f477610d486a126d074d468942fe8deed53 Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Tue, 18 Mar 2014 18:59:48 +0530 Subject: [IMP]improve the dropdown selection widget bzr revid: mba@tinyerp.com-20140318132948-85nnbkbwqri8gnld --- addons/web/static/src/css/base.css | 57 +++++++++++++++++++++--------- addons/web/static/src/css/base.sass | 70 +++++++++++++++++++++++++++---------- 2 files changed, 92 insertions(+), 35 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 7e615c56a5e..9bb218fceb2 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1,4 +1,4 @@ -@charset "utf-8"; +@charset "UTF-8"; @font-face { font-family: "mnmliconsRegular"; src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot"); @@ -3431,33 +3431,58 @@ body.oe_single_form .oe_single_form_container { overflow: hidden !important; } } -.dropdown-menu.state { +.openerp .dropdown-menu.state { background: white; background: white !important; min-width: 100%; - padding-right: 9px !important; + padding-right: 10px !important; } - -.dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus { +.openerp .dropdown-menu.state li a, .openerp .dropdown-menu.state li a:hover, .openerp .dropdown-menu.state li a:focus { text-decoration: none; color: #333333; padding-left: 5px; padding-right: 0px; + font-size: 13px; } - -.btn.btn-xs.btn-danger { - color: white; - text-decoration: none !important; -} - -.btn.btn-xs.btn-default { +.openerp .btn.btn-xs.btn-default { color: #333333; text-decoration: none !important; + float: none; } - -.btn.btn-xs.btn-success { - color: white; - text-decoration: none !important; +.openerp .btn-group:focus, .openerp .btn-group:hover { + padding: 1px 5px; + border: 1px solid #98999b; + display: inline; +} +.openerp .status { + display: inline-block; + position: relative; + height: 12px; + width: 12px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + -box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); + background-position: center center; + background-image: radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%); + background-image: -moz-radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%); + background-image: -webkit-radial-gradient(circle, #dddddd 0%, #aaaaaa 40%, #999999 100%); +} +.openerp .status.error { + background: #cc3333; + background-position: center center; + background-image: radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); + background-image: -moz-radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); + background-image: -webkit-radial-gradient(circle, #ee7777 0%, #cc3333 40%, #bb0808 100%); +} +.openerp .status.ok { + background: #44dd44; + background-position: center center; + background-image: radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%); + background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%); + background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%); } .ui-icon { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index b034206c926..c95272cddb5 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2771,25 +2771,57 @@ body.oe_single_form overflow: hidden !important // }}} -.dropdown-menu.state - background: white - background: white !important - min-width: 100% - padding-right: 10px !important -.dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus - text-decoration: none - color: #333 - padding-left: 5px - padding-right: 0px -.btn.btn-xs.btn-danger - color: #FFF - text-decoration: none !important -.btn.btn-xs.btn-default - color: #333 - text-decoration: none !important -.btn.btn-xs.btn-success - color: #FFF - text-decoration: none !important +.openerp + .dropdown-menu.state + background: white + background: white !important + min-width: 100% + padding-right: 10px !important + .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus + text-decoration: none + color: #333 + padding-left: 5px + padding-right: 0px + font-size: 13px + .btn.btn-xs.btn-default + color: #333 + text-decoration: none !important + float: none + .btn-group:focus, .btn-group:hover + padding: 1px 5px + border: 1px solid #98999B + display: inline + + .status + display: inline-block + position: relative + height: 12px + width: 12px + -moz-border-radius: 6px + -webkit-border-radius: 6px + border-radius: 6px + -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) + -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) + -box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) + background-position: center center + background-image: radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%) + background-image: -moz-radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%) + background-image: -webkit-radial-gradient(circle, #dddddd 0%, #aaaaaa 40%, #999999 100%) + + .status.error + background: #cc3333 + background-position: center center + background-image: radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%) + background-image: -moz-radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%) + background-image: -webkit-radial-gradient(circle, #ee7777 0%, #cc3333 40%, #bb0808 100%) + + .status.ok + background: #44dd44 + background-position: center center + background-image: radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) + background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) + background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%) + // End hack }}} // Hack for ui icon {{{ -- cgit v1.2.3 From 002f663d2951e17d6cbc60a322a73f38c80d0e56 Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Thu, 20 Mar 2014 11:25:24 +0530 Subject: [IMP]imrpove the style of dropdodwnselection bzr revid: mba@tinyerp.com-20140320055524-szvqd1d8i2sgpe2l --- addons/web/static/src/css/base.css | 14 +++++++------- addons/web/static/src/css/base.sass | 16 +++++++--------- 2 files changed, 14 insertions(+), 16 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 9bb218fceb2..535a5be2b62 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3444,15 +3444,15 @@ body.oe_single_form .oe_single_form_container { padding-right: 0px; font-size: 13px; } -.openerp .btn.btn-xs.btn-default { +.openerp .btn-group.state { + padding-top: 3px; +} +.openerp .btn-group.state a { color: #333333; - text-decoration: none !important; - float: none; } -.openerp .btn-group:focus, .openerp .btn-group:hover { - padding: 1px 5px; - border: 1px solid #98999b; - display: inline; +.openerp .btn-group.state a:hover { + text-decoration: none; + color: #333333; } .openerp .status { display: inline-block; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index c95272cddb5..8873752d4d2 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2783,15 +2783,13 @@ body.oe_single_form padding-left: 5px padding-right: 0px font-size: 13px - .btn.btn-xs.btn-default - color: #333 - text-decoration: none !important - float: none - .btn-group:focus, .btn-group:hover - padding: 1px 5px - border: 1px solid #98999B - display: inline - + .btn-group.state + padding-top: 3px + .btn-group.state a + color: #333333 + .btn-group.state a:hover + text-decoration: none + color: #333333 .status display: inline-block position: relative -- cgit v1.2.3 From 007f39fd5bc7a615eb89a8bd4ffdec74b0815eab Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Thu, 20 Mar 2014 14:31:47 +0530 Subject: [IMP]improve the css for dropdown selection bzr revid: mba@tinyerp.com-20140320090147-3znrq8fl5e64722d --- addons/web/static/src/css/base.css | 3 +++ addons/web/static/src/css/base.sass | 2 ++ 2 files changed, 5 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 535a5be2b62..3c7b2432b24 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3454,6 +3454,9 @@ body.oe_single_form .oe_single_form_container { text-decoration: none; color: #333333; } +.openerp .btn-group.state .dropdown-toggle { + -webkit-box-shadow: None; +} .openerp .status { display: inline-block; position: relative; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 8873752d4d2..004188b5576 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2790,6 +2790,8 @@ body.oe_single_form .btn-group.state a:hover text-decoration: none color: #333333 + .btn-group.state .dropdown-toggle + -webkit-box-shadow: None .status display: inline-block position: relative -- cgit v1.2.3 From 6b5e3eed2e8457e86ae74827eecce56029780f9d Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Tue, 15 Apr 2014 15:18:43 +0530 Subject: [IMP]improve css for oe_star_left bzr revid: mba@tinyerp.com-20140415094843-73octusya5941hua --- addons/web/static/src/css/base.css | 4 ++++ addons/web/static/src/css/base.sass | 3 +++ 2 files changed, 7 insertions(+) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 16ba4fe78ea..7fae47dc059 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3375,6 +3375,10 @@ body.oe_single_form .oe_single_form_container { background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%); background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%); } +.openerp .oe_star_left { + float: left; + margin-right: 8px; +} .ui-icon { width: 18px; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 92f07743869..92fb4c0c289 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2748,6 +2748,9 @@ body.oe_single_form background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%) + .oe_star_left + float: left + margin-right: 8px // End hack }}} // Hack for ui icon {{{ -- cgit v1.2.3 From d9f8f1154118e81ac19c412a865e8751a00fe899 Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Thu, 8 May 2014 11:27:35 +0530 Subject: [IMP]improve the widget for dropdown selection and priority bzr revid: mba@tinyerp.com-20140508055735-ekt5gh7w119w2i2j --- addons/web/static/src/css/base.css | 7 +------ addons/web/static/src/css/base.sass | 6 +----- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 49c9573afde..dfabfd4dc5d 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3316,7 +3316,6 @@ body.oe_single_form .oe_single_form_container { font-weight: bold; font-size: 13px; } - .tooltip .tooltip-inner .oe_tooltip_help { white-space: pre-wrap; } @@ -3392,7 +3391,7 @@ input[type="radio"], input[type="checkbox"] { padding-right: 0px; } .openerp .btn-group.state { - padding-top: 3px; + padding-top: 8px; } .openerp .btn-group.state a { color: #333333; @@ -3434,7 +3433,3 @@ input[type="radio"], input[type="checkbox"] { background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%); background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%); } -.openerp .oe_star_left { - float: left; - margin-right: 8px; -} diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index a73bf027f59..7af43062b7c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2764,7 +2764,7 @@ input[type="radio"], input[type="checkbox"] padding-right: 0px font-size: 13px .btn-group.state - padding-top: 3px + padding-top: 8px .btn-group.state a color: #333333 .btn-group.state a:hover @@ -2801,9 +2801,5 @@ input[type="radio"], input[type="checkbox"] background-image: radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%) - - .oe_star_left - float: left - margin-right: 8px // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers > "%:p:r.css" // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: -- cgit v1.2.3 From 0b9126d0fe716ae34266b023a28c2ed2f9b37f57 Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Thu, 8 May 2014 14:07:40 +0530 Subject: [IMP]remove unwanted css bzr revid: mba@tinyerp.com-20140508083740-g0u9cfef10d94oxh --- addons/web/static/src/css/base.css | 11 ----------- addons/web/static/src/css/base.sass | 10 ---------- 2 files changed, 21 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index dfabfd4dc5d..56fdb985ffe 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3379,14 +3379,10 @@ input[type="radio"], input[type="checkbox"] { opacity: 0.6; } .openerp .dropdown-menu.state { - background: white; - background: white !important; min-width: 100%; padding-right: 10px !important; } .openerp .dropdown-menu.state li a, .openerp .dropdown-menu.state li a:hover, .openerp .dropdown-menu.state li a:focus { - text-decoration: none; - color: #333333; padding-left: 5px; padding-right: 0px; } @@ -3396,13 +3392,6 @@ input[type="radio"], input[type="checkbox"] { .openerp .btn-group.state a { color: #333333; } -.openerp .btn-group.state a:hover { - text-decoration: none; - color: #333333; -} -.openerp .btn-group.state .dropdown-toggle { - -webkit-box-shadow: None; -} .openerp .status { display: inline-block; position: relative; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 7af43062b7c..f36942070a0 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2753,25 +2753,15 @@ input[type="radio"], input[type="checkbox"] opacity: 0.6000000238418579 .openerp .dropdown-menu.state - background: white - background: white !important min-width: 100% padding-right: 10px !important .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus - text-decoration: none - color: #333 padding-left: 5px padding-right: 0px - font-size: 13px .btn-group.state padding-top: 8px .btn-group.state a color: #333333 - .btn-group.state a:hover - text-decoration: none - color: #333333 - .btn-group.state .dropdown-toggle - -webkit-box-shadow: None .status display: inline-block position: relative -- cgit v1.2.3 From dae5ee484ad60bbcca0fd0cfbfabb96ba61e016b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 8 May 2014 14:33:47 +0200 Subject: [CLEAN] web: cleaned dropdown selection widget implementation: cleaned css and js code. bzr revid: tde@openerp.com-20140508123347-ye6pvk1uo5jargec --- addons/web/static/src/css/Makefile | 4 +- addons/web/static/src/css/base.css | 93 +++++++++++++++++++------------------ addons/web/static/src/css/base.sass | 70 ++++++++++++---------------- 3 files changed, 78 insertions(+), 89 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/Makefile b/addons/web/static/src/css/Makefile index ba88946baac..d00e278a5ed 100644 --- a/addons/web/static/src/css/Makefile +++ b/addons/web/static/src/css/Makefile @@ -1,5 +1,5 @@ all: *.css %.css: %.sass - sass -t expanded --compass --unix-newlines $< $@ + sass -t expanded --unix-newlines $< $@ watch: - sass -t expanded --compass --unix-newlines --watch .:. + sass -t expanded --unix-newlines --watch .:. diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 56fdb985ffe..da44e55991d 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1,4 +1,4 @@ -@charset "UTF-8"; +@charset "utf-8"; @font-face { font-family: "mnmliconsRegular"; src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot"); @@ -449,6 +449,51 @@ border-style: inset; border-width: 1px; } +.openerp .oe_kanban_status { + position: relative; + display: inline-block; + height: 12px; + width: 12px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + background-position: center center; + background-image: -webkit-radial-gradient(circle, #eeeeee 0%, #cccccc 40%, #bbbbbb 100%); + background-image: -moz-radial-gradient(#eeeeee 0%, #cccccc 40%, #bbbbbb 100%); + background-image: -ms-radial-gradient(#eeeeee 0%, #cccccc 40%, #bbbbbb 100%); + background-image: radial-gradient(#eeeeee 0%, #cccccc 40%, #bbbbbb 100%); +} +.openerp .oe_kanban_status_green { + background: green; + background-position: center center; + background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44aa44 40%, #339933 100%); + background-image: -moz-radial-gradient(#55dd55 0%, #44aa44 40%, #339933 100%); + background-image: -ms-radial-gradient(#55dd55 0%, #44aa44 40%, #339933 100%); + background-image: radial-gradient(#55dd55 0%, #44aa44 40%, #339933 100%); +} +.openerp .oe_kanban_status_red { + background: red; + background-position: center center; + background-image: -webkit-radial-gradient(circle, #ee7777 0%, #cc3333 40%, #bb0808 100%); + background-image: -moz-radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); + background-image: -ms-radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); + background-image: radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); +} +.openerp .btn-group.kanban_state { + padding-top: 8px; + margin-right: 4px !important; +} +.openerp .btn-group.kanban_state .dropdown-menu { + min-width: 100%; + padding-right: 10px !important; +} +.openerp .btn-group.kanban_state .dropdown-menu li a, .openerp .btn-group.kanban_state .dropdown-menu li a:hover, .openerp .btn-group.kanban_state .dropdown-menu li a:focus { + padding-left: 5px; + padding-right: 0px; +} +.openerp .btn-group.kanban_state a { + color: #333333; +} .openerp .oe_tag { border: 1px solid #afafb6; font-size: 11px; @@ -777,7 +822,7 @@ background-image: -moz-linear-gradient(top, #fc8787, maroon); background-image: -ms-linear-gradient(top, #fc8787, maroon); background-image: -o-linear-gradient(top, #fc8787, maroon); - background-image: linear-gradient(to bottom, #fc8787, #800000); + background-image: linear-gradient(to bottom, #fc8787, maroon); } .openerp .navbar .oe_topbar_anonymous_login a { display: block; @@ -3378,47 +3423,3 @@ input[type="radio"], input[type="checkbox"] { background-color: black; opacity: 0.6; } -.openerp .dropdown-menu.state { - min-width: 100%; - padding-right: 10px !important; -} -.openerp .dropdown-menu.state li a, .openerp .dropdown-menu.state li a:hover, .openerp .dropdown-menu.state li a:focus { - padding-left: 5px; - padding-right: 0px; -} -.openerp .btn-group.state { - padding-top: 8px; -} -.openerp .btn-group.state a { - color: #333333; -} -.openerp .status { - display: inline-block; - position: relative; - height: 12px; - width: 12px; - -moz-border-radius: 6px; - -webkit-border-radius: 6px; - border-radius: 6px; - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); - -box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); - background-position: center center; - background-image: radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%); - background-image: -moz-radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%); - background-image: -webkit-radial-gradient(circle, #dddddd 0%, #aaaaaa 40%, #999999 100%); -} -.openerp .status.error { - background: #cc3333; - background-position: center center; - background-image: radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); - background-image: -moz-radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%); - background-image: -webkit-radial-gradient(circle, #ee7777 0%, #cc3333 40%, #bb0808 100%); -} -.openerp .status.ok { - background: #44dd44; - background-position: center center; - background-image: radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%); - background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%); - background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%); -} diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index f36942070a0..260b9e22484 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -424,7 +424,33 @@ $sheet-padding: 16px border-style: inset border-width: 1px // }}} - + // Kanban state (used in form and kanban) {{{ + .oe_kanban_status + position: relative + display: inline-block + height: 12px + width: 12px + @include radius(6px) + @include radial-gradient((#eee 0%, #ccc 40%, #bbb 100%)) + // +background-image(radial-gradient(45px 45px, #0ff 10px, #1e90ff 30px)) + .oe_kanban_status_green + background: green + @include radial-gradient((#55dd55 0%, #44aa44 40%, #339933 100%)) + .oe_kanban_status_red + background: red + @include radial-gradient((#ee7777 0%, #cc3333 40%, #bb0808 100%)) + .btn-group.kanban_state + padding-top: 8px + margin-right: 4px !important + .dropdown-menu + min-width: 100% + padding-right: 10px !important + .dropdown-menu li a, .dropdown-menu li a:hover, .dropdown-menu li a:focus + padding-left: 5px + padding-right: 0px + a + color: #333333 + // }}} // Tags (for many2many tags, among others) {{{ .oe_tag border: 1px solid $tag-border @@ -2751,45 +2777,7 @@ input[type="radio"], input[type="checkbox"] .blockUI.blockOverlay background-color: black opacity: 0.6000000238418579 -.openerp - .dropdown-menu.state - min-width: 100% - padding-right: 10px !important - .dropdown-menu.state li a, .dropdown-menu.state li a:hover, .dropdown-menu.state li a:focus - padding-left: 5px - padding-right: 0px - .btn-group.state - padding-top: 8px - .btn-group.state a - color: #333333 - .status - display: inline-block - position: relative - height: 12px - width: 12px - -moz-border-radius: 6px - -webkit-border-radius: 6px - border-radius: 6px - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) - -box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) - background-position: center center - background-image: radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%) - background-image: -moz-radial-gradient(#dddddd 0%, #aaaaaa 40%, #999999 100%) - background-image: -webkit-radial-gradient(circle, #dddddd 0%, #aaaaaa 40%, #999999 100%) - - .status.error - background: #cc3333 - background-position: center center - background-image: radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%) - background-image: -moz-radial-gradient(#ee7777 0%, #cc3333 40%, #bb0808 100%) - background-image: -webkit-radial-gradient(circle, #ee7777 0%, #cc3333 40%, #bb0808 100%) - - .status.ok - background: #44dd44 - background-position: center center - background-image: radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) - background-image: -moz-radial-gradient(#55dd55 0%, #44cc44 40%, #33bb33 100%) - background-image: -webkit-radial-gradient(circle, #55dd55 0%, #44cc44 40%, #33bb33 100%) + + // au BufWritePost,FileWritePost *.sass :!sass --style expanded --line-numbers > "%:p:r.css" // vim:tabstop=4:shiftwidth=4:softtabstop=4:fdm=marker: -- cgit v1.2.3 From 15e28717b4c2961ea97c431d60fe637b805614d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Thu, 8 May 2014 17:25:16 +0200 Subject: [FIX] priority widget: css fixes bzr revid: tde@openerp.com-20140508152516-1rv69jatyswj8e4r --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index da44e55991d..f02dc3c7fd7 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -426,7 +426,7 @@ text-shadow: 0 0 2px black; vertical-align: top; position: relative; - top: -5px; + top: -8px; } .openerp .oe_webclient .oe_star_on:hover, .openerp .oe_webclient .oe_star_off:hover { text-decoration: none; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 260b9e22484..c15c90abb7a 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -404,7 +404,7 @@ $sheet-padding: 16px text-shadow: 0 0 2px black vertical-align: top position: relative - top: -5px + top: -8px .oe_star_on:hover, .oe_star_off:hover text-decoration: none .oe_star_on -- cgit v1.2.3