mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-17 02:24:22 +01:00
Updated player and mobile styles
This commit is contained in:
parent
8925365c7e
commit
ea4624d8c0
3 changed files with 58 additions and 34 deletions
58
resources/assets/styles/components/player.less
vendored
58
resources/assets/styles/components/player.less
vendored
|
@ -21,45 +21,44 @@
|
|||
|
||||
body.is-logged {
|
||||
.track-player {
|
||||
margin-right: 130px;
|
||||
margin-right: @pfm-sidebar-size;
|
||||
}
|
||||
}
|
||||
|
||||
.track-player {
|
||||
padding: 10px;
|
||||
padding: 0;
|
||||
|
||||
.image {
|
||||
float: left;
|
||||
width: 43px;
|
||||
height: 43px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 1px;
|
||||
|
||||
img {
|
||||
.box-shadow(none);
|
||||
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
padding: 0px;
|
||||
border: 1px solid #bcbcbc;
|
||||
}
|
||||
|
||||
.loader {
|
||||
.transition(top 250ms linear);
|
||||
.transition(top 250ms @swift-ease-out);
|
||||
|
||||
z-index: 1000;
|
||||
background: rgba(0, 0, 0, .6);
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
top: -50px;
|
||||
left: 2px;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
line-height: 43px;
|
||||
top: -64px;
|
||||
left: 0;
|
||||
width: 64px;
|
||||
height: 66px;
|
||||
line-height: 65px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
margin-top: -2px;
|
||||
|
||||
&.showing {
|
||||
top: 2px;
|
||||
|
@ -68,13 +67,14 @@ body.is-logged {
|
|||
}
|
||||
|
||||
.inner {
|
||||
margin-left: 55px;
|
||||
margin-left: 75px;
|
||||
}
|
||||
|
||||
.song, .artist {
|
||||
.ellipsis();
|
||||
line-height: normal;
|
||||
display: block;
|
||||
font-size: 17px;
|
||||
|
||||
a {
|
||||
color: #555;
|
||||
|
@ -88,6 +88,7 @@ body.is-logged {
|
|||
|
||||
.song {
|
||||
font-weight: bold;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.volume-slider {
|
||||
|
@ -97,13 +98,14 @@ body.is-logged {
|
|||
}
|
||||
|
||||
.transport {
|
||||
.border-radius(4px);
|
||||
|
||||
background: #aaa;
|
||||
height: 5px;
|
||||
position: relative;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
margin-top: 4px;
|
||||
bottom: 58px;
|
||||
left: 64px;
|
||||
width: 100%;
|
||||
width: ~"calc(100% - 244px)";
|
||||
|
||||
.bar {
|
||||
z-index: 500;
|
||||
|
@ -116,8 +118,6 @@ body.is-logged {
|
|||
}
|
||||
|
||||
.bar, .loader-bar {
|
||||
.border-radius(4px);
|
||||
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
|
@ -130,9 +130,10 @@ body.is-logged {
|
|||
margin: 0px;
|
||||
padding: 0px;
|
||||
float: right;
|
||||
margin-top: 12px;
|
||||
|
||||
li.status {
|
||||
font-size: 10pt;
|
||||
font-size: 14px;
|
||||
margin-top: 12px;
|
||||
margin-right: 5px;
|
||||
|
||||
|
@ -146,15 +147,16 @@ body.is-logged {
|
|||
float: left;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: 15pt;
|
||||
font-size: 24px;
|
||||
|
||||
> a {
|
||||
display: block;
|
||||
padding: 5px 0px;
|
||||
width: 40px;
|
||||
padding: 6px 0px;
|
||||
width: 44px;
|
||||
text-align: center;
|
||||
color: #5A5A5A;
|
||||
text-decoration: none !important;
|
||||
.border-radius(22px);
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
|
@ -188,12 +190,16 @@ body.is-logged {
|
|||
&.volume {
|
||||
position: relative;
|
||||
|
||||
> a {
|
||||
.border-radius(0);
|
||||
}
|
||||
|
||||
.volume-slider {
|
||||
display: none;
|
||||
z-index: 1000;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 33px;
|
||||
bottom: 44px;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
background: #ddd;
|
||||
|
|
3
resources/assets/styles/layout.less
vendored
3
resources/assets/styles/layout.less
vendored
|
@ -78,7 +78,7 @@ header {
|
|||
width: 100%;
|
||||
bottom: 0;
|
||||
z-index: 1010;
|
||||
box-shadow: 0 0 8px rgba(0,0,0,0.5);
|
||||
box-shadow: 0 0 6px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
|
@ -265,6 +265,7 @@ header {
|
|||
height: @pfm-top-bar-size;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
.material-shadow(1);
|
||||
|
||||
.burger-wrapper {
|
||||
top:20px;
|
||||
|
|
31
resources/assets/styles/mobile.less
vendored
31
resources/assets/styles/mobile.less
vendored
|
@ -37,6 +37,7 @@
|
|||
|
||||
.top-bar {
|
||||
margin-left: 0;
|
||||
box-shadow: 0 0 0 transparent;
|
||||
|
||||
.burger-wrapper {
|
||||
display: block;
|
||||
|
@ -103,11 +104,17 @@
|
|||
|
||||
.search-results {
|
||||
width: 100%;
|
||||
|
||||
.-column1, .-column2 {
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
float: none;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
.track-player {
|
||||
margin-right: 0px !important;
|
||||
padding: 5px 10px;
|
||||
|
||||
.inner {
|
||||
margin-left: 0px !important;
|
||||
|
@ -118,19 +125,33 @@
|
|||
}
|
||||
|
||||
.buttons {
|
||||
margin-top: 15px;
|
||||
margin-right: 5px;
|
||||
|
||||
li.volume, li.status {
|
||||
display: none;
|
||||
}
|
||||
|
||||
li {
|
||||
font-size: 20px;
|
||||
a {
|
||||
width: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.song, .artist {
|
||||
margin-bottom: 4px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.transport {
|
||||
border-radius: 0px !important;
|
||||
margin-top: 4px;
|
||||
height: 10px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
bottom: 55px;
|
||||
|
||||
.bar, .loader-bar {
|
||||
border-radius: 0px;
|
||||
|
@ -342,10 +363,10 @@
|
|||
background: #84528a;
|
||||
top: 64px;
|
||||
left: 0;
|
||||
height: 41px;
|
||||
height: 44px;
|
||||
width: 100%;
|
||||
border-bottom: 0;
|
||||
z-index: 100;
|
||||
z-index: 600;
|
||||
|
||||
li {
|
||||
a {
|
||||
|
@ -363,10 +384,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.fixed-tabs {
|
||||
padding-top: 41px;
|
||||
}
|
||||
|
||||
.secondary-content {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue