194 lines
3.8 KiB
CSS
194 lines
3.8 KiB
CSS
@font-face {
|
|
font-family: 'Material Symbols Outlined';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: block;
|
|
src: url('../fonts/material-symbols-outlined.ttf') format('truetype');
|
|
}
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
body {
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.material-symbols-outlined {
|
|
font-family: 'Material Symbols Outlined';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
letter-spacing: normal;
|
|
text-transform: none;
|
|
display: inline-flex;
|
|
width: 1em;
|
|
height: 1em;
|
|
min-width: 1em;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
word-wrap: normal;
|
|
direction: ltr;
|
|
vertical-align: middle;
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
|
|
.ui-btn {
|
|
box-sizing: border-box;
|
|
display: inline-flex;
|
|
min-height: 44px;
|
|
height: 44px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: .5rem;
|
|
border-radius: .375rem;
|
|
border: 1px solid transparent;
|
|
padding: 0 1rem;
|
|
font-size: .875rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
|
|
}
|
|
|
|
.ui-btn-lg {
|
|
min-height: 52px;
|
|
height: 52px;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.ui-btn-sm {
|
|
min-height: 40px;
|
|
height: 40px;
|
|
padding: 0 .75rem;
|
|
}
|
|
|
|
.ui-btn-compact {
|
|
min-height: 34px;
|
|
height: 34px;
|
|
padding: 0 .65rem;
|
|
gap: .35rem;
|
|
font-size: .8125rem;
|
|
}
|
|
|
|
.ui-btn-field {
|
|
min-height: 50px;
|
|
height: 50px;
|
|
}
|
|
|
|
.ui-btn-primary {
|
|
background: #005EB8;
|
|
color: #fff;
|
|
box-shadow: 0 18px 34px rgba(15, 23, 42, .06);
|
|
}
|
|
|
|
.ui-btn-primary:hover {
|
|
background: #0c4188;
|
|
}
|
|
|
|
.ui-btn-secondary {
|
|
border-color: #e2e8f0;
|
|
background: #fff;
|
|
color: #334155;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
|
|
}
|
|
|
|
.ui-btn-secondary:hover {
|
|
border-color: #005EB8;
|
|
color: #005EB8;
|
|
}
|
|
|
|
.ui-btn:disabled,
|
|
.ui-btn[aria-disabled="true"] {
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
opacity: .7;
|
|
}
|
|
|
|
.ui-btn[aria-busy="true"] {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ui-btn-primary:disabled {
|
|
background: #cbd5e1;
|
|
}
|
|
|
|
.ui-btn-icon,
|
|
.ui-btn .material-symbols-outlined {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex: 0 0 20px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.ui-icon-btn {
|
|
box-sizing: border-box;
|
|
display: inline-flex;
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 28px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: .375rem;
|
|
line-height: 1;
|
|
transition: background-color .15s ease, color .15s ease;
|
|
}
|
|
|
|
.ui-action-row {
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
min-height: 44px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: .75rem;
|
|
border-radius: .375rem;
|
|
border: 1px solid #e2e8f0;
|
|
padding: 0 .75rem;
|
|
font-size: .875rem;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
transition: border-color .15s ease, color .15s ease;
|
|
}
|
|
|
|
.ui-action-row:hover {
|
|
border-color: #005EB8;
|
|
color: #005EB8;
|
|
}
|
|
|
|
.spinner {
|
|
display: inline-flex;
|
|
width: 20px;
|
|
height: 20px;
|
|
flex: 0 0 20px;
|
|
border-radius: 9999px;
|
|
border: 2px solid rgba(255,255,255,.35);
|
|
border-top-color: #fff;
|
|
animation: spin .75s linear infinite;
|
|
}
|
|
|
|
.ui-btn-secondary .spinner {
|
|
border-color: rgba(0, 94, 184, .22);
|
|
border-top-color: #005EB8;
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|