mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix alignment of selects within GridField filters
This commit is contained in:
parent
bea1b9002d
commit
2e36e450ca
@ -81,6 +81,7 @@ Used in side panels and action tabs
|
|||||||
.cms table.ss-gridfield-table tr th.extra { position: relative; background: #637276; background: rgba(0, 0, 0, 0.7); padding: 5px; border-top: rgba(0, 0, 0, 0.2); }
|
.cms table.ss-gridfield-table tr th.extra { position: relative; background: #637276; background: rgba(0, 0, 0, 0.7); padding: 5px; border-top: rgba(0, 0, 0, 0.2); }
|
||||||
.cms table.ss-gridfield-table tr th.extra input { height: 28px; }
|
.cms table.ss-gridfield-table tr th.extra input { height: 28px; }
|
||||||
.cms table.ss-gridfield-table tr th.extra button.ss-ui-button { padding: .3em; line-height: 1; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; position: relative; border-bottom-width: 0; -webkit-border-radius: 2px 2px; -moz-border-radius: 2px / 2px; border-radius: 2px / 2px; }
|
.cms table.ss-gridfield-table tr th.extra button.ss-ui-button { padding: .3em; line-height: 1; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; position: relative; border-bottom-width: 0; -webkit-border-radius: 2px 2px; -moz-border-radius: 2px / 2px; border-radius: 2px / 2px; }
|
||||||
|
.cms table.ss-gridfield-table tr th.extra select { margin: 0; }
|
||||||
.cms table.ss-gridfield-table tr th.first { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
.cms table.ss-gridfield-table tr th.first { -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-left-radius: 5px; }
|
||||||
.cms table.ss-gridfield-table tr th.last { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
.cms table.ss-gridfield-table tr th.last { -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; border-top-right-radius: 5px; }
|
||||||
.cms table.ss-gridfield-table tr th button#action_gridfield_relationadd:hover { color: #444 !important; /* Not sure why IE think it needs this */ }
|
.cms table.ss-gridfield-table tr th button#action_gridfield_relationadd:hover { color: #444 !important; /* Not sure why IE think it needs this */ }
|
||||||
|
@ -382,9 +382,11 @@ $gf_grid_x: 16px;
|
|||||||
background: rgba(#000, 0.7);
|
background: rgba(#000, 0.7);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border-top: $gf_colour_text_shadow;
|
border-top: $gf_colour_text_shadow;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
height:28px; //height of input field - to match design.
|
height:28px; //height of input field - to match design.
|
||||||
}
|
}
|
||||||
|
|
||||||
button.ss-ui-button {
|
button.ss-ui-button {
|
||||||
padding: .3em;
|
padding: .3em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@ -392,7 +394,11 @@ $gf_grid_x: 16px;
|
|||||||
position: relative;
|
position: relative;
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
@include border-radius(2px, 2px);
|
@include border-radius(2px, 2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.first {
|
&.first {
|
||||||
@include border-top-left-radius($gf_border_radius);
|
@include border-top-left-radius($gf_border_radius);
|
||||||
|
Loading…
Reference in New Issue
Block a user