diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-05-02 17:34:39 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-05-02 17:34:39 +0200 |
| commit | 23ef3f9b963de4d17f617f7a284c2fe0fb2af0d8 (patch) | |
| tree | 77c3f7b26fd4848b0cb0cc97b7f3d7bf7be6b8b1 /addons/web/static/src/css | |
| parent | f04eb6a29ded59f7bbc05f850a34f856dfe5e9c7 (diff) | |
[ADD] correct focus of facets in input sequence, ability to remove facet via backspace/delete
bzr revid: xmo@openerp.com-20120502153439-0374v3dqz5fbe1ju
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 10 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 6 |
2 files changed, 13 insertions, 3 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 6788c532d9d..8ebac64ea6d 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1115,6 +1115,11 @@ cursor: pointer; display: inline-block; margin: 1px 0; + padding: 0; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -box-shadow: none; + text-align: left; border: 1px solid #afafb6; -moz-border-radius: 3px; -webkit-border-radius: 3px; @@ -1122,6 +1127,7 @@ background: #f0f0fa; height: 18px; line-height: 18px; + -webkit-font-smoothing: auto; } .openerp .oe_searchview .oe_searchview_facet span { display: inline-block; @@ -1146,13 +1152,13 @@ background: #8786b7; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); } -.openerp .oe_searchview .oe_searchview_facet.oe_selected { +.openerp .oe_searchview .oe_searchview_facet:focus { border-color: #a6a6fe; -moz-box-shadow: 0 0 3px 1px #a6a6fe; -webkit-box-shadow: 0 0 3px 1px #a6a6fe; -box-shadow: 0 0 3px 1px #a6a6fe; } -.openerp .oe_searchview .oe_searchview_facet.oe_selected .oe_facet_category { +.openerp .oe_searchview .oe_searchview_facet:focus .oe_facet_category { margin-left: 0; } .openerp .oe_searchview.oe_searchview_open_drawer .oe_searchview_drawer { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 0f420b1aea3..0fd7b5658c9 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -878,11 +878,15 @@ $colour4: #8a89ba cursor: pointer display: inline-block margin: 1px 0 + padding: 0 + @include box-shadow(none) + text-align: left border: 1px solid $facets-border @include radius(3px) background: #f0f0fa height: 18px line-height: 18px + -webkit-font-smoothing: auto span display: inline-block @@ -906,7 +910,7 @@ $colour4: #8a89ba background: #8786b7 text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4) - &.oe_selected + &:focus border-color: $facets-border-selected @include box-shadow(0 0 3px 1px $facets-border-selected) |
