-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathtree-view-open-files.less
More file actions
94 lines (79 loc) · 1.44 KB
/
tree-view-open-files.less
File metadata and controls
94 lines (79 loc) · 1.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
@import "ui-variables";
.tree-view-open-files {
> .list-tree {
width: 100%;
overflow: auto;
padding-left: 5px;
padding-right: 10px;
}
overflow: auto;
flex: 0 0 1;
position: relative;
order: 0;
.file-path {
color: rgba(171, 173, 164, 0.33);
.project-dir-name {
font-weight: bold;
}
}
.close-open-file {
visibility: hidden;
background: none;
border: none;
margin-left: -24px;
display: inline-block;
color: @text-color;
&:hover {
color: @text-color-highlight;
}
}
.list-item:hover {
.close-open-file {
visibility: visible;
}
}
.close-open-file::before {
font-family: 'Octicons Regular';
font-weight: normal;
font-style: normal;
display: inline-block;
line-height: 1;
-webkit-font-smoothing: antialiased;
text-decoration: none;
font-size: 12px;
width: 12px;
height: 12px;
content: "\f081";
position: relative;
top: -1px;
}
.modified .close-open-file::before {
content: '';
width: 8px;
height: 8px;
border: 2px solid @background-color-info;
border-radius: 12px;
margin: 0 2px;
}
.modified .close-open-file:hover::before {
content: "\f081";
border: none;
border-radius: 0;
width: 12px;
height: 12px;
margin: 0;
}
> .list-tree > .list-nested-item > .list-item {
line-height: 3em;
}
}
.tree-view-resizer .tree-view-scroller {
flex: 1 1;
height: 100%;
overflow: auto;
position: relative;
.tree-view {
height: auto;
min-height: inherit;
}
}