Skip to content

Commit 0480922

Browse files
author
Rafael Grigorian
committed
Fixed #139
1 parent 88e89f0 commit 0480922

File tree

8 files changed

+181
-181
lines changed

8 files changed

+181
-181
lines changed

src/skin/adminhtml/base/default/js/cloudflare/ssl_tls/http_strict_transport_security.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ function createConfigure ( options, callback ) {
132132
configure.addButton ({ label: "Save", callback: ( components ) => {
133133
callback ( configure, {
134134
enabled: $(enabled).find ("[type='checkbox']:checked").length > 0,
135-
max_age: maxAge.val (),
136-
include_subdomains: $(includeSubDomains).find ("[type='checkbox']:checked").length > 0,
137-
preload: $(preload).find ("[type='checkbox']:checked").length > 0,
138-
nosniff: $(noSniff).find ("[type='checkbox']:checked").length > 0
135+
max_age: maxAge.val (),
136+
include_subdomains: $(includeSubDomains).find ("[type='checkbox']:checked").length > 0,
137+
preload: $(preload).find ("[type='checkbox']:checked").length > 0,
138+
nosniff: $(noSniff).find ("[type='checkbox']:checked").length > 0
139139
})
140140
}})
141141
configure.show ()

src/skin/adminhtml/base/default/scss/cloudflare/core/modal.scss

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.cloudflare_modal {
22
font-family: "Open Sans", sans-serif;
3-
font-weight: 100;
3+
font-weight: 100;
44
font-size: 12px;
55
color: $color-text_gray_dark;
66
position: fixed;
7-
align-items: center;
7+
align-items: center;
88
justify-content: center;
9-
display: flex;
9+
display: flex;
1010
top: 0;
1111
left: 0;
1212
height: 100%;
@@ -32,8 +32,8 @@
3232
top: 12px;
3333
right: 6px;
3434
color: #777;
35-
height: 50px;
36-
width: 50px;
35+
height: 50px;
36+
width: 50px;
3737
line-height: 50px;
3838
transition: all 200ms;
3939
cursor: pointer;
@@ -62,7 +62,7 @@
6262
}
6363
.message_container {
6464
max-height: 300px;
65-
overflow-y: scroll;
65+
overflow-y: scroll;
6666
font-smoothing: antialiased;
6767
-webkit-font-smoothing: antialiased;
6868
-moz-osx-font-smoothing: grayscale;
@@ -84,7 +84,7 @@
8484
width: 100%;
8585
box-sizing: border-box;
8686
align-items: center;
87-
.label {
87+
.label {
8888
text-align: right;
8989
width: 120px;
9090
padding-right: 30px;
@@ -175,7 +175,7 @@
175175
padding-top: 5px;
176176
padding-bottom: 5px;
177177
padding-left: 0;
178-
padding-right: 0;
178+
padding-right: 0;
179179
.delete {
180180
background: $color-border_gray;
181181
border-radius: 5px;
@@ -215,8 +215,8 @@
215215
padding: 0;
216216
margin-left: 60px;
217217
font-size: 15.5px;
218-
line-height: 1.5em;
219-
padding-right: 22.5px;
218+
line-height: 1.5em;
219+
padding-right: 22.5px;
220220
}
221221
> a {
222222
margin-left: 22.5px;
@@ -227,24 +227,24 @@
227227
}
228228
table.configure {
229229
font-size: 15.5px;
230-
line-height: 23px;
231-
padding: 0 22.5px;
230+
line-height: 23px;
231+
padding: 0 22.5px;
232232
td {
233233
padding: 10px 0;
234234
&:nth-child(1) {
235235
padding-right: 15px;
236236
}
237237
&:nth-child(2) {
238-
min-width: 160px;
238+
min-width: 160px;
239239
vertical-align: middle;
240240
text-align: center;
241241
}
242242
> strong:nth-child( 1 ) {
243243
display: block;
244244
}
245245
b:before {
246-
display: block;
247-
content: "";
246+
display: block;
247+
content: "";
248248
}
249249
}
250250
}
@@ -257,10 +257,10 @@
257257
&:after {
258258
position: absolute;
259259
background-color: #FFF;
260-
transition: all .2s;
261-
background-repeat: no-repeat;
262-
background-position: center;
263-
background-size: 70px;
260+
transition: all .2s;
261+
background-repeat: no-repeat;
262+
background-position: center;
263+
background-size: 70px;
264264
visibility: hidden;
265265
width: 100%;
266266
height: 100%;
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
.cloudflare_notification {
22
font-family: "Open Sans", sans-serif;
33
font-size: 15px;
4-
font-weight: 100;
4+
font-weight: 100;
55
color: $color-white;
66
position: fixed;
7-
bottom: 0;
8-
left: 0;
9-
width: 100%;
7+
bottom: 0;
8+
left: 0;
9+
width: 100%;
1010
z-index: 10000;
1111
.notification {
1212
position: relative;
@@ -22,13 +22,13 @@
2222
background: $color-red;
2323
}
2424
span.message {
25-
position: unset;
26-
color: #FFF;
27-
width: 100%;
28-
left: 0;
29-
top: 0;
30-
height: 100%;
31-
z-index: 10;
25+
position: unset;
26+
color: #FFF;
27+
width: 100%;
28+
left: 0;
29+
top: 0;
30+
height: 100%;
31+
z-index: 10;
3232
line-height: 22px;
3333
transition: all 200ms;
3434
}
@@ -37,7 +37,7 @@
3737
width: 100%;
3838
height: 100%;
3939
left: 0;
40-
top: 0;
40+
top: 0;
4141
background: rgba( 255, 255, 255, 0.1 );
4242
transition: width 0s linear;
4343
}
@@ -49,7 +49,7 @@
4949
top: calc( 50% - 11px );
5050
cursor: pointer;
5151
font-size: 0.8em;
52-
line-height: 2.3em;
52+
line-height: 2.3em;
5353
}
5454
.notification.auto_remove {
5555
.progress {
@@ -59,8 +59,8 @@
5959
}
6060
.cloudflare-icon {
6161
font-family: "cloudflare-font";
62-
font-size: 1.3em;
63-
line-height: 1.2em;
62+
font-size: 1.3em;
63+
line-height: 1.2em;
6464
font-style: normal;
6565
font-smoothing: antialiased;
6666
-webkit-font-smoothing: antialiased;
@@ -69,9 +69,9 @@
6969
.status {
7070
left: 4px;
7171
top: calc( 50% - ( 1em / 2 ) );
72-
position: absolute;
73-
vertical-align: middle;
74-
padding-left: 7px;
72+
position: absolute;
73+
vertical-align: middle;
74+
padding-left: 7px;
7575
color: $color-white;
7676
}
7777
}

0 commit comments

Comments
 (0)