aboutsummaryrefslogtreecommitdiff
path: root/src/app/css/popups.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-01-30 23:22:41 +0100
committer0neGal <mail@0negal.com>2023-01-30 23:22:41 +0100
commit84cc46018664cee9d89d71ea75ba687a9171ab28 (patch)
tree43e71f3b8a1535aa1e6440dd0f7df001efb09749 /src/app/css/popups.css
parent67778e1ecab4747cf886e8ffcb6a11f96ccc279c (diff)
downloadViper-84cc46018664cee9d89d71ea75ba687a9171ab28.tar.gz
Viper-84cc46018664cee9d89d71ea75ba687a9171ab28.zip
added: toggles for toggling mods in modlist
The new modlist now uses the same toggles found in the settings popup, only here they're used to disable/enable mods. On top of this I also fixed the "Toggle All" button not working. Forgot to change some stuff, breaking it... oops...
Diffstat (limited to 'src/app/css/popups.css')
-rw-r--r--src/app/css/popups.css34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/app/css/popups.css b/src/app/css/popups.css
index 8f47d0a..5147aaf 100644
--- a/src/app/css/popups.css
+++ b/src/app/css/popups.css
@@ -167,40 +167,6 @@
background: var(--selbg);
}
-.switch {
- width: 50px;
- height: 25px;
- border-radius: 50px;
-}
-
-.switch.on {
- background: rgba(var(--red), 0.2) !important;
-}
-
-.switch::after {
- left: -5px;
- width: 15px;
- height: 15px;
- content: " ";
- display: block;
- background: red;
- position: relative;
- border-radius: 50px;
- background: var(--bg);
- transition: 0.2s ease-in-out;
-}
-
-.switch.on::after {
- left: 15px;
- width: 20px;
- opacity: 0.5;
- background: rgb(var(--red));
-}
-
-.switch.on:hover::after {
- transform: scale(1.2);
-}
-
.title {
display: flex;
margin-top: calc(var(--padding) * 2);