Skip to content

Commit cba9191

Browse files
committed
added a link to the starter repository
1 parent be47096 commit cba9191

File tree

8 files changed

+897
-906
lines changed

8 files changed

+897
-906
lines changed

sass/buttons.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,18 @@
7575
background-color: $purple-btn;
7676
}
7777
}
78+
79+
button:disabled {
80+
81+
box-shadow: unset;
82+
opacity: .8;
83+
background: $disabled;
84+
color: #fff;
85+
border: unset;
86+
}
87+
88+
button:disabled:hover {
89+
90+
box-shadow: unset;
91+
background: $disabled;
92+
}

sass/colors.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ $purple-btn: #7274ff;
2626
// other colors============================================
2727
$red: #f44336;
2828
$black: #212121;
29+
$disabled: #fa5151;
2930
//=========================================================

sass/default.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,3 @@ button {
1414
border: none;
1515
-webkit-appearance:none;
1616
}
17-
18-
input:-webkit-autofill {
19-
-webkit-box-shadow: 0 0 0 30px white inset;
20-
}

sass/forms.scss

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,6 @@ form {
66
width: 100%;
77
}
88

9-
.input-field {
10-
11-
span:before {
12-
13-
cursor: pointer;
14-
position: relative;
15-
font-family: 'fontawesome';
16-
top: 3rem;
17-
left: .6rem;
18-
color: $black;
19-
}
20-
}
21-
22-
.text-area-field {
23-
24-
span:before {
25-
26-
top: 1.8rem;
27-
}
28-
}
29-
30-
.user-icon:before {
31-
32-
content: '';
33-
}
34-
35-
.email-icon:before {
36-
37-
content: '';
38-
}
39-
40-
.edit-icon:before {
41-
42-
content: '';
43-
}
44-
459
input[type="text"],
4610
input[type="password"],
4711
input[type="email"],
@@ -54,7 +18,6 @@ select,
5418
textarea,
5519
textarea[type=text] {
5620

57-
-webkit-appearance:none;
5821
width: 100%;
5922
margin-top: 1rem;
6023
margin-bottom: 1rem;
@@ -76,6 +39,7 @@ textarea[type=text] {
7639
input, textarea {
7740

7841
padding: .9rem 1rem .9rem 2rem;
42+
-webkit-appearance:none;
7943
}
8044

8145
select {
@@ -92,6 +56,42 @@ textarea {
9256
margin: 0;
9357
}
9458

59+
.input-field {
60+
61+
span:before {
62+
63+
cursor: pointer;
64+
position: relative;
65+
font-family: 'fontawesome';
66+
top: 3rem;
67+
left: .6rem;
68+
color: $black;
69+
}
70+
}
71+
72+
.text-area-field {
73+
74+
span:before {
75+
76+
top: 1.8rem;
77+
}
78+
}
79+
80+
.user-icon:before {
81+
82+
content: '';
83+
}
84+
85+
.email-icon:before {
86+
87+
content: '';
88+
}
89+
90+
.edit-icon:before {
91+
92+
content: '';
93+
}
94+
9595
label {
9696

9797
cursor: pointer;

0 commit comments

Comments
 (0)