Skip to content

Commit d67e78a

Browse files
author
Rafael Grigorian
committed
Fixed #51
1 parent cdd8328 commit d67e78a

File tree

6 files changed

+86
-86
lines changed

6 files changed

+86
-86
lines changed

src/app/code/JetRails/Cloudflare/view/adminhtml/web/js/bundle.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14472,10 +14472,10 @@ function createConfigure ( options, callback ) {
1447214472
configure.addButton ({ label: "Save", callback: ( components ) => {
1447314473
callback ( configure, {
1447414474
enabled: $(enabled).find ("[type='checkbox']:checked").length > 0,
14475-
max_age: maxAge.val (),
14476-
include_subdomains: $(includeSubDomains).find ("[type='checkbox']:checked").length > 0,
14477-
preload: $(preload).find ("[type='checkbox']:checked").length > 0,
14478-
nosniff: $(noSniff).find ("[type='checkbox']:checked").length > 0
14475+
max_age: maxAge.val (),
14476+
include_subdomains: $(includeSubDomains).find ("[type='checkbox']:checked").length > 0,
14477+
preload: $(preload).find ("[type='checkbox']:checked").length > 0,
14478+
nosniff: $(noSniff).find ("[type='checkbox']:checked").length > 0
1447914479
})
1448014480
}})
1448114481
configure.show ()

src/app/code/JetRails/Cloudflare/view/adminhtml/web/js/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/app/code/JetRails/Cloudflare/view/adminhtml/web/scss/core/notification.scss

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
padding: initial;
@@ -42,7 +42,7 @@
4242
width: 100%;
4343
height: 100%;
4444
left: 0;
45-
top: 0;
45+
top: 0;
4646
background: rgba( 255, 255, 255, 0.1 );
4747
transition: width 0s linear;
4848
}
@@ -54,7 +54,7 @@
5454
top: calc( 50% - 11px );
5555
cursor: pointer;
5656
font-size: 0.8em;
57-
line-height: 2.3em;
57+
line-height: 2.3em;
5858
}
5959
.notification.auto_remove {
6060
.progress {
@@ -64,8 +64,8 @@
6464
}
6565
.cloudflare-icon {
6666
font-family: "cloudflare-font";
67-
font-size: 1.3em;
68-
line-height: 1.2em;
67+
font-size: 1.3em;
68+
line-height: 1.2em;
6969
font-style: normal;
7070
font-smoothing: antialiased;
7171
-webkit-font-smoothing: antialiased;
@@ -74,9 +74,9 @@
7474
.status {
7575
left: 4px;
7676
top: calc( 50% - ( 1em / 2 ) );
77-
position: absolute;
78-
vertical-align: middle;
79-
padding-left: 7px;
77+
position: absolute;
78+
vertical-align: middle;
79+
padding-left: 7px;
8080
color: $color-white;
8181
}
8282
}

src/app/code/JetRails/Cloudflare/view/adminhtml/web/scss/core/section.scss

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ section.cloudflare {
5656
width: 100%;
5757
background-color: rgba( 0, 0, 0, 0 );
5858
background-repeat: no-repeat;
59-
background-position: top right;
60-
background-size: 50px;
59+
background-position: top right;
60+
background-size: 50px;
6161
visibility: hidden;
6262
cursor: not-allowed;
6363
}
@@ -149,8 +149,8 @@ section.cloudflare, .cloudflare_modal {
149149
min-height: 100px;
150150
resize: vertical;
151151
padding: 10px;
152-
font-size: 0.9em;
153-
font-weight: 100;
152+
font-size: 0.9em;
153+
font-weight: 100;
154154
color: $color-text_gray_dark;
155155
border: solid 1px $color-border_gray;
156156
border-radius: 5px;
@@ -169,22 +169,22 @@ section.cloudflare, .cloudflare_modal {
169169
section.cloudflare img.load {
170170
transition: all 200ms;
171171
height: 20px;
172-
position: relative;
173-
display: inline;
174-
float: left;
172+
position: relative;
173+
display: inline;
174+
float: left;
175175
}
176176

177177
section.cloudflare p.messages {
178178
height: 20px;
179-
font-size: 1em;
180-
position: relative;
181-
display: inline;
182-
float: left;
179+
font-size: 1em;
180+
position: relative;
181+
display: inline;
182+
float: left;
183183
}
184184

185185
section.cloudflare p.messages > span {
186186
width: 100%;
187-
display: block;
187+
display: block;
188188
margin-top: 0px;
189189
opacity: 1;
190190
transition: opacity, margin-top 200s;
@@ -251,7 +251,7 @@ section.cloudflare.loading label.switch .slider {
251251
section.cloudflare .group_wrapper {
252252
width: 100%;
253253
margin: 10px auto;
254-
max-width: 110px;
254+
max-width: 110px;
255255
text-align: left;
256256
&.full {
257257
max-width: initial;
@@ -260,7 +260,7 @@ section.cloudflare .group_wrapper {
260260

261261
section.cloudflare .group_wrapper label {
262262
font-weight: 100;
263-
font-size: 0.9em;
263+
font-size: 0.9em;
264264
cursor: pointer;
265265
}
266266

@@ -361,7 +361,7 @@ section.cloudflare {
361361
margin-top: 1.5em;
362362
}
363363
h1 + p, p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 {
364-
margin-top: 1.25em;
364+
margin-top: 1.25em;
365365
}
366366
a {
367367
color: $color-blue;
@@ -373,12 +373,12 @@ section.cloudflare {
373373
}
374374
code {
375375
color: #bd2527;
376-
margin-left: 0.13333em;
377-
margin-right: 0.13333em;
378-
padding: 0 0.4em;
379-
vertical-align: baseline;
380-
display: inline-block;
381-
vertical-align: middle;
376+
margin-left: 0.13333em;
377+
margin-right: 0.13333em;
378+
padding: 0 0.4em;
379+
vertical-align: baseline;
380+
display: inline-block;
381+
vertical-align: middle;
382382
}
383383
code, pre {
384384
background-color: #d9d9d9;
@@ -403,7 +403,7 @@ section.cloudflare {
403403
padding: 0px 6px;
404404
vertical-align: -2px;
405405
width: 64px;
406-
box-sizing: border-box;
406+
box-sizing: border-box;
407407
display: inline-block;
408408
min-height: 30px;
409409
}
@@ -425,20 +425,20 @@ section.cloudflare.empty {
425425
padding: 0 !important;
426426
}
427427
.cloudflare-font {
428-
vertical-align: -2px;
429-
padding-right: 5px;
428+
vertical-align: -2px;
429+
padding-right: 5px;
430430
}
431431
}
432432

433433
section.cloudflare.restricted {
434434
.cloudflare-font {
435-
color: $color-red;
435+
color: $color-red;
436436
}
437437
}
438438

439439
section.cloudflare.empty {
440440
.cloudflare-font {
441-
color: $color-orange;
441+
color: $color-orange;
442442
}
443443
}
444444

@@ -467,7 +467,7 @@ section.cloudflare.empty {
467467
margin: 0 5px !important;
468468
}
469469
> *:first-child {
470-
margin-left: 0 !important;
470+
margin-left: 0 !important;
471471
}
472472
> *:last-child {
473473
margin-right: 0 !important;
@@ -494,16 +494,16 @@ section.cloudflare.empty {
494494
section.cloudflare {
495495
.icon-button {
496496
background-color: $color-border_gray;
497-
height: 35px;
498-
width: 35px;
499-
min-width: 35px;
497+
height: 35px;
498+
width: 35px;
499+
min-width: 35px;
500500
margin: auto 7px;
501-
text-align: center;
502-
font-size: 1em;
503-
line-height: 35px;
504-
color: $color-text_gray_dark;
505-
border-radius: 5px;
506-
border-bottom: 1px solid #CCC;
501+
text-align: center;
502+
font-size: 1em;
503+
line-height: 35px;
504+
color: $color-text_gray_dark;
505+
border-radius: 5px;
506+
border-bottom: 1px solid #CCC;
507507
transition: all 200ms;
508508
cursor: pointer;
509509
&:hover {
@@ -554,9 +554,9 @@ section.tabs-wrapper {
554554
}
555555

556556
p[class^="option_"] {
557-
margin-top: 0 !important;
558-
margin-bottom: 0 !important;
559-
color: #7d7d7d;
557+
margin-top: 0 !important;
558+
margin-bottom: 0 !important;
559+
color: #7d7d7d;
560560
}
561561

562562

@@ -566,7 +566,7 @@ section.cloudflare {
566566
flex-wrap: wrap;
567567
align-items: center;
568568
> *:nth-child( n + 3 ) {
569-
margin-top: 20px;
569+
margin-top: 20px;
570570
}
571571
.wrapper_left {
572572
width: 70%;

src/app/code/JetRails/Cloudflare/view/adminhtml/web/scss/elements/checkbox.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ input[type="checkbox"] {
33
visibility: visible;
44
cursor: pointer;
55
&:after {
6-
content: "";
7-
position: absolute;
8-
width: 15px;
9-
height: 15px;
10-
background: #FFF;
11-
margin-top: -1px;
12-
margin-left: -1px;
13-
border: solid 1px #BCBEC0;
14-
border-radius: 5px;
15-
box-sizing: border-box;
6+
content: "";
7+
position: absolute;
8+
width: 15px;
9+
height: 15px;
10+
background: #FFF;
11+
margin-top: -1px;
12+
margin-left: -1px;
13+
border: solid 1px #BCBEC0;
14+
border-radius: 5px;
15+
box-sizing: border-box;
1616
visibility: visible;
1717
transition: all 200ms;
1818
}
@@ -21,7 +21,7 @@ input[type="checkbox"] {
2121
}
2222
&:checked:after {
2323
content: "\F009";
24-
font-family: "cloudflare-font";
25-
font-size: 14px;
24+
font-family: "cloudflare-font";
25+
font-size: 14px;
2626
}
2727
}

src/app/code/JetRails/Cloudflare/view/adminhtml/web/scss/elements/radio.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ input[type="radio"] {
33
visibility: visible;
44
cursor: pointer;
55
&:after {
6-
content: "";
7-
position: absolute;
8-
width: 18px;
9-
height: 18px;
6+
content: "";
7+
position: absolute;
8+
width: 18px;
9+
height: 18px;
1010
box-shadow: inset 0 0 0px 10px #FFF;
1111
background: $color-text_gray_dark;
12-
margin-top: -3px;
13-
border: solid 1px #BCBEC0;
14-
border-radius: 100%;
15-
box-sizing: border-box;
12+
margin-top: -3px;
13+
border: solid 1px #BCBEC0;
14+
border-radius: 100%;
15+
box-sizing: border-box;
1616
visibility: visible;
1717
transition: all 200ms;
1818
margin-left: -2px;

0 commit comments

Comments
 (0)