Skip to content

Commit e0c9649

Browse files
committed
css->scss: experience form + map + footer
1 parent 19da072 commit e0c9649

File tree

5 files changed

+61
-43
lines changed

5 files changed

+61
-43
lines changed

Diff for: src/components/Footer/footer.module.scss

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use './../../scss/colors';
2+
13
.footerDiv {
24
position: relative;
35
margin-top: 2rem;
@@ -27,7 +29,7 @@
2729
overflow: hidden;
2830

2931
.svgPath {
30-
fill: #fff;
32+
fill: colors.$white;
3133
-webkit-transform-origin: center;
3234
-ms-transform-origin: center;
3335
transform-origin: center;
@@ -42,12 +44,12 @@
4244
left: 0;
4345
height: 100%;
4446
width: 100%;
45-
background: #0e1120de;
47+
background: colors.$black_0-8;
4648
}
4749

4850
.newsletter {
4951
position: relative;
50-
color: white;
52+
color: colors.$white;
5153
text-align: center;
5254
padding: 50px 0 70px 0;
5355

@@ -76,7 +78,7 @@
7678

7779
.box {
7880
height: 40px;
79-
background-color: white;
81+
background-color: colors.$white;
8082
border-radius: 30px 0 0 30px;
8183
display: flex;
8284
align-items: center;
@@ -85,7 +87,7 @@
8587

8688
.icon {
8789
padding: 10px;
88-
color: dodgerblue;
90+
color: colors.$blue1;
8991
min-width: 40px;
9092
}
9193
input {
@@ -99,13 +101,13 @@
99101
.bsClass {
100102
border-radius: 0 30px 30px 0;
101103
padding: 6px 15px;
102-
background-color: #4285f4;
103-
border: 2px solid #4285f4;
104-
color: white;
104+
background-color: colors.$blue1;
105+
border: 2px solid colors.$blue1;
106+
color: colors.$white;
105107

106108
&:hover {
107-
background-color: #1963db;
108-
border: 2px solid #1963db;
109+
background-color: colors.$blue2;
110+
border: 2px solid colors.$blue2;
109111
}
110112
}
111113
}
@@ -126,7 +128,7 @@
126128

127129
.footerText {
128130
text-align: center;
129-
color: white;
131+
color: colors.$white;
130132
font-weight: 400;
131133
font-size: 1.2rem;
132134
padding: 30px;

Diff for: src/pages/Home/sections/Contact/components/ExperienceForm/experience-form.module.scss

+19-16
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
2+
@use './../../../../../../scss/colors';
3+
14
.info {
25
width: 350px;
36

47
.general_info {
5-
background: #3d1f90;
6-
color: white;
8+
background: colors.$blue3;
9+
color: colors.$white;
710
margin: 0.35rem 1rem;
811
border-radius: 15px;
912
& h2 {
@@ -36,7 +39,7 @@
3639
height: 500px;
3740
bottom: -250px;
3841
right: -250px;
39-
background-color: #caebb7eb;
42+
background-color: colors.$light-pink;
4043

4144
.circle2 {
4245
position: absolute;
@@ -45,7 +48,7 @@
4548
height: 200px;
4649
top: -150px;
4750
left: -150px;
48-
background-color: #7174ffeb;
51+
background-color: colors.$blue1;
4952
}
5053
}
5154

@@ -66,15 +69,15 @@
6669
input {
6770
width: 100%;
6871
border: 0;
69-
background: #fcfcfc;
72+
background: colors.$light-grey;
7073
height: 43px;
7174
padding: 0 20px;
7275
font-size: 16px;
7376
outline: none;
74-
color: #7b7474;
77+
color: colors.$grey;
7578
border-radius: 5px;
7679
&:focus {
77-
border: 1px solid white;
80+
border: 1px solid colors.$white;
7881
border-radius: 20px;
7982
}
8083
&::placeholder {
@@ -89,24 +92,24 @@
8992
flex-wrap: wrap;
9093

9194
span {
92-
color: white;
95+
color: colors.$white;
9396
font-weight: bold;
9497
}
9598
}
9699
textarea {
97100
border-radius: 8px;
98101
width: 100%;
99102
border: 0;
100-
background: #fcfcfc;
103+
background: colors.$white2;
101104
font-size: 16px;
102105
outline: none;
103106
resize: none;
104107
padding: 10px;
105108
height: 110px;
106-
color: #7b7474;
109+
color: colors.$grey;
107110
}
108111
.submit {
109-
background: #3d1f90;
112+
background: colors.$blue3;
110113
font-size: 14px;
111114
letter-spacing: 4px;
112115
font-family: "Open Sans", sans-serif;
@@ -119,17 +122,17 @@
119122
text-align: center;
120123
cursor: pointer;
121124
align-self: flex-end;
122-
border: 1px #fff solid;
125+
border: 1px colors.$white solid;
123126
position: relative;
124127
overflow: hidden;
125-
box-shadow: inset 2px 0px 2px white;
128+
box-shadow: inset 2px 0px 2px colors.$white;
126129
border-radius: 20px;
127130

128131
.buttonText {
129132
position: relative;
130133
z-index: 1;
131134
font-weight: bolder;
132-
color: #08fdd8;
135+
color: colors.$light-blue;
133136
}
134137

135138
.hoverEffect {
@@ -138,7 +141,7 @@
138141
top: 0;
139142
left: 0;
140143
border-radius: 0 50% 100% 0;
141-
background-color: #fcfcfc;
144+
background-color: colors.$white2;
142145
width: 500px;
143146
height: 100%;
144147
transform: scale(0, 1);
@@ -152,7 +155,7 @@
152155
height: 200%;
153156
}
154157
& .buttonText {
155-
color: #272727;
158+
color: colors.$black_0-8;
156159
}
157160
}
158161
}

Diff for: src/pages/Home/sections/Contact/components/Map/map.scss

+11-9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use './../../../../../../scss/colors';
2+
13
.leaflet-container {
24
width: 100%;
35
height: 98%;
@@ -9,23 +11,23 @@
911
}
1012

1113
.leaflet-popup-content-wrapper {
12-
background-color: rgba(29, 24, 24, 0.9);
13-
color: white;
14+
background-color: colors.$black_0-8;
15+
color: colors.$white;
1416
}
1517

1618
.leaflet-popup-tip {
17-
background-color: rgba(29, 24, 24, 0.9);
19+
background-color: colors.$black_0-8;
1820
}
1921

2022
.leaflet-control-layers.leaflet-control {
21-
background: #1b1b1b;
23+
background: colors.$black_0-8;
2224
}
2325

2426
.leaflet-control-layers-base {
2527
display: flex;
2628
flex-direction: column;
2729
align-items: flex-start;
28-
color: white;
30+
color: colors.$white;
2931
font-family: "Montserrat";
3032
padding: 0.5rem;
3133
gap: 8px;
@@ -54,8 +56,8 @@
5456
width: 230px;
5557
padding: 1.5rem;
5658
left: 10px;
57-
background: rgba(29, 24, 24, 0.9);
58-
color: #fff;
59+
background: colors.$black_0-8;
60+
color: colors.$white;
5961
border-radius: 5px;
6062

6163
a {
@@ -66,9 +68,9 @@
6668
.reCenter {
6769
border-radius: 100%;
6870
right: 10px;
69-
background: rgba(245, 245, 245, 0.9);
71+
background: colors.$white2;
7072
padding: 5px;
7173
border: none;
72-
box-shadow: 2px 2px 3px rgb(15, 14, 14);
74+
box-shadow: 2px 2px 3px colors.$black_0-8;
7375
}
7476

Diff for: src/pages/Home/sections/Contact/contact-us.module.scss

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1+
@use './../../../../scss/mixin';
2+
@use './../../../../scss/colors';
3+
14
.ContactUs {
25
text-align: center;
36
margin-top: 5rem;
47

58
.titleMain {
6-
font-family: "Poppins", sans-serif;
7-
color: #4e89ae;
8-
font-size: 3rem;
9-
font-weight: bold;
10-
text-shadow: 3px 4px 2px #0000002e;
9+
@include mixin.section-title;
1110
}
1211

1312
.contact_and_info_container {
1413
display: flex;
1514
align-items: stretch;
1615
justify-content: center;
1716
flex-wrap: wrap;
18-
background: #fff;
17+
background: colors.$white;
1918
margin: 1rem 0 9rem;
2019

2120
.map {

Diff for: src/scss/_colors.scss

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
$white: #fff;
22
$white1: #bcdbee;
3+
$white2:#fcfcfc;
4+
35
$black_0-3: #0000004d;
6+
$black_0-8: #000000de;
47
$black: #000;
8+
9+
$light-pink: #bfdbb4;
10+
11+
$light-grey:#fcfcfc;
12+
$grey: grey;
13+
514
$light-purple: #376f92;
615
$purple: #103f5f;
16+
717
$light-blue: #add8e6;
818
$steel-blue: #4e89ae;
919
$blue1:#4285f4;
10-
$grey: grey;
20+
$blue2:#1963db;
21+
$blue3:#3d1f90;
22+
1123
$red: red;

0 commit comments

Comments
 (0)