-
Notifications
You must be signed in to change notification settings - Fork 202
Expand file tree
/
Copy pathFreezeButton.css
More file actions
107 lines (92 loc) · 1.92 KB
/
Copy pathFreezeButton.css
File metadata and controls
107 lines (92 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.freeze-btn {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.375rem 0.75rem;
border-radius: 6px;
font-size: 0.8rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
line-height: var(--lh-body);
white-space: nowrap;
}
.freeze-btn:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.freeze-btn--trigger {
border: 1px solid var(--border);
background: var(--surface);
color: var(--text);
}
.freeze-btn--trigger:hover {
border-color: var(--accent);
color: var(--accent);
}
.freeze-btn--freeze {
border: 1px solid rgba(88, 166, 255, 0.3);
background: rgba(88, 166, 255, 0.12);
color: var(--accent);
}
.freeze-btn--freeze:hover {
background: rgba(88, 166, 255, 0.2);
}
.freeze-btn--unfreeze {
border: 1px solid rgba(63, 185, 80, 0.3);
background: rgba(63, 185, 80, 0.12);
color: var(--success);
}
.freeze-btn--unfreeze:hover {
background: rgba(63, 185, 80, 0.2);
}
.freeze-btn--cancel {
border: 1px solid var(--border);
background: var(--surface);
color: var(--muted);
}
.freeze-btn--cancel:hover {
color: var(--text);
border-color: var(--muted);
}
.freeze-btn__icon {
width: 0.875rem;
height: 0.875rem;
flex-shrink: 0;
}
.freeze-confirm {
padding: 0.75rem;
border-radius: 6px;
background: var(--surface);
border: 1px solid var(--border);
min-width: 220px;
}
.freeze-confirm__title {
margin: 0 0 0.35rem;
font-size: 0.85rem;
font-weight: 600;
color: var(--text);
line-height: var(--lh-heading);
}
.freeze-confirm__desc {
margin: 0 0 0.75rem;
font-size: 0.75rem;
color: var(--muted);
line-height: var(--lh-body);
}
.freeze-confirm__actions {
display: flex;
gap: 0.5rem;
justify-content: flex-end;
}
@media (forced-colors: active) {
.freeze-btn {
border: 1px solid ButtonText;
}
.freeze-btn--freeze {
border-color: Highlight;
}
.freeze-btn--unfreeze {
border-color: Highlight;
}
}