diff --git a/app/assets/css/style.min.css b/app/assets/css/style.min.css index 94e28e3..9b564e3 100644 --- a/app/assets/css/style.min.css +++ b/app/assets/css/style.min.css @@ -1 +1 @@ -:root{--primary-color: #f5f5f5;--secondary-color: #1d93ff;--body-background: var(--primary-color);--navbar-background: var(--primary-color);--notification-background: #ededed;--shadow-light: #efefef;--shadow-dark: #d2d2d2;--border-color: #e6e6e6;--border-blockquote: rgba(137, 161, 255, 0.16);--text-color: #5b5b5b;--text-color-title: black;--text-color-author: #b7b6b6;--text-color-artist: #797979;--active-background: #e2e2e2;--range-background: #ddd;--contrast-border: #c7c7c7;--hover-background: #cbcbcb;--divider-color: #c1c1c1}:root[data-theme=dark]{--primary-color: #212121;--secondary-color: #1d93ff;--body-background: #1c1c1c;--navbar-background: var(--body-background);--notification-background: #2c2c2c;--shadow-light: #1a1a1a;--shadow-dark: #0e0e0e;--border-color: var(--shadow-dark);--border-blockquote: rgba(137, 161, 255, 0.30);--text-color: #9d9d9d;--text-color-title: #bebdbd;--text-color-author: #7a7a7a;--text-color-artist: var(--text-color-author);--active-background: #161616;--range-background: #323232;--contrast-border: #424242;--hover-background: #232323;--divider-color: #404040}@font-face{font-family:"Orienta Regular";src:url("../fonts/Orienta-Regular.ttf") format("truetype")}@font-face{font-family:"Roboto Regular";src:url("../fonts/Roboto-Regular.ttf") format("truetype")}::-webkit-resizer{background-color:var(--body-background)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}::-webkit-scrollbar-track{background:var(--body-background)}body,settings{position:absolute;margin:0;padding:0 15px 0 15px;font-family:"Roboto Regular",sans-serif;color:var(--text-color);background-color:var(--body-background);width:calc(100% - 30px);height:100%}h2{line-height:60px;margin:0;text-align:center;color:var(--text-color)}h3{margin:15px 0 0 0;display:block;color:var(--text-color)}label{margin:0 0 5px 0;display:block}input{transition:.2s;height:30px;line-height:15px;font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);width:100%;background-color:var(--body-background);padding:0 10px;border:none;border-radius:5px;box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light)}input:focus:not([readonly]){box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light)}input:focus-visible{outline:none}input[readonly]{cursor:default;box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light)}input[aria-disabled=true]{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist);cursor:default}button,.toggle{user-select:none;cursor:pointer;border:none;border-radius:5px;box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark);font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);background-color:var(--body-background);height:30px;display:inline-block}button:hover,.toggle:hover{box-shadow:-1px -1px 2px var(--shadow-light),1px 1px 2px var(--shadow-dark)}button:active,.toggle:active{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light)}button>svg,.toggle>svg{font-size:20px;padding:0 10px}button[aria-disabled=true],.toggle[aria-disabled=true]{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist);cursor:default}p{margin:0}progress[value]{appearance:none;width:100%;height:30px}progress::-webkit-progress-value{background:var(--shadow-dark)}progress::-webkit-progress-bar{background:var(--body-background)}settings{position:absolute;left:0;top:100%;z-index:1;display:none}settings>div:not(.toggle){margin:15px 0 0 0}settings .hidden{display:unset}settings .audioSettings,settings .videoSettings{display:none}settings .audioSettings.visible,settings .videoSettings.visible{display:block}settings #nav{margin:0 !important;padding:0 !important;background-color:var(--body-background);z-index:1;transition:.2s;height:65px}settings #nav.shadow{box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark)}settings #nav.static{position:fixed;left:0;top:0;width:100%}settings #nav.static+.row{margin-top:65px}settings>.row:last-of-type{padding-bottom:50px !important}#link-count{font-size:13px;opacity:0}#contextMenu{position:absolute;display:none;border-radius:5px;padding:5px;background-color:var(--notification-background);box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark)}#contextMenu>div{cursor:pointer;border-radius:2px;padding:2px 4px;display:flex}#contextMenu>div>p{white-space:nowrap}#contextMenu>div>.select{position:absolute;background-color:var(--notification-background);box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark);display:none;padding:5px}#contextMenu>div>.select>.option{padding:4px;border-radius:2px;white-space:nowrap}#contextMenu>div>.select>.option.active{background-color:var(--active-background)}#contextMenu>div>.select>.option:hover{background-color:var(--hover-background)}#contextMenu>div>.select.show{display:table}#contextMenu>div:hover{background-color:var(--hover-background)}#contextMenu.show{display:initial}#info-close{position:absolute;right:10px;top:0}#info-open{left:15px}#settings-open,#settings-close{right:70px}#updateNotification{position:fixed;bottom:20px;left:20px;width:250px;padding:20px;border-radius:5px;color:var(--text-color);background-color:var(--notification-background);box-shadow:1px 1px 1px var(--shadow-dark),-1px -1px 1px var(--shadow-light)}#updateNotification .message{margin:0 0 10px 0}#updateNotification.hidden{display:none}#updateNotification .restart-button{margin:0 0 0 10px}#updateNotification .restart-button.hidden{display:none}#info{background-color:var(--body-background);z-index:2;overflow:auto;display:none;position:fixed;width:500px;height:450px;left:0;right:0;margin:5% auto;padding:0 20px;border-top:20px solid var(--body-background);border-bottom:20px solid var(--body-background);border-radius:5px;box-shadow:1px 1px 1px var(--shadow-dark),-1px -1px 1px var(--shadow-light)}#info #dynamic{white-space:pre-wrap}#info #dynamic a{color:#1971d3;text-decoration:none}#info.show{display:initial}#info.show~settings{filter:blur(2px)}.text-button{padding:5px 10px;margin:10px 0 5px 0}.hidden{display:none;opacity:0;pointer-events:none}.toggle{display:inline-flex;justify-content:center;align-items:center;position:absolute;top:10px;border-radius:20px;height:40px;width:40px}.theme-toggler{right:25px}.divider{border:1px solid var(--divider-color)}.flex{display:flex}.flex>*{margin:0 2px}.listBox{box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light);border-radius:5px}.listBox>ul{padding:0 2px 0 0;margin:15px 0 7px 0;overflow:auto;width:100%;height:150px;resize:vertical}.listBox>ul li:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.listBox>ul li:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.listBox>ul li{transition:.2s;padding:5px 10px;display:block;font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);cursor:pointer;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.listBox>ul li.active{background-color:#3f6d952b}.listBox .delete-button,.listBox .clear-button{float:right}.listBox .clear-button{margin:0 10px 0 0}.listBox[aria-disabled=true]{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist)}.listBox[aria-disabled=true] li{cursor:default}.notification{font-family:"Roboto Regular",sans-serif;color:var(--text-color);background-color:var(--notification-background);box-shadow:1px 1px 1px var(--shadow-dark),-1px -1px 1px var(--shadow-light);left:0;bottom:10px;z-index:3;padding:10px 15px;position:fixed;opacity:0;border-radius:3px}.select{user-select:none;outline:none;border:none;height:30px;line-height:15px;font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);background-color:var(--body-background);border-radius:5px}.select>div{margin:0 !important}.select .head{transition:.2s;cursor:pointer;box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark);border-radius:5px;padding:10px}.select .head>*{display:inline-block}.select .head svg{float:right;padding:0 0 0 10px}.select .head:hover{box-shadow:-1px -1px 2px var(--shadow-light),1px 1px 2px var(--shadow-dark)}.select .body{height:0;padding:0 10px;overflow:hidden}.select .body .option{cursor:pointer;transition:.2s;padding:5px;border-radius:2px;height:15px}.select .body .option[aria-disabled=true]{color:var(--text-color-artist)}.select .body .option:hover:not([aria-disabled=true]):not([aria-selected=true]){background-color:var(--hover-background)}.select .body .option[aria-selected=true]{background-color:var(--active-background)}.select.active.top>.body{margin-top:-155px !important;border-radius:5px 5px 0 0}.select.active.top>.head{border-radius:0 0 5px 5px}.select.active .head{border-radius:5px 5px 0 0;box-shadow:inset 1px 1px 2px var(--shadow-dark),0 0 0 var(--shadow-dark),inset -1px -1px 2px var(--shadow-light),inset -1px -1px 2px var(--shadow-light)}.select.active .body{box-shadow:0 0 0 var(--shadow-dark),inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light),inset -1px -1px 2px var(--shadow-light);max-height:100px;overflow:auto;height:initial;padding:10px;border-radius:0 0 5px 5px}.select[aria-disabled=true] .head{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist);cursor:default}.row{display:flex;justify-content:space-between}.row span{margin:0 0 0 10px;font-weight:bold}.row .row{justify-content:flex-start}.row .column:first-of-type{border-left:unset}.row .column{border-left:1px solid #000;width:100%}.row .column>*{width:90%;margin:15px auto;position:relative}.checkbox{transition:.2s;box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light);width:45px;height:20px;border-radius:5px;background-color:var(--body-background);position:relative;display:inline-block;cursor:pointer}.checkbox .toggle{transition:.2s;position:absolute;width:14px;height:14px;top:3px;left:6px;border-radius:8px;background-color:var(--text-color)}.checkbox.active{box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark)}.checkbox.active .toggle{left:25px}.progress-song{margin:10px 0}.progress-total{margin:25px 0 0 0}.progress-song,.progress-total{user-select:none;padding:5px;border-radius:5px;box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light);height:30px;position:relative}.progress-song .info,.progress-total .info{display:flex;line-height:30px;position:absolute}.progress-song .info>*,.progress-total .info>*{margin:0 5px}.startAbort{position:static;margin:30px 0 0 0;padding:0 0 15px 0;text-align:center;user-select:none}/*# sourceMappingURL=style.min.css.map */ +:root{--primary-color: #f5f5f5;--secondary-color: #1d93ff;--body-background: var(--primary-color);--navbar-background: var(--primary-color);--notification-background: #ededed;--shadow-light: #efefef;--shadow-dark: #d2d2d2;--border-color: #e6e6e6;--border-blockquote: rgba(137, 161, 255, 0.16);--text-color: #5b5b5b;--text-color-title: black;--text-color-author: #b7b6b6;--text-color-artist: #797979;--active-background: #e2e2e2;--range-background: #ddd;--contrast-border: #c7c7c7;--hover-background: #cbcbcb;--divider-color: #c1c1c1}:root[data-theme=dark]{--primary-color: #212121;--secondary-color: #1d93ff;--body-background: #1c1c1c;--navbar-background: var(--body-background);--notification-background: #2c2c2c;--shadow-light: #1a1a1a;--shadow-dark: #0e0e0e;--border-color: var(--shadow-dark);--border-blockquote: rgba(137, 161, 255, 0.30);--text-color: #9d9d9d;--text-color-title: #bebdbd;--text-color-author: #7a7a7a;--text-color-artist: var(--text-color-author);--active-background: #161616;--range-background: #323232;--contrast-border: #424242;--hover-background: #232323;--divider-color: #404040}@font-face{font-family:"Orienta Regular";src:url("../fonts/Orienta-Regular.ttf") format("truetype")}@font-face{font-family:"Roboto Regular";src:url("../fonts/Roboto-Regular.ttf") format("truetype")}::-webkit-resizer{background-color:var(--body-background)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#555}::-webkit-scrollbar-track{background:var(--body-background)}body,settings{position:absolute;margin:0;padding:0 15px 0 15px;font-family:"Roboto Regular",sans-serif;color:var(--text-color);background-color:var(--body-background);width:calc(100% - 30px);height:100%}h2{line-height:60px;margin:0;text-align:center;color:var(--text-color)}h3{margin:15px 0 0 0;display:block;color:var(--text-color)}label{margin:0 0 5px 0;display:block}input{transition:.2s;height:30px;line-height:15px;font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);width:100%;background-color:var(--body-background);padding:0 10px;border:none;border-radius:5px;box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light)}input:focus:not([readonly]){box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light)}input:focus-visible{outline:none}input[readonly]{cursor:default;box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light)}input[aria-disabled=true]{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist);cursor:default}button,.toggle{user-select:none;cursor:pointer;border:none;border-radius:5px;box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark);font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);background-color:var(--body-background);height:30px;display:inline-block}button:hover,.toggle:hover{box-shadow:-1px -1px 2px var(--shadow-light),1px 1px 2px var(--shadow-dark)}button:active,.toggle:active{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light)}button>svg,.toggle>svg{font-size:20px;padding:0 10px}button[aria-disabled=true],.toggle[aria-disabled=true]{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist);cursor:default}p{margin:0}progress[value]{appearance:none;width:100%;height:30px}progress::-webkit-progress-value{background:var(--shadow-dark)}progress::-webkit-progress-bar{background:var(--body-background)}settings{position:absolute;left:0;top:100%;z-index:1;display:none}settings>div:not(.toggle){margin:15px 0 0 0}settings .hidden{display:unset}settings .audioSettings,settings .videoSettings{display:none}settings .audioSettings.visible,settings .videoSettings.visible{display:block}settings #nav{margin:0 !important;padding:0 !important;background-color:var(--body-background);z-index:1;transition:.2s;height:65px}settings #nav.shadow{box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark)}settings #nav.static{position:fixed;left:0;top:0;width:100%}settings #nav.static+.row{margin-top:65px}settings>.row:last-of-type{padding-bottom:50px !important}#link-count{font-size:13px;opacity:0}#contextMenu{position:absolute;display:none;border-radius:5px;padding:5px;background-color:var(--notification-background);box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark)}#contextMenu>div{cursor:pointer;border-radius:2px;padding:2px 4px;display:flex}#contextMenu>div>p{white-space:nowrap}#contextMenu>div>.select{position:absolute;background-color:var(--notification-background);box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark);display:none;padding:5px}#contextMenu>div>.select>.option{padding:4px;border-radius:2px;white-space:nowrap}#contextMenu>div>.select>.option.active{background-color:var(--active-background)}#contextMenu>div>.select>.option:hover{background-color:var(--hover-background)}#contextMenu>div>.select.show{display:table}#contextMenu>div:hover{background-color:var(--hover-background)}#contextMenu.show{display:initial}#info-close{position:absolute;right:10px;top:0}#info-open{left:15px}#settings-open,#settings-close{right:70px}#updateNotification{position:fixed;bottom:20px;left:20px;width:250px;padding:20px;border-radius:5px;color:var(--text-color);background-color:var(--notification-background);box-shadow:1px 1px 1px var(--shadow-dark),-1px -1px 1px var(--shadow-light)}#updateNotification .message{margin:0 0 10px 0}#updateNotification.hidden{display:none}#updateNotification .restart-button{margin:0 0 0 10px}#updateNotification .restart-button.hidden{display:none}#info{background-color:var(--body-background);z-index:2;overflow:auto;display:none;position:fixed;width:500px;height:450px;left:0;right:0;margin:5% auto;padding:0 20px;border-top:20px solid var(--body-background);border-bottom:20px solid var(--body-background);border-radius:5px;box-shadow:1px 1px 1px var(--shadow-dark),-1px -1px 1px var(--shadow-light)}#info #dynamic{white-space:pre-wrap}#info #dynamic a{color:#1971d3;text-decoration:none}#info.show{display:initial}#info.show~settings{filter:blur(2px)}.text-button{padding:5px 10px;margin:10px 0 5px 0}.hidden{display:none;opacity:0;pointer-events:none}.toggle{display:inline-flex;justify-content:center;align-items:center;position:absolute;top:10px;border-radius:20px;height:40px;width:40px}.theme-toggler{right:25px}.divider{border:1px solid var(--divider-color)}.flex{display:flex}.flex>*{margin:0 2px}.listBox{box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light);border-radius:5px}.listBox>ul{padding:0 2px 0 0;margin:15px 0 7px 0;overflow:auto;width:100%;height:150px;resize:vertical}.listBox>ul li:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.listBox>ul li:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.listBox>ul li{transition:.2s;padding:5px 10px;display:block;font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);cursor:pointer;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.listBox>ul li.active{background-color:#3f6d952b}.listBox .delete-button,.listBox .clear-button{float:right}.listBox .clear-button{margin:0 10px 0 0}.listBox[aria-disabled=true]{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist)}.listBox[aria-disabled=true] li{cursor:default}.notification{font-family:"Roboto Regular",sans-serif;color:var(--text-color);background-color:var(--notification-background);box-shadow:1px 1px 1px var(--shadow-dark),-1px -1px 1px var(--shadow-light);left:0;bottom:10px;z-index:3;padding:10px 15px;position:fixed;opacity:0;border-radius:3px}.select{user-select:none;outline:none;border:none;height:30px;line-height:15px;font-size:15px;font-family:"Orienta Regular",sans-serif;color:var(--text-color);background-color:var(--body-background);border-radius:5px}.select>div{margin:0 !important}.select .head{transition:.2s;cursor:pointer;box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark);border-radius:5px;padding:10px}.select .head>*{display:inline-block}.select .head svg{float:right;padding:0 0 0 10px}.select .head:hover{box-shadow:-1px -1px 2px var(--shadow-light),1px 1px 2px var(--shadow-dark)}.select .body{height:0;padding:0 10px;overflow:hidden;position:relative}.select .body .option{cursor:pointer;transition:.2s;padding:5px;border-radius:2px;height:15px}.select .body .option[aria-disabled=true]{color:var(--text-color-artist)}.select .body .option:hover:not([aria-disabled=true]):not([aria-selected=true]){background-color:var(--hover-background)}.select .body .option[aria-selected=true]{background-color:var(--active-background)}.select.active.top>.body{margin-top:-155px !important;border-radius:5px 5px 0 0}.select.active.top>.head{border-radius:0 0 5px 5px}.select.active .head{border-radius:5px 5px 0 0;box-shadow:inset 1px 1px 2px var(--shadow-dark),0 0 0 var(--shadow-dark),inset -1px -1px 2px var(--shadow-light),inset -1px -1px 2px var(--shadow-light)}.select.active .body{box-shadow:0 0 0 var(--shadow-dark),inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light),inset -1px -1px 2px var(--shadow-light);max-height:100px;overflow:auto;height:initial;padding:10px;border-radius:0 0 5px 5px}.select[aria-disabled=true] .head{box-shadow:inset 1px 1px 2px var(--shadow-dark),inset -1px -1px 2px var(--shadow-light);color:var(--text-color-artist);cursor:default}.row{display:flex;justify-content:space-between}.row span{margin:0 0 0 10px;font-weight:bold}.row .row{justify-content:flex-start}.row .column:first-of-type{border-left:unset}.row .column{border-left:1px solid #000;width:100%}.row .column>*{width:90%;margin:15px auto;position:relative}.checkbox{transition:.2s;box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light);width:45px;height:20px;border-radius:5px;background-color:var(--body-background);position:relative;display:inline-block;cursor:pointer}.checkbox .toggle{transition:.2s;position:absolute;width:14px;height:14px;top:3px;left:6px;border-radius:8px;background-color:var(--text-color)}.checkbox.active{box-shadow:-2px -2px 3px var(--shadow-light),2px 2px 3px var(--shadow-dark)}.checkbox.active .toggle{left:25px}.progress-song{margin:10px 0}.progress-total{margin:25px 0 0 0}.progress-song,.progress-total{user-select:none;padding:5px;border-radius:5px;box-shadow:inset 2px 2px 5px var(--shadow-dark),inset -5px -5px 7px var(--shadow-light);height:30px;position:relative}.progress-song .info,.progress-total .info{display:flex;line-height:30px;position:absolute}.progress-song .info>*,.progress-total .info>*{margin:0 5px}.startAbort{position:static;margin:30px 0 0 0;padding:0 0 15px 0;text-align:center;user-select:none}/*# sourceMappingURL=style.min.css.map */ diff --git a/app/assets/css/style.min.css.map b/app/assets/css/style.min.css.map index 47791e7..4c9393a 100644 --- a/app/assets/css/style.min.css.map +++ b/app/assets/css/style.min.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/variables.scss","../scss/style.scss"],"names":[],"mappings":"AAAA,MACE,yBACA,2BACA,wCACA,0CACA,mCACA,wBACA,uBACA,wBACA,+CACA,sBACA,0BACA,6BACA,6BACA,6BACA,yBACA,2BACA,4BACA,yBAGF,uBACE,yBACA,2BACA,2BACA,4CACA,mCACA,wBACA,uBACA,mCACA,+CACA,sBACA,4BACA,6BACA,8CACA,6BACA,4BACA,2BACA,4BACA,yBCrCF,WACE,8BACA,2DAGF,WACE,6BACA,0DAGF,kBACE,wCAGF,oBACE,WACA,YAGF,0BACE,gBACA,kBAEA,gCACE,gBAIJ,0BACE,kCAGF,cACE,kBACA,SACA,sBACA,wCAEA,wBACA,wCAEA,wBACA,YAGF,GACE,iBACA,SACA,kBAEA,wBAGF,GACE,kBACA,cAEA,wBAGF,MACE,iBACA,cAGF,MACE,eAEA,YACA,iBAEA,eACA,yCACA,wBAEA,WACA,wCAEA,eAEA,YACA,kBACA,wFAEA,4BACE,wFAGF,oBACE,aAGF,gBACE,eACA,wFAGF,0BACE,wFACA,+BAEA,eAIJ,eACE,iBACA,eAEA,YACA,kBACA,4EAEA,eACA,yCACA,wBAEA,wCACA,YAEA,qBAEA,2BACE,4EAGF,6BACE,wFAGF,uBACE,eAEA,eAGF,uDACE,wFACA,+BAEA,eAIJ,EACE,SAGF,gBACE,gBAEA,WACA,YAGF,iCACE,8BAGF,+BACE,kCAGF,SACE,kBACA,OACA,SACA,UAEA,aAEA,0BACE,kBAGF,iBACE,cAGF,gDACE,aAEA,gEACE,cAIJ,cACE,oBACA,qBAEA,wCAEA,UACA,eAEA,YAEA,qBACE,4EAGF,qBACE,eAEA,OACA,MACA,WAEA,0BACE,gBAKN,2BACE,+BAIJ,YACE,eACA,UAGF,aACE,kBAEA,aAEA,kBACA,YAEA,gDACA,4EAEA,iBACE,eACA,kBAEA,gBAEA,aAEA,mBACE,mBAGF,yBACE,kBACA,gDACA,4EAEA,aACA,YAEA,iCACE,YACA,kBACA,mBAEA,wCACE,0CAGF,uCACE,yCAIJ,8BACE,cAIJ,uBACE,yCAIJ,kBACE,gBAIJ,YACE,kBAEA,WACA,MAGF,WACE,UAGF,+BACE,WAGF,oBACE,eACA,YACA,UACA,YACA,aACA,kBAEA,wBACA,gDACA,4EAEA,6BACE,kBAGF,2BACE,aAGF,oCACE,kBAEA,2CACE,aAKN,MACE,wCAEA,UACA,cAEA,aACA,eAEA,YACA,aAEA,OACA,QAEA,eACA,eAEA,6CACA,gDACA,kBAEA,4EAEA,eACE,qBAEA,iBACE,cACA,qBAIJ,WACE,gBAEA,oBACE,iBAKN,aACE,iBACA,oBAGF,QACE,aACA,UACA,oBAGF,QACE,oBACA,uBACA,mBAEA,kBACA,SAEA,mBACA,YACA,WAGF,eACE,WAGF,SACE,sCAGF,MACE,aAGF,QACE,aAGF,SACE,wFACA,kBAEA,YACE,kBACA,oBACA,cAEA,WACA,aAEA,gBAEA,6BACE,2BACA,4BAGF,4BACE,8BACA,+BAGF,eACE,eACA,iBAEA,cAEA,eACA,yCACA,wBAEA,eACA,iBAEA,mBACA,uBACA,gBAEA,sBACE,2BAKN,+CACE,YAGF,uBACE,kBAGF,6BACE,wFACA,+BAEA,gCACE,eAKN,cACE,wCAEA,wBACA,gDACA,4EAEA,OACA,YAEA,UAEA,kBACA,eAEA,UAEA,kBAGF,QACE,iBAEA,aACA,YAEA,YACA,iBAEA,eACA,yCACA,wBAEA,wCACA,kBAEA,YACE,oBAGF,cACE,eACA,eACA,4EAEA,kBACA,aAEA,gBACE,qBAGF,kBACE,YACA,mBAGF,oBACE,4EAIJ,cACE,SACA,eACA,gBAEA,sBACE,eACA,eACA,YACA,kBACA,YAEA,0CACE,+BAGF,gFACE,yCAGF,0CACE,0CAMJ,yBACE,6BAEA,0BAGF,yBACE,0BAGF,qBACE,0BAEA,yJAIF,qBACE,yJAEA,iBACA,cAEA,eAEA,aAEA,0BAKF,kCACE,wFACA,+BAEA,eAKN,KACE,aACA,8BAEA,UACE,kBAEA,iBAGF,UACE,2BAGF,2BACE,kBAGF,aACE,2BACA,WAEA,eACE,UACA,iBACA,kBAKN,UACE,eACA,wFAEA,WACA,YAEA,kBAEA,wCAEA,kBACA,qBAEA,eAEA,kBACE,eACA,kBAEA,WACA,YAEA,QACA,SAEA,kBAEA,mCAGF,iBACE,4EAEA,yBACE,UAKN,eACE,cAGF,gBACE,kBAGF,+BACE,iBAEA,YACA,kBAEA,wFAEA,YACA,kBAEA,2CACE,aACA,iBACA,kBAEA,+CACE,aAKN,YACE,gBAEA,kBACA,mBAEA,kBACA","file":"style.min.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/variables.scss","../scss/style.scss"],"names":[],"mappings":"AAAA,MACE,yBACA,2BACA,wCACA,0CACA,mCACA,wBACA,uBACA,wBACA,+CACA,sBACA,0BACA,6BACA,6BACA,6BACA,yBACA,2BACA,4BACA,yBAGF,uBACE,yBACA,2BACA,2BACA,4CACA,mCACA,wBACA,uBACA,mCACA,+CACA,sBACA,4BACA,6BACA,8CACA,6BACA,4BACA,2BACA,4BACA,yBCrCF,WACE,8BACA,2DAGF,WACE,6BACA,0DAGF,kBACE,wCAGF,oBACE,WACA,YAGF,0BACE,gBACA,kBAEA,gCACE,gBAIJ,0BACE,kCAGF,cACE,kBACA,SACA,sBACA,wCAEA,wBACA,wCAEA,wBACA,YAGF,GACE,iBACA,SACA,kBAEA,wBAGF,GACE,kBACA,cAEA,wBAGF,MACE,iBACA,cAGF,MACE,eAEA,YACA,iBAEA,eACA,yCACA,wBAEA,WACA,wCAEA,eAEA,YACA,kBACA,wFAEA,4BACE,wFAGF,oBACE,aAGF,gBACE,eACA,wFAGF,0BACE,wFACA,+BAEA,eAIJ,eACE,iBACA,eAEA,YACA,kBACA,4EAEA,eACA,yCACA,wBAEA,wCACA,YAEA,qBAEA,2BACE,4EAGF,6BACE,wFAGF,uBACE,eAEA,eAGF,uDACE,wFACA,+BAEA,eAIJ,EACE,SAGF,gBACE,gBAEA,WACA,YAGF,iCACE,8BAGF,+BACE,kCAGF,SACE,kBACA,OACA,SACA,UAEA,aAEA,0BACE,kBAGF,iBACE,cAGF,gDACE,aAEA,gEACE,cAIJ,cACE,oBACA,qBAEA,wCAEA,UACA,eAEA,YAEA,qBACE,4EAGF,qBACE,eAEA,OACA,MACA,WAEA,0BACE,gBAKN,2BACE,+BAIJ,YACE,eACA,UAGF,aACE,kBAEA,aAEA,kBACA,YAEA,gDACA,4EAEA,iBACE,eACA,kBAEA,gBAEA,aAEA,mBACE,mBAGF,yBACE,kBACA,gDACA,4EAEA,aACA,YAEA,iCACE,YACA,kBACA,mBAEA,wCACE,0CAGF,uCACE,yCAIJ,8BACE,cAIJ,uBACE,yCAIJ,kBACE,gBAIJ,YACE,kBAEA,WACA,MAGF,WACE,UAGF,+BACE,WAGF,oBACE,eACA,YACA,UACA,YACA,aACA,kBAEA,wBACA,gDACA,4EAEA,6BACE,kBAGF,2BACE,aAGF,oCACE,kBAEA,2CACE,aAKN,MACE,wCAEA,UACA,cAEA,aACA,eAEA,YACA,aAEA,OACA,QAEA,eACA,eAEA,6CACA,gDACA,kBAEA,4EAEA,eACE,qBAEA,iBACE,cACA,qBAIJ,WACE,gBAEA,oBACE,iBAKN,aACE,iBACA,oBAGF,QACE,aACA,UACA,oBAGF,QACE,oBACA,uBACA,mBAEA,kBACA,SAEA,mBACA,YACA,WAGF,eACE,WAGF,SACE,sCAGF,MACE,aAGF,QACE,aAGF,SACE,wFACA,kBAEA,YACE,kBACA,oBACA,cAEA,WACA,aAEA,gBAEA,6BACE,2BACA,4BAGF,4BACE,8BACA,+BAGF,eACE,eACA,iBAEA,cAEA,eACA,yCACA,wBAEA,eACA,iBAEA,mBACA,uBACA,gBAEA,sBACE,2BAKN,+CACE,YAGF,uBACE,kBAGF,6BACE,wFACA,+BAEA,gCACE,eAKN,cACE,wCAEA,wBACA,gDACA,4EAEA,OACA,YAEA,UAEA,kBACA,eAEA,UAEA,kBAGF,QACE,iBAEA,aACA,YAEA,YACA,iBAEA,eACA,yCACA,wBAEA,wCACA,kBAEA,YACE,oBAGF,cACE,eACA,eACA,4EAEA,kBACA,aAEA,gBACE,qBAGF,kBACE,YACA,mBAGF,oBACE,4EAIJ,cACE,SACA,eACA,gBAEA,kBAEA,sBACE,eACA,eACA,YACA,kBACA,YAEA,0CACE,+BAGF,gFACE,yCAGF,0CACE,0CAMJ,yBACE,6BAEA,0BAGF,yBACE,0BAGF,qBACE,0BAEA,yJAIF,qBACE,yJAEA,iBACA,cAEA,eAEA,aAEA,0BAKF,kCACE,wFACA,+BAEA,eAKN,KACE,aACA,8BAEA,UACE,kBAEA,iBAGF,UACE,2BAGF,2BACE,kBAGF,aACE,2BACA,WAEA,eACE,UACA,iBACA,kBAKN,UACE,eACA,wFAEA,WACA,YAEA,kBAEA,wCAEA,kBACA,qBAEA,eAEA,kBACE,eACA,kBAEA,WACA,YAEA,QACA,SAEA,kBAEA,mCAGF,iBACE,4EAEA,yBACE,UAKN,eACE,cAGF,gBACE,kBAGF,+BACE,iBAEA,YACA,kBAEA,wFAEA,YACA,kBAEA,2CACE,aACA,iBACA,kBAEA,+CACE,aAKN,YACE,gBAEA,kBACA,mBAEA,kBACA","file":"style.min.css"} \ No newline at end of file diff --git a/app/assets/js/tools.js b/app/assets/js/tools.js index 52a2ed2..fe1fdb9 100644 --- a/app/assets/js/tools.js +++ b/app/assets/js/tools.js @@ -568,7 +568,7 @@ function downloadURL(mode, location, url, percentage, codecAudio, codecVideo, qu } let premium = JSON.parse(getCookie("premium")); - if (premium["check"]) { + if (premium && premium.check) { if (premium["browser"] !== "") { config.push("--cookies-from-browser " + premium["browser"]); } else { diff --git a/app/assets/scss/style.scss b/app/assets/scss/style.scss index 4e4f4ce..7169598 100644 --- a/app/assets/scss/style.scss +++ b/app/assets/scss/style.scss @@ -543,6 +543,8 @@ settings { padding: 0 10px; overflow: hidden; + position: relative; + .option { cursor: pointer; transition: 0.2s; diff --git a/app/assets/template/settings.html b/app/assets/template/settings.html index 4b0de92..a4f5d0f 100644 --- a/app/assets/template/settings.html +++ b/app/assets/template/settings.html @@ -179,7 +179,7 @@