Pony.fm/resources/assets/styles/mobile.less

516 lines
8 KiB
Text
Raw Normal View History

.small-logo {
display: none;
}
2016-05-20 02:10:31 +02:00
@media only screen and (max-width: 768px) {
html, body {
overflow: hidden !important;
}
body > header {
margin-top: 64px;
}
.site-content {
margin-left: 0px;
overflow: scroll;
2016-05-20 16:15:10 +02:00
padding: 5px;
}
2016-06-20 03:42:20 +02:00
.site-body {
overflow-x: hidden;
}
.now-playing {
2016-07-11 01:41:32 +02:00
margin-left: 0;
2016-07-12 02:03:26 +02:00
left: 0;
width: 100%;
}
.user-details {
position: fixed;
top: 0;
2016-07-11 01:41:32 +02:00
right: 0 !important;
z-index: 1002;
2016-07-11 01:41:32 +02:00
margin-right: 10px !important;
margin-top: 10px;
}
2016-07-11 01:41:32 +02:00
.top-bar {
margin-left: 0;
2016-07-12 01:08:43 +02:00
box-shadow: 0 0 0 transparent;
2016-07-11 01:41:32 +02:00
.burger-wrapper {
display: block;
2016-07-17 03:26:38 +02:00
top: 15px;
left: 15px;
i {
font-size: 32px;
color: #fff;
}
2016-07-11 01:41:32 +02:00
}
.logo {
text-align: center;
vertical-align: middle;
display: block;
margin-left: auto;
margin-right: auto;
2016-05-20 01:18:27 +02:00
height: 50px;
width: 160px;
padding-top: 16px;
> img {
2016-05-20 01:18:27 +02:00
max-height: 90%;
}
}
}
.sidebar {
2016-07-11 01:41:32 +02:00
left: -(@pfm-sidebar-size + 10);
transform: translateX(0px) translateZ(0);
perspective: 1000;
backface-visibility: hidden;
will-change: transform;
z-index: 1011;
height: ~"calc(100% - 64px)";
box-shadow: 0 8px 8px rgba(0,0,0,0.5);
2016-06-20 04:17:32 +02:00
overflow-y: scroll;
> a {
display: none;
}
2016-06-20 03:42:20 +02:00
li {
font-size: 12pt;
a {
padding: 13px 25px;
}
2016-06-20 04:17:32 +02:00
h3 a {
margin-top: -12px;
}
2016-06-20 03:42:20 +02:00
}
&.animated {
transition: transform 0.3s ease;
}
&.active {
2016-07-11 01:41:32 +02:00
transform: translateX(@pfm-sidebar-size + 10) translateZ(0);
}
}
2016-07-16 00:00:22 +02:00
.search-button {
display: block;
position: absolute;
font-size: 22px;
top: 0;
left: 60px;
color: #fff;
2016-07-17 03:26:38 +02:00
padding: 13px 7px 18px;
i {
font-size: 30px;
}
2016-07-16 00:00:22 +02:00
&:hover, &:focus, &:active {
color: #fff;
}
}
2016-07-11 01:41:32 +02:00
.search {
display: none;
2016-07-11 01:41:32 +02:00
width: 100%;
margin-top: 14px;
}
2016-07-11 01:41:32 +02:00
input.search-input {
2016-07-17 03:26:38 +02:00
background: lighten(@pfm-logo-purple, 10%);
2016-07-11 01:41:32 +02:00
border-radius: 0;
}
2016-07-11 01:41:32 +02:00
.search-results {
width: 100%;
2016-07-12 01:08:43 +02:00
.-column1, .-column2 {
padding: 0;
width: 100%;
float: none;
clear: both;
}
}
.track-player {
margin-right: 0px !important;
2016-05-20 17:31:04 +02:00
.inner {
margin-left: 0px !important;
}
.image {
display: none;
}
.buttons {
2016-07-12 01:08:43 +02:00
margin-top: 15px;
margin-right: 5px;
li.volume, li.status {
display: none;
}
2016-07-12 01:08:43 +02:00
li {
font-size: 20px;
a {
width: 40px;
}
}
}
2016-05-20 17:31:04 +02:00
.song, .artist {
margin-bottom: 4px;
2016-07-12 01:08:43 +02:00
margin-left: 5px;
2016-05-20 17:31:04 +02:00
}
.transport {
border-radius: 0px !important;
margin-top: 4px;
height: 10px;
2016-07-12 01:08:43 +02:00
left: 0;
width: 100%;
bottom: 55px;
2016-05-20 17:31:04 +02:00
.bar, .loader-bar {
border-radius: 0px;
}
}
}
.dropdowns {
margin-bottom: 0px;
> li {
margin-bottom: 10px;
> .btn {
font-size: 10pt;
}
}
}
.details-columns {
.cboxElement {
display: none;
}
.right {
float: none;
padding: 0px;
width: auto;
}
.left {
margin-right: 0px;
margin-left: 0px;
margin-top: 10px;
}
}
2016-05-19 12:03:50 +02:00
.stretch-to-bottom {
overflow-y: initial !important;
}
2016-05-19 23:31:04 +02:00
.artist-details {
2016-05-20 16:15:10 +02:00
margin: -5px;
padding-bottom: 10px;
> .stretch-to-bottom {
padding: 0 10px;
.col-md-6 {
padding: 0px;
}
}
2016-05-19 23:31:04 +02:00
> header {
2016-07-17 02:22:59 +02:00
margin: 0 !important;
padding: 20px 0 40px !important;
2016-05-20 17:31:04 +02:00
2016-05-19 23:31:04 +02:00
> img {
float: none !important;
display: block;
width: 50% !important;
height: 50% !important;
margin-left: auto;
margin-right: auto;
}
> .artist-right {
margin-left: 0px !important;
margin-top: 15px !important;
text-align: center;
2016-06-07 20:31:32 +02:00
> h1, .follower-count {
margin-left: auto;
margin-right: auto;
}
2016-05-19 23:31:04 +02:00
> .btn {
margin-left: auto;
margin-right: auto;
}
}
}
2016-07-16 00:00:22 +02:00
.tabs.header {
width: 100vw;
margin-top: -44px;
margin-bottom: 10px;
li a {
color: #fff;
border-bottom: 0;
opacity: 0.5;
text-transform: uppercase;
text-decoration: none;
&:hover {
background: rgba(255, 255, 255, 0.2);
}
}
li.active a {
border-bottom: 4px solid #fff;
background: transparent;
color: #fff;
opacity: 1;
}
}
2016-05-19 23:31:04 +02:00
}
2016-05-20 02:10:31 +02:00
2016-05-20 17:31:04 +02:00
.tabs li a {
padding: 10px 13px;
}
2016-05-20 02:10:31 +02:00
.track-details {
.single-player {
&.visible-xs-block {
float: none;
2016-06-20 03:52:05 +02:00
width: 80%;
height: 80%;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
2016-05-20 02:10:31 +02:00
}
a {
font-size: 22pt;
background: rgba(0, 0, 0, 0.2);
}
}
header {
margin-bottom: 0px;
h1 {
font-size: 16pt;
}
h2 {
font-size: 11pt;
}
h1, h2 {
margin-left: 0px !important;
}
}
}
2016-05-20 16:15:10 +02:00
.two-pane-view.closed .account-tracks-listing li, .two-pane-view.closed .account-albums-listing li {
width: 50% !important;
}
.site-content > .ui-view.loading {
margin: 0px -5px;
}
2016-05-20 21:24:05 +02:00
.track-editor {
form {
padding: 5px;
}
.row .form-row {
width: 97%;
margin-left: 5px !important;
margin-right: 5px;
}
}
.license-grid li {
width: 50%;
div {
margin: 0;
}
}
2016-05-31 01:59:04 +02:00
.notification-pullout {
left: 0;
right: 0;
top: 64px;
width: 100%;
height: ~"calc(100% - 128px)";
2016-07-12 01:26:13 +02:00
transform: translateY(-120%) translateZ(0);
&.active {
transform: translateY(0) translateZ(0);
}
.notif-container {
padding: 10px;
}
2016-05-31 01:59:04 +02:00
}
.notification-menu {
position: fixed;
top: 0;
2016-07-17 03:26:38 +02:00
right: 60px !important;
2016-07-16 00:00:22 +02:00
font-size: 22px;
margin-right: 0 !important;
2016-07-17 03:26:38 +02:00
margin-top: 12px !important;
2016-07-16 00:00:22 +02:00
a {
2016-07-17 03:26:38 +02:00
padding: 13px 7px 22px;
2016-07-16 00:00:22 +02:00
}
a, a:active, a:hover, a:focus {
color: #fff;
}
.counter {
bottom: 0;
right: -1px;
}
}
2016-06-20 03:42:20 +02:00
.news {
display: none;
}
.two-pane-view.open {
.list {
width: auto;
float: none;
margin-bottom: 10px;
}
.editor {
margin-left: 0;
margin-right: 0;
}
}
.tabs {
width: 100%;
overflow-x: scroll;
display: flex;
white-space: nowrap;
border-bottom: 0;
2016-07-16 00:00:22 +02:00
height: 44px;
2016-06-20 03:42:20 +02:00
li {
a {
border-bottom: 4px solid #ddd;
}
}
&::-webkit-scrollbar {
display: none;
}
&.fixed {
position: fixed;
background: #84528a;
top: 64px;
left: 0;
2016-07-12 01:08:43 +02:00
height: 44px;
2016-06-20 03:42:20 +02:00
width: 100%;
border-bottom: 0;
2016-07-12 01:08:43 +02:00
z-index: 600;
2016-06-20 03:42:20 +02:00
li {
a {
background: transparent;
color: #fff;
border-bottom: 0;
}
&.active a {
background: transparent;
color: #fff;
border-bottom: 4px solid #b885bd;
}
}
}
}
2016-06-20 03:45:30 +02:00
.secondary-content {
margin-top: 5px;
2016-06-20 03:42:20 +02:00
}
}
// Super small phones like the iPhone 5
@media only screen and (max-width: 370px) {
.default-logo {
display: none;
}
.small-logo {
display: block;
}
.notification-menu {
top: 0;
2016-07-17 03:26:38 +02:00
right: 55px !important;
margin-top: 14px !important;
}
2016-07-11 01:41:32 +02:00
.top-bar .logo {
margin-left: 55px;
height: 52px;
width: 122px;
padding-top: 18px;
}
2016-07-11 01:59:20 +02:00
.search {
margin-top: 12px;
}
2016-07-16 00:00:22 +02:00
.search-button {
right: 90px;
left: initial;
2016-07-17 03:26:38 +02:00
padding: 15px 7px !important;
2016-07-16 00:00:22 +02:00
}
2016-07-11 01:59:20 +02:00
.top-bar .burger-wrapper {
2016-07-17 03:26:38 +02:00
top: 17px;
left: 11px;
2016-07-11 01:59:20 +02:00
}
2016-07-11 03:04:53 +02:00
.albums-listing, .playlists-listing, .users-listing {
2016-07-11 01:59:20 +02:00
width: 100% !important;
2016-07-11 03:04:53 +02:00
li {
2016-07-12 01:26:13 +02:00
width: 97% !important;
margin: 5px;
2016-07-11 03:04:53 +02:00
a img {
width: 60px;
float: left;
}
.info {
margin-left: 60px;
padding: 2px 5px;
}
}
2016-07-11 01:59:20 +02:00
}
2016-06-20 04:20:20 +02:00
}
@media only screen and (max-height: 500px) {
.x-attribution {
position: static !important;
}
2016-07-11 01:41:32 +02:00
}