Permalink
Browse files

filter_horizontal layout change

enable multiline text within .selector-filter
  • Loading branch information...
1 parent 5134e3b commit d174682bbc1714bc071dbe4d29df705d5239c2e7 @parsch parsch committed Dec 12, 2011
View
14 grappelli/static/grappelli/css/components.css
@@ -324,10 +324,22 @@ h2 + * + * + .module.table {
padding: 3px 5px 2px 2px;
min-height: 25px;
font-weight: bold;
+ /*line-height: 25px;*/
+ /*text-indent: 25px;*/
+ /*background: url('../img/icons/icon-searchbox.png') 6px 50% no-repeat;*/
+}
+.selector .selector-available .selector-filter {
line-height: 25px;
text-indent: 25px;
background: url('../img/icons/icon-searchbox.png') 6px 50% no-repeat;
}
+.selector .selector-chosen .selector-filter {
+ margin: 0 0 -3px;
+ padding: 6px 5px 2px 26px;
+ /*line-height: 25px;*/
+ /*text-indent: 25px;*/
+ background: url('../img/icons/icon-searchbox.png') 6px 8px no-repeat;
+}
.selector .selector-filter input[type=text] {
position: relative;
margin: 0;
@@ -342,7 +354,7 @@ h2 + * + * + .module.table {
display: none;
}
.selector .selector-chosen .selector-filter:after {
- content: " " url('../img/icons/icon-selector_add-m2m_horizontal-hover.png');
+ content: " " url('../img/icons/icon-selector_filter.png');
opacity: .75;
}
.selector.stacked .selector-chosen .selector-filter:after {
View
BIN grappelli/static/grappelli/img/icons/icon-selector_filter.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d174682

Please sign in to comment.