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
128 lines (108 loc) · 2.38 KB
/
Tabs.css
File metadata and controls
128 lines (108 loc) · 2.38 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
.source-header {
border-bottom: 1px solid var(--theme-splitter-color);
width: 100%;
height: 29px;
display: flex;
align-items: flex-end;
}
.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-content-color3);
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: flex-end;
position: relative;
transition: all 0.15s ease;
min-width: 40px;
overflow: hidden;
padding: 5px;
margin-inline-start: 3px;
margin-top: 3px;
cursor: default;
}
.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 img.prettyPrint {
mask: url(/images/prettyPrint.svg) no-repeat;
mask-size: 100%;
padding-top: 12px;
height: 12px;
width: 12px;
background: var(--theme-highlight-blue);
}
.source-tab .prettyPrint path {
fill: var(--theme-textbox-box-shadow);
}
.source-tab .blackBox,
.source-tab .prettyPrint {
align-self: center;
}
.source-tab img.blackBox {
mask: url(/images/blackBox.svg) no-repeat;
mask-size: 100%;
padding-top: 12px;
height: 12px;
width: 12px;
background: var(--theme-highlight-blue);
}
.source-tab .blackBox path {
fill: var(--theme-textbox-box-shadow);
}
.theme-dark .source-tab .blackBox circle {
fill: var(--theme-body-color);
}
.source-tab .filename {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding: 0 4px;
align-self: flex-start;
}
.source-tab .close-btn {
visibility: hidden;
line-height: 0;
}
.source-tab.active .close-btn {
visibility: visible;
}
.source-tab:hover .close-btn {
visibility: visible;
}