Skip to content

Commit

Permalink
refactor: 🎨 Repositioned the media controls
Browse files Browse the repository at this point in the history
  • Loading branch information
JamsRepos committed Aug 7, 2024
1 parent 6892dd4 commit d1eda7a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
Binary file modified assets/screenshots/details.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 62 additions & 1 deletion theme/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ html {
}
}

@media (max-width: 50em) {
.homeLibraryButton {
width: 100% !important;
}
}

/* Main Drawer */

.layout-desktop,
Expand Down Expand Up @@ -377,11 +383,66 @@ progress {
}

.layout-desktop .detailPagePrimaryContent {
padding-top: 75px;
padding-top: 135px;
padding-left: 300px;
min-height: 325px;
}

.layout-desktop .mainDetailButtons {
padding-top: 350px;
padding-left: 300px;
left: 70px;
position: absolute;
}

.layout-mobile .mainDetailButtons {
display: flex;
flex-flow: wrap;
gap: 10px;
}

.mainDetailButtons .detailButton {
display: inline-flex;
align-items: center;
padding-left: 50px;
position: relative;
}

.btnPlay .detailButton-content:before {
content: "Play";
}

.btnPlayTrailer .detailButton-content:before {
content: "Trailer";
}

.btnPlaystate .detailButton-content:before {
content: "Watched";
}

.btnUserRating .detailButton-content:before {
content: "Favourite";
}

.btnMoreCommands .detailButton-content:before {
content: "Options";
}

.detailButton-content:before {
position: relative;
margin-left: 30px;
}

.detailButton-icon:before {
position: absolute;
top: 7px;
left: 7px;
}

.mainDetailButtons .material-icons {
height: unset;
}

.layout-desktop .detailPagePrimaryContainer,
.layout-desktop .detailPageContent {
padding-left: 3.3% !important;
Expand Down

0 comments on commit d1eda7a

Please sign in to comment.