-
Notifications
You must be signed in to change notification settings - Fork 3
/
editor.css
148 lines (136 loc) · 3.07 KB
/
editor.css
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
[role='textbox'] {
counter-reset: list-level-1 list-level-2 list-level-3 list-level-4
list-level-5 list-level-6 list-level-7 list-level-8 list-level-9
list-level-10;
}
[role='textbox'] > :not(.pt-list-item-number) {
counter-set: list-level-1 list-level-2 list-level-3 list-level-4 list-level-5
list-level-6 list-level-7 list-level-8 list-level-9 list-level-10;
}
.pt-list-item {
position: relative;
}
.pt-list-item:before {
position: absolute;
}
.pt-list-item-bullet:before {
content: '●';
}
.pt-list-item-number:before {
content: counter(list-level-1) '.';
}
.pt-list-item-level-1 {
padding-left: 16px;
counter-increment: list-level-1;
}
.pt-list-item-level-1:before {
left: 0;
}
.pt-list-item-level-2 {
padding-left: 24px;
counter-increment: list-level-2;
}
.pt-list-item-level-2:before {
left: 8px;
}
.pt-list-item-number.pt-list-item-level-2:before {
content: counter(list-level-2) '.';
}
.pt-list-item-bullet.pt-list-item-level-2:before {
content: '○';
}
.pt-list-item-level-3 {
padding-left: 32px;
counter-increment: list-level-3;
}
.pt-list-item-level-3:before {
left: 16px;
}
.pt-list-item-number.pt-list-item-level-3:before {
content: counter(list-level-3) '.';
}
.pt-list-item-bullet.pt-list-item-level-3:before {
content: '■';
}
.pt-list-item-level-4 {
padding-left: 40px;
counter-increment: list-level-4;
}
.pt-list-item-level-4:before {
left: 24px;
}
.pt-list-item-number.pt-list-item-level-4:before {
content: counter(list-level-4) '.';
}
.pt-list-item-level-5 {
padding-left: 48px;
counter-increment: list-level-5;
}
.pt-list-item-level-5:before {
left: 30px;
}
.pt-list-item-number.pt-list-item-level-5:before {
content: counter(list-level-5) '.';
}
.pt-list-item-bullet.pt-list-item-level-5:before {
content: '○';
}
.pt-list-item-level-6 {
padding-left: 56px;
counter-increment: list-level-6;
}
.pt-list-item-level-6:before {
left: 36px;
}
.pt-list-item-number.pt-list-item-level-6:before {
content: counter(list-level-6) '.';
}
.pt-list-item-bullet.pt-list-item-level-6:before {
content: '■';
}
.pt-list-item-level-7 {
padding-left: 64px;
counter-increment: list-level-7;
}
.pt-list-item-level-7:before {
left: 44px;
}
.pt-list-item-number.pt-list-item-level-7:before {
content: counter(list-level-7) '.';
}
.pt-list-item-level-8 {
padding-left: 72px;
counter-increment: list-level-8;
}
.pt-list-item-level-8:before {
left: 52px;
}
.pt-list-item-number.pt-list-item-level-8:before {
content: counter(list-level-8) '.';
}
.pt-list-item-bullet.pt-list-item-level-8:before {
content: '○';
}
.pt-list-item-level-9 {
padding-left: 80px;
counter-increment: list-level-9;
}
.pt-list-item-level-9:before {
left: 60px;
}
.pt-list-item-number.pt-list-item-level-9:before {
content: counter(list-level-9) '.';
}
.pt-list-item-bullet.pt-list-item-level-9:before {
content: '■';
}
.pt-list-item-level-10 {
padding-left: 88px;
counter-increment: list-level-10;
}
.pt-list-item-level-10:before {
left: 68px;
}
.pt-list-item-number.pt-list-item-level-10:before {
content: counter(list-level-10) '.';
}