Add file type icons
This commit is contained in:
@@ -11,4 +11,5 @@ body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@import "components/directory_listing";
|
||||
@import "components/directory-listing";
|
||||
@import "components/item-icon";
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
td {
|
||||
padding: 1rem 1.5rem;
|
||||
|
||||
&.icon {
|
||||
width: 1rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
&.type {
|
||||
color: #aaa;
|
||||
}
|
||||
8
app/styles/components/_item-icon.scss
Normal file
8
app/styles/components/_item-icon.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.item-icon {
|
||||
|
||||
img {
|
||||
height: 1.2rem;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user