Fixed libadwaita issues

This commit is contained in:
vinceliuice
2022-09-21 23:46:13 +08:00
parent a63df3b4d6
commit 6788302102
4 changed files with 177 additions and 3 deletions

View File

@@ -42,6 +42,17 @@ avatar {
&.image { background: none; }
}
.card {
@at-root %card, & {
border-radius: $corner-radius;
box-shadow: $shadow-z3;
border: 1px solid $border;
background-clip: border-box;
background-color: $surface;
color: $text-secondary;
}
}
//
// preferencespage
//
@@ -63,6 +74,32 @@ preferencesgroup > box {
> box.single-line {
min-height: 34px;
}
button.background-preview-button.toggle {
padding: 0;
background: none;
box-shadow: none;
outline-color: transparent;
outline-width: 3px;
outline-offset: $space-size / 2;
outline-style: solid;
&, > background-preview {
border-radius: $corner-radius;
}
&:hover {
outline-color: $fill;
}
&:active {
outline-color: $track;
}
&:checked {
outline-color: $primary;
}
}
}
//