💄 ags(style): better styles for control-center, fixed scrollbar hover
This commit is contained in:
+3
-3
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user