File tree Expand file tree Collapse file tree 7 files changed +49
-30
lines changed Expand file tree Collapse file tree 7 files changed +49
-30
lines changed Original file line number Diff line number Diff line change 14
14
.splitter
15
15
button.btn.btn-link.splitter-button.splitter-button-open
16
16
i.fa.fa-caret-left
17
+ |
17
18
i.fa.fa-file-text-o
18
19
19
20
button.btn.btn-link.splitter-button.splitter-button-close
20
21
i.fa.fa-file-text-o
22
+ |
21
23
i.fa.fa-caret-right
22
24
.column.side
23
25
div( data-hook ='documents-subview' )
Original file line number Diff line number Diff line change 1
- .panel-heading. list-filter
1
+ .list-filter
2
2
i.search.octicon-search
3
3
input( type ='search' , placeholder ='filter sources' , data-hook ='search' )
Original file line number Diff line number Diff line change 1
1
div
2
2
.sidebar.panel
3
+ div.scout-logo
3
4
div( data-hook ='collection-filter-subview' )
4
5
div( data-hook ='collection-list-subview' )
5
6
div( data-hook ='sidebar-control-subview' )
Original file line number Diff line number Diff line change 1
1
.sidebar-controls
2
- .panel-heading. list-filter
2
+ .list-filter
3
3
i.search.octicon-search
4
4
input( type ='search' , placeholder ='filter fields' , data-hook ='search' )
Original file line number Diff line number Diff line change 2
2
/* commented colors have been deprecated */
3
3
@green0 : #365221 ;
4
4
@green1 : #507b32 ;
5
- @green2 : #6ba442 ;
6
- @green3 : #89b668 ;
5
+ @green2 : #67b144 ;
6
+ @green3 : #86bc63 ;
7
7
@green4 : #a6c88e ;
8
8
@green5 : #c4dbb3 ;
9
9
19
19
@gray7 : #ebebed ;
20
20
@gray8 : #f5f6f7 ;
21
21
22
+ @slate0 : #4c5259 ;
23
+ @slate1 : #70757a ;
24
+
22
25
@blue3 : #5b81a9 ; // TODO: deprecate
23
26
@blue4 : #84a1bf ; // TODO: deprecate
24
27
@blue5 : #adc0d4 ; // TODO: deprecate
Original file line number Diff line number Diff line change 1
- @sidebar-bg : @pw ;
2
- @sidebar-border : @gray7 ;
1
+ @sidebar-bg : @slate0 ;
3
2
@sidebar-width : 220px ;
4
3
5
4
.sidebar {
9
8
-webkit-transform : translateZ (0 );
10
9
margin-bottom : 0 ;
11
10
11
+ .scout-logo {
12
+ background : @slate1 url(" /images/logo-scout-on-dark.png" ) center center no-repeat ;
13
+ background-size : 140px 28px ;
14
+ width : @sidebar-width ;
15
+ height : 72px ;
16
+ }
17
+
12
18
.list-filter {
13
- margin : 12px 0 ;
19
+ padding : 12px ;
20
+ box-shadow : 0 2px 0 rgba (0 ,0 ,0 ,0.2 );
14
21
15
22
i .search {
16
23
.octicon ;
17
24
position : absolute ;
18
25
margin-top : 9px ;
19
26
margin-left : 10px ;
20
- color : @gray3 ;
27
+ color : @gray5 ;
21
28
}
22
29
input {
23
- .form-control ;
24
30
padding : 5px 5px 5px 30px ;
25
31
height : auto ;
26
- background : @pw ;
27
- // border-color: @gray6;
32
+ background : @slate0 ;
33
+ color : @pw ;
34
+ width : 100% ;
35
+ border : 1px solid lighten (@slate0 , 5% );
28
36
}
29
37
input [type= search] {
30
38
border-radius : 18px ;
31
39
}
32
40
}
33
41
42
+ .panel-title {
43
+ color : @gray5 ;
44
+ }
34
45
.list-group {
35
46
line-height : 24px ;
36
- // height: 100%;
37
47
position : absolute ;
38
- top : 72 px ;
39
- bottom : 180 px ;
48
+ top : 128 px ;
49
+ bottom : 60 px ;
40
50
overflow-y : auto ;
41
51
width : 100% ;
52
+ z-index : -1 ;
42
53
43
54
.list-group-item {
44
55
cursor : pointer ;
45
56
border-top-width : 0 ;
46
57
border-bottom-width : 0 ;
47
- padding : 0 6 px ;
48
- color : @gray3 ;
49
- border-left : 4 px solid transparent ;
58
+ padding : 0 ;
59
+ background : none ;
60
+ color : @gray5 ;
50
61
51
62
a {
52
63
display : block ;
53
- color : @gray3 ;
64
+ color : @gray5 ;
65
+ padding : 0 6px ;
54
66
text-decoration : none ;
55
- max-width : 190px ;
56
67
white-space : nowrap ;
57
68
overflow : hidden ;
58
69
text-overflow : ellipsis ;
70
+ border-left : 4px solid transparent ;
59
71
60
72
& :hover {
61
- color : @gray3 ;
73
+ color : @pw ;
62
74
text-decoration : none ;
63
- background : @gray8 ;
75
+ background : lighten (@slate0 , 5% );
76
+ border-left : 4px solid lighten (@slate0 , 5% );
64
77
}
65
78
}
66
79
i {
70
83
}
71
84
& .active {
72
85
background : none ;
73
- border-left : 4px solid @green2 ;
74
86
75
87
a {
76
- color : @green2 ;
88
+ color : @green3 ;
89
+ border-left : 4px solid @green3 ;
77
90
}
78
91
i {
79
- color : @green2 ;
92
+ color : @green3 ;
80
93
}
81
94
.list-group-item-heading {
82
95
color : @green2 ;
88
101
}
89
102
.sidebar-controls {
90
103
position : absolute ;
104
+ width : @sidebar-width ;
91
105
bottom : 0 ;
92
- width : 218 px ;
93
- height : 174 px ;
94
- border-top : 2 px solid @sidebar-border ;
95
- // background: url(/images/fake-sidebar-controls.png) 0 0 no-repeat ;
96
- // background-size: 218px 174px;
106
+ height : 60 px ;
107
+
108
+ .list-filter {
109
+ box-shadow : 0 -2 px 0 rgba ( 0 , 0 , 0 , 0.2 ) ;
110
+ }
97
111
}
98
112
}
99
113
103
117
bottom : 0 ;
104
118
width : 220px ;
105
119
background : @sidebar-bg ;
106
- border-right : 2px solid @sidebar-border ;
107
120
border-left-width : 0 ;
108
121
border-top-width : 0 ;
109
122
border-bottom-width : 0 ;
You can’t perform that action at this time.
0 commit comments