Skip to content

Commit

Permalink
[web] Use CSS Bluma variables whenever possible
Browse files Browse the repository at this point in the history
  • Loading branch information
hacketiwack committed Dec 7, 2023
1 parent e96a570 commit 7456d95
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions web-src/src/mystyles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ a.navbar-item {
}

.fd-progress-bar {
top: 52px !important;
top: $navbar-height !important;
}

.fd-has-shadow img {
Expand All @@ -85,12 +85,12 @@ a.navbar-item {
display: flex;
justify-content: center;
&-small-image {
width: 64px;
height: 64px;
width: 4rem;
height: 4rem;
img {
border-radius: $radius-small;
max-width: 64px;
max-height: 64px;
max-width: 4rem;
max-height: 4rem;
}
}
&-medium-image {
Expand Down Expand Up @@ -135,8 +135,7 @@ a.navbar-item {
}

.media:first-of-type {
padding-top: 17px;
margin-top: 16px;
padding-top: 1rem;
}

/* Transition effect */
Expand Down Expand Up @@ -174,7 +173,7 @@ a.navbar-item {
}

/* Show scrollbar for navbar menu in desktop mode if content exceeds the screen size */
@media only screen and (min-width: 1024px) {
@include desktop {
.navbar-dropdown {
max-height: calc(100vh - calc(2 * $navbar-height) - 2rem);
overflow: auto;
Expand Down

0 comments on commit 7456d95

Please sign in to comment.