Turn dir listings into UL, so we can use normal links
This commit is contained in:
@@ -1,40 +1,51 @@
|
||||
.directory-listing {
|
||||
|
||||
table {
|
||||
ul.listing {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-bottom: 6rem;
|
||||
border-collapse: collapse;
|
||||
|
||||
thead {
|
||||
display: none;
|
||||
}
|
||||
tbody {
|
||||
tr {
|
||||
border-bottom: 1px solid #ececec;
|
||||
li {
|
||||
display: table;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #ececec;
|
||||
|
||||
&:first-of-type {
|
||||
border-top: 1px solid #ececec;
|
||||
&:first-of-type {
|
||||
border-top: 1px solid #ececec;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
span {
|
||||
opacity: 0.7;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
td {
|
||||
opacity: 0.7;
|
||||
cursor: pointer;
|
||||
a {
|
||||
display: table-row;
|
||||
text-decoration: none;
|
||||
color: $dark-grey-1;
|
||||
|
||||
span {
|
||||
display: table-cell;
|
||||
padding: 1rem 1.5rem;
|
||||
|
||||
&.icon {
|
||||
width: 1rem;
|
||||
padding-right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
&.name {
|
||||
width: 60%;
|
||||
}
|
||||
&.type {
|
||||
width: 40%;
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
td {
|
||||
padding: 1rem 1.5rem;
|
||||
|
||||
&.icon {
|
||||
width: 1rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
&.type {
|
||||
color: #aaa;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.item-icon {
|
||||
ul.listing span.icon {
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
|
||||
Reference in New Issue
Block a user