-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathcontent-tab.component.scss
More file actions
126 lines (113 loc) · 2.44 KB
/
Copy pathcontent-tab.component.scss
File metadata and controls
126 lines (113 loc) · 2.44 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
.window {
display: none;
/*padding: 15px;*/
}
li {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 8px;
max-width: 200px;
min-width: 90px;
height: 30px;
gap: 8px;
position: relative;
box-sizing: border-box;
background-color: var(--el-tab-bg-color);
border-right: 1px solid var(--el-border-color-y);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
transition:
background-color 160ms ease,
box-shadow 160ms ease,
color 160ms ease,
border-color 160ms ease;
&.active {
/* Subtle raised feel */
// background: linear-gradient(
// 180deg,
// rgba(255, 255, 255, 0.03) 0%,
// rgba(255, 255, 255, 0.01) 55%,
// rgba(0, 0, 0, 0.06) 100%
// );
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-left: 1px solid rgba(255, 255, 255, 0.05);
border-right: 1px solid rgba(0, 0, 0, 0.3);
/* Accent at bottom */
box-shadow:
inset 0 -1px 0 0 var(--primary-color),
inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
span {
color: var(--el-icon-color);
}
}
&:hover {
span {
color: var(--el-icon-color);
}
}
&.disconnected {
background-color: var(--el-tab-deactive-bg-color);
}
& > span {
display: flex;
align-items: center;
gap: 4px;
color: #cacaca;
font-size: 13px;
max-width: 164px;
cursor: pointer;
.tab-text {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.view_icon {
margin-right: 5px;
font-style: normal;
display: flex;
width: 14px;
height: 14px;
align-items: center;
background-repeat: no-repeat;
background-position: center;
background-size: 14px 14px;
vertical-align: middle;
&::before {
display: inline-block;
width: 16px;
line-height: 16px;
text-align: center;
color: var(--el-icon-color);
font-family: FontAwesome;
}
}
}
& a.close {
display: flex;
align-items: center;
line-height: 30px;
font-family: 'Roboto', sans-serif;
font-size: 13px;
color: var(--el-icon-color);
cursor: pointer;
}
}
li.hidden {
display: none;
}
li input {
font-size: 13px;
width: 120px;
border: none;
background-color: inherit;
color: white;
padding: 5px 20px 4px 15px;
height: 26px;
&:focus {
outline: none;
border: none;
}
}