summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorMinh Tran <mit@openerp.com>2012-05-31 19:02:28 +0200
committerMinh Tran <mit@openerp.com>2012-05-31 19:02:28 +0200
commit9b447c025d4939d61e69acf1597191ce7af4f405 (patch)
tree55e840cc11fa12f729e71ec01eb7cfbd1a66c2de /addons/web/static/src/css
parent47d882ca34a0c2e0745ff0d6b10efad0a97aa660 (diff)
search, shared filters
bzr revid: mit@openerp.com-20120531170228-sbzxghl9vndntf4k
Diffstat (limited to 'addons/web/static/src/css')
-rw-r--r--addons/web/static/src/css/base.css25
-rw-r--r--addons/web/static/src/css/base.sass25
2 files changed, 41 insertions, 9 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index e2879011a72..5fec2078ef7 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1485,14 +1485,12 @@
.openerp .oe_searchview .oe_searchview_drawer .oe_opened form {
display: block;
}
-.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom_delete {
- position: absolute;
- left: 4px;
- top: 3px;
-}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom_delete, .openerp .oe_searchview .oe_searchview_drawer .searchview_extended_delete_prop {
+ display: inline-block;
width: 12px;
height: 12px;
+ line-height: 12px;
+ padding: 1px;
color: #8786b7;
line-height: 8px;
text-align: center;
@@ -1508,6 +1506,23 @@
-webkit-border-radius: 2px;
border-radius: 2px;
}
+.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom_delete {
+ display: none;
+ position: absolute;
+ bottom: 1px;
+ right: 4px;
+}
+.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom_private:hover .oe_searchview_custom_delete, .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom_public:hover .oe_searchview_custom_delete {
+ display: inline-block;
+}
+.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom_public:after {
+ content: ",";
+ font-family: "entypoRegular" !important;
+ font-size: 22px;
+ font-weight: 300 !important;
+ margin: 0 0 0 4px;
+ padding: 0;
+}
.openerp .oe_view_nocontent > img {
float: left;
margin: 1.5em;
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index eda410aa6ca..3dd7c342f2f 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1172,13 +1172,12 @@ $colour4: #8a89ba
display: block
// delete buttons
- .oe_searchview_custom_delete
- position: absolute
- left: 4px
- top: 3px
.oe_searchview_custom_delete, .searchview_extended_delete_prop
+ display: inline-block
width: 12px
height: 12px
+ line-height: 12px
+ padding: 1px
color: #8786b7
line-height: 8px
text-align: center
@@ -1190,6 +1189,24 @@ $colour4: #8a89ba
background: #8786b7
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4)
@include radius(2px)
+ .oe_searchview_custom_delete
+ display: none
+ position: absolute
+ bottom: 1px
+ right: 4px
+ .oe_searchview_custom_private, .oe_searchview_custom_public
+ &:hover
+ .oe_searchview_custom_delete
+ display: inline-block
+ .oe_searchview_custom_public:after
+ content: ","
+ font-family: "entypoRegular" !important
+ font-size: 22px
+ font-weight: 300 !important
+ margin: 0 0 0 4px
+ padding: 0
+
+
// }}}
// Views Common {{{
.oe_view_nocontent