+
{/* Modal d'ajout */}
-
+
}
/>
diff --git a/src/app/globals.css b/src/app/globals.css
index e50f67b..e67c59e 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -20,8 +20,9 @@
[ data-theme="dark"] {
--background: #11111a;
--foreground: #eeeeff;
- --cinder: #999;
- --bluegray: #eeeeff;
+ /* --secondary: #000; */
+ --cinder: #444;
+ --bluegray: #246BFD55;
}
/* @media (prefers-color-scheme: dark) {
@@ -53,7 +54,8 @@ a{
padding: 12px;
border: 1px solid #d1d5dc;
border-radius: 9999px;
- color: black;
+ color: var(--foreground);
+ background-color: var(--background);
&:focus {
outline-color: none;
@@ -84,6 +86,12 @@ a{
transform: translateY(-50%);
}
+
+.btn-floating-right.select{
+ position: relative!important;
+ right: 0px!important;
+}
+
.btn-floating-left {
position: absolute;
left: 8px;
@@ -221,7 +229,8 @@ input[type="checkbox"]:checked::before {
display: flex;
justify-content: center;
align-items: center;
- background-color: var(--bluegray);
+ color: #04060F;
+ background-color: #E9F0FF;
z-index: 99;
}
.splash-screen p{
diff --git a/src/assets/css/admin.css b/src/assets/css/admin.css
index 8f91ddb..2c72e31 100644
--- a/src/assets/css/admin.css
+++ b/src/assets/css/admin.css
@@ -181,11 +181,11 @@ th{
padding: 8px;
height: 40px!important;
}
-th.bg-bluegray:first-of-type{
+th:first-of-type{
border-top-left-radius: 8px!important;
}
-th.bg-bluegray:last-of-type{
+th:last-of-type{
border-top-right-radius: 8px!important;
}
@@ -196,7 +196,7 @@ tbody tr {
border-bottom: 1px solid var(--bluegray)!important;
}
tbody tr:hover{
- background-color: var(--cinder);
+ background-color: var(--bluegray);
}
tbody tr td:first-child {
padding-left: 16px;
@@ -249,6 +249,25 @@ a.disabled{
opacity: 40%;
}
+.home .pagination {
+ display: none!important;
+}
+
+
+.search-input{
+ padding: 10px 40px;
+ width: max-content;
+ width: 300px;
+ min-width: max-content;
+ border: 1px solid var(--secondary);
+ border-radius: 100px;
+}
+
+
+
+
+
+
@media (max-width: 1070px) {
.stats-container{
diff --git a/src/components/admin/sidebar.tsx b/src/components/admin/sidebar.tsx
index 92eaf75..102747c 100644
--- a/src/components/admin/sidebar.tsx
+++ b/src/components/admin/sidebar.tsx
@@ -39,7 +39,7 @@ export default function Sidebar() {
handleMobileVisible()} className={`${mobileVisible ? "shifted" : ""} hamburger mobile`}>
{/*
*/}
>
diff --git a/src/components/admin/theme.tsx b/src/components/admin/theme.tsx
index ea429c4..3438a95 100644
--- a/src/components/admin/theme.tsx
+++ b/src/components/admin/theme.tsx
@@ -8,7 +8,7 @@ export default function Theme() {
useEffect(() => {
if (typeof window !== "undefined") {
- const savedTheme = localStorage.getItem("theme") ||
+ const savedTheme = localStorage.getItem("privateDocsTheme") ||
(window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
setTheme(savedTheme);
@@ -19,7 +19,7 @@ export default function Theme() {
const handleTheme = () => {
const newTheme = theme === "light" ? "dark" : "light";
setTheme(newTheme);
- localStorage.setItem("theme", newTheme);
+ localStorage.setItem("privateDocsTheme", newTheme);
document.body.setAttribute("data-theme", newTheme);
};
@@ -30,7 +30,7 @@ export default function Theme() {
const handleChange = (e: MediaQueryListEvent) => {
const newTheme = e.matches ? "dark" : "light";
setTheme(newTheme);
- localStorage.setItem("theme", newTheme);
+ localStorage.setItem("privateDocsTheme", newTheme);
document.body.setAttribute("data-theme", newTheme);
};
diff --git a/src/components/floatingLabelInput.tsx b/src/components/floatingLabelInput.tsx
index 37499f8..7cf0603 100644
--- a/src/components/floatingLabelInput.tsx
+++ b/src/components/floatingLabelInput.tsx
@@ -40,7 +40,7 @@ export default function FloatingLabelInput({
))}
- {button &&
{button}
}
+ {button &&
{button}
}
);
@@ -91,7 +91,7 @@ export default function FloatingLabelInput({