Skip to content

Commit f0acd48

Browse files
committed
made the style changes
1 parent cf54f34 commit f0acd48

File tree

2 files changed

+34
-20
lines changed

2 files changed

+34
-20
lines changed

client/styles/components/_form-container.scss

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,29 @@
22
text-align: center;
33
display: flex;
44
flex-direction: column;
5-
align-items: center;
5+
align-items: center;
66
justify-content: center;
77
flex: 1;
8+
9+
@media (max-width: 550px) {
10+
text-align: left;
11+
justify-content: start;
12+
}
813
}
914

1015
.form-container--align-left {
11-
text-align: left;
16+
text-align: left;
1217
}
1318

1419
.form-container--align-top {
15-
height: unset;
20+
height: unset;
1621
}
1722

1823
.form-container__header {
1924
width: 100%;
2025
padding: #{15 / $base-font-size}rem #{34 / $base-font-size}rem;
2126
display: flex;
22-
justify-content: space-between;
27+
justify-content: space-between;
2328
}
2429

2530
.form-container__content {
@@ -31,28 +36,32 @@
3136
}
3237

3338
.form-container--align-left .form-container__content {
34-
align-items: left;
39+
align-items: left;
3540
}
3641

3742
.form-container__title {
3843
font-weight: normal;
3944
@include themify() {
40-
color: getThemifyVariable('form-title-color')
41-
}
45+
color: getThemifyVariable("form-title-color");
46+
}
47+
48+
@media (max-width: 770px) {
49+
display: none;
50+
}
4251
}
4352

4453
.form-container__context {
45-
@include themify() {
46-
color: getThemifyVariable('secondary-text-color')
47-
}
54+
@include themify() {
55+
color: getThemifyVariable("secondary-text-color");
56+
}
4857
}
4958

5059
.form-container__divider {
51-
padding: #{20 / $base-font-size}rem 0;
60+
padding: #{20 / $base-font-size}rem 0;
5261
}
5362

5463
.form-container__logo-button {
55-
@include icon();
64+
@include icon();
5665
}
5766

5867
.form-container__exit-button {

client/styles/components/_forms.scss

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
font-size: #{12 / $base-font-size}rem;
66
text-align: left;
77
@include themify() {
8-
color: getThemifyVariable('error-color');
8+
color: getThemifyVariable("error-color");
99
}
1010
}
1111

@@ -27,11 +27,16 @@
2727
margin-top: #{16 / $base-font-size}rem;
2828
font-size: #{12 / $base-font-size}rem;
2929
@include themify() {
30-
color: getThemifyVariable('form-navigation-options-color');
30+
color: getThemifyVariable("form-navigation-options-color");
31+
}
32+
33+
@media (max-width: 550px) {
34+
text-align: center;
35+
margin: #{12 / $base-font-size}rem;
3136
}
3237
}
3338

34-
.form__legend{
39+
.form__legend {
3540
font-size: #{21 / $base-font-size}rem;
3641
font-weight: bold;
3742
}
@@ -42,7 +47,7 @@
4247
margin-bottom: #{7 / $base-font-size}rem;
4348
display: block;
4449
@include themify() {
45-
color: getThemifyVariable('form-secondary-title-color');
50+
color: getThemifyVariable("form-secondary-title-color");
4651
}
4752
}
4853

@@ -56,8 +61,8 @@
5661
height: #{40 / $base-font-size}rem;
5762
font-size: #{16 / $base-font-size}rem;
5863
@include themify() {
59-
color: getThemifyVariable('form-input-text-color');
60-
background-color: getThemifyVariable('input-background-color');
64+
color: getThemifyVariable("form-input-text-color");
65+
background-color: getThemifyVariable("input-background-color");
6166
}
6267
}
6368

@@ -67,7 +72,7 @@
6772

6873
.form__input::placeholder {
6974
@include themify() {
70-
color: getThemifyVariable('form-input-placeholder-text-color');
75+
color: getThemifyVariable("form-input-placeholder-text-color");
7176
}
7277
}
7378

@@ -78,7 +83,7 @@
7883

7984
.form__status {
8085
@include themify() {
81-
color: getThemifyVariable('form-navigation-options-color');
86+
color: getThemifyVariable("form-navigation-options-color");
8287
}
8388
}
8489

0 commit comments

Comments
 (0)