forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pagecontrol.less
101 lines (88 loc) · 1.93 KB
/
pagecontrol.less
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
/*
* Metro UI CSS
* (c) 2012-2013 by Sergey Pimenov
* Licensed under the MIT License and Commercial
*
* PageControl.less
*
*/
.page-control {
position: relative;
.clearfix;
& > ul {
.unstyled;
.clearfix;
position: absolute;
z-index: 5;
width: 100%;
background-color: rgba(217, 217, 217, 0.16);
height: 31px;
li:first-child {
margin-left: 20px;
}
li {
float: left;
display: block;
text-align: center;
height: 100%;
img {
float: left;
width: 16px;
height: 16px;
margin-right: 5px;
margin-top: 3px;
}
&.active {
border: 1px #ccc solid;
border-bottom: 0;
background-color: #fff;
span, a {
color: @blue;
}
}
span, a {
text-decoration: none;
//text-transform: uppercase;
display: block;
float: left;
padding: 5px 10px;
color: #1e1e1e;
#font > .navigation;
cursor: pointer;
outline: 0;
}
}
}
&.tabs-right {
& > ul {
li {
.place-right;
}
}
}
.frames {
margin-top: 30px;
width: 100%;
min-height: 50px;
border: 1px #ccc solid;
.frame {
width: 100%;
min-height: 100%;
height: auto;
display: none;
padding: 20px;
&.active {
display: block;
}
}
}
}
.page-control ul {
display: block;
overflow: visible;
}
.page-control {
.menu-pull, .menu-pull-bar {
display: none;
}
}