summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-04 15:02:30 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-04 15:02:30 +0100
commitc3c570276244f89038797bc8a463af88bd4cfd5c (patch)
tree61443e96031b2ff76d9c9dfdc11662bd9709d959 /core
parent370b16f4156ccdc9956dedc00e5dfb6106380d9d (diff)
wip: sorting out forms for adding Engagements
Diffstat (limited to 'core')
-rw-r--r--core/static/css/output.css173
1 files changed, 20 insertions, 153 deletions
diff --git a/core/static/css/output.css b/core/static/css/output.css
index 1be34cb..67f0dc9 100644
--- a/core/static/css/output.css
+++ b/core/static/css/output.css
@@ -875,22 +875,6 @@ html {
}
}
-.checkbox {
- flex-shrink: 0;
- --chkbg: var(--fallback-bc,oklch(var(--bc)/1));
- --chkfg: var(--fallback-b1,oklch(var(--b1)/1));
- height: 1.5rem;
- width: 1.5rem;
- cursor: pointer;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- border-radius: var(--rounded-btn, 0.5rem);
- border-width: 1px;
- border-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-border-opacity)));
- --tw-border-opacity: 0.2;
-}
-
.label {
display: flex;
-webkit-user-select: none;
@@ -947,40 +931,6 @@ html {
align-items: center;
}
-.select {
- display: inline-flex;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- user-select: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- height: 3rem;
- min-height: 3rem;
- padding-inline-start: 1rem;
- padding-inline-end: 2.5rem;
- font-size: 0.875rem;
- line-height: 1.25rem;
- line-height: 2;
- border-radius: var(--rounded-btn, 0.5rem);
- border-width: 1px;
- border-color: transparent;
- --tw-bg-opacity: 1;
- background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity)));
- background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
- linear-gradient(135deg, currentColor 50%, transparent 50%);
- background-position: calc(100% - 20px) calc(1px + 50%),
- calc(100% - 16.1px) calc(1px + 50%);
- background-size: 4px 4px,
- 4px 4px;
- background-repeat: no-repeat;
-}
-
-.select[multiple] {
- height: auto;
-}
-
.table {
position: relative;
width: 100%;
@@ -1063,54 +1013,6 @@ html {
}
}
-.checkbox:focus {
- box-shadow: none;
-}
-
-.checkbox:focus-visible {
- outline-style: solid;
- outline-width: 2px;
- outline-offset: 2px;
- outline-color: var(--fallback-bc,oklch(var(--bc)/1));
-}
-
-.checkbox:disabled {
- border-width: 0px;
- cursor: not-allowed;
- border-color: transparent;
- --tw-bg-opacity: 1;
- background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
- opacity: 0.2;
-}
-
-.checkbox:checked,
- .checkbox[aria-checked="true"] {
- background-repeat: no-repeat;
- animation: checkmark var(--animation-input, 0.2s) ease-out;
- background-color: var(--chkbg);
- background-image: linear-gradient(-45deg, transparent 65%, var(--chkbg) 65.99%),
- linear-gradient(45deg, transparent 75%, var(--chkbg) 75.99%),
- linear-gradient(-45deg, var(--chkbg) 40%, transparent 40.99%),
- linear-gradient(
- 45deg,
- var(--chkbg) 30%,
- var(--chkfg) 30.99%,
- var(--chkfg) 40%,
- transparent 40.99%
- ),
- linear-gradient(-45deg, var(--chkfg) 50%, var(--chkbg) 50.99%);
-}
-
-.checkbox:indeterminate {
- --tw-bg-opacity: 1;
- background-color: var(--fallback-bc,oklch(var(--bc)/var(--tw-bg-opacity)));
- background-repeat: no-repeat;
- animation: checkmark var(--animation-input, 0.2s) ease-out;
- background-image: linear-gradient(90deg, transparent 80%, var(--chkbg) 80%),
- linear-gradient(-90deg, transparent 80%, var(--chkbg) 80%),
- linear-gradient(0deg, var(--chkbg) 43%, var(--chkfg) 43%, var(--chkfg) 57%, var(--chkbg) 57%);
-}
-
@keyframes checkmark {
0% {
background-position-y: 5px;
@@ -1288,50 +1190,6 @@ html {
}
}
-.select:focus {
- box-shadow: none;
- border-color: var(--fallback-bc,oklch(var(--bc)/0.2));
- outline-style: solid;
- outline-width: 2px;
- outline-offset: 2px;
- outline-color: var(--fallback-bc,oklch(var(--bc)/0.2));
-}
-
-.select-disabled,
- .select:disabled,
- .select[disabled] {
- cursor: not-allowed;
- --tw-border-opacity: 1;
- border-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-border-opacity)));
- --tw-bg-opacity: 1;
- background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));
- color: var(--fallback-bc,oklch(var(--bc)/0.4));
-}
-
-.select-disabled::-moz-placeholder, .select:disabled::-moz-placeholder, .select[disabled]::-moz-placeholder {
- color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
- --tw-placeholder-opacity: 0.2;
-}
-
-.select-disabled::placeholder,
- .select:disabled::placeholder,
- .select[disabled]::placeholder {
- color: var(--fallback-bc,oklch(var(--bc)/var(--tw-placeholder-opacity)));
- --tw-placeholder-opacity: 0.2;
-}
-
-.select-multiple,
- .select[multiple],
- .select[size].select:not([size="1"]) {
- background-image: none;
- padding-right: 1rem;
-}
-
-[dir="rtl"] .select {
- background-position: calc(0% + 12px) calc(1px + 50%),
- calc(0% + 16px) calc(1px + 50%);
-}
-
@keyframes skeleton {
from {
background-position: 150%;
@@ -1402,6 +1260,11 @@ html {
margin-right: auto;
}
+.my-2 {
+ margin-top: 0.5rem;
+ margin-bottom: 0.5rem;
+}
+
.my-8 {
margin-top: 2rem;
margin-bottom: 2rem;
@@ -1479,16 +1342,12 @@ html {
display: grid;
}
-.h-4 {
- height: 1rem;
-}
-
.min-h-full {
min-height: 100%;
}
-.w-4 {
- width: 1rem;
+.w-2\/3 {
+ width: 66.666667%;
}
.w-full {
@@ -1772,6 +1631,10 @@ html {
padding-bottom: 2rem;
}
+.pt-1 {
+ padding-top: 0.25rem;
+}
+
.pt-6 {
padding-top: 1.5rem;
}
@@ -1895,6 +1758,11 @@ html {
color: rgb(79 70 229 / var(--tw-text-opacity));
}
+.text-red-500 {
+ --tw-text-opacity: 1;
+ color: rgb(239 68 68 / var(--tw-text-opacity));
+}
+
.text-red-600 {
--tw-text-opacity: 1;
color: rgb(220 38 38 / var(--tw-text-opacity));
@@ -1992,11 +1860,6 @@ html {
text-decoration-line: underline;
}
-.focus\:border-blue-500:focus {
- --tw-border-opacity: 1;
- border-color: rgb(59 130 246 / var(--tw-border-opacity));
-}
-
.focus\:outline-none:focus {
outline: 2px solid transparent;
outline-offset: 2px;
@@ -2065,6 +1928,10 @@ html {
border-radius: 0.5rem;
}
+ .sm\:p-2 {
+ padding: 0.5rem;
+ }
+
.sm\:p-6 {
padding: 1.5rem;
}