Merge remote-tracking branch 'origin/master'

This commit is contained in:
Roberto Tonino 2020-04-26 19:44:51 +02:00
commit 9e0a42672d
3 changed files with 124 additions and 124 deletions

View File

@ -50,32 +50,32 @@
/* The Modal (background) */ /* The Modal (background) */
.smallmodal { .smallmodal {
display: none; /* Hidden by default */ display: none; /* Hidden by default */
position: fixed; /* Stay in place */ position: fixed; /* Stay in place */
z-index: 1250; /* Sit on top */ z-index: 1250; /* Sit on top */
left: 0; left: 0;
top: 0; top: 0;
width: 100%; /* Full width */ width: 100%; /* Full width */
height: 100%; /* Full height */ height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */ overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */ background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
animation-duration: 0.3s; animation-duration: 0.3s;
} }
/* Modal Content */ /* Modal Content */
.smallmodal-content { .smallmodal-content {
background-color: none; background-color: none;
margin: auto; margin: auto;
width: 30%; width: 30%;
align-items: center; align-items: center;
position: relative; position: relative;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
} }
.smallmodal-content button{ .smallmodal-content button{
width: 100%; width: 100%;
margin-bottom: 8px; margin-bottom: 8px;
} }
@media only screen and (min-width: 601px) { @media only screen and (min-width: 601px) {

View File

@ -1,112 +1,112 @@
.progress { .progress {
position: relative; position: relative;
height: 4px; height: 4px;
display: block; display: block;
width: 100%; width: 100%;
background-color: var(--secondary-background); background-color: var(--secondary-background);
border-radius: 2px; border-radius: 2px;
margin: 0.5rem 0 1rem 0; margin: 0.5rem 0 1rem 0;
overflow: hidden; overflow: hidden;
} }
.progress .determinate { .progress .determinate {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
background-color: var(--accent-color); background-color: var(--accent-color);
-webkit-transition: width .3s linear; -webkit-transition: width .3s linear;
transition: width .3s linear; transition: width .3s linear;
} }
.progress .indeterminate { .progress .indeterminate {
background-color: var(--accent-color); background-color: var(--accent-color);
} }
.progress .indeterminate:before { .progress .indeterminate:before {
content: ''; content: '';
position: absolute; position: absolute;
background-color: inherit; background-color: inherit;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
will-change: left, right; will-change: left, right;
-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
} }
.progress .indeterminate:after { .progress .indeterminate:after {
content: ''; content: '';
position: absolute; position: absolute;
background-color: inherit; background-color: inherit;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
will-change: left, right; will-change: left, right;
-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite; animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
-webkit-animation-delay: 1.15s; -webkit-animation-delay: 1.15s;
animation-delay: 1.15s; animation-delay: 1.15s;
} }
@-webkit-keyframes indeterminate { @-webkit-keyframes indeterminate {
0% { 0% {
left: -35%; left: -35%;
right: 100%; right: 100%;
} }
60% { 60% {
left: 100%; left: 100%;
right: -90%; right: -90%;
} }
100% { 100% {
left: 100%; left: 100%;
right: -90%; right: -90%;
} }
} }
@keyframes indeterminate { @keyframes indeterminate {
0% { 0% {
left: -35%; left: -35%;
right: 100%; right: 100%;
} }
60% { 60% {
left: 100%; left: 100%;
right: -90%; right: -90%;
} }
100% { 100% {
left: 100%; left: 100%;
right: -90%; right: -90%;
} }
} }
@-webkit-keyframes indeterminate-short { @-webkit-keyframes indeterminate-short {
0% { 0% {
left: -200%; left: -200%;
right: 100%; right: 100%;
} }
60% { 60% {
left: 107%; left: 107%;
right: -8%; right: -8%;
} }
100% { 100% {
left: 107%; left: 107%;
right: -8%; right: -8%;
} }
} }
@keyframes indeterminate-short { @keyframes indeterminate-short {
0% { 0% {
left: -200%; left: -200%;
right: 100%; right: 100%;
} }
60% { 60% {
left: 107%; left: 107%;
right: -8%; right: -8%;
} }
100% { 100% {
left: 107%; left: 107%;
right: -8%; right: -8%;
} }
} }
.toast-icon{ .toast-icon{
@ -116,26 +116,26 @@
.circle-loader { .circle-loader {
display: inline-block; display: inline-block;
border: 2px solid var(--accent-color); border: 2px solid var(--accent-color);
border-radius: 50%; border-radius: 50%;
border-bottom: 2px solid var(--secondary-background); border-bottom: 2px solid var(--secondary-background);
width: 16px; width: 16px;
height: 16px; height: 16px;
-webkit-animation: spin 1s linear infinite; /* Safari */ -webkit-animation: spin 1s linear infinite; /* Safari */
animation: spin 1s linear infinite; animation: spin 1s linear infinite;
} }
.toastify .circle-loader{ .toastify .circle-loader{
border-bottom-color: var(--toast-secondary) border-bottom-color: var(--toast-secondary)
} }
/* Safari */ /* Safari */
@-webkit-keyframes spin { @-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); } 0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); } 100% { -webkit-transform: rotate(360deg); }
} }
@keyframes spin { @keyframes spin {
0% { transform: rotate(0deg); } 0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); } 100% { transform: rotate(360deg); }
} }

View File

@ -1,22 +1,22 @@
.preview_controls { .preview_controls {
opacity: 0; opacity: 0;
display: block; display: block;
background: rgba(0, 0, 0, .5); background: rgba(0, 0, 0, .5);
width: 56px; width: 56px;
height: 56px; height: 56px;
text-align: center; text-align: center;
line-height: 56px; line-height: 56px;
position: absolute; position: absolute;
border-radius: 5px; border-radius: 5px;
top: 0; top: 0;
right: 0; right: 0;
} }
.preview_playlist_controls{ .preview_playlist_controls{
cursor:pointer; cursor:pointer;
} }
a.single-cover { a.single-cover {
position: relative; position: relative;
display: inline-block; display: inline-block;
color: white; color: white;
} }