Add file type icons
This commit is contained in:
32
app/styles/components/_directory-listing.scss
Normal file
32
app/styles/components/_directory-listing.scss
Normal file
@@ -0,0 +1,32 @@
|
||||
.directory-listing {
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
margin-bottom: 6rem;
|
||||
border-collapse: collapse;
|
||||
|
||||
thead {
|
||||
display: none;
|
||||
}
|
||||
tbody {
|
||||
tr {
|
||||
border-bottom: 1px solid #ececec;
|
||||
}
|
||||
tr:first-of-type {
|
||||
border-top: 1px solid #ececec;
|
||||
}
|
||||
td {
|
||||
padding: 1rem 1.5rem;
|
||||
|
||||
&.icon {
|
||||
width: 1rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
&.type {
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user