1diff --git a/scss/tree.scss b/scss/tree.scss
2index c951fc1d79f79d7e08c621afc826a90b5f273b8e..05828dc61747425bebb694e5ce3743b975e94aa7 100644
3--- a/scss/tree.scss
4+++ b/scss/tree.scss
5@@ -1,4 +1,4 @@
6-// This code includes software originally developed by Dustin Sallings.
7+// This code includes software originally developed by Drew DeVault.
8 //
9 // Copyright 2017 Drew DeVault <sir@cmpwn.com>
10 //
11@@ -28,60 +28,64 @@ // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
12 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
14 .tree-list {
15- display: grid;
16- // mode name
17- grid-template-columns: auto 1fr fit-content(40em) auto auto;
18- font-family: $font-family-monospace;
19+ display: grid;
20+ // mode name
21+ grid-template-columns: auto 1fr fit-content(40em) auto auto;
22+ font-family: $font-family-monospace;
23
24- svg {
25- color: #777;
26- }
27+ svg {
28+ color: #777;
29+ }
30
31- .size {
32- text-align: right;
33- }
34+ .size {
35+ text-align: right;
36+ }
37
38- .name.blob a {
39- color: $gray-900;
40- }
41+ .name.blob a {
42+ color: $gray-900;
43+ }
44
45- .mode, .commit, .commit a, .date, .size {
46- color: $gray-700;
47- }
48+ .mode,
49+ .commit,
50+ .commit a,
51+ .date,
52+ .size {
53+ color: $gray-700;
54+ }
55
56- .name.blob {
57- text-overflow: ellipsis;
58- white-space: nowrap;
59- overflow: hidden;
60- }
61+ .name.blob {
62+ text-overflow: ellipsis;
63+ white-space: nowrap;
64+ overflow: hidden;
65+ }
66
67- .commit {
68- text-overflow: ellipsis;
69- white-space: nowrap;
70- overflow: hidden;
71- }
72+ .commit {
73+ text-overflow: ellipsis;
74+ white-space: nowrap;
75+ overflow: hidden;
76+ }
77
78- & > div {
79- padding: 0.1rem 0.5rem;
80- background: transparent;
81+ &>div {
82+ padding: 0.1rem 0.5rem;
83+ background: transparent;
84
85- &.id {
86- text-align: right;
87- }
88+ &.id {
89+ text-align: right;
90+ }
91
92- &.comments {
93- text-align: center;
94- }
95+ &.comments {
96+ text-align: center;
97+ }
98
99- @for $i from 1 through 5 {
100- &:nth-child(5n+#{$i}) {
101- grid-column-start: $i;
102- }
103+ @for $i from 1 through 5 {
104+ &:nth-child(5n+#{$i}) {
105+ grid-column-start: $i;
106+ }
107
108- // Striped rows
109- &:nth-child(10n+#{$i}) {
110- background: rgba(0,0,0,.05);
111- }
112+ // Striped rows
113+ &:nth-child(10n+#{$i}) {
114+ background: rgba(0, 0, 0, .05);
115+ }
116+ }
117 }
118- }
119 }