-
Notifications
You must be signed in to change notification settings - Fork 3
/
pagination.sass
104 lines (102 loc) · 2.03 KB
/
pagination.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
.digg_pagination
background: white
cursor: default
a, span, em
padding: 0.2em 0.5em
display: block
float: left
margin-right: 1px
.disabled
color: #999999
border: 1px solid #dddddd
.current
font-style: normal
font-weight: bold
background: #2e6ab1
color: white
border: 1px solid #2e6ab1
a
text-decoration: none
color: #105cb6
border: 1px solid #9aafe5
&:hover, &:focus
color: #000033
border-color: #000033
.page_info
background: #2e6ab1
color: white
padding: 0.4em 0.6em
width: 22em
margin-bottom: 0.3em
text-align: center
b
color: #000033
background: #2e6ab1 + 60
padding: 0.1em 0.25em
/* self-clearing method:
&:after
content: "."
display: block
height: 0
clear: both
visibility: hidden
* html &
height: 1%
*:first-child+html &
overflow: hidden
.apple_pagination
background: #f1f1f1
border: 1px solid #e5e5e5
text-align: center
padding: 1em
cursor: default
a, span
padding: 0.2em 0.3em
.disabled
color: #aaaaaa
.current
font-style: normal
font-weight: bold
background-color: darken(#f1f1f1, 20)
display: inline-block
width: 1.4em
height: 1.4em
line-height: 1.5
-moz-border-radius: 1em
-webkit-border-radius: 1em
border-radius: 1em
text-shadow: rgba(white, .8) 1px 1px 1px
a
text-decoration: none
color: black
&:hover, &:focus
text-decoration: underline
.flickr_pagination
text-align: center
padding: 0.3em
cursor: default
a, span, em
padding: 0.2em 0.5em
.disabled
color: #aaaaaa
.current
font-style: normal
font-weight: bold
color: #ff0084
a
border: 1px solid #dddddd
color: #0063dc
text-decoration: none
&:hover, &:focus
border-color: #003366
background: #0063dc
color: white
.page_info
color: #aaaaaa
padding-top: 0.8em
.previous_page, .next_page
border-width: 2px
.previous_page
margin-right: 1em
.next_page
margin-left: 1em