Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 5 additions & 32 deletions src/components/contextmenu/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,13 @@ body.no-animation {
border: solid 1px transparent;
border: solid 1px var(--popup-border-color);

@media (min-width: 769px) {
@media (min-width: 1024px) {
min-width: 260px;
max-width: 400px;
min-height: 48px;
box-shadow: 0 0 8px var(--box-shadow-color);
}

@media (min-width: 1024px) {
min-width: 300px;
max-width: 480px;
min-height: 56px;
box-shadow: 0 0 16px var(--box-shadow-color);
}

& + .mask {
&+.mask {
z-index: 110;
}

Expand Down Expand Up @@ -110,8 +102,8 @@ body.no-animation {
opacity: 0.5;
}

@media (min-width: 769px) {
height: 56px;
@media (min-width: 1024px) {
height: 55px;
font-size: 1.05em;

&.notice::after {
Expand All @@ -128,29 +120,10 @@ body.no-animation {
font-size: 1.1em;
}
}

@media (min-width: 1024px) {
height: 64px;
font-size: 1.1em;

&.notice::after {
font-size: 1.4em;
}

.text {
.value {
font-size: 0.9em;
}
}

.icon {
font-size: 1.2em;
}
}
}

&.hide {
transition: all 100ms ease;
opacity: 0;
}
}
}
29 changes: 6 additions & 23 deletions src/components/searchbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
transform: translate(0, -100%, 0);
}

@media (min-width: 769px) {
height: 60px;
@media (min-width: 1024px) {
height: 50px;

input {
margin: 8px;
Expand All @@ -56,26 +56,9 @@
}

.icon {
height: 60px;
width: 60px;
font-size: 1.4em;
}
}

@media (min-width: 1024px) {
height: 70px;

input {
margin: 10px;
border-radius: 8px;
font-size: 1.2em;
padding: 0 16px;
}

.icon {
height: 70px;
width: 70px;
font-size: 1.6em;
height: 50px;
width: 50px;
font-size: 1.3em;
}
}
}
}
99 changes: 19 additions & 80 deletions src/components/sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ body.no-animation {
}
}

.page-replacement ~ #sidebar {
.page-replacement~#sidebar {
opacity: 0;
}

Expand All @@ -24,7 +24,7 @@ body.no-animation {
overflow: hidden;
box-sizing: border-box;

& + .mask {
&+.mask {
z-index: 108;
}

Expand Down Expand Up @@ -64,22 +64,12 @@ body.no-animation {
flex-direction: column;
position: relative;

@media (min-width: 769px) {
width: 50px;
min-width: 50px;
padding: 12px 0;
}

@media (min-width: 1024px) {
width: 55px;
min-width: 55px;
padding: 15px 0;
}
.app-icons-container {
flex: 1;
overflow-y: auto;
padding: 10px 0;
}

.user-icon-container {
position: sticky;
bottom: 0;
Expand All @@ -88,6 +78,7 @@ body.no-animation {
display: flex;
justify-content: center;
border-top: 1px solid var(--border-color);

.avatar {
display: block;
height: 35px;
Expand All @@ -96,6 +87,7 @@ body.no-animation {
object-fit: cover;
object-position: center;
}

.icon {
height: 40px;
width: 40px;
Expand All @@ -110,20 +102,9 @@ body.no-animation {
&.active {
opacity: 1;
}

@media (min-width: 769px) {
height: 45px;
width: 45px;
font-size: 1.8em;
}

@media (min-width: 1024px) {
height: 50px;
width: 50px;
font-size: 2em;
}
}
}

.icon {
height: 35px;
width: 35px;
Expand All @@ -137,18 +118,6 @@ body.no-animation {
&.active {
opacity: 1;
}

@media (min-width: 769px) {
height: 40px;
width: 40px;
font-size: 1.1em;
}

@media (min-width: 1024px) {
height: 45px;
width: 45px;
font-size: 1.2em;
}
}
}

Expand All @@ -164,7 +133,7 @@ body.no-animation {
overflow-x: auto;
}

> .list {
>.list {
width: 100%;
max-width: 100%;
max-height: 100%;
Expand All @@ -190,57 +159,35 @@ body.no-animation {
font-size: 1em;
}
}

@media (min-width: 769px) {
min-height: 38px;
font-size: 1.05em;
}

@media (min-width: 1024px) {
min-height: 42px;
font-size: 1.1em;
}
}

.icon {
height: 30px;
width: 30px;
color: currentColor;
font-size: 1em;

@media (min-width: 769px) {
height: 32px;
width: 32px;
font-size: 1.1em;
}

@media (min-width: 1024px) {
height: 35px;
width: 35px;
font-size: 1.2em;
}
}

> ul {
>ul {
overflow: auto;
width: 100%;
max-width: 100%;
max-height: calc(100% - 30px);
height: calc(100% - 30px);

.tile:active {
> *:nth-child(2) {
>*:nth-child(2) {
color: rgb(255, 215, 0);
}
}

li {
> *:nth-child(2) {
>*:nth-child(2) {
color: currentColor;
}

&.active {
> *:nth-child(2) {
>*:nth-child(2) {
color: rgb(255, 215, 0);
}
}
Expand Down Expand Up @@ -307,16 +254,6 @@ body.no-animation {
align-items: center;
justify-content: center;
font-weight: 600;

@media (min-width: 769px) {
height: 40px;
font-size: 1.1em;
}

@media (min-width: 1024px) {
height: 50px;
font-size: 1.2em;
}
}
}
}
Expand All @@ -333,9 +270,11 @@ body.no-animation {
display: none;
z-index: 1000;
overflow: hidden;

&.active {
display: block;
}

.user-menu-header {
padding: 12px;
border-bottom: 1px solid var(--border-color);
Expand All @@ -347,11 +286,9 @@ body.no-animation {
.badge {
display: inline-flex;
align-items: center;
background-color: color-mix(
in srgb,
var(--error-text-color) 20%,
transparent
);
background-color: color-mix(in srgb,
var(--error-text-color) 20%,
transparent);
color: var(--error-text-color);
padding: 2px 6px;
border-radius: 4px;
Expand All @@ -373,13 +310,15 @@ body.no-animation {
display: flex;
align-items: center;
gap: 8px;

&:hover {
background-color: var(--active-icon-color);
}
}

.user-menu-separator {
height: 1px;
background-color: var(--border-color);
margin: 4px 0;
}
}
}
Loading