-
Notifications
You must be signed in to change notification settings - Fork 0
/
linked-bookmarks.css
108 lines (100 loc) · 1.81 KB
/
linked-bookmarks.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
body {
overflow:hidden
font-size:16px;
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
}
#mainMenu {
display:block;
text-align:right;
width:100%;
}
#sidebar {
position:absolute;
top:1vh;
left:1vw;
bottom:0;
width:24vw;
margin-right:0;
padding-right:0;
overflow-y:scroll;
}
#MyDisplay, iframe {
position:absolute;
top:0;
left:25vw;
bottom:0;
height:100%;
width:75vw;
border:none;
overflow-y:scroll;
}
body.collapsed #sidebar { width:4vw; }
body.collapsed #MyDisplay { width:96vw; left:4vw;}
body.collapsed #bmarkMenu { display:none; }
.item {
margin-top:0.4em;
}
ul {
list-style-type : none;
margin:0;
padding:0;
}
ul ul {
list-style-type : none;
margin-left:1em;
}
li.item {
margin-bottom:0;
}
/* Remove default bullets */
#myUL ul {
list-style-type: none;
padding-left:1em;
}
/* Remove margins and padding from the parent ul */
#myUL {
margin: 0;
padding: 0;
}
/* Style the caret/arrow */
.caret {
cursor: pointer;
user-select: none; /* Prevent text selection */
}
.item {
cursor: pointer;
user-select: none; /* Prevent text selection */
}
.item::before {
content: "\274f";
content: "\2740";
color: gray;
display: inline-block;
margin-right: 6px;
}
/* Create the caret/arrow with a unicode, and style it */
.caret::before {
content: "\25B6";
/* content: "\266C"; // music notes */
color: gray;
display: inline-block;
margin-right: 6px;
}
#ocbStart.caret::before {
content:"";
}
#ocbStart {
font-weight:bold;
}
/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
transform: rotate(90deg);
}
/* Hide the nested list */
.nested {
display: none;
}
/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
display: block;
}