Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
213 lines (181 loc) · 3.38 KB
/
Copy pathstyles.css
File metadata and controls
213 lines (181 loc) · 3.38 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
/* General styles */
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
h1,
h2,
h3 {
color: #2c3e50;
}
/* Button styles */
.button-container {
margin: 20px 0;
display: flex;
gap: 10px;
}
.btn {
display: inline-flex;
align-items: center;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition:
background-color 0.3s,
transform 0.2s;
}
.btn:hover {
transform: translateY(-2px);
}
.btn i {
margin-right: 8px;
}
.btn-primary {
background-color: #3498db;
color: white;
}
.btn-primary:hover {
background-color: #2980b9;
}
.btn-success {
background-color: #2ecc71;
color: white;
}
.btn-success:hover {
background-color: #27ae60;
}
.btn-danger {
background-color: #e74c3c;
color: white;
}
.btn-danger:hover {
background-color: #c0392b;
}
/* Color selector styles */
.color-selector {
margin: 20px 0;
}
.color-selector-container {
display: flex;
align-items: center;
}
.color-label {
font-weight: 500;
color: #2c3e50;
margin-right: 15px;
font-size: 16px;
/* Match the comment-label styling */
}
.color-circles {
display: flex;
gap: 10px;
}
.color-circle-label {
display: inline-block;
cursor: pointer;
}
.color-circle-label input[type='radio'] {
display: none;
}
.color-circle {
display: block;
width: 30px;
height: 30px;
border-radius: 50%;
border: 2px solid transparent;
transition:
transform 0.2s,
border-color 0.2s;
}
.color-circle-label input[type='radio']:checked + .color-circle {
transform: scale(1.1);
border-color: rgba(0, 0, 0, 0.3);
}
/* Comment container styles */
.comment-container {
margin: 20px 0;
display: flex;
flex-direction: column;
}
.comment-label {
font-weight: 500;
color: #2c3e50;
margin-bottom: 5px;
font-size: 16px;
}
#annotation-comment {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-family: 'Roboto', sans-serif;
resize: vertical;
transition: border-color 0.3s;
}
#annotation-comment:focus {
border-color: #3498db;
outline: none;
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
/* Custom color picker style */
.color-circle.custom {
cursor: pointer;
border: 1px solid #ddd;
}
.color-circle.custom:hover {
transform: scale(1.1);
}
#content {
border: 1px solid #ddd;
padding: 20px;
margin-bottom: 20px;
background-color: white;
}
/* Quote attribution styling */
.attribution {
font-style: italic;
text-align: right;
color: #555;
margin-top: 15px;
}
/* Custom highlight styles will be applied inline */
/* Default highlight style for backward compatibility */
.highlight {
background-color: rgba(255, 255, 0, 0.3);
}
/* Default highlight class for backward compatibility */
.annotator-hl {
background-color: rgba(255, 255, 0, 0.3);
}
/* Selected highlight style */
.selected-highlight {
outline: 2px solid #3498db;
box-shadow: 0 0 4px rgba(52, 152, 219, 0.5);
position: relative;
z-index: 1;
}
/* Output section */
#output {
margin-top: 20px;
border: 1px solid #ddd;
padding: 20px;
background-color: #f9f9f9;
}
#annotation-output {
white-space: pre-wrap;
word-break: break-all;
max-height: 300px;
overflow-y: auto;
background-color: #f5f5f5;
padding: 10px;
border-radius: 4px;
font-family: monospace;
font-size: 14px;
}