💄 ags(style): better styles for control-center, fixed scrollbar hover

This commit is contained in:
retrozinndev
2025-04-22 22:01:53 -03:00
parent 8f0f40d728
commit eac82dd227
2 changed files with 65 additions and 43 deletions
+3 -3
View File
@@ -287,16 +287,16 @@ scrollbar trough {
border-radius: 12px; border-radius: 12px;
&:hover, &:active, &:focus { &:hover, &:active, &:focus {
margin: 0 2px; margin: 2px;
} }
} }
&:hover, &:active, &:focus { &:hover, &:active, &:focus {
padding: 0 2px; padding: 2px;
} }
} }
slider, scale { scale {
& marks mark { & marks mark {
& indicator { & indicator {
color: colors.$fg-disabled; color: colors.$fg-disabled;
+62 -40
View File
@@ -8,11 +8,11 @@
@include mixins.reset-props; @include mixins.reset-props;
background: colors.$bg-translucent; background: colors.$bg-translucent;
border-radius: 24px; border-radius: 28px;
padding: 20px 14px; padding: 20px;
& > box { & > * {
margin: 9px; margin: 9px 0;
&:first-child { &:first-child {
margin-top: 0; margin-top: 0;
@@ -44,8 +44,7 @@
} }
& .sliders { & .sliders {
padding: 2px 6px; padding: 0;
& > box { & > box {
margin: 8px 0; margin: 8px 0;
@@ -58,10 +57,61 @@
} }
} }
.icon.nf { label.nf,
button.nf label {
margin-right: 8px; margin-right: 8px;
font-size: 15px; font-size: 15px;
} }
button.more {
@include mixins.hover-shadow;
padding: 4px;
border-radius: 16px;
margin-left: 6px;
}
& .page .content {
& label.name {
font-size: 14px;
font-weight: 500;
}
& trough {
margin-right: 10px;
}
}
}
& .page {
transition: 120ms linear;
background: colors.$bg-secondary;
padding: 14px;
border-radius: 24px;
& .header {
margin-bottom: 12px;
& .top > .title {
font-size: 20px;
font-weight: 600;
}
& > .description {
font-size: 12px;
font-weight: 500;
color: colors.$fg-disabled;
}
& button label {
font-size: 14px;
}
}
& .sub-header {
font-size: 14px;
font-weight: 500;
margin-bottom: 6px;
}
} }
} }
@@ -69,7 +119,7 @@ box.history {
margin-top: 10px; margin-top: 10px;
background: colors.$bg-translucent; background: colors.$bg-translucent;
border-radius: 24px; border-radius: 24px;
padding: 20px 14px; padding: 20px;
transition: 120ms linear; transition: 120ms linear;
&.hide { &.hide {
@@ -106,8 +156,10 @@ box.history {
& > flowboxchild .tile { & > flowboxchild .tile {
$radius: 16px; $radius: 16px;
&:not(.toggled) > .toggle-button { &:not(.toggled) > .toggle-button,
&:not(.toggled) > button.more {
@include mixins.hover-shadow; @include mixins.hover-shadow;
background: colors.$bg-primary;
} }
&.toggled .toggle-button:hover, &.toggled .toggle-button:hover,
@@ -126,7 +178,6 @@ box.history {
} }
& > .toggle-button { & > .toggle-button {
background: colors.$bg-primary;
border-radius: $radius; border-radius: $radius;
& .content { & .content {
@@ -164,37 +215,8 @@ box.history {
} }
.tile-pages { .tile-pages {
transition: 120ms linear;
& > .page { & > .page {
background: colors.$bg-secondary; margin-top: 10px;
padding: 14px;
border-radius: 24px;
& .header {
margin-bottom: 12px;
& .top > .title {
font-size: 20px;
font-weight: 600;
}
& > .description {
font-size: 12px;
font-weight: 500;
color: colors.$fg-disabled;
}
& button label {
font-size: 14px;
}
}
& .sub-header {
font-size: 14px;
font-weight: 500;
margin-bottom: 6px;
}
& button { & button {
@include mixins.hover-shadow; @include mixins.hover-shadow;