Skip to content

Commit 3c0ffbe

Browse files
committed
basic styling of paging-buttons
1 parent 0f1432e commit 3c0ffbe

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed
Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,41 @@
11

22
/* pull styling up from the .selectable ul in to this new wrapper*/
33
.paged-list-picker .selectable-and-pager {
4-
54
width:48%;
65
float: left;
7-
86
}
97

108
/* reset .selectable to fill wrapper */
119
.paged-list-picker .selectable {
1210
width:100%;
11+
}
12+
13+
14+
.paged-list-picker .paging-buttons {
15+
margin: 20px 0;
16+
text-align: center;
17+
list-style: none;
18+
}
19+
20+
.paged-list-picker .paging-buttons li {
21+
display: inline;
22+
line-height: 20px;
23+
}
24+
25+
.paged-list-picker .paging-buttons li a {
26+
display: inline-block;
27+
padding: 0 10px;
28+
background-color: #fff;
29+
border: 1px solid #ddd;
30+
border-radius: 15px;
31+
}
32+
33+
.paged-list-picker .paging-buttons li a:hover,
34+
.paged-list-picker .paging-buttons li a:focus {
35+
text-decoration:none;
36+
}
37+
38+
.paged-list-picker .paging-buttons li a:hover,
39+
.paged-list-picker .paging-buttons li.active a {
40+
background-color:#f5f5f5;
1341
}

source/nuPickers/Shared/PagedListPicker/PagedListPickerEditor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="selectable-and-pager">
1212
<ng-include src="'/App_Plugins/nuPickers/Shared/ListPicker/ListPickerSelectablePartial.html'" />
1313

14-
<ul class="pager">
14+
<ul class="paging-buttons">
1515
<li ng-repeat="page in pages" ng-class="{active:page == currentPage}">
1616
<a prevent-default href="#" ng-click="changePage(page)">{{page}}</a>
1717
</li>

0 commit comments

Comments
 (0)