2017-08-03 13:53:18 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
2017-08-06 15:51:07 +03:00
|
|
|
@import '~bootstrap/scss/mixins/breakpoints';
|
|
|
|
|
@import '~@nebular/theme/components/card/card.component.theme';
|
|
|
|
|
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
|
|
|
|
|
@import '~@nebular/theme/styles/core/mixins';
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
2017-08-06 15:51:07 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
border-left: 2px solid nb-theme(separator);
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.header {
|
|
|
|
|
@include nb-card-header();
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.body {
|
|
|
|
|
padding: nb-theme(card-padding);
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.footer {
|
|
|
|
|
padding: nb-theme(card-padding);
|
|
|
|
|
border-top: 1px solid nb-theme(separator);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cover {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
height: 10rem;
|
|
|
|
|
width: 10rem;
|
|
|
|
|
border-radius: nb-theme(radius) / 2;
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.details {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 1.75rem 0 1.5rem;
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.artist {
|
|
|
|
|
color: nb-theme(color-fg);
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
2017-08-06 15:51:07 +03:00
|
|
|
}
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.progress-wrap {
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
margin: 0 -#{nb-theme(card-padding)};
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.progress-foreground {
|
|
|
|
|
background-color: nb-theme(color-success);
|
|
|
|
|
height: 2px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
margin-top: calc(0.75rem - 1px);
|
|
|
|
|
width: 100px;
|
|
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
background-color: nb-theme(link-color-active);
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.progress {
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: transparent;
|
|
|
|
|
height: 1.5rem;
|
|
|
|
|
outline: none;
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
|
|
@include install-thumb() {
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: nb-theme(color-success);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-top: calc(-0.5rem + 1px);
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
@include install-track() {
|
|
|
|
|
width: 100%;
|
2017-07-14 14:38:25 +03:00
|
|
|
height: 2px;
|
2017-08-06 15:51:07 +03:00
|
|
|
cursor: pointer;
|
|
|
|
|
background: nb-theme(separator);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
@include install-thumb() {
|
|
|
|
|
background: nb-theme(link-color-active);
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-08-06 15:51:07 +03:00
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.timing {
|
|
|
|
|
padding-top: 0.25rem;
|
|
|
|
|
margin: 0 -0.25rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
color: nb-theme(color-fg);
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.controls {
|
|
|
|
|
// TODO fix controls font-size when complete icons fo
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 0.875rem 1.25rem 0;
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
i {
|
2017-07-14 14:38:25 +03:00
|
|
|
display: flex;
|
2017-08-06 15:51:07 +03:00
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.shuffle, .loop {
|
|
|
|
|
font-size: 1.25rem;
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
&.active {
|
|
|
|
|
color: nb-theme(color-success);
|
|
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
color: nb-theme(link-color-active);
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
2017-08-06 15:51:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.prev, .next {
|
|
|
|
|
width: 3.5rem;
|
|
|
|
|
height: 3.5rem;
|
|
|
|
|
border: 2px solid nb-theme(separator);
|
|
|
|
|
border-radius: 50%;
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
&::before {
|
|
|
|
|
font-size: 1.25rem;
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
2017-08-06 15:51:07 +03:00
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.play {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.volume {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 0 1.25rem;
|
|
|
|
|
position: relative;
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.progress-wrap {
|
|
|
|
|
height: 2.25rem;
|
|
|
|
|
margin: 0;
|
|
|
|
|
width: 80%;
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.progress-foreground {
|
|
|
|
|
margin-top: calc(1rem + 1px);
|
|
|
|
|
z-index: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
|
height: 2.25rem;
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
@include install-thumb() {
|
|
|
|
|
width: 1.5rem;
|
|
|
|
|
height: 1.5rem;
|
2017-09-05 15:58:29 +03:00
|
|
|
background-color: nb-theme(color-white);
|
|
|
|
|
box-shadow: 0 0.125rem 0.5rem 0 rgba(nb-theme(color-fg), 0.4);
|
|
|
|
|
border: solid 1px rgba(nb-theme(color-fg), 0.4);
|
2017-08-06 15:51:07 +03:00
|
|
|
margin-top: calc(-0.875rem + 1px);
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 10;
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.quite, .loud {
|
|
|
|
|
color: nb-theme(color-fg);
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.quite {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.loud {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-06 15:20:48 +03:00
|
|
|
@include media-breakpoint-down(xl) {
|
2017-08-06 15:51:07 +03:00
|
|
|
border: none;
|
|
|
|
|
|
|
|
|
|
.header {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.controls, .volume {
|
|
|
|
|
max-width: 20rem;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
|
|
|
|
|
|
.header {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.body {
|
2017-07-14 14:38:25 +03:00
|
|
|
display: flex;
|
2017-08-06 15:51:07 +03:00
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0;
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.footer {
|
|
|
|
|
display: none;
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.cover {
|
|
|
|
|
height: 4.5rem;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
height: 4.5rem;
|
|
|
|
|
width: 4.5rem;
|
|
|
|
|
margin: 0;
|
|
|
|
|
border-radius: 0 0 0 nb-theme(radius);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.details {
|
|
|
|
|
margin-left: 0.875rem;
|
|
|
|
|
text-align: left;
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
|
margin-bottom: 0.125rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress-wrap {
|
|
|
|
|
width: calc(100% - 6rem);
|
|
|
|
|
align-self: flex-start;
|
|
|
|
|
position: absolute;
|
|
|
|
|
margin-top: calc(-0.75rem + 1px);
|
|
|
|
|
margin-left: 4.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.timing {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
2017-09-06 15:20:48 +03:00
|
|
|
.prev, .shuffle, .loop {
|
2017-08-06 15:51:07 +03:00
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.next {
|
|
|
|
|
font-size: 1.8rem;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.play {
|
|
|
|
|
font-size: 2.2rem;
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-06 15:51:07 +03:00
|
|
|
.volume {
|
|
|
|
|
display: none;
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-06 15:20:48 +03:00
|
|
|
|
|
|
|
|
@include media-breakpoint-between(xxl, xxxl) {
|
|
|
|
|
.controls {
|
|
|
|
|
margin: 0.875rem -1rem;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.volume {
|
|
|
|
|
margin: 0 -1rem;
|
|
|
|
|
|
|
|
|
|
i {
|
|
|
|
|
margin: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-14 14:38:25 +03:00
|
|
|
}
|