forked from marcelomazza/caniuse-chrome-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
186 lines (164 loc) · 3.25 KB
/
style.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
/**
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* contenteditable attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that are clearfixed.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.cf:before,
.cf:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.cf:after {
clear: both;
}
/**
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.cf {
*zoom: 1;
}
body {
font-family:
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Ubuntu,
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
font-size: 14px;
}
.container {
width: 520px;
margin-right: 10px;
margin-bottom: 10px;
overflow: hidden;
-webkit-box-sizing: border-box;
}
input {
width: 100%;
padding: 0.7em 0.5em 0.5em;
border: 1px solid #CCC;
font-size: 16px;
outline: 0;
-webkit-box-sizing: border-box;
}
.ui-autocomplete.ui-menu .ui-menu-item {
border-top-color: #EEE;
}
.ui-autocomplete.ui-menu .ui-menu-item a.ui-state-hover {
color: #303633;
background: #8BE8CB;
}
.browser-support {
margin-top: 1em;
padding: 0 0.5em;
}
.browser-list {
float: left;
margin: 0 0.5em 0 0;
padding: 0;
list-style: none;
overflow: hidden;
text-align: center;
}
.browser-list li {
width: 2em;
padding: 0.5em 0;
margin-bottom: 1px;
color:#FFF;
}
.browser-list .browser-icon {
width: 32px;
height: 32px;
padding: 0;
margin-bottom: .5em;
box-shadow: none;
text-indent: -9999px;
background-repeat: no-repeat;
background-size: 32px 32px;
}
/* Classes codes from features.json */
.y, .x {background: green; }
.n, .p {background: red;}
.a {background: #25BE25;}
.u {background: gray;}
.ie,
.edge {background-image: url(img/ie.svg);}
.firefox {background-image: url(img/firefox.svg);}
.chrome {background-image: url(img/chrome.svg);}
.safari,
.ios_saf {background-image: url(img/safari.svg);}
.opera,
.op_mini,
.op_mob {background-image: url(img/opera.svg);}
.android {background-image: url(img/Android_robot.svg);}
.ios_saf:after,
.op_mini:after,
.op_mob:after {
display: block;
font-size: 0.75em;
color: #FFF;
background: rgba(0, 0, 0, 0.25);
text-indent: initial;
}
.ios_saf:after {content: "iOS";}
.op_mini:after {content: "Mini";}
.op_mob:after {content: "Mobile";}
.references {
margin: 1em 0.5em 0 0;
padding: 0;
list-style: none;
overflow: hidden;
text-align: center;
}
.references li {
width: auto;
float: left;
margin-right: .5em;
padding: .3em .5em;
font-size: .75em;
color:#FFF;
}
.more-info {
position: relative;
float: right;
width: 25%;
margin-top: 1em;
padding: 0.5em;
font-size: .8em;
line-height: 1.2em;
background: #EEE;
text-decoration: none;
}
.more-info:hover {
background: #CCC;
}
.more-info:after {
content: "»";
position: absolute;
right: 0.5em;
top: 50%;
margin-top: -0.5em;
}
.about-icon {
position: absolute;
top: 0;
right: 0;
max-width: 16px;
cursor: pointer;
opacity: 0.75;
}
.about {
position: relative;
margin-top: 0.25em;
padding: 0.25em 1em;
background: #EEE;
}