rolldate.css
2.5 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*!
* Rolldate 1.3.0
* Copyright 2018 雾空
* https://github.com/weijhfly/rolldate
* Licensed under MIT
* Released on: aug 4, 2018
*/
ul {
margin: 0;
padding: 0;
}
li {
list-style-type: none;
}
.rolldate-container {
font-size: 14px;
text-align: center;
}
.rolldate-container header {
background: #D8B25F;
line-height: 45px;
font-size: 18px;
color: #fff;
font-weight: bold;
}
.rolldate-container .rolldate-mask {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: #000;
opacity: 0.5;
z-index: 100;
}
.rolldate-container .rolldate-wrapper {
position: fixed;
width: 80%;
top: 50%;
left: 10%;
margin-top: -118px;
z-index: 101;
border-radius: 3px;
overflow: hidden;
background: #fff;
}
.rolldate-container .rolldate-content {
padding: 10px;
}
.rolldate-container .rolldate-frame {
position: relative;
height: 120px;
overflow: hidden;
background: #f5f5f5;
border: 1px solid #e0e0e0;
border-radius: 5px;
}
.rolldate-container .rolldate-frame > div {
position: relative;
left: 0;
top: 0;
height: 120px;
float: left;
width: 33.3333333%;
z-index: 2;
}
.rolldate-container .rolldate-frame li {
line-height: 40px;
}
.rolldate-container .rolldate-frame:after {
content: '';
height: 40px;
background: #ddd;
position: absolute;
top: 40px;
left: 0;
width: 100%;
z-index: 1;
}
.rolldate-container footer {
overflow: hidden;
padding: 10px 20px;
}
.rolldate-container .rolldate-btn {
float: left;
background: #dcdddd;
color: #666;
font-size: 15px;
line-height: 30px;
padding: 0;
border: none;
width: 120px;
border-radius: 5px;
outline: none;
}
.rolldate-container .rolldate-confirm {
float: right;
background: #D8B25F;
color: #fff;
}
.rolldate-container.rolldate-two .rolldate-frame > div {
width: 50%;
}
.rolldate-container.rolldate-five .rolldate-frame > div {
width: 20%;
}
.rolldate-container.rolldate-six .rolldate-wrapper {
width: 90%;
left: 5%;
}
.rolldate-container.rolldate-six .rolldate-frame > div {
width: 16.6666666%;
}
.rolldate-container.rolldate-one .rolldate-wrapper {
width: 60%;
left: 20%;
}
.rolldate-container.rolldate-one .rolldate-frame > div {
width: 100%;
}
.rolldate-container.rolldate-one .rolldate-btn {
width: 80px;
}
@media screen and (max-width: 320px) {
.rolldate-container {
font-size: 13px;
}
.rolldate-container footer {
padding: 10px;
}
.rolldate-container .rolldate-btn {
width: 100px;
}
}