Skip to content

Commit

Permalink
chore(app): small style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Dec 28, 2024
1 parent 3622926 commit 3b8ff88
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $nav-header-background-color: rgb(36, 36, 36);
$sidebar-primary-color: rgb(200, 200, 200);
$sidebar-background-color: rgb(36, 36, 36);

$border: 1px solid color.adjust($primary-color, $alpha: -0.7);
$border: 1px solid color.adjust($primary-color, $alpha: -0.9);
$border-drop: 1px dashed $primary-color;
$header-height: 2.5rem;

Expand Down Expand Up @@ -73,7 +73,7 @@ header {

span > a {
display: block;
color: color.adjust($nav-header-primary-color, $alpha: -0.7);
color: color.adjust($nav-header-primary-color, $alpha: -0.3);
font-size: 2rem;
text-decoration: none;
}
Expand Down Expand Up @@ -137,18 +137,25 @@ header {
}

a:hover {
background-color: color.adjust($sidebar-background-color, $lightness: 5%);
background-color: color.adjust($sidebar-background-color, $lightness: 2%);
}

span {
color: color.adjust($sidebar-primary-color, $alpha: -0.7);
color: color.adjust($sidebar-primary-color, $alpha: -0.3);
display: block;
cursor: default;
padding: 2rem 3rem;
}

.active {
font-style: italic;
position: relative;
&::before {
color: darkred;
content: '';
position: absolute;
transform: translateX(-1rem);
}
}
}

Expand All @@ -167,12 +174,12 @@ header {
}

.uploadx-drop-active {
background-color: color.adjust($background-color, $lightness: 10%);
background-color: color.adjust($background-color, $lightness: 2%);
border: $border-drop !important;
}

button {
background-color: color.adjust($background-color, $lightness: 8%);
background-color: color.adjust($background-color, $lightness: 2%);
border: $border;
border-radius: 5px;
color: $primary-color;
Expand All @@ -189,7 +196,7 @@ button {
width: 6rem;

&:hover {
background-color: color.adjust($background-color, $lightness: 15%);
background-color: color.adjust($background-color, $lightness: 4%);
}
}

Expand Down Expand Up @@ -222,7 +229,7 @@ input[type='file'] {
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
background-color: color.adjust($background-color, $lightness: 8%);
background-color: color.adjust($background-color, $lightness: 2%);
border-radius: 0 0 5px 5px;

span {
Expand Down

0 comments on commit 3b8ff88

Please sign in to comment.