mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENHANCEMENT:SSF-106 - styled first and last page buttons on datagrid pagination.
This commit is contained in:
parent
c0e1500ded
commit
e5ee4c9235
@ -58,6 +58,10 @@
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-previouspage span { text-indent: -9999em; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-nextpage { background: url(../images/icons/pagination-arrows.png) no-repeat -47px 7px; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; border: none; width: 10px; margin: 0 10px; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-nextpage span { text-indent: -9999em; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-firstpage { background: url(../images/icons/pagination-arrows.png) no-repeat 0px 7px; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; border: none; width: 10px; margin: 0 10px; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-firstpage span { text-indent: -9999em; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-lastpage { background: url(../images/icons/pagination-arrows.png) no-repeat -73px 7px; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; border: none; width: 10px; margin: 0 10px; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .datagrid-pagination button.ss-gridfield-lastpage span { text-indent: -9999em; }
|
||||
.cms table.ss-gridfield-table tr td.bottom-all .pagination-records-number { float: right; padding: 6px 0; color: white; }
|
||||
.cms table.ss-gridfield-table tr.last td { border-bottom: 0 none; }
|
||||
.cms table.ss-gridfield-table td:first-child, .cms table.ss-gridfield-table th:first-child { border-left: 1px solid rgba(0, 0, 0, 0.1); }
|
||||
|
@ -376,6 +376,26 @@ $gf_grid_x: 16px;
|
||||
text-indent:-9999em;
|
||||
}
|
||||
}
|
||||
button.ss-gridfield-firstpage {
|
||||
@include background (url(../images/icons/pagination-arrows.png) no-repeat 0px 7px);
|
||||
@include box-shadow-none;
|
||||
border:none;
|
||||
width:10px;
|
||||
margin:0 10px;
|
||||
span {
|
||||
text-indent:-9999em;
|
||||
}
|
||||
}
|
||||
button.ss-gridfield-lastpage {
|
||||
@include background (url(../images/icons/pagination-arrows.png) no-repeat -73px 7px);
|
||||
@include box-shadow-none;
|
||||
border:none;
|
||||
width:10px;
|
||||
margin:0 10px;
|
||||
span {
|
||||
text-indent:-9999em;
|
||||
}
|
||||
}
|
||||
}
|
||||
.pagination-records-number {
|
||||
float:right;
|
||||
|
Loading…
x
Reference in New Issue
Block a user