Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
fix: add variables and delete unnecessary class
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciorodrigues1 committed Mar 22, 2019
1 parent 6a2328d commit 2389045
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 28 deletions.
23 changes: 4 additions & 19 deletions assets/scss/core/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ textarea {
label {
font-weight: normal;
vertical-align: middle;
margin-left: 25px;
margin-left: $dp-spaces--lv4;
}
}/* Field checkbox */

Expand Down Expand Up @@ -200,33 +200,18 @@ input[type="tel"] {
.error {
input,
select,
textarea,
.checkmark {
textarea {
border: 1px solid $dp-color-red;
}

.wrapper-errors {
display: inline-block;

.error-message {
margin: 0;
margin: $dp-spaces--lv0;
color: $dp-color-red;
font-size: $dp-font-size-small;
}

.error-characters {
margin-right: $dp-spaces--lv4;

&::before {
content: '';
display: inline-block;
width: 8px;
height: 8px;
border-radius: 8px;
background-color: $dp-color-red;
margin-right: $dp-border-radius;
}
}
}
/* animation to show the errors (optional) */
@keyframes bounceIn {
Expand Down Expand Up @@ -277,7 +262,7 @@ input[type="tel"] {
display: block;

.password-message {
margin: 0;
margin: $dp-spaces--lv0;
font-size: $dp-font-size-small;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/scss/modules/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
content: '';
position: absolute;
left: 4px;
bottom: 10px;
bottom: 9px;
width: 4px;
height: 7px;
border: solid $check-color;
Expand Down
16 changes: 8 additions & 8 deletions assets/scss/templates/_signup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.content-signin {
float: right;
display: inline-block;
margin-top: 6px;
margin-top: $dp-spaces--lv1;
font-family: $dp-font-family-proximanova;
font-style: italic;

Expand All @@ -33,7 +33,7 @@
margin: 60px 0 0;
font-family: $dp-font-family-proximanova;
color: $dp-color-brown;
font-weight: bold;
font-weight: $dp-font-weight-bold;
text-transform: uppercase;
}

Expand All @@ -54,7 +54,7 @@
}

.content-legal {
margin-top: 30px;
margin-top: $dp-spaces--lv5;

p {
font-size: $dp-font-size-rpgd;
Expand All @@ -63,7 +63,7 @@
}

footer {
padding-top: 15px;
padding-top: $dp-spaces--lv3;
}
}

Expand All @@ -81,15 +81,15 @@
h6 {
margin-bottom: 10px;
font-family: $dp-font-family-proximanova;
font-weight: bold;
font-weight: $dp-font-weight-bold;
color: $dp-color-white;
text-transform: uppercase;
}

h3 {
margin: 10px 0;
font-family: $dp-font-family-proximanova;
font-weight: bold;
font-weight: $dp-font-weight-bold;
color: $dp-color-white;
}

Expand All @@ -101,7 +101,7 @@
/* width */
::-webkit-scrollbar {
width: 8px;
border-radius: 5px;
border-radius: $dp-border-radius;
}
/* Track */
::-webkit-scrollbar-track {
Expand All @@ -111,7 +111,7 @@
/* Handle */
::-webkit-scrollbar-thumb {
background: $dp-color-lightgrey;
border-radius: 5px;
border-radius: $dp-border-radius;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
Expand Down

0 comments on commit 2389045

Please sign in to comment.