2015-12-13 04:42:28 +00:00
|
|
|
@mixin vertical-center() {
|
2016-06-25 16:05:24 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-12-13 04:42:28 +00:00
|
|
|
}
|
|
|
|
|
2016-02-08 12:21:24 +00:00
|
|
|
@mixin artist-album-wrapper() {
|
2016-06-25 16:05:24 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
display: flex;
|
|
|
|
align-content: flex-start;
|
|
|
|
|
|
|
|
.item {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
2016-02-08 12:21:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin artist-album-card() {
|
2016-06-25 16:05:24 +00:00
|
|
|
.item {
|
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
width: 23.5%;
|
|
|
|
position: relative;
|
2016-03-17 09:28:43 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.as-list & {
|
|
|
|
flex-direction: row;
|
|
|
|
display: flex;
|
|
|
|
width: 100% !important;
|
2016-03-17 09:28:43 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.cover {
|
|
|
|
flex: 0 0 80px;
|
|
|
|
height: 80px;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2016-03-17 09:28:43 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
footer {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
2016-03-17 09:28:43 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.as-list &.filler {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@media only screen and (max-width: 1200px) {
|
|
|
|
width: 32%;
|
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@media only screen and (max-width: 960px) {
|
|
|
|
width: 48%;
|
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@media only screen and (max-width: 320px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
html.with-extra-panel & {
|
|
|
|
width: 32%;
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@media only screen and (max-width: 1200px) {
|
|
|
|
width: 48%;
|
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@media only screen and (max-width: 960px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2016-03-27 06:13:17 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.cover {
|
|
|
|
@include vertical_center();
|
|
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 100%;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@mixin control($playBtnWidth, $fontSize, $textIndent) {
|
|
|
|
width: $playBtnWidth;
|
|
|
|
height: $playBtnWidth;
|
|
|
|
line-height: $playBtnWidth;
|
|
|
|
font-size: $fontSize;
|
|
|
|
text-indent: $textIndent;
|
|
|
|
left: calc(50% - #{$playBtnWidth/2});
|
|
|
|
}
|
|
|
|
|
|
|
|
.control {
|
|
|
|
.as-list & {
|
|
|
|
@include control(46px, 27px, 2px);
|
2016-02-08 12:21:24 +00:00
|
|
|
}
|
2016-04-17 15:38:06 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@include control(96px, 54px, 5px);
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
background: #111;
|
|
|
|
border-radius: 50%;
|
|
|
|
opacity: .7;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
transition: .3s;
|
2016-06-04 11:20:11 +00:00
|
|
|
|
|
|
|
&:hover {
|
2016-06-25 16:05:24 +00:00
|
|
|
opacity: 1;
|
|
|
|
border-color: #fff;
|
|
|
|
transform: translateY(-50%) scale(1.1);
|
2016-06-04 11:20:11 +00:00
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
html.touchevents & {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2016-06-05 11:03:58 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:before {
|
|
|
|
content: " ";
|
2016-06-05 11:03:58 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2016-06-25 16:05:24 +00:00
|
|
|
z-index: 0;
|
|
|
|
transition: .3s;
|
|
|
|
}
|
|
|
|
}
|
2016-06-05 11:03:58 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
footer {
|
|
|
|
padding: 16px;
|
|
|
|
background: #333;
|
|
|
|
flex: 1;
|
2016-07-08 00:48:12 +00:00
|
|
|
overflow: hidden;
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
2016-06-05 11:03:58 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.name {
|
|
|
|
font-weight: 500;
|
2016-06-05 11:03:58 +00:00
|
|
|
}
|
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.meta {
|
|
|
|
color: $color2ndText;
|
|
|
|
margin-top: 4px;
|
|
|
|
font-size: .92rem;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.right {
|
|
|
|
a {
|
|
|
|
margin-left: 4px;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:hover {
|
|
|
|
color: $colorHighlight;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
a.name, a.artist {
|
|
|
|
display: block;
|
|
|
|
color: $colorMainText;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:hover {
|
|
|
|
color: $colorHighlight;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.as-list & {
|
|
|
|
display: inline;
|
2016-07-08 00:48:12 +00:00
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
.as-list & {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nope {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:hover {
|
|
|
|
.cover {
|
|
|
|
&:before {
|
|
|
|
background-color: rgba(0, 0, 0, .4);
|
|
|
|
}
|
|
|
|
.control {
|
|
|
|
display: block;
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@mixin artist-album-info-wrapper() {
|
|
|
|
.loading {
|
|
|
|
@include vertical-center();
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info-wrapper {
|
|
|
|
color: $color2ndText;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: $colorMainBgr;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
.close {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
background: $colorRed;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .3s;
|
|
|
|
|
|
|
|
html.touchevents & {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:hover .close {
|
|
|
|
opacity: 1;
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.inner {
|
|
|
|
padding: 24px;
|
|
|
|
overflow: auto;
|
|
|
|
height: 100%;
|
|
|
|
padding-bottom: 48px;
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@mixin artist-album-info() {
|
|
|
|
h1 {
|
|
|
|
font-weight: $fontWeight_UltraThin;
|
|
|
|
line-height: 2.8rem;
|
|
|
|
|
|
|
|
&.name {
|
|
|
|
font-size: 2rem;
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
@include vertical-center();
|
|
|
|
align-items: initial;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
span {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
a {
|
|
|
|
font-size: 14px;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:hover {
|
|
|
|
color: $colorHighlight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bio {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.more {
|
|
|
|
margin-top: 8px;
|
|
|
|
border-radius: .23rem;
|
|
|
|
background: $colorBlue;
|
|
|
|
color: #fff;
|
|
|
|
padding: .3rem .6rem;
|
|
|
|
display: inline-block;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.cover, img.cool-guys-posing {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wiki {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.track-listing {
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
overflow: hidden;
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
margin-bottom: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 8px;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:nth-child(even) {
|
|
|
|
background: rgba(255, 255, 255, 0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.no {
|
|
|
|
flex: 0 0 24px;
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.length {
|
|
|
|
flex: 0 0 48px;
|
|
|
|
text-align: right;
|
|
|
|
opacity: .5;
|
|
|
|
}
|
2016-12-01 12:43:44 +00:00
|
|
|
|
|
|
|
&.available {
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $colorHighlight;
|
|
|
|
}
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin-top: 24px;
|
|
|
|
font-size: .9rem;
|
|
|
|
text-align: right;
|
|
|
|
clear: both;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
font-weight: $fontWeight_Normal;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #b90000;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
.none {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.full {
|
|
|
|
img.cover, img.cool-guys-posing {
|
|
|
|
width: 300px;
|
|
|
|
max-width: 100%;
|
|
|
|
float: left;
|
|
|
|
margin: 0 16px 16px 0;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
h1.name {
|
|
|
|
font-size: 2.4rem;
|
2016-06-05 10:46:40 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
a.shuffle {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
2016-06-05 10:46:40 +00:00
|
|
|
}
|
|
|
|
|
2015-12-13 04:42:28 +00:00
|
|
|
@mixin inset-when-pressed() {
|
2016-06-25 16:05:24 +00:00
|
|
|
&:active {
|
|
|
|
box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,1);
|
|
|
|
}
|
2015-12-13 04:42:28 +00:00
|
|
|
}
|
2015-12-19 16:36:44 +00:00
|
|
|
|
|
|
|
@mixin button-group() {
|
2016-06-25 16:05:24 +00:00
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
min-width: 192px;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
button {
|
|
|
|
$buttonHeight: 28px;
|
|
|
|
|
|
|
|
font-size: .92rem;
|
|
|
|
height: $buttonHeight;
|
|
|
|
padding: 0 1.23rem;
|
|
|
|
line-height: $buttonHeight;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
border-radius: $buttonHeight/2 0px 0px $buttonHeight/2;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-top-right-radius: $buttonHeight/2;
|
|
|
|
border-bottom-right-radius: $buttonHeight/2;
|
|
|
|
}
|
2015-12-19 16:36:44 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
&:not(:first-child) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
margin-left: 1px;
|
|
|
|
}
|
2016-02-08 12:21:24 +00:00
|
|
|
|
2016-06-25 16:05:24 +00:00
|
|
|
i {
|
|
|
|
margin-right: 4px;
|
2015-12-19 16:36:44 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
2015-12-19 16:36:44 +00:00
|
|
|
}
|
2016-01-03 10:24:12 +00:00
|
|
|
|
|
|
|
@mixin context-menu() {
|
2016-06-25 16:05:24 +00:00
|
|
|
font-weight: $fontWeight_Thin;
|
|
|
|
font-size: $fontSize;
|
|
|
|
padding: 4px 0;
|
|
|
|
min-width: 144px;
|
|
|
|
color: #111;
|
|
|
|
background-color: rgb(232, 232, 232);
|
|
|
|
position: fixed;
|
|
|
|
border-radius: 5px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
z-index: 1001;
|
|
|
|
align-items: stretch;
|
|
|
|
text-align: left;
|
|
|
|
box-shadow: inset 0 0px 0 rgba(255,255,255,.6), 0 22px 70px 4px rgba(0,0,0,0.56), 0 0 0 1px rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
|
input[type="search"], input[type="text"], input[type="email"], input[type="url"] {
|
|
|
|
background: #fff;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: $colorDirtyInputBgr;
|
2016-01-03 10:24:12 +00:00
|
|
|
}
|
2016-06-25 16:05:24 +00:00
|
|
|
}
|
2016-01-03 10:24:12 +00:00
|
|
|
}
|