1
|
/*! UIkit 2.27.5 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
|
2
|
/* ========================================================================
|
3
|
Component: Slidenav
|
4
|
========================================================================== */
|
5
|
/*
|
6
|
* 1. Required for `a` elements
|
7
|
* 2. Dimension
|
8
|
* 3. Style
|
9
|
*/
|
10
|
.uk-slidenav {
|
11
|
/* 1 */
|
12
|
display: inline-block;
|
13
|
/* 2 */
|
14
|
box-sizing: border-box;
|
15
|
width: 60px;
|
16
|
height: 60px;
|
17
|
/* 3 */
|
18
|
line-height: 60px;
|
19
|
color: rgba(50, 50, 50, 0.4);
|
20
|
font-size: 60px;
|
21
|
text-align: center;
|
22
|
}
|
23
|
/*
|
24
|
* Hover
|
25
|
* 1. Apply hover style also to focus state
|
26
|
* 2. Remove default focus style
|
27
|
* 3. Required for `a` elements
|
28
|
* 4. Style
|
29
|
*/
|
30
|
.uk-slidenav:hover,
|
31
|
.uk-slidenav:focus {
|
32
|
/* 2 */
|
33
|
outline: none;
|
34
|
/* 3 */
|
35
|
text-decoration: none;
|
36
|
/* 4 */
|
37
|
color: rgba(50, 50, 50, 0.7);
|
38
|
cursor: pointer;
|
39
|
}
|
40
|
/* Active */
|
41
|
.uk-slidenav:active {
|
42
|
color: rgba(50, 50, 50, 0.9);
|
43
|
}
|
44
|
/*
|
45
|
* Icons
|
46
|
*/
|
47
|
.uk-slidenav-previous:before {
|
48
|
content: "\f104";
|
49
|
font-family: FontAwesome;
|
50
|
}
|
51
|
.uk-slidenav-next:before {
|
52
|
content: "\f105";
|
53
|
font-family: FontAwesome;
|
54
|
}
|
55
|
/* Sub-object: `uk-slidenav-position`
|
56
|
========================================================================== */
|
57
|
/*
|
58
|
* Create position context
|
59
|
*/
|
60
|
.uk-slidenav-position {
|
61
|
position: relative;
|
62
|
}
|
63
|
/*
|
64
|
* Center vertically
|
65
|
*/
|
66
|
.uk-slidenav-position .uk-slidenav {
|
67
|
display: none;
|
68
|
position: absolute;
|
69
|
top: 50%;
|
70
|
z-index: 1;
|
71
|
margin-top: -30px;
|
72
|
}
|
73
|
.uk-slidenav-position:hover .uk-slidenav {
|
74
|
display: block;
|
75
|
}
|
76
|
.uk-slidenav-position .uk-slidenav-previous {
|
77
|
left: 20px;
|
78
|
}
|
79
|
.uk-slidenav-position .uk-slidenav-next {
|
80
|
right: 20px;
|
81
|
}
|
82
|
/* Modifier: `uk-slidenav-contrast`
|
83
|
========================================================================== */
|
84
|
.uk-slidenav-contrast {
|
85
|
color: rgba(255, 255, 255, 0.5);
|
86
|
}
|
87
|
/*
|
88
|
* Hover
|
89
|
* 1. Apply hover style also to focus state
|
90
|
*/
|
91
|
.uk-slidenav-contrast:hover,
|
92
|
.uk-slidenav-contrast:focus {
|
93
|
color: rgba(255, 255, 255, 0.7);
|
94
|
}
|
95
|
/* Active */
|
96
|
.uk-slidenav-contrast:active {
|
97
|
color: rgba(255, 255, 255, 0.9);
|
98
|
}
|