aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-11-04 16:16:28 +0100
committermetamuffin <metamuffin@disroot.org>2024-11-04 16:16:28 +0100
commit5f8b7352cd5231bc1151c3b3f5aaaef261747253 (patch)
treec4db442c9374515d90c376085049a48547ddb5af /style.css
parente93520702a78adba65eca3546fb815fd729469be (diff)
downloadabrechenbarkeit-5f8b7352cd5231bc1151c3b3f5aaaef261747253.tar
abrechenbarkeit-5f8b7352cd5231bc1151c3b3f5aaaef261747253.tar.bz2
abrechenbarkeit-5f8b7352cd5231bc1151c3b3f5aaaef261747253.tar.zst
refactor and user creating input redirect
Diffstat (limited to 'style.css')
-rw-r--r--style.css105
1 files changed, 51 insertions, 54 deletions
diff --git a/style.css b/style.css
index 769a808..0ec65cd 100644
--- a/style.css
+++ b/style.css
@@ -8,17 +8,15 @@
}
.trans {
- background: linear-gradient(
- #60d0fa50 0%,
- #60d0fa50 19%,
- #f5acba50 20%,
- #f5acba50 39%,
- #FFFFFF50 40%,
- #FFFFFF50 59%,
- #f5acba50 60%,
- #f5acba50 79%,
- #60d0fa50 80%
- );
+ background: linear-gradient(#60d0fa50 0%,
+ #60d0fa50 19%,
+ #f5acba50 20%,
+ #f5acba50 39%,
+ #FFFFFF50 40%,
+ #FFFFFF50 59%,
+ #f5acba50 60%,
+ #f5acba50 79%,
+ #60d0fa50 80%);
}
body {
@@ -86,10 +84,6 @@ nav> :last-child {
border-radius: 4px;
}
-.notif > * {
- color: black;
-}
-
.notif.error {
background-color: rgb(118, 13, 13);
}
@@ -99,14 +93,14 @@ nav> :last-child {
}
/* landing page */
-form.creation {
+form#user_creation {
background-color: var(--b2);
padding: 1em;
margin-top: 2em;
border-radius: 4px;
}
-form.creation>h3 {
+form#user_creation>h3 {
margin: 5px;
margin-right: 2em;
}
@@ -120,7 +114,7 @@ input[type="text"] {
min-width: 10em;
}
-form.creation>* {
+form#user_creation>* {
display: inline-block;
margin-right: 1.5em;
}
@@ -170,12 +164,12 @@ li {
}
h1 {
- padding-left: 1rem;
+ padding-left: 1rem;
}
.userinfo {
- margin-left: 1rem;
- padding: 1rem;
+ margin-left: 1rem;
+ padding: 1rem;
}
/* Amount selector user page */
@@ -284,12 +278,12 @@ tr:nth-child(2n) {
background-color: var(--b0);
}
-table.log > tbody {
- transform: rotate(180deg);
+table.log>tbody {
+ transform: rotate(180deg);
}
-table.log > tbody > tr {
- transform: rotate(180deg);
+table.log>tbody>tr {
+ transform: rotate(180deg);
}
input {
@@ -303,39 +297,42 @@ input:not([type=submit]) {
}
@media print {
- nav, .container {
- display: none;
- }
- h1 {
- font-size: 2em;
- text-decoration: underline;
- }
+ nav,
+ .container {
+ display: none;
+ }
+
+ h1 {
+ font-size: 2em;
+ text-decoration: underline;
+ }
- table.log:before {
- content: "Abrechnung";
- font-size: 2em;
- text-decoration: underline;
- }
+ table.log:before {
+ content: "Abrechnung";
+ font-size: 2em;
+ text-decoration: underline;
+ }
- div.userlist:before {
- content: "User List, is still work in progress :/";
- clear: right;
- width: 100vw;
- font-size: 2em;
- text-decoration: underline;
- display: block;
- }
+ div.userlist:before {
+ content: "User List, is still work in progress :/";
+ clear: right;
+ width: 100vw;
+ font-size: 2em;
+ text-decoration: underline;
+ display: block;
+ }
- .userlist a, ul {
- display: block;
- width: 100%;
- }
+ .userlist a,
+ ul {
+ display: block;
+ width: 100%;
+ }
- .userlist > li > a {
- width: 100%;
- display: flex;
- }
+ .userlist>li>a {
+ width: 100%;
+ display: flex;
+ }
tr :last-child {
display: none;
@@ -354,4 +351,4 @@ input:not([type=submit]) {
form {
display: none;
}
-}
+} \ No newline at end of file