From 6ef9aa6632b250315a40dd84e13bdfd3ce748884 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 30 Oct 2024 18:41:03 -0400 Subject: [PATCH] 5.12.5 clarification for theme submissions --- css/popup.css | 8 ++++--- html/popup.html | 59 +++++++++++++++++++++++++++++++++--------------- js/background.js | 1 + js/popup.js | 45 ++++++++++++++++++++++++++++-------- manifest.json | 2 +- 5 files changed, 84 insertions(+), 31 deletions(-) diff --git a/css/popup.css b/css/popup.css index 6e04185..48da593 100644 --- a/css/popup.css +++ b/css/popup.css @@ -103,8 +103,9 @@ h2 {margin-top: 20px;font-weight:600} #theme-sorts {display:flex;align-items:center;background:var(--inputbg);border-radius: 7px;padding:10px 16px;gap:10px;color: #fff;border:none;font-weight: 600;} #theme-sort-selector {display: none; position: absolute; top: 5px; right: -10px; transform: translateX(100%); z-index: 1000;background: #0e0e0edb;backdrop-filter:blur(3px);border-radius: 7px;padding:5px 0;} #theme-sort-selector.open {display: block;} -#submit-popup {display: none;position: fixed;top:0;left:0;width:100%;height:100%;z-index:1000;background:#0e0e0eed;backdrop-filter:blur(3px)} -#submit-popup.open {display: flex;align-items:center;justify-content: center;} +#submit-popup,#browser-settings-popup {display: none;position: fixed;top:0;left:0;width:100%;height:100%;z-index:1000;background:#0e0e0eed;backdrop-filter:blur(3px)} +#submit-popup.open,#browser-settings-popup.open {display: flex;align-items:center;justify-content: center;} +#browser-settings-btn {cursor: pointer;color:gray;} #theme-sorts-container {position: relative;} #themes-empty {grid-row: span 6; grid-column: span 4;display: flex;align-items:center;justify-content: center;} .color-line {background:linear-gradient(115deg, rgb(255, 53, 88), rgb(255, 131, 73), rgb(255, 103, 187));width:100%;height:2px;border-radius:10px;} @@ -157,7 +158,7 @@ input[type="checkbox"]:checked {background: #8dd28d;} border-top-left-radius: 0; border-bottom-left-radius: 0; } -.theme-button-like:hover .theme-button-like-amount { +.theme-button-like:hover .theme-button-like-amount, .theme-button-like-amount.showalways { transform: translateX(-100%); opacity: 1; border-top-right-radius: 0px; @@ -172,6 +173,7 @@ input[type="checkbox"]:checked {background: #8dd28d;} #theme-search-container {flex: 1;display:flex;gap:10px;box-sizing: border-box;width: 100%;margin:0;align-items:center;padding-left:10px;color:#818181;} #submit-theme-btn, #cancel-theme-btn {flex: 1;} #submit-theme-btn-1 {width: 50%;margin-top: 10px;} +#reset-optin {min-width:max-content;height:100%;} ::-webkit-scrollbar {width: 8px;} ::-webkit-scrollbar-track {background: #161616;} diff --git a/html/popup.html b/html/popup.html index c6a9983..6c0192d 100644 --- a/html/popup.html +++ b/html/popup.html @@ -315,18 +315,33 @@