84 lines
1.4 KiB
CSS
84 lines
1.4 KiB
CSS
/* ~/.config/wofi/style.css */
|
|
|
|
@define-color base #1e1e2e;
|
|
@define-color mantle #181825;
|
|
@define-color surface #313244;
|
|
@define-color overlay #6c7086;
|
|
@define-color text #cdd6f4;
|
|
@define-color subtext #a6adc8;
|
|
@define-color blue #89b4fa;
|
|
@define-color lavndr #b4befe;
|
|
|
|
window {
|
|
background-color: transparent;
|
|
font-family: "JetBrainsMono Nerd Font", "Inter", sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#outer-box {
|
|
background-color: @base;
|
|
border: 2px solid @surface;
|
|
border-radius: 14px;
|
|
padding: 12px;
|
|
}
|
|
|
|
#input {
|
|
background-color: @mantle;
|
|
color: @text;
|
|
border: 1px solid @surface;
|
|
border-radius: 10px;
|
|
padding: 10px 14px;
|
|
margin-bottom: 10px;
|
|
caret-color: @blue;
|
|
}
|
|
|
|
#input:focus {
|
|
border-color: @blue;
|
|
}
|
|
|
|
#scroll {
|
|
margin: 0;
|
|
border: none;
|
|
}
|
|
|
|
#inner-box {
|
|
background-color: transparent;
|
|
}
|
|
|
|
#entry {
|
|
padding: 8px 10px;
|
|
border-radius: 8px;
|
|
margin: 2px 0;
|
|
color: @subtext;
|
|
transition: background-color 120ms ease, color 120ms ease;
|
|
}
|
|
|
|
#entry:selected,
|
|
#entry:hover {
|
|
background-color: @surface;
|
|
color: @text;
|
|
outline: none;
|
|
}
|
|
|
|
#entry:selected {
|
|
box-shadow: inset 3px 0 0 0 @lavndr;
|
|
}
|
|
|
|
/* node type `image`, not `img` — this is the one that actually moves the icon */
|
|
#entry image {
|
|
margin-right: 18px;
|
|
-gtk-icon-transform: scale(0.9);
|
|
}
|
|
|
|
#entry #text {
|
|
color: inherit;
|
|
}
|
|
|
|
#entry:selected #text {
|
|
font-weight: 600;
|
|
}
|
|
|
|
#unselected {
|
|
color: @subtext;
|
|
}
|