forked from h5bp/html5please-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.button.css
186 lines (163 loc) · 2.72 KB
/
style.button.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
174
175
176
177
178
179
180
181
182
183
184
185
186
.caniuse
{
background: #F5F5F5;
background-image: linear-gradient(bottom, #E0E0E0 0%, #F5F5F5 100%);
background-image: -o-linear-gradient(bottom, #E0E0E0 0%, #F5F5F5 100%);
background-image: -moz-linear-gradient(bottom, #E0E0E0 0%, #F5F5F5 100%);
background-image: -webkit-linear-gradient(bottom, #E0E0E0 0%, #F5F5F5 100%);
background-image: -ms-linear-gradient(bottom, #E0E0E0 0%, #F5F5F5 100%);
border-radius: 5px;
box-shadow: inset 0 1px 0 #FFF;
border: solid 1px #CBCBCB;
color: #656565;
cursor: default;
display: inline-block;
*display: inline;
font: 11px/1.3 sans-serif;
text-shadow: 1px 1px 3px #FFF;
padding: 10px;
position: relative;
width: 300px;
*zoom: 1;
}
.caniuse-ico,
.caniuse-agt-ico
{
background: url(http://sandbox.thewikies.com/caniuse/i/icons-32.png) 0 0 no-repeat;
display: block;
float: left;
height: 32px;
width: 32px;
}
.caniuse a
{
color: #66F;
}
.caniuse h6
{
display: block;
font-size: 10px;
font-weight: normal;
margin: 2px 0 0;
}
.caniuse p
{
margin: 0;
}
.caniuse:hover
{
background: #F1F1F1;
}
.caniuse-ico
{
margin: 0 6px 0 0;
}
.caniuse-ico-chrome
{
background-position: -32px 0;
}
.caniuse-ico-firefox
{
background-position: -64px 0;
}
.caniuse-ico-opera
{
background-position: -96px 0;
}
.caniuse-ico-safari
{
background-position: -128px 0;
}
.caniuse-ico-ie
{
background-position: -160px 0;
}
.caniuse-nfo
{
background: #FCFCFC;
border-radius: 0 0 5px 5px;
border: none;
box-shadow: none;
display: block;
height:0;
left: 3%;
opacity: 0;
overflow:hidden;
padding: 0 3%;
position: absolute;
-webkit-transition: opacity 200ms linear;
-moz-transition: opacity 200ms linear;
-ms-transition: opacity 200ms linear;
-o-transition: opacity 200ms linear;
top: 100%;
width: 87%;
z-index:9999;
}
.caniuse:hover .caniuse-nfo
{
border: 1px solid #CBCBCB;
box-shadow: inset 0 1px 4px rgba(0,0,0,0.1), 0 2px 2px rgba(0,0,0,0.1);
height:auto;
opacity: 1;
overflow:auto;
padding: 3%;
}
.caniuse-nfo a
{
color: #666;
text-decoration: none;
}
.caniuse-agt
{
border-radius: 5px;
cursor: pointer;
display: block;
height: 32px;
margin: 0 0 5px;
padding: 5px;
overflow: hidden;
}
.caniuse-agt:hover
{
background: #F6F6F6;
}
.caniuse-agt-ico,
.caniuse-agt-ttl,
.caniuse-agt-txt
{
display: block;
float: left;
line-height: 32px;
}
.caniuse-agt-ico
{
margin: 0 4px 0 0;
}
.caniuse-agt-txt
{
color: #896;
display: none;
float: right;
font-size: 10px;
line-height: 32px;
}
.caniuse-agt:hover .caniuse-agt-txt
{
display: block;
}
.caniuse-features
{
background: #F6F6F6;
border-radius: 5px;
padding: 8px;
}
.caniuse-features b
{
display:block;
font-size: 11px;
margin: 0 0 4px;
}
.caniuse-features a:hover
{
text-decoration: underline;
}