|
1 | 1 | .root |
2 | 2 | position relative |
3 | | - height 80px |
4 | 3 | border-bottom $ui-border |
5 | | - padding 0 5px |
| 4 | + padding 2px 5px |
6 | 5 | user-select none |
7 | 6 | cursor pointer |
8 | 7 | transition background-color 0.15s |
9 | 8 | &:hover |
10 | | - background-color alpha($ui-active-color, 10%) |
| 9 | + background-color alpha($ui-active-color, 20%) |
11 | 10 |
|
12 | 11 | .root--active |
13 | 12 | @extend .root |
14 | | - .border |
15 | | - border-color $ui-active-color |
| 13 | + background-color $ui-active-color |
| 14 | + &:hover |
| 15 | + background-color $ui-active-color |
| 16 | + color white |
| 17 | + .info-left-folder |
| 18 | + .info-left-folder-surfix |
| 19 | + .title |
| 20 | + .title-icon |
| 21 | + .title-empty |
| 22 | + .bottom-tagIcon |
| 23 | + .bottom-tagList-item |
| 24 | + .bottom-tagList-empty |
| 25 | + .bottom-time |
| 26 | + color white |
| 27 | + .bottom-tagList-item |
| 28 | + color white |
| 29 | + background-color transparent |
| 30 | + |
16 | 31 |
|
17 | 32 | .border |
18 | 33 | absolute top bottom left right |
|
22 | 37 | transition 0.15s |
23 | 38 |
|
24 | 39 | .info |
25 | | - height 30px |
| 40 | + height 20px |
26 | 41 | clearfix() |
27 | 42 | font-size 12px |
28 | 43 | color $ui-inactive-text-color |
29 | | - line-height 30px |
| 44 | + line-height 20px |
30 | 45 | overflow-y hidden |
31 | 46 |
|
32 | 47 | .info-left |
|
45 | 60 | float right |
46 | 61 |
|
47 | 62 | .title |
| 63 | + height 24px |
| 64 | + box-sizing border-box |
| 65 | + line-height 24px |
48 | 66 | height 20px |
49 | 67 | line-height 20px |
50 | 68 | padding 0 5px 0 0 |
51 | | - font-weight bold |
52 | 69 | overflow ellipsis |
53 | 70 | color $ui-text-color |
| 71 | + |
54 | 72 | .title-icon |
55 | 73 | font-size 12px |
56 | 74 | color $ui-inactive-text-color |
57 | 75 | padding-right 3px |
| 76 | + |
58 | 77 | .title-empty |
59 | 78 | font-weight normal |
60 | 79 | color $ui-inactive-text-color |
61 | 80 |
|
62 | | -.tagList |
63 | | - height 30px |
| 81 | +.bottom |
| 82 | + margin-top 2px |
| 83 | + height 20px |
64 | 84 | font-size 12px |
65 | | - line-height 30px |
| 85 | + line-height 20px |
66 | 86 | overflow ellipsis |
| 87 | + display flex |
67 | 88 |
|
68 | | -.tagList-icon |
| 89 | +.bottom-tagIcon |
69 | 90 | vertical-align middle |
70 | 91 | color $ui-button-color |
| 92 | + height 20px |
| 93 | + line-height 20px |
71 | 94 |
|
72 | | -.tagList-item |
| 95 | +.bottom-tagList |
| 96 | + flex 1 |
| 97 | + overflow ellipsis |
| 98 | + line-height 20px |
| 99 | + |
| 100 | +.bottom-tagList-item |
73 | 101 | margin 0 4px |
74 | 102 | padding 0 4px |
75 | 103 | height 20px |
| 104 | + box-sizing border-box |
76 | 105 | border-radius 3px |
77 | 106 | vertical-align middle |
78 | 107 | border-style solid |
79 | 108 | border-color $ui-button--focus-borderColor |
80 | 109 | border-width 0 0 0 3px |
81 | 110 | background-color $ui-backgroundColor |
| 111 | + color $ui-text-color |
| 112 | + transition 0.15s |
82 | 113 |
|
83 | | -.tagList-empty |
| 114 | +.bottom-tagList-empty |
84 | 115 | color $ui-inactive-text-color |
85 | 116 | vertical-align middle |
| 117 | + font-size 10px |
| 118 | + |
| 119 | +.bottom-time |
| 120 | + color $ui-inactive-text-color |
| 121 | + margin-left 5px |
| 122 | + font-size 10px |
86 | 123 |
|
87 | 124 | body[data-theme="dark"] |
88 | 125 | .root |
89 | 126 | border-color $ui-dark-borderColor |
90 | | - &:hover |
91 | | - background-color alpha($ui-active-color, 20%) |
92 | 127 |
|
93 | 128 | .root--active |
94 | 129 | @extend .root |
95 | | - .border |
96 | | - border-color $ui-active-color |
| 130 | + border-color $ui-dark-borderColor |
| 131 | + &:hover |
| 132 | + background-color $ui-active-color |
| 133 | + .info-left-folder |
| 134 | + .info-left-folder-surfix |
| 135 | + .title |
| 136 | + .title-icon |
| 137 | + .title-empty |
| 138 | + .bottom-tagIcon |
| 139 | + .bottom-tagList-item |
| 140 | + .bottom-tagList-empty |
| 141 | + .bottom-time |
| 142 | + color white |
| 143 | + .bottom-tagList-item |
| 144 | + color white |
| 145 | + background-color transparent |
97 | 146 |
|
98 | 147 | .info |
99 | 148 | color $ui-dark-inactive-text-color |
100 | 149 |
|
101 | 150 | .info-left-folder |
102 | 151 | color $ui-dark-text-color |
| 152 | + |
103 | 153 | .info-left-folder-surfix |
104 | 154 | color $ui-dark-inactive-text-color |
105 | 155 |
|
106 | 156 | .title |
107 | 157 | color $ui-dark-text-color |
| 158 | + |
108 | 159 | .title-icon |
109 | 160 | color $ui-dark-inactive-text-color |
| 161 | + |
110 | 162 | .title-empty |
111 | 163 | color $ui-dark-inactive-text-color |
112 | 164 |
|
113 | | - .tagList-icon |
| 165 | + .tagList-empty |
| 166 | + color $ui-dark-inactive-text-color |
| 167 | + |
| 168 | + .bottom-tagIcon |
114 | 169 | color $ui-dark-button-color |
115 | 170 |
|
116 | | - .tagList-item |
117 | | - border-color $ui-dark-button--focus-borderColor |
| 171 | + .bottom-tagList-item |
| 172 | + color $ui-dark-text-color |
118 | 173 | background-color $ui-dark-backgroundColor |
119 | 174 |
|
120 | | - .tagList-empty |
| 175 | + .bottom-tagList-empty |
| 176 | + color $ui-dark-inactive-text-color |
| 177 | + |
| 178 | + .bottom-time |
121 | 179 | color $ui-dark-inactive-text-color |
0 commit comments