Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 753b44d

Browse files
committed
Merge pull request #5 from milky-ashes/master
styles for new sf.js error
2 parents 0e65e94 + dad73c3 commit 753b44d

File tree

2 files changed

+33
-29
lines changed

2 files changed

+33
-29
lines changed

resources/styles/spiral/albus/albus.css

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10488,11 +10488,13 @@ main {
1048810488
main .container {
1048910489
margin: 0 auto; }
1049010490
@media only screen and (min-width: 993px) {
10491-
main.wide-content .container {
10492-
width: auto;
10493-
max-width: 100%;
10494-
padding-right: 15px;
10495-
margin: 0; }
10491+
main.wide-content {
10492+
padding: 55px 30px 100px 345px; }
10493+
main.wide-content .container {
10494+
width: auto;
10495+
max-width: 100%;
10496+
padding-right: 15px;
10497+
margin: 0; }
1049610498
main .container {
1049710499
max-width: 1024px;
1049810500
margin: 0; } }
@@ -10776,17 +10778,14 @@ textarea.materialize-textarea:focus:not([readonly]) {
1077610778
.alert.form-msg.success .btn-close {
1077710779
color: #009788; }
1077810780

10779-
.item-form .msg {
10780-
background: transparent;
10781-
font-size: 14px;
10782-
padding: 0;
10783-
margin-top: -10px; }
10784-
.item-form .msg .btn-close {
10785-
display: none; }
10786-
10787-
.item-form.error {
10781+
label.item-form.error {
1078810782
color: #df2a00; }
10789-
.item-form.error .item-input {
10783+
label.item-form.error .item-input,
10784+
label.item-form.error .item-select,
10785+
label.item-form.error textarea {
1079010786
border-color: #df2a00; }
10791-
.item-form.error .msg {
10787+
label.item-form.error .form-msg {
1079210788
color: #df2a00; }
10789+
10790+
.alert.form-msg.success, .alert.form-msg.error, .alert.form-msg.warning, .alert.form-msg.info {
10791+
background: transparent; }

resources/styles/spiral/albus/sstyle.scss

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ main {
141141

142142
@media #{$large-and-up} {
143143
&.wide-content {
144+
padding: 55px 30px 100px 345px;
145+
144146
.container {
145147
width: auto;
146148
max-width: 100%;
@@ -566,28 +568,31 @@ textarea.materialize-textarea:focus:not([readonly]) {
566568
}
567569
}
568570

569-
.item-form {
570-
.msg {
571-
background: transparent;
572-
font-size: 14px;
573-
padding: 0;
574-
margin-top: -10px;
575-
576-
.btn-close {
577-
display: none;
578-
}
579-
}
571+
label.item-form {
580572

581573
&.error {
582574
color: #df2a00;
583575

584-
.item-input {
576+
.item-input,
577+
.item-select,
578+
textarea {
585579
border-color: #df2a00;
586580
}
587581

588-
.msg {
582+
.form-msg {
589583
color: #df2a00;
590584
}
591585
}
592586

593587
}
588+
589+
.alert {
590+
&.form-msg {
591+
&.success,
592+
&.error,
593+
&.warning,
594+
&.info {
595+
background: transparent;
596+
}
597+
}
598+
}

0 commit comments

Comments
 (0)