-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
183 lines (157 loc) · 3.77 KB
/
main.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
html {
font-size: 16px;
}
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
text-align: center;
}
.df-feature-statics {
margin: 20px;
}
.df-feature-statics .df-feature-statics__result-table {
display: table;
width: 100%;
margin: auto;
max-width: 500px;
border-collapse: collapse;
}
.df-feature-statics__result-table caption {
margin: 0 0 20px;
}
.df-feature-statics__result-table th,
.df-feature-statics__result-table td {
font-weight: normal;
padding: 5px;
border-left: 4px solid lightgrey;
}
.df-feature-statics__result-table th {
/*border-top: 1px dotted lightgrey;*/
border-bottom: 1px dotted lightgrey;
}
.df-feature-statics__result-table td {
border-top: 1px dotted lightgrey;
/*border-bottom: 1px dotted lightgrey;*/
}
.df-feature-statics__result-table .df-feature-statics__available-title,
.df-feature-statics__result-table .df-feature-statics__available-count {
border-color: yellowgreen;
}
.df-feature-statics__result-table .df-feature-statics__unavailable-title,
.df-feature-statics__result-table .df-feature-statics__unavailable-count {
border-color: lightslategrey;
}
.df-feature-statics.df-feature-statics--not-ready .df-feature-statics__result-table {
display: none;
}
.df-feature-statics .df-feature-statics__loading {
display: none;
}
.df-feature-statics.df-feature-statics--not-ready .df-feature-statics__loading {
display: block;
}
.df-feature-section--filtered .df-feature-card {
display: none;
}
.df-feature-section--filtered .df-feature-section__item--filtered {
display: inline-block;
}
.df-feature-filter__input {
width: 50%;
font-size: .9em;
padding: 8px;
margin: 1em;
}
.df-feature-card {
display: inline-block;
color: rgba(0, 0, 0, .86);
border-radius: 2px;
box-shadow: 2px 2px 8px 0 lightgrey;
margin: 20px;
outline: none;
cursor: pointer;
vertical-align: top;
position: relative;
min-width: 111px;
}
@media screen and (max-width: 480px) {
.df-feature-card {
width: 80%;
margin: 15px 10%;
}
}
.df-feature-card__header {
border-left: 8px solid lightgrey;
border-bottom: 1px dotted lightsteelblue;
padding: 15px;
}
.df-feature-active .df-feature-card__header {
border-color: yellowgreen;
}
.df-feature-inactive .df-feature-card__header {
border-color: lightslategrey;
}
.df-feature-card__name {
margin: 0;
}
.df-feature-card__body {
position: relative;
}
.df-feature-card__description {
text-align: left;
position: absolute;
top: 1px;
left: 0;
margin: 0;
padding: 0;
background: rgb(130, 155, 235);
box-shadow: 2px 2px 8px 0 royalblue;
color: white;
line-height: 1.5;
font-size: .9em;
border-radius: 0 0 4px 4px;
display: inline-block;
width: 100%;
opacity: 0;
overflow: hidden;
-o-transform: scaleY(0);
-ms-transform: scaleY(0);
-moz-transform: scaleY(0);
-webkit-transform: scaleY(0);
transform: scaleY(0);
-o-transform-origin: top;
-ms-transform-origin: top;
-moz-transform-origin: top;
-webkit-transform-origin: top;
transform-origin: top;
-o-transition: opacity, -o-transform .2s ease-in-out;
-moz-transition: opacity, -moz-transform .2s ease-in-out;
-webkit-transition: opacity, -webkit-transform .2s ease-in-out;
transition: opacity, transform .2s ease-in-out;
}
.df-feature-card:focus,
.df-feature-card.df-active {
z-index: 1;
}
.df-feature-card:focus .df-feature-card__description,
.df-feature-card.df-active .df-feature-card__description {
padding: 20px 15px;
opacity: 1;
-o-transform: scaleY(1);
-ms-transform: scaleY(1);
-moz-transform: scaleY(1);
-webkit-transform: scaleY(1);
transform: scaleY(1);
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.df-feature-card__property {
color: steelblue;
margin: 0;
padding: 20px;
text-align: center;
}