Skip to content

Commit

Permalink
add solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Alenalenk committed May 7, 2024
1 parent d7c2335 commit 9398494
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/images/burger-menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/images/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/images/dropdown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions src/images/facebook (1).svg

This file was deleted.

12 changes: 10 additions & 2 deletions src/styles/blocks/_top-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
&__nav {
display: flex;
gap: 40px;
align-items: center;
}

&__button {
Expand Down Expand Up @@ -43,18 +44,25 @@
&__lang {
display: none;

&--menu {
@include on-desktop {
display: block;
}

@include on-desktop {

&--menu {
display: block;
}
}

&__button-lang {
padding-right: 13px;
position: relative;
cursor: pointer;
font-family: Raleway, sans-serif;
font-size: 16px;
font-weight: 500;
line-height: 150%;
color: $white-color;

&::after {
content: url('../images/dropdown.svg');
Expand Down
8 changes: 8 additions & 0 deletions src/styles/helpers/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,31 @@
background-color: $main-color;
border: 1px solid $main-color;
color: $white-color;
transition: background-color 0.3s;

&:hover {
background-color: #af3419;
border: 1px solid #af3419;
}

&:active {
background-color: #ea340d;
border: 1px solid #ea340d;
}

&:disabled {
background: #dd836f;
border: 1px solid #dd836f;
}
}

&--transparent {
color: $main-color;
border: 1px solid $main-color;
text-align: center;
transition:
background-color 0.3s,
color 0.3s;

@include on-tablet {
padding-left: 32px;
Expand All @@ -51,6 +58,7 @@
content: url('../images/arrow-btn.svg');
width: 20px;
height: 20px;
transition: all 0.3s;
}

&:hover {
Expand Down

0 comments on commit 9398494

Please sign in to comment.