tetratto/crates/app/src/public/css/utility.css

222 lines
2.9 KiB
CSS
Raw Normal View History

/* utility */
.flex {
display: flex;
}
.flex-col {
flex-direction: column;
}
.flex-rev-col {
flex-direction: column-reverse;
}
.flex-row {
flex-direction: row !important;
}
.flex-rev-row {
flex-direction: row-reverse;
}
.flex-wrap {
flex-wrap: wrap;
}
.justify-center {
justify-content: center;
}
.justify-between {
justify-content: space-between;
}
.justify-right {
justify-content: right;
}
.justify-start {
2025-06-12 21:06:04 -04:00
justify-content: flex-start !important;
}
.items-center {
align-items: center;
}
.gap-1 {
gap: var(--pad-1);
}
.gap-2 {
gap: var(--pad-2);
}
.gap-4 {
gap: var(--pad-4);
}
.gap-8 {
gap: 1.25rem;
}
.mobile {
display: none !important;
}
@media screen and (max-width: 650px) {
.desktop {
display: none !important;
}
.mobile {
display: flex !important;
}
}
@media screen and (max-width: 900px) {
.flex-collapse {
flex-direction: column !important;
}
.sm\:static {
position: static !important;
}
.mobile.flex {
display: flex !important;
}
.sm\:w-full {
width: 100% !important;
min-width: 100% !important;
}
.sm\:mt-2 {
margin-top: 2rem !important;
}
.sm\:items-start {
align-items: flex-start !important;
}
.sm\:contents {
display: contents !important;
}
}
.shadow {
box-shadow: 0 0 8px var(--color-shadow);
}
.shadow-md {
box-shadow: 0 8px 16px var(--color-shadow);
}
.round-sm {
border-radius: calc(var(--radius) / 2) !important;
}
.round {
border-radius: var(--radius) !important;
}
.round-md {
border-radius: calc(var(--radius) * 2) !important;
}
.round-lg {
border-radius: calc(var(--radius) * 4) !important;
}
.w-full {
width: 100% !important;
}
.w-content {
width: max-content !important;
}
.bold {
font-weight: 600;
}
[disabled="fully"] {
opacity: 75%;
pointer-events: visible;
cursor: not-allowed;
user-select: none;
}
.fade,
.CodeMirror-placeholder {
opacity: 75%;
transition: opacity 0.15s;
}
.ff-inherit {
font-family: inherit;
}
.fs-md {
font-size: 12px;
}
[align="center"],
.text-center {
text-align: center;
}
[align="right"],
.text-right {
text-align: right;
}
.red {
color: var(--color-red) !important;
}
.green {
color: var(--color-green) !important;
}
2025-06-10 22:02:06 -04:00
.yellow {
color: var(--color-yellow) !important;
}
.purple {
color: var(--color-purple) !important;
}
.hidden {
display: none !important;
}
align {
width: 100%;
display: block;
}
align.center {
text-align: center;
}
align.right {
text-align: right;
}
/* lhs, rhs */
.rhs {
width: calc(100% - 23rem) !important;
}
@media screen and (max-width: 900px) {
.rhs {
width: 100% !important;
}
}
/* turbo */
.turbo-progress-bar {
background: var(--color-primary);
}