forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTabs.css
More file actions
150 lines (126 loc) · 2.81 KB
/
Tabs.css
File metadata and controls
150 lines (126 loc) · 2.81 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* 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/>. */
.source-header {
border-bottom: 1px solid var(--theme-splitter-color);
width: 100%;
height: 30px;
display: flex;
}
.source-header * {
-moz-user-select: none;
user-select: none;
}
.source-header .new-tab-btn {
padding: 4px;
margin-top: 4px;
margin-left: 2px;
fill: var(--theme-comment);
transition: 0.1s ease;
align-self: center;
}
.source-header .new-tab-btn:hover {
background-color: var(--theme-toolbar-background-hover);
}
.source-header .new-tab-btn svg {
width: 12px;
display: block;
}
.source-tabs {
max-width: calc(100% - 80px);
align-self: flex-start;
}
.source-tab {
border: 1px solid transparent;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
display: inline-flex;
align-items: center;
position: relative;
transition: all 0.15s ease;
min-width: 40px;
max-width: 100%;
overflow: hidden;
padding: 5px;
margin-inline-start: 3px;
margin-top: 3px;
cursor: default;
height: 27px;
}
.source-tab:first-child {
margin-inline-start: 0;
}
.source-tab:hover {
background-color: var(--theme-toolbar-background-alt);
border-color: var(--theme-splitter-color);
}
.source-tab.active {
color: var(--theme-body-color);
background-color: var(--theme-body-background);
border-color: var(--theme-splitter-color);
border-bottom-color: transparent;
}
.source-tab.active path,
.source-tab:hover path {
fill: var(--theme-body-color);
}
.source-tab .source-icon {
margin-inline-end: 0;
}
.source-tab img.prettyPrint,
.source-tab .source-icon.blackBox {
height: 12px;
width: 12px;
align-self: center;
}
.source-tab .prettyPrint path {
fill: var(--theme-textbox-box-shadow);
}
.source-tab img.react {
mask: url(/images/react.svg) no-repeat;
mask-size: 100%;
height: 14px;
width: 14px;
background: var(--theme-highlight-bluegrey);
top: 0;
}
.source-tab .blackBox path {
fill: var(--theme-textbox-box-shadow);
}
.theme-dark .source-tab .blackBox circle {
fill: var(--theme-body-color);
}
img.moreTabs {
mask: url(/mc/command-chevron.svg) no-repeat;
mask-size: 100%;
width: 12px;
height: 12px;
display: block;
background: var(--theme-body-color);
margin-left: 6px;
}
html[dir="rtl"] img.moreTabs {
transform: rotate(180deg);
margin-right: 6px;
}
.source-tab .filename {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding: 0 4px;
align-self: center;
}
.source-tab .filename span {
opacity: 0.7;
padding-left: 4px;
}
.source-tab .close-btn {
visibility: hidden;
line-height: 0;
}
.source-tab.active .close-btn {
visibility: visible;
}
.source-tab:hover .close-btn {
visibility: visible;
}