-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
74 lines (68 loc) · 1.61 KB
/
Copy pathstyles.css
File metadata and controls
74 lines (68 loc) · 1.61 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
/* Основной контейнер панели */
#page-structure-extension-sidebar {
position: fixed;
top: 0;
left: 0;
width: 300px;
height: 100vh;
background-color: #ffffff;
box-shadow: 2px 0 10px rgba(0,0,0,0.2);
z-index: 2147483647; /* Максимальный Z-index, чтобы быть поверх всего */
overflow-y: auto;
font-family: Arial, sans-serif;
padding: 15px;
box-sizing: border-box;
color: #333;
text-align: left;
line-height: 1.4;
display: block; /* Показываем сразу при создании */
}
/* Кнопка закрытия */
#page-structure-extension-sidebar .ps-close-btn {
position: absolute;
top: 10px;
right: 15px;
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #666;
}
#page-structure-extension-sidebar h3 {
margin-top: 0;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
font-size: 18px;
}
/* Элементы списка */
.ps-item {
padding: 6px 0;
cursor: pointer;
border-bottom: 1px solid #f9f9f9;
font-size: 14px;
display: flex;
align-items: baseline;
}
.ps-item:hover {
background-color: #f0f0f0;
color: #000;
}
/* Тег (H1, H2...) */
.ps-tag {
background-color: #eee;
color: #555;
font-size: 10px;
padding: 2px 4px;
border-radius: 3px;
margin-right: 8px;
font-weight: bold;
min-width: 20px;
text-align: center;
}
/* Отступы для иерархии */
.ps-h1 { margin-left: 0px; font-weight: bold; }
.ps-h2 { margin-left: 10px; }
.ps-h3 { margin-left: 20px; }
.ps-h4 { margin-left: 30px; }
.ps-h5 { margin-left: 40px; }
.ps-h6 { margin-left: 50px; }