forked from DIYgod/DPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.css
173 lines (157 loc) · 4.19 KB
/
demo.css
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
body {
max-width: 700px;
margin: 0 auto;
padding: 45px 10px;
position: relative;
}
.show-dialog {
cursor: pointer;
border: 1px solid #f00;
width: 120px;
height: 40px;
line-height: 40px!important;
text-align: center;
border-radius: 4px;
}
.float-dplayer {
display: none;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .3);
position: fixed;
top: 0;
left: 0;
z-index: 99;
}
.dplayer-container {
width: 700px;
height: 358px;
border: 1px solid #f00;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.close-dialog {
position: absolute;
right: 40px;
top: 10px;
font-size: 40px!important;
font-weight: normal!important;
color: #fff;
cursor: pointer;
z-index: 100;
}
.example {
position: relative;
margin: 15px 0 0;
padding: 39px 19px 14px;
background-color: #fff;
border-radius: 4px 4px 0 0;
border: 1px solid #ddd;
}
@media (max-width:500px) {
.example {
padding: 39px 10px 14px;
}
}
.example:after {
content: "Example";
position: absolute;
top: 0;
left: 0;
padding: 2px 8px;
font-size: 12px;
font-weight: bold;
background-color: #f5f5f5;
color: #9da0a4;
border-radius: 4px 0 4px 0;
}
.highlight {
position: relative;
border-radius: 0 0 4px 4px;
border: 1px solid #ddd;
border-top: none;
}
.highlight.highlight-middle {
margin: 0;
border-radius: 0;
}
.highlight-html:after {
content: "HTML";
position: absolute;
top: 0;
right: 0;
padding: 2px 8px;
font-size: 12px;
font-weight: bold;
background-color: #f5f5f5;
color: #555;
border-radius: 0 0 0 4px;
}
.highlight-js:after {
content: "js";
position: absolute;
top: 0;
right: 0;
padding: 2px 8px;
font-size: 12px;
font-weight: bold;
background-color: #f5f5f5;
color: #555;
border-radius: 0 0 0 4px;
}
.btn {
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
height: 40px;
font-size: 14px;
margin: 0 0 10px;
cursor: pointer;
outline: none;
}
summary {
outline: none;
cursor: pointer;
margin-bottom: 10px;
}
#events {
font-size: 12px;
margin-top: 5px;
height: 120px;
overflow: scroll;
}
#events p {
margin: 0;
line-height: 17px;
}
/* github-corner */
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0)
}
20%,
60% {
transform: rotate(-25deg)
}
40%,
80% {
transform: rotate(10deg)
}
}
@media (max-width:500px) {
.github-corner:hover .octo-arm {
animation: none
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out
}
}
/* modernizr */
.adownload li.adownload{ color: green; }.canvas li.canvas{ color: green; }.cssanimations li.cssanimations{ color: green; }.csstransforms li.csstransforms{ color: green; }.documentfragment li.documentfragment{ color: green; }.fullscreen li.fullscreen{ color: green; }.localstorage li.localstorage{ color: green; }.svg li.svg{ color: green; }.texttrackapi li.texttrackapi{ color: green; }.track li.track{ color: green; }.todataurljpeg li.todataurljpeg{ color: green; }.todataurlpng li.todataurlpng{ color: green; }.todataurlwebp li.todataurlwebp{ color: green; }.video li.video{ color: green; }.websockets li.websockets{ color: green; }.setclasses li.setclasses{ color: green; }
.no-adownload li.adownload{ color: red; }.no-canvas li.canvas{ color: red; }.no-cssanimations li.cssanimations{ color: red; }.no-csstransforms li.csstransforms{ color: red; }.no-documentfragment li.documentfragment{ color: red; }.no-fullscreen li.fullscreen{ color: red; }.no-localstorage li.localstorage{ color: red; }.no-svg li.svg{ color: red; }.no-texttrackapi li.texttrackapi{ color: red; }.no-track li.track{ color: red; }.no-todataurljpeg li.todataurljpeg{ color: red; }.no-todataurlpng li.todataurlpng{ color: red; }.no-todataurlwebp li.todataurlwebp{ color: red; }.no-video li.video{ color: red; }.no-websockets li.websockets{ color: red; }.no-setclasses li.setclasses{ color: red; }