dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

64 lines1522 bytesCSS
1/* greetd login screen (gtkgreet -l), styled like hypr/hyprlock.conf in the dotfiles:
2 full-screen layer, Hyprland blurs the wallpaper behind it (layer rule in
3 hyprland.lua), translucent black boxes, #eee text, rounding 10. */
4* {
5 font-family: "NotoSans Nerd Font", "Noto Sans", sans-serif;
6 color: #eee;
7 text-shadow: none;
8 box-shadow: none;
9}
10
11window {
12 background-color: rgba(0, 0, 0, 0.25);
13}
14
15#clock {
16 font-weight: 300;
17 margin-bottom: 40px;
18}
19
20/* The "Username:" / "Password:" prompt sits left of the box and can't be
21 moved above it, so hide it; the red "Login failed" label is not a first
22 child and stays visible. */
23#body box > label:first-child {
24 color: transparent;
25 font-size: 1px;
26 min-width: 0;
27 margin: 0;
28 padding: 0;
29}
30
31/* Content fades in just after Hyprland's layer fade (see hyprland.lua). */
32@keyframes greet-in {
33 from { opacity: 0; }
34 to { opacity: 1; }
35}
36
37#body {
38 animation: greet-in 500ms ease-out 150ms backwards;
39}
40
41/* "Login failed" */
42#body box > label:last-child:not(#clock) {
43 animation: greet-in 250ms ease-out;
44}
45
46#input-field {
47 transition: background-color 200ms ease-out;
48 background: rgba(0, 0, 0, 0.2);
49 border: none;
50 border-radius: 10px;
51 min-height: 50px;
52 padding: 0 16px;
53 font-size: 15px;
54 caret-color: #eee;
55}
56
57#input-field:focus {
58 background: rgba(0, 0, 0, 0.28);
59}
60
61/* Session command and buttons: Enter logs in, like the lock screen. */
62#command-selector, button {
63 opacity: 0;
64}