mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Merge pull request #160 from JonnyWong16/miscellaneous-fixes
Fix mobile layout for home and info pages
This commit is contained in:
commit
39ae387e0e
1 changed files with 28 additions and 18 deletions
|
@ -473,12 +473,12 @@ a .users-poster-face:hover {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 260px;
|
height: 260px;
|
||||||
width: 350px;
|
width: 350px;
|
||||||
margin-right: 25px;
|
margin-right: 20px;
|
||||||
margin-bottom: 25px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.dashboard-activity-poster {
|
.dashboard-activity-poster {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
width: 350px;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -490,8 +490,8 @@ a:hover .dashboard-activity-poster {
|
||||||
.dashboard-activity-poster-face {
|
.dashboard-activity-poster-face {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
height: 200px;
|
height: 100%;
|
||||||
width: 350px;
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -503,13 +503,11 @@ a:hover .dashboard-activity-poster {
|
||||||
z-index: -3;
|
z-index: -3;
|
||||||
}
|
}
|
||||||
.dashboard-activity-cover-face-bg {
|
.dashboard-activity-cover-face-bg {
|
||||||
}
|
|
||||||
.dashboard-activity-poster-music-bg {
|
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
height: 200px;
|
height: 100%;
|
||||||
width: 350px;
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -528,22 +526,22 @@ a:hover .dashboard-activity-poster {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
height: 200px;
|
height: 100%;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
||||||
-moz-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
-moz-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
||||||
box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 77px;
|
left: calc(50% - 100px);
|
||||||
z-index: -3;
|
z-index: -3;
|
||||||
}
|
}
|
||||||
.dashboard-activity-clip-face-bg {
|
.dashboard-activity-clip-face-bg {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
height: 200px;
|
height: 100%;
|
||||||
width: 350px;
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -562,7 +560,7 @@ a:hover .dashboard-activity-poster {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
height: 200px;
|
height: 100%;
|
||||||
width: 130px;
|
width: 130px;
|
||||||
position: relative;
|
position: relative;
|
||||||
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
||||||
|
@ -570,7 +568,7 @@ a:hover .dashboard-activity-poster {
|
||||||
box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 110px;
|
left: calc(50% - 65px);
|
||||||
z-index: -3;
|
z-index: -3;
|
||||||
}
|
}
|
||||||
.dashboard-activity-info-details-overlay {
|
.dashboard-activity-info-details-overlay {
|
||||||
|
@ -605,7 +603,7 @@ a:hover .dashboard-activity-poster {
|
||||||
}
|
}
|
||||||
.dashboard-activity-info-details-content {
|
.dashboard-activity-info-details-content {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
width: 350px;
|
width: 100%;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -698,7 +696,7 @@ a:hover .dashboard-activity-poster {
|
||||||
}
|
}
|
||||||
.dashboard-activity-metadata-wrapper {
|
.dashboard-activity-metadata-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 350px;
|
width: 100%;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
|
@ -932,6 +930,7 @@ a .dashboard-activity-metadata-user-thumb:hover {
|
||||||
background-clip: content-box;
|
background-clip: content-box;
|
||||||
min-height: calc(100% - 200px);
|
min-height: calc(100% - 200px);
|
||||||
position: inherit;
|
position: inherit;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
.summary-content-poster {
|
.summary-content-poster {
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -1892,7 +1891,7 @@ a .home-platforms-instance-list-oval:hover,
|
||||||
}
|
}
|
||||||
.home-platforms-instance .slider {
|
.home-platforms-instance .slider {
|
||||||
background-color: #2d2d2d;
|
background-color: #2d2d2d;
|
||||||
width: 350px;
|
width: calc(100% + 20px);
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 128px;
|
top: 128px;
|
||||||
|
@ -2329,3 +2328,14 @@ a .home-platforms-instance-list-oval:hover,
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen
|
||||||
|
and (min-device-width: 300px)
|
||||||
|
and (max-device-width: 400px) {
|
||||||
|
.home-platforms-instance {
|
||||||
|
width: calc(100% - 20px);
|
||||||
|
}
|
||||||
|
.dashboard-instance {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue