-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcustom.css
255 lines (226 loc) · 5.91 KB
/
custom.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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
/**
* Animation for the close button, use class: .bounceInUp
*/
@-webkit-keyframes bounceInUp{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000);animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000)}from{opacity:0;-webkit-transform: translate3d(0,3000px,0);transform: translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0)}}
@keyframes bounceInUp{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.610,0.355,1.000)}from{opacity:0;transform: translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform: translate3d(0,0,0)}}
/**
* Effect on the close buton;
* need to change the class as this: class="close no__select bounceInUp"
*/
.bounceInUp {
-webkit-animation: bounceInUp 1s both;
animation: bounceInUp 1s both
}
/**
* Tiny width helper for small boxes creation
*
* <div tabindex="0" role="dialog" aria-labelled-by="openModal" aria-haspopup="true" class="modal-dialog dialog" id="openModal">
*
* <div class="modal tiny">
*
*/
.modal-dialog .tiny {max-width: 20em}
.modal-dialog .tiny .header-modal {
height: auto;
padding-bottom: 1em
}
/**
* Helper to push right the modal boxes
*
* <div tabindex="0" role="dialog" aria-labelled-by="openModal" aria-haspopup="true" class="modal-dialog dialog" id="openModal">
*
* <div class="modal tiny push__right">
*
*/
.modal-dialog .push__right {margin-right: 1em}
/**
* Helper to push left the modal boxes
*
* <div tabindex="0" role="dialog" aria-labelled-by="openModal" aria-haspopup="true" class="modal-dialog dialog" id="openModal">
*
* <div class="modal tiny push__left">
*
*/
.modal-dialog .push__left {margin-left: 1em}
/**
* Helper to push the close button on the left
*
* <a href="#close" title="Close" class="close push__left no__select" id="close-modal">×</a>
*
*/
.modal .push__left {
left: .4em;
margin-left: 0
}
/**
* Optinal: for title into the modal box header
*/
.header-modal span {
position: relative;
display: inline-table;
display: inline-block;
margin: 1.2em 0 0 1em
}
html .header-modal strong {
position:relative;
top:3px;
display: inline-table;
height: 55.5px;
/* Prevents Unicode symbols to be rendering as emoji */
font: 100%/1 'Segoe UI Symbol', 'Cambria Math', 'Apple Symbols', 'EmojiSymbols'
}
.modal-dialog .header-modal .static {position: static}
/**
* The links into the modal box header
*/
.header-modal a {
display: inline-table;
display: inline-block;
width: 34px;
height: 34px;
margin: 0 0 0 .5em;
text-decoration: none;
line-height: 32px;
-webkit-border-radius: 50%;
-khtml-border-radius: 50%;
border-radius: 50%
}
/**
* The link state into the modal box header
*/
.header-modal a:hover,
.header-modal a:active {
-webkit-box-shadow: 0 0 2px #0288d1;
-moz-box-shadow: 0 0 2px #0288d1;
-khtml-box-shadow: 0 0 2px #0288d1;
box-shadow: 0 0 2px #0288d1;
-webkit-transform: translate(1.2, 1.2);
-webkit-transition: transform 200ms ease-out;
-moz-transform: translate(1.2, 1.2);
-moz-transition: transform 200ms ease-out;
-ms-transform: translate(1.2, 1.2);
-ms-transition: transform 200ms ease-out;
transform: translate(1.2, 1.2);
transition: transform 200ms ease-out;
-webkit-tap-highlight-color: transparent
}
/**
* The SVG icon into the modal box header
*/
.header-modal svg {
display: inline-block;
width: 32px;
height: 32px;
margin: 0;
vertical-align: middle;
text-align: center;
color: #aaa;
font-size: 2em;
cursor: pointer
}
/**
* SVG icon color
*/
.header-modal path {fill: #aaa}
/**
* Styling the signs for the Modal Message Box
*/
span[class*="-sign"] {
display: table-cell;
display: inline-block;
float: left;
width: 1.364em;
margin: 0 5px 0 0;
padding: 0;
text-align: center;
color: #333;
font: normal normal normal 22px/1 sans-serif
}
span[class*="-sign"] strong {
display: inline-table;
vertical-align: auto;
text-align: center;
color: #fff;
/* Prevents Unicode symbols to be rendering as emoji */
font: 100%/1 'Segoe UI Symbol', 'Cambria Math', 'Apple Symbols', 'EmojiSymbols'
}
/**
* here is the error sign color
*/
.error-sign {background: #e27575}
/**
* Here is the info sign color
*/
html .info-sign {background: #9ea8dd}
/**
* Here is the success sign color
*/
.success-sign {background: #00c853}
/**
* Here is the warning sign color
*/
.warning-sign {background: #fbc02d}
.inner-dialog {border-bottom: 1px solid #0288d1}
/**
* A class for '.footer-modal' to reverse the order of the footer's links
*
* <div class="footer-modal footer__reverse">
*
*/
.footer__reverse {display: block}
html .modal-dialog .footer__reverse a {float: none}
/**
* A class for '.footer-modal' to center the footer's links
*
* <div class="footer-modal footer-push__center">
*
*/
.footer-push__center {
text-align: center;
direction: rtl
}
.modal-dialog .footer-push__center a {
float: none;
display: block;
display: inline-block
}
/**
* A class for '.footer-modal' to float on the left the footer's links
*
* <div class="footer-modal footer-push__left">
*
*/
.footer-push__left {margin-left: 0}
.modal-dialog .footer-push__left a {float: left}
/**
* An helper to show footer full height
*
* <div class="footer-modal footer-push__block">
*
*/
.footer-push__block {
overflow: hidden;
display: block;
height: auto
}
/**
* Media query for screen below 720px
*/
@media only screen and (max-width:720px) {
html .header-modal span {
width: auto;
margin-top: 0
}
.header-modal a {
float: none;
width: 24px;
height: 24px;
margin: 0 0 0 .5em;
vertical-align: middle
}
.header-modal svg {
width: 22px;
height: 22px;
vertical-align: baseline
}
}