-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcollapsible.css
54 lines (47 loc) · 1.14 KB
/
collapsible.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
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 4px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
background-color: #ccc;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 0 18px;
display: none;
overflow: hidden;
background-color: #ffffff; /* White */
}
div#diagram.content {
display : block;
overflow : scroll;
height: 100%;
max-height: 1200px;
}
div#repartitionc.content {
overflow-y : scroll;
max-height: 100px;
}
div#edit.content {
overflow-y : scroll;
max-height: 300px;
}
.collapsible::after {
content: '\02795'; /* Unicode character for "plus" sign (+) */
font-size: 13px;
color: white;
float: right;
margin-left: 5px;
}
.active::after {
content: "\2796"; /* Unicode character for "minus" sign (-) */
}