Files
Iris/src/scss/components/_lists.scss

106 lines
1.4 KiB
SCSS
Raw Normal View History

.list-item {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: block;
position: relative;
2016-10-25 14:09:53 +13:00
padding: 9px 10px 9px 40px;
2016-11-01 19:27:59 +13:00
border-top: 1px solid $faint_grey;
border-bottom: 1px solid $faint_grey;
margin-bottom: -1px;
2016-10-25 21:36:33 +13:00
@include clearfix;
2016-11-06 18:29:49 +13:00
.source {
color: $mid_grey;
position: absolute;
top: 10px;
right: 15px;
}
&.selected {
background: #FFF39C !important;
}
&:not(.header):hover {
2016-11-01 19:27:59 +13:00
background: $faint_grey;
cursor: pointer;
2016-11-01 19:27:59 +13:00
border-color: $faint_grey;
}
&.header {
font-size: 10px;
color: #CCCCCC;
text-transform: uppercase;
border-top: 0;
padding-bottom: 2px;
}
&.track {
.col {
&.name { width: 40%; }
&.artists,
&.album { width: 26%; }
}
.select-state {
position: absolute;
2016-10-25 14:09:53 +13:00
top: 12px;
left: 15px;
font-size: 10px;
}
&.playing {
2016-10-25 14:09:53 +13:00
font-weight: 600;
}
}
&.playlist {
.col {
&.name {
width: 30%;
}
&.owner {
width: 20%;
}
}
}
}
2016-10-25 21:36:33 +13:00
.artist-list {
.artist {
display: block;
border: 0;
2016-11-04 15:55:17 +13:00
margin-bottom: 5px;
2016-10-25 21:36:33 +13:00
@include clearfix;
.thumbnail {
2016-11-04 15:55:17 +13:00
@include animate();
2016-10-25 21:36:33 +13:00
width: 50px;
2016-11-04 15:55:17 +13:00
margin-right: 15px;
2016-10-25 21:36:33 +13:00
float: left;
border: 3px solid transparent;
}
.name {
2016-11-04 15:55:17 +13:00
display: block;
padding-top: 20px;
2016-10-25 21:36:33 +13:00
}
2016-11-07 21:21:15 +13:00
}
2016-10-25 21:36:33 +13:00
2016-11-07 21:21:15 +13:00
a.artist:hover {
.thumbnail {
border-color: $turquoise;
opacity: 0.8;
2016-10-25 21:36:33 +13:00
}
}
}