Skip to content

Commit 1174ca0

Browse files
committed
refactoring Code
1 parent f67ce3c commit 1174ca0

File tree

5 files changed

+22
-28
lines changed

5 files changed

+22
-28
lines changed

frontend/src/common/components/header/Header.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@
166166
}
167167

168168
.search-button {
169+
margin-right: 0;
169170
padding-top: 1rem;
170-
color: #fcba19;
171-
background-color: #003366;
171+
color: orbcStyles.$bc-gold;
172+
background-color: orbcStyles.$bc-primary-blue;
172173
}
173174
}
174175

frontend/src/common/components/header/components/SearchButton.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
outline: none;
1414
}
1515
}
16-
@media (width < 768px) {
17-
.search-button {
18-
margin-right: 0;
19-
}
20-
}
2116

2217
@media (width < 360px) {
2318
.search-button {

frontend/src/features/permits/pages/ShoppingCart/ShoppingCartPage.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
flex-direction: column;
5656
align-items: center;
5757
}
58+
5859
@media (width < 768px) {
5960
.shopping-cart-page {
6061
&__left-container, &__right-container {
@@ -63,6 +64,23 @@
6364
padding: 1.5rem;
6465
align-items: center;
6566
}
67+
68+
&__left-container {
69+
.shopping-cart {
70+
text-align: center;
71+
&__actions,
72+
.actions {
73+
flex-direction: column;
74+
gap: 1rem;
75+
}
76+
.actions__filter {
77+
flex-direction: column;
78+
}
79+
.actions__remove {
80+
width: 100%;
81+
}
82+
}
83+
}
6684
}
6785
}
6886
}

frontend/src/features/permits/pages/ShoppingCart/components/ShoppingCart.scss

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,3 @@
7272
padding-top: 1.5rem;
7373
}
7474
}
75-
@media (width < 768px) {
76-
.shopping-cart {
77-
text-align: center;
78-
79-
&__actions,
80-
.actions {
81-
flex-direction: column;
82-
gap: 1rem;
83-
}
84-
.actions__filter {
85-
flex-direction: column;
86-
}
87-
.actions__remove {
88-
width: 100%;
89-
}
90-
}
91-
}
92-

frontend/src/index.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ body {
1212
}
1313

1414
@media screen and (max-width: 768px) {
15-
1615
.feature-container {
1716
height: calc(100vh - 115px);
18-
1917
}
20-
}
18+
}

0 commit comments

Comments
 (0)