aboutsummaryrefslogtreecommitdiff
path: root/src/app/css/grid.css
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-12-20 20:40:53 +0100
committer0neGal <mail@0negal.com>2024-12-20 20:40:53 +0100
commitb55c45692cdfac47101cedbdd709a946bdf3cbd8 (patch)
tree8f02f2ed9ab35aec96f247e1d3539dbaa8be4724 /src/app/css/grid.css
parent850c829fd70846a7f536a4423d234c34dc90ba41 (diff)
downloadViper-b55c45692cdfac47101cedbdd709a946bdf3cbd8.tar.gz
Viper-b55c45692cdfac47101cedbdd709a946bdf3cbd8.zip
added a search bar to the mods list
Diffstat (limited to 'src/app/css/grid.css')
-rw-r--r--src/app/css/grid.css15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/app/css/grid.css b/src/app/css/grid.css
index be405e0..2096b9b 100644
--- a/src/app/css/grid.css
+++ b/src/app/css/grid.css
@@ -1,6 +1,6 @@
@import "theming.css";
-.grid .el, .popup .misc, .popup .loading {
+.grid, .grid .el, .popup .misc, .popup .loading {
--spacing: calc(var(--padding) / 2);
--height: calc(var(--padding) * 3.5);
--mischeight: calc(var(--padding) * 1.5);
@@ -22,7 +22,7 @@
animation-name: none;
}
-.grid .el, .popup .search,
+.grid .el, input.search,
.popup #close, .popup .misc button,
.option .actions select, .option .actions input {
color: white;
@@ -36,7 +36,7 @@
width: calc(50% - var(--spacing) * 4);
}
-.popup .misc, .popup .search, .option .actions input {
+.popup .misc, input.search, .option .actions input {
--height: var(--mischeight);
}
@@ -53,7 +53,7 @@
position: fixed;
}
-.popup .search,
+input.search,
.option .actions input,
.option .actions select {
border: none;
@@ -62,7 +62,7 @@
width: calc(100% - var(--spacing) * 2);
}
-.popup .search:focus,
+input.search:focus,
.option .actions input:focus,
.option .actions button:active {
filter: brightness(1.5);
@@ -138,6 +138,11 @@
border-radius: var(--spacing);
}
+.grid input {
+ margin: 0;
+ width: 100%;
+}
+
#modsdiv .el:has(.switch:not(.on)) .image img {
opacity: 0.5;
}