refactor(styles): simplify color variables and update CSS constants
Add new color palette file and refactor constant definitions to use variable tokens.
This commit is contained in:
46 files changed
+1789
-1815
No files matched your search
@@ -0,0 +1,54 @@
|
||||
/* Expanded notification group header */
|
||||
#notification-group-header {
|
||||
background-color: @bg-a50;
|
||||
border: 1px solid @bg-a90;
|
||||
border-radius: apply(radius-md) apply(radius-md) 0 0;
|
||||
padding: 8px 12px;
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||
|
||||
#notification-group-title {
|
||||
color: @foreground;
|
||||
font-weight: bold;
|
||||
font-size: apply(font-base);
|
||||
}
|
||||
|
||||
#notification-show-less {
|
||||
background-color: transparent;
|
||||
color: @fg-a70;
|
||||
border: 1px solid @fg-a20;
|
||||
border-radius: apply(radius-xs);
|
||||
padding: 2px 8px;
|
||||
font-size: apply(font-xs);
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
#notification-show-less:hover {
|
||||
background-color: alpha(@fg-a40, 0.7);
|
||||
color: @fg-a90;
|
||||
}
|
||||
|
||||
#notification-close-all {
|
||||
background-color: transparent;
|
||||
color: @fg-a70;
|
||||
border: 1px solid @fg-a20;
|
||||
border-radius: apply(radius-xs);
|
||||
padding: 2px 8px;
|
||||
font-size: apply(font-sm);
|
||||
min-width: 24px;
|
||||
}
|
||||
|
||||
#notification-close-all:hover {
|
||||
background-color: @error-a20;
|
||||
color: @fg-a90;
|
||||
border-color: @error-a40;
|
||||
}
|
||||
|
||||
/* Expanded notification list */
|
||||
#notification-group-expanded {
|
||||
border: 1px solid @bg-a90;
|
||||
border-top: none;
|
||||
border-radius: 0 0 apply(radius-md) apply(radius-md);
|
||||
/* background-color: @shadow-a02; */
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user