Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (84 loc) · 1.69 KB
/
Copy pathstyles.css
File metadata and controls
97 lines (84 loc) · 1.69 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* css styles */
/* accordion styles: bascially a replica of the accordion-js library, but with important revisions*/
.ac {
--color-white: #fff;
--color-light-grey: #eee;
--color-grey: #8a8a8a;
--color-black: #111;
margin-bottom: 8px;
border: 1px solid var(--color-light-grey);
background-color: var(--bs-body-bg);
box-sizing: border-box;
}
.ac .ac-header {
margin: 0;
padding: 0;
color: var(--color-grey);
}
.ac .ac-trigger {
font:
bold 16px "Arial",
sans-serif;
color: var(--color-grey);
text-align: left;
width: 100%;
padding: 8px 32px 8px 8px;
display: block;
cursor: pointer;
background-color: transparent;
transition: color 0.25s ease;
position: relative;
text-decoration: none;
margin: 0;
border: 0;
}
.ac .ac-trigger::after {
content: "+";
text-align: center;
width: 15px;
transform: translate(0, -50%);
position: absolute;
right: 10px;
top: 50%;
}
.ac .ac-trigger:focus {
color: var(--bs-body-color);
}
.ac .ac-panel {
overflow: hidden;
transition-property: height, visibility;
transition-timing-function: ease;
}
.ac .ac-panel .ac-text {
font:
15px/24px "Arial",
sans-serif;
color: var(--bs-body-color);
padding: 8px;
margin: 0;
}
.ac.js-enabled .ac-panel {
visibility: hidden;
}
.ac.is-active .ac-panel {
visibility: visible;
}
/*
The original selector does not work well
.ac.is-active > .ac-header .ac-trigger::after {
content: "–";
}
*/
.ac.is-active .ac-trigger::after {
content: "\2013";
}
/* This targets the specific link and removes the icon */
.ss-no-icon {
color: grey;
size: lg;
}
.ss-no-icon::after {
display: none !important;
content: none !important;
padding: 0 !important;
}