Skip to content

Commit 2312839

Browse files
committed
Moved .list into its own class, fixes lists that are not wrapped in .lib (Like the tag list in save)
1 parent 3c42dfb commit 2312839

File tree

1 file changed

+41
-39
lines changed

1 file changed

+41
-39
lines changed

scss/shared.scss

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -56,46 +56,48 @@
5656

5757
overflow-x: hidden;
5858
overflow-y: auto;
59+
}
5960

60-
.item {
61-
padding: $pad;
62-
padding-top: 0.5rem;
63-
padding-bottom: 0.5rem;
64-
border-bottom: solid 1px lighten($lib-bg, 3%);
65-
cursor: pointer;
66-
position: relative;
67-
68-
&:hover, &:hover .detail {
69-
color: $hover-color;
70-
}
71-
72-
.icon {
73-
font-family: $icon-font;
74-
display: inline-block;
75-
vertical-align: middle;
76-
position: relative;
77-
top: -0.05em;
78-
}
79-
80-
.detail {
81-
float: right;
82-
color: darken($lib-color, 22%);
83-
84-
code {
85-
font-weight: bold;
86-
}
87-
}
88-
}
89-
90-
.item.selected, .item.selected .detail {
91-
background: $theme-color;
92-
color: $color;
93-
}
94-
95-
.item.removed {
96-
text-decoration: line-through;
97-
opacity: 0.5;
98-
}
61+
.list {
62+
.item {
63+
padding: $pad;
64+
padding-top: 0.5rem;
65+
padding-bottom: 0.5rem;
66+
border-bottom: solid 1px lighten($lib-bg, 3%);
67+
cursor: pointer;
68+
position: relative;
69+
70+
&:hover, &:hover .detail {
71+
color: $hover-color;
72+
}
73+
74+
.icon {
75+
font-family: $icon-font;
76+
display: inline-block;
77+
vertical-align: middle;
78+
position: relative;
79+
top: -0.05em;
80+
}
81+
82+
.detail {
83+
float: right;
84+
color: darken($lib-color, 22%);
85+
86+
code {
87+
font-weight: bold;
88+
}
89+
}
90+
}
91+
92+
.item.selected, .item.selected .detail {
93+
background: $theme-color;
94+
color: $color;
95+
}
96+
97+
.item.removed {
98+
text-decoration: line-through;
99+
opacity: 0.5;
100+
}
99101
}
100102

101103
.button {

0 commit comments

Comments
 (0)