-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed home screen styling, added test imgs
- Loading branch information
Showing
8 changed files
with
277 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,143 @@ | ||
@use '../abstracts'; | ||
@use '../components'; | ||
|
||
.header{ | ||
position: relative; | ||
padding: 0 abstracts.$padding-md*7; | ||
|
||
@include abstracts.clr(abstracts.$light-bg); | ||
|
||
font-family: abstracts.$Lato; | ||
font-weight: 500; | ||
font-size: 0.9rem; | ||
|
||
height: 60px; | ||
|
||
@include abstracts.flex-row(space-between); | ||
|
||
&__left{ | ||
padding: abstracts.$padding-md 0; | ||
.header-list{ | ||
&__item{ | ||
margin: 0 calc(abstracts.$padding-md/2); | ||
|
||
&__options__dropdown{ | ||
padding: 3rem 5rem; | ||
border: solid 1px rgba(0,0,0,0.3); | ||
border-left: none; | ||
border-right: none; | ||
font-size: abstracts.$padding-md*0.8; | ||
background-color: abstracts.$light-bg; | ||
top: 100%; | ||
justify-content: space-around; | ||
min-height: 34vh; | ||
} | ||
} | ||
} | ||
@use "../abstracts"; | ||
@use "../components"; | ||
|
||
.header { | ||
position: relative; | ||
padding: 0 abstracts.$padding-md * 7; | ||
|
||
@include abstracts.clr(abstracts.$light-bg); | ||
|
||
font-family: abstracts.$Lato; | ||
font-weight: 500; | ||
font-size: 0.9rem; | ||
|
||
height: 60px; | ||
|
||
@include abstracts.flex-row(space-between); | ||
|
||
&__right { | ||
.header-list__item { | ||
margin: 0 calc(abstracts.$padding-md/2); | ||
} | ||
} | ||
|
||
&__left { | ||
.header-list { | ||
&__item { | ||
padding: 0 calc(abstracts.$padding-md/2); | ||
height: 60px; | ||
display: flex; | ||
align-items: center; | ||
|
||
&__options__dropdown { | ||
display: flex; | ||
visibility: hidden; | ||
padding: 3rem 5rem; | ||
border: solid 1px rgba(0, 0, 0, 0.3); | ||
border-left: none; | ||
border-right: none; | ||
font-size: abstracts.$padding-md * 0.8; | ||
background-color: abstracts.$light-bg; | ||
justify-content: space-around; | ||
min-height: 34vh; | ||
transition: all 0.3s ease; | ||
top: 100%; | ||
height: 0; | ||
transform: scaleY(0); | ||
transform-origin: top; | ||
|
||
ul { | ||
opacity: 0; | ||
} | ||
} | ||
|
||
&__center{ | ||
position: absolute; | ||
left: 50%; | ||
transform: translate(-50%); | ||
&__options__dropdown.active { | ||
visibility: visible; | ||
transform: scaleY(1); | ||
|
||
svg{ | ||
width: 95px; | ||
height: 43px; | ||
ul { | ||
opacity: 1; | ||
transition: opacity 0.5s ease-in 0.1s; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
.header-list{ | ||
@include abstracts.flex-row(space-around); | ||
&__center { | ||
position: absolute; | ||
left: 50%; | ||
transform: translate(-50%); | ||
|
||
&__item{ | ||
padding: calc(abstracts.$padding-md/2); | ||
svg { | ||
width: 95px; | ||
height: 43px; | ||
} | ||
} | ||
|
||
max-width: max-content; | ||
max-height: 46px; | ||
} | ||
.header-list { | ||
@include abstracts.flex-row(space-around); | ||
|
||
&__link, &__dropdown__button, &__item:has(.user-portal__logout) .user-portal__logout{ | ||
@include abstracts.link(black); | ||
|
||
svg{ | ||
width: 25px; | ||
height: 25px; | ||
} | ||
|
||
.user-portal__logout{ | ||
margin-top: 0; | ||
} | ||
|
||
&:hover{ | ||
opacity: 0.6; | ||
} | ||
} | ||
&__item { | ||
max-width: max-content; | ||
} | ||
|
||
&__dropdown{ | ||
&__button{ | ||
@include abstracts.div-button(none, abstracts.$light-bg); | ||
} | ||
&__link, | ||
&__dropdown__button, | ||
&__item:has(.user-portal__logout) .user-portal__logout { | ||
@include abstracts.link(black); | ||
|
||
} | ||
svg { | ||
width: 25px; | ||
height: 25px; | ||
} | ||
|
||
h4{ | ||
font-weight: 600; | ||
} | ||
.user-portal__logout { | ||
margin-top: 0; | ||
} | ||
|
||
&:hover { | ||
opacity: 0.6; | ||
} | ||
} | ||
|
||
&__dropdown { | ||
&__button { | ||
@include abstracts.div-button(none, abstracts.$light-bg); | ||
} | ||
} | ||
|
||
h4 { | ||
font-weight: 600; | ||
} | ||
} | ||
} | ||
|
||
.settings-bar{ | ||
@include abstracts.flex-row(flex-end); | ||
@include abstracts.clr(abstracts.$light-bg); | ||
.settings-bar { | ||
@include abstracts.flex-row(flex-end); | ||
@include abstracts.clr(abstracts.$light-bg); | ||
|
||
padding: 0 abstracts.$padding-md*7; | ||
padding: 0 abstracts.$padding-md * 7; | ||
|
||
.settings__dropdown{ | ||
&__button{ | ||
@include abstracts.flex-row(space-between); | ||
.settings__dropdown { | ||
&__button { | ||
@include abstracts.flex-row(space-between); | ||
|
||
@include abstracts.div-button(none, abstracts.$light-bg); | ||
@include abstracts.div-button(none, abstracts.$light-bg); | ||
|
||
padding: calc(abstracts.$padding-md/2); | ||
|
||
.settings-svg{ | ||
width: 25px; | ||
height: 25px; | ||
} | ||
} | ||
|
||
&__label{ | ||
padding: 3px; | ||
font-family: abstracts.$Poppins; | ||
font-size: calc(abstracts.$padding-md/1.2); | ||
font-weight: 500; | ||
} | ||
padding: calc(abstracts.$padding-md/2); | ||
|
||
.settings-svg { | ||
width: 25px; | ||
height: 25px; | ||
} | ||
} | ||
} | ||
|
||
&__label { | ||
padding: 3px; | ||
font-family: abstracts.$Poppins; | ||
font-size: calc(abstracts.$padding-md/1.2); | ||
font-weight: 500; | ||
} | ||
} | ||
} |
Oops, something went wrong.