Repository navigation
Expand file tree
/
Copy pathcontent.css
More file actions
139 lines (123 loc) · 2.45 KB
/
Copy pathcontent.css
File metadata and controls
139 lines (123 loc) · 2.45 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* Add Note Button */
.yt-notes-add-btn {
background: none;
border: none;
cursor: pointer;
width: 46px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.9;
transition: opacity 0.1s;
vertical-align: top;
}
.yt-notes-add-btn:hover {
opacity: 1;
}
.yt-notes-add-btn svg {
fill: #fff;
width: 90%;
height: 90%;
}
/* Modal Overlay */
.yt-notes-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
z-index: 9999;
display: flex;
justify-content: center;
align-items: center;
}
/* Modal Content */
.yt-notes-modal {
background-color: #212121;
color: #fff;
padding: 24px;
border-radius: 12px;
width: 400px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
gap: 16px;
font-family: Roboto, Arial, sans-serif;
animation: yt-notes-fade-in 0.2s ease-out;
}
@keyframes yt-notes-fade-in {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
.yt-notes-modal h2 {
margin: 0;
font-size: 18px;
font-weight: 500;
}
.yt-notes-modal textarea {
background-color: #121212;
border: 1px solid #3f3f3f;
color: #fff;
padding: 10px;
border-radius: 4px;
font-family: inherit;
font-size: 14px;
resize: vertical;
min-height: 80px;
outline: none;
}
.yt-notes-modal textarea:focus {
border-color: #3ea6ff;
}
.yt-notes-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.yt-notes-btn {
padding: 8px 16px;
border-radius: 18px;
border: none;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: background-color 0.2s;
}
.yt-notes-btn-cancel {
background: transparent;
color: #aaa;
}
.yt-notes-btn-cancel:hover {
color: #fff;
}
.yt-notes-btn-save {
background-color: #3ea6ff;
color: #0f0f0f;
}
.yt-notes-btn-save:hover {
background-color: #65b8ff;
}
/* Toast Notification */
.yt-notes-toast {
position: fixed;
bottom: 80px;
/* Above controls usually */
left: 50%;
transform: translateX(-50%);
background-color: rgba(33, 33, 33, 0.9);
color: #fff;
padding: 8px 16px;
border-radius: 4px;
font-size: 14px;
z-index: 10000;
pointer-events: none;
animation: yt-notes-fade-in 0.2s;
}