style.css
5.98 KB
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
/* ======================================================
# Web357 Framework - Joomla! System Plugin v1.5.1
# -------------------------------------------------------
# For Joomla! 3.x
# Author: Yiannis Christodoulou (yiannis@web357.eu)
# Copyright (©) 2009-2018 Web357. All rights reserved.
# License: GNU/GPLv3, http://www.gnu.org/licenses/gpl-3.0.html
# Website: https://www.web357.eu/
# Support: support@web357.eu
# Last modified: 09 Feb 2018, 13:55:18
========================================================= */
/* --------------------------------
Primary style (Powered by: https://codyhouse.co/gem/morphing-modal-window/)
-------------------------------- */
.cd-section *,
.cd-section *::after,
.cd-section *::before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.cd-section {
font-family: "Source Sans Pro", sans-serif;
color: #34383c;
}
body.overflow-hidden {
/* used when modal is visible */
overflow: hidden;
}
.cd-section a {
color: #03bb91;
text-decoration: none;
}
/* --------------------------------
Main Components
-------------------------------- */
.cd-section {
padding: 2em 5%;
text-align: center;
}
.cd-section p,
.cd-section pre {
margin: 2em 0;
line-height: 1.6;
color: #ffffff;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: transparent;
padding: 0;
border: none;
}
@media only screen and (min-width: 768px) {
.cd-section {
padding: 4em 10%;
}
.cd-section p,
.cd-section pre {
font-size: 14px;
line-height: 2;
}
}
@media only screen and (min-width: 1170px) {
.cd-section {
padding: 4em 20%;
}
}
.cd-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
visibility: hidden;
opacity: 0;
pointer-events: none;
-webkit-transition: visibility 0s 0.3s, opacity 0.3s 0s, z-index 0s 0.3s;
-moz-transition: visibility 0s 0.3s, opacity 0.3s 0s, z-index 0s 0.3s;
transition: visibility 0s 0.3s, opacity 0.3s 0s, z-index 0s 0.3s;
}
.cd-modal::after {
/* gradient overlay at bottom of modal window */
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 60px;
pointer-events: none;
background: transparent;
background: -webkit-linear-gradient( bottom , #34383c, rgba(52, 56, 60, 0));
background: linear-gradient(to top, #34383c, rgba(52, 56, 60, 0));
}
.cd-modal .cd-modal-content {
height: 100%;
width: 100%;
padding: 3em 5%;
text-align: left;
overflow-y: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.cd-modal p,
.cd-modal pre {
color: #ffffff;
line-height: 1.6;
margin: 2em 0;
}
.modal-is-visible .cd-modal {
z-index: 1;
visibility: visible;
opacity: 1;
pointer-events: auto;
-webkit-transition: visibility 0s 0s, opacity 0.3s 0s, z-index 0s 0s;
-moz-transition: visibility 0s 0s, opacity 0.3s 0s, z-index 0s 0s;
transition: visibility 0s 0s, opacity 0.3s 0s, z-index 0s 0s;
}
.modal-is-visible .cd-modal .cd-modal-content {
-webkit-overflow-scrolling: touch;
}
@media only screen and (min-width: 768px) {
.cd-modal .cd-modal-content {
padding: 4em 10%;
}
}
@media only screen and (min-width: 1170px) {
.cd-modal .cd-modal-content {
padding: 6em 20%;
}
.cd-modal p,
.cd-modal pre {
font-size: 16px;
line-height: 2;
}
}
.cd-modal-action {
position: relative;
}
.cd-modal-action .btn_view_changelog {
display: inline-block;
}
.cd-modal-action .cd-modal-bg {
display: inline-block;
height: 4em;
background-color: #34383c;
}
.cd-modal-action .cd-modal-bg {
position: absolute;
z-index: 1;
left: 50%;
top: 0;
width: 4em;
border-radius: 50%;
opacity: 0;
visibility: hidden;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
-webkit-transform: translateX(-2em);
-moz-transform: translateX(-2em);
-ms-transform: translateX(-2em);
-o-transform: translateX(-2em);
transform: translateX(-2em);
-webkit-transition: visibility 0s 0.5s;
-moz-transition: visibility 0s 0.5s;
transition: visibility 0s 0.5s;
}
.cd-modal-action .cd-modal-bg.is-visible {
opacity: 1;
visibility: visible;
}
.cd-modal-close {
position: fixed;
z-index: 1;
top: 20px;
right: 5%;
height: 50px;
width: 50px;
border-radius: 50%;
background: rgba(0, 0, 0, 0.3) url(../img/cd-icon-close.svg) no-repeat center center;
/* image replacement */
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
visibility: hidden;
opacity: 0;
-webkit-transform: translateZ(0);
-moz-transform: translateZ(0);
-ms-transform: translateZ(0);
-o-transform: translateZ(0);
transform: translateZ(0);
-webkit-transform: scale(0);
-moz-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
-webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
-moz-transition: -moz-transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
transition: transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
}
.no-touch .cd-modal-close:hover {
background-color: rgba(0, 0, 0, 0.5);
}
.modal-is-visible .cd-modal-close {
visibility: visible;
opacity: 1;
-webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
-moz-transition: -moz-transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
transition: transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1);
}
@media only screen and (min-width: 768px) {
.cd-modal-close {
top: 70px;
}
}
/* BEGIN: Yiannis Christodoulou (Web357) */
.cd-section pre {
font-family: monospace;
white-space: pre-line;
word-break: break-word;
}
.cd-modal .cd-modal-content h2 {
color: #fff;
font-size: 24px;
}
.modal-is-visible .cd-modal,
.cd-modal-action .cd-modal-bg,
.cd-modal-close {
z-index: 9999;
}
/* END: Yiannis Christodoulou (Web357) */