mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-10 08:38:43 +00:00
b8901caca2
commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
473 lines
9.2 KiB
CSS
473 lines
9.2 KiB
CSS
html {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
font-family: 'Roboto', serif;
|
|
font-weight: normal;
|
|
background: #a2d1d0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1{
|
|
font-size: 3em;
|
|
color: white;
|
|
text-shadow: 1px 1px 2px #555;
|
|
line-height: 110%;
|
|
text-align: center;
|
|
padding: 0.25em 0;
|
|
margin: 0;
|
|
}
|
|
|
|
h2{
|
|
text-shadow: 1px 1px 2px #555;
|
|
font-size: 2em;
|
|
color: white;
|
|
line-height: 110%;
|
|
text-align: center;
|
|
margin: 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
h3{
|
|
text-shadow: 1px 1px 2px #555;
|
|
color: white;
|
|
text-shadow: 1px 1px 2px #555;
|
|
line-height: 110%;
|
|
text-align: center;
|
|
font-family: 'Roboto', serif;
|
|
font-size: 1.5em;
|
|
text-overflow: clip;
|
|
}
|
|
|
|
h4{
|
|
font-size: 1.5em;
|
|
margin: auto;
|
|
text-align: center;
|
|
font-weight: normal;
|
|
color: white;
|
|
}
|
|
|
|
p{
|
|
text-shadow: 1px 1px 2px #555;
|
|
font-size: 1.25em;
|
|
color: #ffffff;
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
p2{
|
|
font-size: 1em;
|
|
color: black;
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.tittel {
|
|
padding-top: 10em;
|
|
width: 100%;
|
|
margin: auto;
|
|
display: inline-block;
|
|
text-overflow: clip;
|
|
}
|
|
|
|
.content {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.content_landing {
|
|
width: 100%;
|
|
margin: 0;
|
|
height: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.boks {
|
|
margin: auto;
|
|
width: 100%;
|
|
align-items: center;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.boks2 {
|
|
width: 30em;
|
|
max-width: 100%;
|
|
margin: auto;
|
|
position: relative;
|
|
vertical-align: top;
|
|
box-sizing: border-box;
|
|
padding: 2em;
|
|
display: inline-block;
|
|
}
|
|
|
|
.boks3 {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
margin: auto;
|
|
position: relative;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.load_top_10 {
|
|
width: 30em;
|
|
display: inline-block;
|
|
margin: auto;
|
|
max-width: 90%;
|
|
margin-bottom: 2.5em;
|
|
margin-top: 2.5em;
|
|
}
|
|
|
|
.tekst {
|
|
padding: 1em;
|
|
height: 14em;
|
|
float: left;
|
|
display: inline-block;
|
|
top: 0;
|
|
}
|
|
|
|
.status_tekst {
|
|
padding: 1em;
|
|
height: 12em;
|
|
float: left;
|
|
display: inline-block;
|
|
top: 0;
|
|
}
|
|
|
|
.stats_tekst {
|
|
padding: 1em;
|
|
height: 10em;
|
|
float: left;
|
|
display: inline-block;
|
|
top: 0;
|
|
}
|
|
|
|
#stats {
|
|
width: 22em;
|
|
}
|
|
|
|
.warning {
|
|
padding: 0.5em;
|
|
margin: 0.5em;
|
|
background-color: #ffbd55;
|
|
border-radius: 25px;
|
|
color: black;
|
|
font-size: 0.75em;
|
|
}
|
|
|
|
.boks-knapp {
|
|
height: 5em;
|
|
width: 100% !important;
|
|
display: inline-block;
|
|
float: left;
|
|
}
|
|
|
|
.server:hover {
|
|
background-color: white;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.status {
|
|
display: inline-block;
|
|
margin: auto;
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.19);
|
|
background-color: lightslategrey;
|
|
border-radius: 25px;
|
|
padding: 0.5em;
|
|
width: 100%;
|
|
top: 0;
|
|
color: white;
|
|
font-size: 1.25em;
|
|
box-sizing: border-box;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.stats-list {
|
|
max-height: 75em;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.status-title {
|
|
font-size: 1.25em;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.button {
|
|
padding: 0.5em;
|
|
margin: 0.5em;
|
|
font-family: 'Roboto', serif;
|
|
font-size: 1.25em;
|
|
background-color: #f9a825;
|
|
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
|
|
align-self: center;
|
|
color: white;
|
|
padding: 1em;
|
|
}
|
|
|
|
.form {
|
|
font-family: 'Roboto', serif;
|
|
font-size: 1em;
|
|
margin: 0;
|
|
}
|
|
|
|
.form_button {
|
|
font-family: 'Roboto', serif;
|
|
text-align: center;
|
|
background-color: #f9a825;
|
|
color: white;
|
|
border: 0;
|
|
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
|
|
padding: 0.5em;
|
|
font-size: 1em;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
.form_input {
|
|
font-family: 'Roboto', serif;
|
|
font-size: 1em;
|
|
width: 90%;
|
|
margin: 0.5em;
|
|
text-align: center;
|
|
border-radius: 25px;
|
|
border: none;
|
|
height: 2em;
|
|
}
|
|
|
|
.item:hover {
|
|
background-color: #54606d !important;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.item {
|
|
padding: 0.5em;
|
|
display: flex;
|
|
}
|
|
|
|
.gold {
|
|
background-color: #d4af37;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.silver {
|
|
background-color: #C0C0C0 ;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.bronze {
|
|
background-color: #cd7f32;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.list {
|
|
display: inline-block;
|
|
margin: 1em;
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.19);
|
|
background-color: #f2f2f2;
|
|
border-radius: 25px;
|
|
padding: 0.5em;
|
|
text-align: left;
|
|
width: 10em;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
top: 0;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.number {
|
|
text-align: right;
|
|
margin: 0.1em;
|
|
display: inline-block;
|
|
width: 10%;
|
|
vertical-align: top;
|
|
float: left;
|
|
}
|
|
|
|
.info {
|
|
text-align: left;
|
|
margin: 0.1em;
|
|
display: inline-block;
|
|
width: 6em;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.name {
|
|
text-align: right;
|
|
margin: 0.1em;
|
|
display: inline-block;
|
|
width: 90%;
|
|
vertical: center;
|
|
text-overflow: ellipsis;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.you {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.movie_name {
|
|
width: 90%;
|
|
text-align: right;
|
|
display: inline-block;
|
|
margin: 0.1em;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.info_name {
|
|
width: 14em;
|
|
text-align: right;
|
|
display: inline-block;
|
|
margin: 0.1em;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.server {
|
|
width: 10em !important;
|
|
display: inline-block;
|
|
margin: auto;
|
|
text-align: left;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.form-control {
|
|
font-size: 1em;
|
|
padding: 0.5em;
|
|
margin: auto;
|
|
width: 100%;
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
border-radius: 0.25em;
|
|
border: none;
|
|
}
|
|
|
|
.form-group {
|
|
display: inline-block;
|
|
margin: auto;
|
|
float: left;
|
|
padding: 0.5em;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.btn {
|
|
background-color: #ffbd55;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
label {
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type="checkbox" i] {
|
|
transform: scale(1.5);
|
|
cursor: pointer;
|
|
width: auto;
|
|
box-sizing: content-box;
|
|
display: block;
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.footer {
|
|
position: relative;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 2em;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.sign_out {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-content: center;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
background-color: #ffbd55;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 0.25em;
|
|
font-family: 'Roboto', serif;
|
|
padding: 0.25em 0.5em;
|
|
margin: auto;
|
|
}
|
|
|
|
.btn_logo {
|
|
width: 1em;
|
|
height: 1em;
|
|
margin: 0;
|
|
padding: 0 0.25em;
|
|
}
|
|
|
|
/*Snowflakes*/
|
|
.snowflake {
|
|
color: #fff;
|
|
font-size: 1em;
|
|
font-family: Arial;
|
|
text-shadow: 0 0 1px #000;
|
|
}
|
|
|
|
@-webkit-keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@-webkit-keyframes snowflakes-shake{0%{-webkit-transform:translateX(0px);transform:translateX(0px)}50%{-webkit-transform:translateX(80px);transform:translateX(80px)}100%{-webkit-transform:translateX(0px);transform:translateX(0px)}}@keyframes snowflakes-fall{0%{top:-10%}100%{top:100%}}@keyframes snowflakes-shake{0%{transform:translateX(0px)}50%{transform:translateX(80px)}100%{transform:translateX(0px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-animation-name:snowflakes-fall,snowflakes-shake;-webkit-animation-duration:10s,3s;-webkit-animation-timing-function:linear,ease-in-out;-webkit-animation-iteration-count:infinite,infinite;-webkit-animation-play-state:running,running;animation-name:snowflakes-fall,snowflakes-shake;animation-duration:10s,3s;animation-timing-function:linear,ease-in-out;animation-iteration-count:infinite,infinite;animation-play-state:running,running}.snowflake:nth-of-type(0){left:1%;-webkit-animation-delay:0s,0s;animation-delay:0s,0s}.snowflake:nth-of-type(1){left:10%;-webkit-animation-delay:1s,1s;animation-delay:1s,1s}.snowflake:nth-of-type(2){left:20%;-webkit-animation-delay:6s,.5s;animation-delay:6s,.5s}.snowflake:nth-of-type(3){left:30%;-webkit-animation-delay:4s,2s;animation-delay:4s,2s}.snowflake:nth-of-type(4){left:40%;-webkit-animation-delay:2s,2s;animation-delay:2s,2s}.snowflake:nth-of-type(5){left:50%;-webkit-animation-delay:8s,3s;animation-delay:8s,3s}.snowflake:nth-of-type(6){left:60%;-webkit-animation-delay:6s,2s;animation-delay:6s,2s}.snowflake:nth-of-type(7){left:70%;-webkit-animation-delay:2.5s,1s;animation-delay:2.5s,1s}.snowflake:nth-of-type(8){left:80%;-webkit-animation-delay:1s,0s;animation-delay:1s,0s}.snowflake:nth-of-type(9){left:90%;-webkit-animation-delay:3s,1.5s;animation-delay:3s,1.5s}
|
|
|
|
.color-purple {
|
|
background-color: #B9A3D2;
|
|
transition-duration: 1s;
|
|
}
|
|
|
|
.color-pink {
|
|
background-color: #D2A3A4;
|
|
transition-duration: 1s;
|
|
}
|
|
|
|
.color-green {
|
|
background-color: #BBD2A3;
|
|
transition-duration: 1s;
|
|
}
|
|
|
|
.color-brown {
|
|
background-color: #CFA38C;
|
|
transition-duration: 1s;
|
|
}
|
|
|
|
.color-blue {
|
|
background-color: #a2d1d0;
|
|
transition-duration: 1s;
|
|
}
|
|
|
|
.color-black {
|
|
background-color: #39393A;
|
|
transition-duration: 1s;
|
|
}
|