cchat-gtk/internal/ui/style.css

57 lines
1.3 KiB
CSS
Raw Normal View History

/*
* Global CSS
*/
/* Make CSS more consistent across themes */
headerbar { padding-left: 0 }
/* .appmenu { margin: 0 20px } */
popover > *:not(stack):not(button) { margin: 6px }
/* Hack to fix the input bar being high in Adwaita */
.input-field * { min-height: 0 }
/* Hide all scroll undershoots */
undershoot { background-size: 0 }
/*
* Server CSS
*/
.top-level .server-list.expanded {
2021-05-05 03:30:50 +00:00
background-color: @theme_bg_color;
}
.top-level .server-list.expanded > .server-button,
.top-level .server-list.expanded > revealer > .server-children {
background-color: mix(alpha(@theme_selected_bg_color, 0.5), @borders, 0.25);
}
.top-level .server-button {
border-radius: 0;
background-color: transparent;
}
/* .top-level .server-button:checked + revealer { */
/* border-left: 2px solid alpha(@borders, 0.75); */
/* } */
.top-level .server-children {
transition: margin-left 100ms;
}
.top-level.expand .server-button:checked + revealer > .server-children {
margin-left: 18px;
}
/* Keep this consistent with server.go's background-color. */
.top-level + stack .top-level {
background-color: alpha(@theme_selected_bg_color, 0.25);
}
/* Prevent inconsistent color when hovering over an active button. */
.server.active-column .server-button:focus {
box-shadow: none;
}