-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles.css
More file actions
78 lines (69 loc) · 1.76 KB
/
Copy pathstyles.css
File metadata and controls
78 lines (69 loc) · 1.76 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
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');
.enhancer-btn-container {
display: flex;
align-items: center;
gap: 8px;
margin: 8px 0;
flex-wrap: wrap;
position: relative;
z-index: 99999;
}
.enhance-button {
background-color: var(--enhancer-bg, #2a2b32);
color: var(--enhancer-text, #ffffff);
border: 1px solid var(--enhancer-border, #4b5563);
padding: 6px 14px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 0.85em;
border-radius: 16px;
cursor: pointer;
transition: all 0.2s ease-in-out;
font-weight: 500;
font-family: system-ui, -apple-system, sans-serif;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
position: relative;
z-index: 99999;
height: 32px;
line-height: normal;
}
.enhance-button:hover:not(:disabled) {
background-color: var(--enhancer-hover, #3f4148);
}
.enhance-button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.revert-button {
background-color: transparent;
border-color: #ef4444;
color: #ef4444;
}
.revert-button:hover:not(:disabled) {
background-color: rgba(239, 68, 68, 0.1);
}
.enhancer-inline-toast {
font-size: 0.8em;
font-family: system-ui, -apple-system, sans-serif;
opacity: 0;
transition: opacity 0.3s ease;
white-space: nowrap;
z-index: 99999;
}
@media (prefers-color-scheme: light) {
:root {
--enhancer-bg: #f9fafb;
--enhancer-text: #111827;
--enhancer-border: #d1d5db;
--enhancer-hover: #e5e7eb;
}
}
@media (prefers-color-scheme: dark) {
:root {
--enhancer-bg: #1f2937;
--enhancer-text: #f9fafb;
--enhancer-border: #4b5563;
--enhancer-hover: #374151;
}
}