-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathwip-ls-numbered-list-complex.css
69 lines (62 loc) · 1.6 KB
/
wip-ls-numbered-list-complex.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
/* numbered lists */
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
{
counter-increment: lvlNumber;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block div .bullet-container:before
{
content: counters(lvlNumber, ".") ".";
position: absolute;
left: 4px;
top: -10px;
display: block;
margin: 10px;
padding: 00px;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
> .block-children
> .ls-block
{
counter-increment: subNumber;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
> .block-children div .bullet-container:before {
content: counters(lvlNumber, ".") "." counters(subNumber, ".") ".";
left: -4px;
top: -10px;
display: block;
margin: 10px;
padding: 00px;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block div .bullet {
visibility: hidden;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
> .block-children div .bullet {
visibility: visible;
/*
.tree-node-container[data-rem-container-tags~="numbered-list"]
> .TreeNode
> .tree-node-container {
counter-increment: remNumber;
}
.tree-node-container[data-rem-container-tags~="numbered-list"]
> .TreeNode
> .tree-node-container:not(:hover)
> div:first-child .rem-bullet__container:before {
content: counters(remNumber, ".") " ";
position: absolute;
right: 18px;
}*/