forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccordion.css
More file actions
86 lines (72 loc) · 1.75 KB
/
Accordion.css
File metadata and controls
86 lines (72 loc) · 1.75 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
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
:root {
--accordion-header-background: var(--theme-toolbar-background);
--disclosure-arrow: #b2b2b2;
}
:root.theme-dark {
--accordion-header-background: #222225;
--disclosure-arrow: #7f7f81;
}
.accordion {
background-color: var(--theme-sidebar-background);
width: 100%;
}
.accordion ._header {
background-color: var(--accordion-header-background);
border-bottom: 1px solid var(--theme-splitter-color);
display: flex;
font-size: 12px;
padding: 4px;
transition: all 0.25s ease;
width: 100%;
height: 24px;
align-items: center;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
cursor: default;
}
.accordion ._header:hover {
background-color: var(--theme-toolbar-background-hover);
}
.accordion ._header button svg,
.accordion ._header:hover button svg {
fill: currentColor;
height: 16px;
}
.accordion ._content {
border-bottom: 1px solid var(--theme-splitter-color);
font-size: 12px;
}
.accordion div:last-child ._content {
border-bottom: none;
}
.accordion ._header .header-buttons {
display: flex;
margin-left: auto;
padding-right: 5px;
}
.accordion .header-buttons .add-button {
font-size: 180%;
text-align: center;
line-height: 16px;
}
.accordion .header-buttons button {
color: var(--theme-body-color);
border: none;
background: none;
outline: 0;
padding: 0;
width: 16px;
height: 16px;
}
.accordion .header-buttons button::-moz-focus-inner {
border: none;
}
.accordion .arrow svg {
fill: var(--disclosure-arrow);
}