777de2adea
Аптеки А1…А70/П… вместо сортировки по адресу; убрать лимит 50 в searchable-select. Co-authored-by: Cursor <cursoragent@cursor.com>
2610 lines
63 KiB
CSS
2610 lines
63 KiB
CSS
/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
@layer properties;
|
|
@layer theme, base, components, utilities;
|
|
@layer theme {
|
|
:root, :host {
|
|
--font-sans: 'Inter', sans-serif;
|
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
"Courier New", monospace;
|
|
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
--color-orange-100: oklch(95.4% 0.038 75.164);
|
|
--color-orange-400: oklch(75% 0.183 55.934);
|
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
--color-white: #fff;
|
|
--spacing: 0.25rem;
|
|
--container-xs: 20rem;
|
|
--container-2xl: 42rem;
|
|
--text-sm: 0.875rem;
|
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
--text-2xl: 1.5rem;
|
|
--text-2xl--line-height: calc(2 / 1.5);
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--tracking-tight: -0.025em;
|
|
--leading-relaxed: 1.625;
|
|
--default-transition-duration: 150ms;
|
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
--default-font-family: var(--font-sans);
|
|
--default-mono-font-family: var(--font-mono);
|
|
--radius: 0.625rem;
|
|
--color-background: hsl(210 20% 98%);
|
|
--color-foreground: hsl(215 25% 15%);
|
|
--color-card: hsl(0 0% 100%);
|
|
--color-card-foreground: hsl(215 25% 15%);
|
|
--color-primary: hsl(224.8, 81%, 60.8%);
|
|
--color-primary-foreground: hsl(0 0% 100%);
|
|
--color-secondary: hsl(210 25% 93%);
|
|
--color-secondary-foreground: hsl(215 25% 15%);
|
|
--color-muted: hsl(210 20% 96%);
|
|
--color-muted-foreground: hsl(215 15% 50%);
|
|
--color-accent: hsl(174 55% 42%);
|
|
--color-accent-foreground: hsl(0 0% 100%);
|
|
--color-destructive: hsl(0 72% 51%);
|
|
--color-border: hsl(214 20% 90%);
|
|
--color-input: hsl(214 20% 90%);
|
|
--color-ring: hsl(0 72% 44%);
|
|
--color-sidebar: hsl(0 0% 100%);
|
|
--color-sidebar-foreground: hsl(215 15% 40%);
|
|
--color-sidebar-primary: hsl(224.8, 81%, 60.8%);
|
|
--color-sidebar-primary-foreground: hsl(0 0% 100%);
|
|
--color-sidebar-accent: hsl(214 20% 94%);
|
|
--color-sidebar-accent-foreground: hsl(215 25% 20%);
|
|
--color-sidebar-border: hsl(214 20% 90%);
|
|
--color-success: hsl(152 55% 45%);
|
|
--color-warning: hsl(38 92% 50%);
|
|
}
|
|
}
|
|
@layer base {
|
|
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0 solid;
|
|
}
|
|
html, :host {
|
|
line-height: 1.5;
|
|
-webkit-text-size-adjust: 100%;
|
|
tab-size: 4;
|
|
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
hr {
|
|
height: 0;
|
|
color: inherit;
|
|
border-top-width: 1px;
|
|
}
|
|
abbr:where([title]) {
|
|
-webkit-text-decoration: underline dotted;
|
|
text-decoration: underline dotted;
|
|
}
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
a {
|
|
color: inherit;
|
|
-webkit-text-decoration: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
b, strong {
|
|
font-weight: bolder;
|
|
}
|
|
code, kbd, samp, pre {
|
|
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
font-size: 1em;
|
|
}
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
sub, sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
table {
|
|
text-indent: 0;
|
|
border-color: inherit;
|
|
border-collapse: collapse;
|
|
}
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
ol, ul, menu {
|
|
list-style: none;
|
|
}
|
|
img, svg, video, canvas, audio, iframe, embed, object {
|
|
display: block;
|
|
vertical-align: middle;
|
|
}
|
|
img, video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
font: inherit;
|
|
font-feature-settings: inherit;
|
|
font-variation-settings: inherit;
|
|
letter-spacing: inherit;
|
|
color: inherit;
|
|
border-radius: 0;
|
|
background-color: transparent;
|
|
opacity: 1;
|
|
}
|
|
:where(select:is([multiple], [size])) optgroup {
|
|
font-weight: bolder;
|
|
}
|
|
:where(select:is([multiple], [size])) optgroup option {
|
|
padding-inline-start: 20px;
|
|
}
|
|
::file-selector-button {
|
|
margin-inline-end: 4px;
|
|
}
|
|
::placeholder {
|
|
opacity: 1;
|
|
}
|
|
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
::placeholder {
|
|
color: currentcolor;
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
}
|
|
}
|
|
}
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
::-webkit-date-and-time-value {
|
|
min-height: 1lh;
|
|
text-align: inherit;
|
|
}
|
|
::-webkit-datetime-edit {
|
|
display: inline-flex;
|
|
}
|
|
::-webkit-datetime-edit-fields-wrapper {
|
|
padding: 0;
|
|
}
|
|
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
padding-block: 0;
|
|
}
|
|
::-webkit-calendar-picker-indicator {
|
|
line-height: 1;
|
|
}
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
appearance: button;
|
|
}
|
|
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
[hidden]:where(:not([hidden="until-found"])) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
@layer utilities {
|
|
.collapse {
|
|
visibility: collapse;
|
|
}
|
|
.visible {
|
|
visibility: visible;
|
|
}
|
|
.fixed {
|
|
position: fixed;
|
|
}
|
|
.relative {
|
|
position: relative;
|
|
}
|
|
.static {
|
|
position: static;
|
|
}
|
|
.start {
|
|
inset-inline-start: var(--spacing);
|
|
}
|
|
.end {
|
|
inset-inline-end: var(--spacing);
|
|
}
|
|
.container {
|
|
width: 100%;
|
|
@media (width >= 40rem) {
|
|
max-width: 40rem;
|
|
}
|
|
@media (width >= 48rem) {
|
|
max-width: 48rem;
|
|
}
|
|
@media (width >= 64rem) {
|
|
max-width: 64rem;
|
|
}
|
|
@media (width >= 80rem) {
|
|
max-width: 80rem;
|
|
}
|
|
@media (width >= 96rem) {
|
|
max-width: 96rem;
|
|
}
|
|
}
|
|
.mb-1 {
|
|
margin-bottom: calc(var(--spacing) * 1);
|
|
}
|
|
.mb-2 {
|
|
margin-bottom: calc(var(--spacing) * 2);
|
|
}
|
|
.mb-3 {
|
|
margin-bottom: calc(var(--spacing) * 3);
|
|
}
|
|
.mb-4 {
|
|
margin-bottom: calc(var(--spacing) * 4);
|
|
}
|
|
.mb-6 {
|
|
margin-bottom: calc(var(--spacing) * 6);
|
|
}
|
|
.block {
|
|
display: block;
|
|
}
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
.flow-root {
|
|
display: flow-root;
|
|
}
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
.inline {
|
|
display: inline;
|
|
}
|
|
.inline-flex {
|
|
display: inline-flex;
|
|
}
|
|
.table {
|
|
display: table;
|
|
}
|
|
.table-row {
|
|
display: table-row;
|
|
}
|
|
.h-4 {
|
|
height: calc(var(--spacing) * 4);
|
|
}
|
|
.w-4 {
|
|
width: calc(var(--spacing) * 4);
|
|
}
|
|
.w-full {
|
|
width: 100%;
|
|
}
|
|
.max-w-2xl {
|
|
max-width: var(--container-2xl);
|
|
}
|
|
.max-w-xs {
|
|
max-width: var(--container-xs);
|
|
}
|
|
.min-w-4 {
|
|
min-width: calc(var(--spacing) * 4);
|
|
}
|
|
.flex-shrink {
|
|
flex-shrink: 1;
|
|
}
|
|
.border-collapse {
|
|
border-collapse: collapse;
|
|
}
|
|
.transform {
|
|
transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
|
|
}
|
|
.cursor-pointer {
|
|
cursor: pointer;
|
|
}
|
|
.resize {
|
|
resize: both;
|
|
}
|
|
.list-disc {
|
|
list-style-type: disc;
|
|
}
|
|
.appearance-none {
|
|
appearance: none;
|
|
}
|
|
.flex-row {
|
|
flex-direction: row;
|
|
}
|
|
.flex-wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
.items-center {
|
|
align-items: center;
|
|
}
|
|
.items-end {
|
|
align-items: flex-end;
|
|
}
|
|
.gap-1 {
|
|
gap: calc(var(--spacing) * 1);
|
|
}
|
|
.gap-2 {
|
|
gap: calc(var(--spacing) * 2);
|
|
}
|
|
.gap-3 {
|
|
gap: calc(var(--spacing) * 3);
|
|
}
|
|
.space-y-1 {
|
|
:where(& > :not(:last-child)) {
|
|
--tw-space-y-reverse: 0;
|
|
margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
|
|
margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
}
|
|
}
|
|
.rounded-\[4px\] {
|
|
border-radius: 4px;
|
|
}
|
|
.border {
|
|
border-style: var(--tw-border-style);
|
|
border-width: 1px;
|
|
}
|
|
.border-t {
|
|
border-top-style: var(--tw-border-style);
|
|
border-top-width: 1px;
|
|
}
|
|
.border-b {
|
|
border-bottom-style: var(--tw-border-style);
|
|
border-bottom-width: 1px;
|
|
}
|
|
.border-transparent {
|
|
border-color: transparent;
|
|
}
|
|
.bg-orange-100 {
|
|
background-color: var(--color-orange-100);
|
|
}
|
|
.bg-red-100 {
|
|
background-color: var(--color-red-100);
|
|
}
|
|
.bg-red-600 {
|
|
background-color: var(--color-red-600);
|
|
}
|
|
.bg-white {
|
|
background-color: var(--color-white);
|
|
}
|
|
.p-1 {
|
|
padding: calc(var(--spacing) * 1);
|
|
}
|
|
.p-4 {
|
|
padding: calc(var(--spacing) * 4);
|
|
}
|
|
.p-6 {
|
|
padding: calc(var(--spacing) * 6);
|
|
}
|
|
.px-3 {
|
|
padding-inline: calc(var(--spacing) * 3);
|
|
}
|
|
.px-4 {
|
|
padding-inline: calc(var(--spacing) * 4);
|
|
}
|
|
.py-2 {
|
|
padding-block: calc(var(--spacing) * 2);
|
|
}
|
|
.py-2\.5 {
|
|
padding-block: calc(var(--spacing) * 2.5);
|
|
}
|
|
.py-3 {
|
|
padding-block: calc(var(--spacing) * 3);
|
|
}
|
|
.pl-5 {
|
|
padding-left: calc(var(--spacing) * 5);
|
|
}
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
.text-left {
|
|
text-align: left;
|
|
}
|
|
.text-2xl {
|
|
font-size: var(--text-2xl);
|
|
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
}
|
|
.text-sm {
|
|
font-size: var(--text-sm);
|
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
}
|
|
.text-\[15px\] {
|
|
font-size: 15px;
|
|
}
|
|
.leading-\[18px\] {
|
|
--tw-leading: 18px;
|
|
line-height: 18px;
|
|
}
|
|
.leading-relaxed {
|
|
--tw-leading: var(--leading-relaxed);
|
|
line-height: var(--leading-relaxed);
|
|
}
|
|
.font-medium {
|
|
--tw-font-weight: var(--font-weight-medium);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
.font-semibold {
|
|
--tw-font-weight: var(--font-weight-semibold);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
.tracking-tight {
|
|
--tw-tracking: var(--tracking-tight);
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
.whitespace-nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
.text-orange-700 {
|
|
color: var(--color-orange-700);
|
|
}
|
|
.text-red-700 {
|
|
color: var(--color-red-700);
|
|
}
|
|
.text-white {
|
|
color: var(--color-white);
|
|
}
|
|
.italic {
|
|
font-style: italic;
|
|
}
|
|
.underline {
|
|
text-decoration-line: underline;
|
|
}
|
|
.shadow-xs {
|
|
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
|
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
}
|
|
.blur {
|
|
--tw-blur: blur(8px);
|
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
}
|
|
.filter {
|
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
}
|
|
.transition {
|
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
}
|
|
.\*\:flex {
|
|
:is(& > *) {
|
|
display: flex;
|
|
}
|
|
}
|
|
.\*\:flex-row {
|
|
:is(& > *) {
|
|
flex-direction: row;
|
|
}
|
|
}
|
|
.\*\:items-center {
|
|
:is(& > *) {
|
|
align-items: center;
|
|
}
|
|
}
|
|
.\*\:gap-1 {
|
|
:is(& > *) {
|
|
gap: calc(var(--spacing) * 1);
|
|
}
|
|
}
|
|
.\*\:px-2\.5 {
|
|
:is(& > *) {
|
|
padding-inline: calc(var(--spacing) * 2.5);
|
|
}
|
|
}
|
|
.\*\:py-\[5px\] {
|
|
:is(& > *) {
|
|
padding-block: 5px;
|
|
}
|
|
}
|
|
.\*\:font-medium {
|
|
:is(& > *) {
|
|
--tw-font-weight: var(--font-weight-medium);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
}
|
|
.\*\:whitespace-nowrap {
|
|
:is(& > *) {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
.after\:absolute {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
position: absolute;
|
|
}
|
|
}
|
|
.after\:-mt-px {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
margin-top: -1px;
|
|
}
|
|
}
|
|
.after\:-ml-px {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
margin-left: -1px;
|
|
}
|
|
}
|
|
.after\:flex\! {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
display: flex !important;
|
|
}
|
|
}
|
|
.after\:h-4 {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
height: calc(var(--spacing) * 4);
|
|
}
|
|
}
|
|
.after\:w-4 {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
width: calc(var(--spacing) * 4);
|
|
}
|
|
}
|
|
.after\:items-center {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
align-items: center;
|
|
}
|
|
}
|
|
.after\:justify-center {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.after\:leading-none {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
--tw-leading: 1;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
.after\:text-white {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
color: var(--color-white);
|
|
}
|
|
}
|
|
.after\:content-\[\'check\\_small\'\] {
|
|
&::after {
|
|
--tw-content: 'check_small';
|
|
content: var(--tw-content);
|
|
}
|
|
}
|
|
.hover\:bg-red-600\/80 {
|
|
&:hover {
|
|
@media (hover: hover) {
|
|
background-color: color-mix(in srgb, oklch(57.7% 0.245 27.325) 80%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background-color: color-mix(in oklab, var(--color-red-600) 80%, transparent);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.hover\:underline {
|
|
&:hover {
|
|
@media (hover: hover) {
|
|
text-decoration-line: underline;
|
|
}
|
|
}
|
|
}
|
|
.focus\:outline-2 {
|
|
&:focus {
|
|
outline-style: var(--tw-outline-style);
|
|
outline-width: 2px;
|
|
}
|
|
}
|
|
.focus\:-outline-offset-2 {
|
|
&:focus {
|
|
outline-offset: calc(2px * -1);
|
|
}
|
|
}
|
|
.disabled\:cursor-not-allowed {
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
.disabled\:opacity-50 {
|
|
&:disabled {
|
|
opacity: 50%;
|
|
}
|
|
}
|
|
.md\:w-auto {
|
|
@media (width >= 48rem) {
|
|
width: auto;
|
|
}
|
|
}
|
|
.dark\:bg-orange-500\/20 {
|
|
@media (prefers-color-scheme: dark) {
|
|
background-color: color-mix(in srgb, oklch(70.5% 0.213 47.604) 20%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background-color: color-mix(in oklab, var(--color-orange-500) 20%, transparent);
|
|
}
|
|
}
|
|
}
|
|
.dark\:bg-red-500\/20 {
|
|
@media (prefers-color-scheme: dark) {
|
|
background-color: color-mix(in srgb, oklch(63.7% 0.237 25.331) 20%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background-color: color-mix(in oklab, var(--color-red-500) 20%, transparent);
|
|
}
|
|
}
|
|
}
|
|
.dark\:bg-white\/\[\.06\] {
|
|
@media (prefers-color-scheme: dark) {
|
|
background-color: color-mix(in srgb, #fff 6%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background-color: color-mix(in oklab, var(--color-white) 6%, transparent);
|
|
}
|
|
}
|
|
}
|
|
.dark\:text-orange-400 {
|
|
@media (prefers-color-scheme: dark) {
|
|
color: var(--color-orange-400);
|
|
}
|
|
}
|
|
.dark\:text-red-400 {
|
|
@media (prefers-color-scheme: dark) {
|
|
color: var(--color-red-400);
|
|
}
|
|
}
|
|
.dark\:scheme-dark {
|
|
@media (prefers-color-scheme: dark) {
|
|
color-scheme: dark;
|
|
}
|
|
}
|
|
.dark\:after\:text-transparent {
|
|
@media (prefers-color-scheme: dark) {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
color: transparent;
|
|
}
|
|
}
|
|
}
|
|
.dark\:checked\:after\:text-white {
|
|
@media (prefers-color-scheme: dark) {
|
|
&:checked {
|
|
&::after {
|
|
content: var(--tw-content);
|
|
color: var(--color-white);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.\*\:dark\:hover\:bg-white\/\[\.06\] {
|
|
:is(& > *) {
|
|
@media (prefers-color-scheme: dark) {
|
|
&:hover {
|
|
@media (hover: hover) {
|
|
background-color: color-mix(in srgb, #fff 6%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background-color: color-mix(in oklab, var(--color-white) 6%, transparent);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@layer base {
|
|
[data-theme="dark"] {
|
|
--color-background: hsl(215 25% 10%);
|
|
--color-foreground: hsl(210 40% 98%);
|
|
--color-card: hsl(215 25% 13%);
|
|
--color-card-foreground: hsl(210 40% 98%);
|
|
--color-popover: hsl(215 25% 13%);
|
|
--color-popover-foreground: hsl(210 40% 98%);
|
|
--color-primary: hsl(208.1, 55.4%, 27.3%);
|
|
--color-primary-foreground: hsl(215 60% 15%);
|
|
--color-secondary: hsl(215 30% 20%);
|
|
--color-secondary-foreground: hsl(210 40% 98%);
|
|
--color-muted: hsl(215 25% 18%);
|
|
--color-muted-foreground: hsl(215 20% 60%);
|
|
--color-accent: hsl(174 55% 42%);
|
|
--color-accent-foreground: hsl(0 0% 100%);
|
|
--color-destructive: hsl(0 62.8% 30.6%);
|
|
--color-destructive-foreground: hsl(210 40% 98%);
|
|
--color-border: hsl(215 25% 22%);
|
|
--color-input: hsl(215 25% 22%);
|
|
--color-ring: hsl(208.1, 55.4%, 27.3%);
|
|
--color-sidebar: hsl(215 30% 8%);
|
|
--color-sidebar-foreground: hsl(210 20% 80%);
|
|
--color-sidebar-primary: hsl(208.1, 55.4%, 27.3%);
|
|
--color-sidebar-primary-foreground: hsl(0 0% 100%);
|
|
--color-sidebar-accent: hsl(215 25% 15%);
|
|
--color-sidebar-accent-foreground: hsl(210 20% 90%);
|
|
--color-sidebar-border: hsl(215 25% 18%);
|
|
--color-sidebar-ring: hsl(208.1, 55.4%, 27.3%);
|
|
--color-success: hsl(152 55% 45%);
|
|
--color-success-foreground: hsl(0 0% 100%);
|
|
--color-warning: hsl(38 92% 50%);
|
|
--color-warning-foreground: hsl(0 0% 100%);
|
|
--color-info: hsl(205 80% 55%);
|
|
--color-info-foreground: hsl(0 0% 100%);
|
|
}
|
|
[data-theme="slate"] {
|
|
--color-sidebar: hsl(215 30% 14%);
|
|
--color-sidebar-foreground: hsl(210 20% 70%);
|
|
--color-sidebar-primary: hsl(224.8 81% 65%);
|
|
--color-sidebar-primary-foreground: hsl(0 0% 100%);
|
|
--color-sidebar-accent: hsl(215 30% 22%);
|
|
--color-sidebar-accent-foreground: hsl(210 20% 92%);
|
|
--color-sidebar-border: hsl(215 25% 20%);
|
|
--color-sidebar-ring: hsl(224.8 81% 60%);
|
|
}
|
|
[data-theme="emerald"] {
|
|
--color-primary: hsl(152 58% 38%);
|
|
--color-primary-foreground: hsl(0 0% 100%);
|
|
--color-accent: hsl(152 55% 42%);
|
|
--color-accent-foreground: hsl(0 0% 100%);
|
|
--color-ring: hsl(152 58% 38%);
|
|
--color-sidebar-primary: hsl(152 58% 38%);
|
|
--color-sidebar-primary-foreground: hsl(0 0% 100%);
|
|
--color-sidebar-ring: hsl(152 58% 38%);
|
|
}
|
|
* {
|
|
border-color: var(--color-border);
|
|
}
|
|
body {
|
|
background-color: var(--color-background);
|
|
color: var(--color-foreground);
|
|
font-family: var(--font-sans);
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
}
|
|
@layer components {
|
|
.stat-card {
|
|
background-color: var(--color-card);
|
|
border-radius: 0.75rem;
|
|
border: 1px solid var(--color-border);
|
|
padding: 1.5rem;
|
|
box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
|
|
transition: box-shadow 200ms;
|
|
&:hover {
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
}
|
|
}
|
|
.sidebar {
|
|
background-color: var(--color-sidebar);
|
|
color: var(--color-sidebar-foreground);
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: width 200ms ease-in-out;
|
|
overflow: hidden;
|
|
border-right: 1px solid var(--color-sidebar-border);
|
|
}
|
|
.sidebar.collapsed {
|
|
width: 56px;
|
|
}
|
|
.sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0 1rem;
|
|
height: 56px;
|
|
flex-shrink: 0;
|
|
border-bottom: 1px solid var(--color-sidebar-border);
|
|
}
|
|
.sidebar-logo {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
border-radius: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 0.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.sidebar-logo-text {
|
|
overflow: hidden;
|
|
transition: opacity 150ms, width 150ms;
|
|
}
|
|
.sidebar.collapsed .sidebar-logo-text {
|
|
opacity: 0;
|
|
width: 0;
|
|
pointer-events: none;
|
|
}
|
|
.sidebar.collapsed .nav-section-label {
|
|
opacity: 0;
|
|
height: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
.sidebar.collapsed .nav-label-text {
|
|
display: none;
|
|
}
|
|
.sidebar.collapsed .nav-badge {
|
|
display: none;
|
|
}
|
|
.sidebar.collapsed .nav-item {
|
|
justify-content: center;
|
|
padding: 0.5rem;
|
|
gap: 0;
|
|
}
|
|
.sidebar.collapsed .sidebar-header {
|
|
justify-content: center;
|
|
padding: 0;
|
|
gap: 0;
|
|
}
|
|
.sidebar.collapsed .sidebar-footer {
|
|
justify-content: center;
|
|
padding: 0.75rem 0;
|
|
gap: 0;
|
|
}
|
|
.sidebar.collapsed .sidebar-footer .sidebar-logo-text {
|
|
opacity: 0;
|
|
width: 0;
|
|
pointer-events: none;
|
|
}
|
|
.sidebar.collapsed .sidebar-footer .footer-actions {
|
|
display: none;
|
|
}
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.4375rem 0.625rem;
|
|
border-radius: 0.5rem;
|
|
color: var(--color-sidebar-foreground);
|
|
font-size: 0.8125rem;
|
|
cursor: pointer;
|
|
transition: background 150ms, color 150ms;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
.nav-item:hover {
|
|
background-color: var(--color-sidebar-accent);
|
|
color: var(--color-sidebar-accent-foreground);
|
|
}
|
|
.nav-item.active {
|
|
background-color: var(--color-sidebar-primary);
|
|
color: var(--color-sidebar-primary-foreground);
|
|
font-weight: 500;
|
|
}
|
|
.nav-item svg {
|
|
flex-shrink: 0;
|
|
opacity: 0.7;
|
|
}
|
|
.nav-item.active svg, .nav-item:hover svg {
|
|
opacity: 1;
|
|
}
|
|
.nav-section-label {
|
|
font-size: 0.625rem;
|
|
color: var(--color-sidebar-foreground);
|
|
opacity: 0.4;
|
|
letter-spacing: 0.07em;
|
|
text-transform: uppercase;
|
|
padding: 0.5rem 0.625rem 0.25rem;
|
|
transition: opacity 150ms, height 150ms;
|
|
}
|
|
.nav-badge {
|
|
margin-left: auto;
|
|
font-size: 0.625rem;
|
|
padding: 0.125rem 0.375rem;
|
|
border-radius: 999px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
.nav-badge-red {
|
|
background: hsl(0 72% 51%);
|
|
color: #fff;
|
|
}
|
|
.nav-badge-amber {
|
|
background: hsl(38 92% 50%);
|
|
color: #fff;
|
|
}
|
|
.sidebar-footer {
|
|
border-top: 1px solid var(--color-sidebar-border);
|
|
padding: 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.page-content {
|
|
animation: fadeIn 0.18s ease-out;
|
|
}
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(6px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
.loader-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: var(--color-accent);
|
|
z-index: 10000;
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: transform 200ms ease, opacity 120ms ease;
|
|
}
|
|
.loader-bar.htmx-request,
|
|
.loader-bar.is-active {
|
|
opacity: 1;
|
|
transform: scaleX(0.75);
|
|
animation: loader-bar-pulse 1.1s ease-in-out infinite;
|
|
}
|
|
@keyframes loader-bar-pulse {
|
|
0% {
|
|
transform: scaleX(0.15);
|
|
}
|
|
50% {
|
|
transform: scaleX(0.85);
|
|
}
|
|
100% {
|
|
transform: scaleX(0.35);
|
|
}
|
|
}
|
|
.page-preloader {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 40;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: color-mix(in srgb, var(--color-background) 72%, transparent);
|
|
backdrop-filter: blur(1px);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: opacity 140ms ease, visibility 140ms ease;
|
|
}
|
|
.page-preloader.is-active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
}
|
|
.page-preloader-spinner {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
border: 2.5px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
|
|
border-top-color: var(--color-accent);
|
|
border-radius: 50%;
|
|
animation: page-preloader-spin 0.7s linear infinite;
|
|
}
|
|
@keyframes page-preloader-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
font-size: 0.6875rem;
|
|
font-weight: 500;
|
|
padding: 0.1875rem 0.5rem;
|
|
border-radius: 999px;
|
|
}
|
|
.badge-success {
|
|
background: hsl(152 55% 45% / 0.15);
|
|
color: hsl(152 55% 35%);
|
|
}
|
|
.badge-warning {
|
|
background: hsl(38 92% 50% / 0.15);
|
|
color: hsl(38 70% 35%);
|
|
}
|
|
.badge-danger {
|
|
background: hsl(0 72% 51% / 0.15);
|
|
color: hsl(0 72% 40%);
|
|
}
|
|
.badge-info {
|
|
background: hsl(205 80% 55% / 0.15);
|
|
color: hsl(205 80% 35%);
|
|
}
|
|
.badge-muted {
|
|
background: var(--color-muted);
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.people-picker {
|
|
position: relative;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius);
|
|
background: var(--color-card);
|
|
padding: 0.5rem 0.625rem;
|
|
}
|
|
.people-picker-ui {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
}
|
|
.people-picker-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
}
|
|
.people-picker-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3125rem;
|
|
background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 12%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
}
|
|
color: var(--color-primary);
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
padding: 0.1875rem 0.375rem 0.1875rem 0.625rem;
|
|
border-radius: 999px;
|
|
white-space: nowrap;
|
|
}
|
|
.people-picker-chip-remove {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.125rem;
|
|
height: 1.125rem;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font-size: 0.9375rem;
|
|
line-height: 1;
|
|
padding: 0;
|
|
}
|
|
.people-picker-chip-remove:hover {
|
|
background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 20%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background: color-mix(in srgb, var(--color-primary) 20%, transparent);
|
|
}
|
|
}
|
|
.people-picker-search {
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
padding: 0.1875rem 0 !important;
|
|
min-width: 8rem;
|
|
flex: 1;
|
|
background: transparent !important;
|
|
}
|
|
.searchable-select {
|
|
position: relative;
|
|
}
|
|
.searchable-select-search {
|
|
width: 100%;
|
|
padding-right: 2rem !important;
|
|
}
|
|
.searchable-select-clear {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0.5rem;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
color: var(--color-muted-foreground);
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
padding: 0;
|
|
}
|
|
.searchable-select-clear:hover {
|
|
background: var(--color-muted);
|
|
color: var(--color-foreground);
|
|
}
|
|
.people-picker-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
max-height: min(70vh, 28rem);
|
|
overflow-y: auto;
|
|
background: var(--color-card);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius);
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
|
|
z-index: 1000;
|
|
padding: 0.25rem;
|
|
}
|
|
.people-picker-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.375rem 0.5rem;
|
|
border-radius: calc(var(--radius) - 4px);
|
|
cursor: pointer;
|
|
}
|
|
.people-picker-row:hover {
|
|
background: var(--color-muted);
|
|
}
|
|
.people-picker-row.is-selected {
|
|
background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 8%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background: color-mix(in srgb, var(--color-primary) 8%, transparent);
|
|
}
|
|
}
|
|
.people-picker-row-info {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.people-picker-row-name {
|
|
font-size: 0.8125rem;
|
|
color: var(--color-foreground);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.people-picker-row-position {
|
|
font-size: 0.6875rem;
|
|
color: var(--color-muted-foreground);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.people-picker-row-check {
|
|
color: var(--color-primary);
|
|
font-size: 0.9375rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.people-picker-avatar {
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
object-fit: cover;
|
|
}
|
|
.people-picker-avatar-fallback {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: color-mix(in srgb, hsl(224.8, 81%, 60.8%) 12%, transparent);
|
|
@supports (color: color-mix(in lab, red, red)) {
|
|
background: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
}
|
|
color: var(--color-primary);
|
|
font-size: 0.625rem;
|
|
font-weight: 600;
|
|
}
|
|
.people-picker-dept {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
padding: 0.375rem 0.5rem;
|
|
border-radius: calc(var(--radius) - 4px);
|
|
cursor: pointer;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--color-foreground);
|
|
}
|
|
.people-picker-dept:hover {
|
|
background: var(--color-muted);
|
|
}
|
|
.people-picker-dept-toggle {
|
|
width: 0.75rem;
|
|
flex-shrink: 0;
|
|
color: var(--color-muted-foreground);
|
|
font-size: 0.625rem;
|
|
}
|
|
.people-picker-dept-icon {
|
|
flex-shrink: 0;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.people-picker-dept-label {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
padding: 0.4375rem 0.875rem;
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
transition: background 150ms, opacity 150ms;
|
|
border: none;
|
|
text-decoration: none;
|
|
}
|
|
.btn-primary {
|
|
background-color: var(--color-primary);
|
|
color: var(--color-primary-foreground);
|
|
&:hover {
|
|
opacity: 0.9;
|
|
}
|
|
}
|
|
.btn-secondary {
|
|
background-color: var(--color-secondary);
|
|
color: var(--color-secondary-foreground);
|
|
&:hover {
|
|
background-color: var(--color-border);
|
|
}
|
|
}
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--color-muted-foreground);
|
|
&:hover {
|
|
background-color: var(--color-muted);
|
|
color: var(--color-foreground);
|
|
}
|
|
}
|
|
.btn-icon {
|
|
padding: 0.4375rem;
|
|
border-radius: var(--radius);
|
|
}
|
|
.oo-editor-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
margin: 0;
|
|
animation: none;
|
|
}
|
|
.oo-editor-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 0.5rem;
|
|
padding: 0.2rem 0.75rem;
|
|
margin: 0;
|
|
min-height: 1.75rem;
|
|
flex-shrink: 0;
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: var(--color-background);
|
|
}
|
|
.oo-editor-back {
|
|
font-size: 0.8125rem;
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
.oo-editor-back:hover { text-decoration: underline; }
|
|
.oo-editor-host {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: auto;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: #fff;
|
|
}
|
|
.doc-preview-title {
|
|
margin-right: auto;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--color-foreground);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 60%;
|
|
}
|
|
.doc-preview-host {
|
|
background: color-mix(in srgb, var(--color-muted-foreground) 8%, var(--color-background));
|
|
}
|
|
.doc-preview-frame {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
background: #fff;
|
|
}
|
|
.doc-preview-image-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
.doc-preview-image {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
|
|
background: #fff;
|
|
}
|
|
|
|
.doc-preview-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
z-index: 1100;
|
|
}
|
|
.doc-preview-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1101;
|
|
padding: 1.25rem;
|
|
box-sizing: border-box;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.doc-preview-dialog {
|
|
width: min(960px, 96vw);
|
|
height: min(90vh, 980px);
|
|
background: var(--color-card);
|
|
border-radius: 0.75rem;
|
|
border: 1px solid var(--color-border);
|
|
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.doc-preview-dialog-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.65rem 0.9rem;
|
|
border-bottom: 1px solid var(--color-border);
|
|
flex-shrink: 0;
|
|
}
|
|
.doc-preview-dialog-title {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--color-foreground);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.doc-preview-dialog-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.doc-preview-dialog-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
background: color-mix(in srgb, var(--color-muted-foreground) 10%, var(--color-background));
|
|
}
|
|
.doc-preview-dialog-frame {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
background: #fff;
|
|
}
|
|
.doc-preview-dialog-image-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
.doc-preview-dialog-image {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
|
|
background: #fff;
|
|
}
|
|
#main-content:has(.oo-editor-page) {
|
|
padding: 0 !important;
|
|
overflow: hidden !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
#main-content:has(.oo-editor-page) .oo-editor-page {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
#main-content:has(.mail-app) {
|
|
padding: 0 !important;
|
|
overflow: hidden !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.mail-app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: 100%;
|
|
background: var(--color-card);
|
|
color: var(--color-foreground);
|
|
}
|
|
.mail-notice {
|
|
background: var(--color-card);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.75rem;
|
|
padding: 1.5rem;
|
|
font-size: 0.875rem;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.mail-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: color-mix(in srgb, var(--color-muted) 55%, var(--color-card));
|
|
flex-shrink: 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
.mail-toolbar-left,
|
|
.mail-toolbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
.mail-toolbar-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
color: var(--color-foreground);
|
|
max-width: 14rem;
|
|
}
|
|
.mail-toolbar-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
margin: 0;
|
|
max-width: 16rem;
|
|
}
|
|
.mail-toolbar-select {
|
|
max-width: 14rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
background: var(--color-card);
|
|
color: var(--color-foreground);
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
padding: 0.3rem 0.45rem;
|
|
outline: none;
|
|
}
|
|
.mail-toolbar-email {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.mail-toolbar-search {
|
|
flex: 1;
|
|
min-width: 10rem;
|
|
max-width: 22rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
background: var(--color-card);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
padding: 0.25rem 0.55rem;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.mail-toolbar-search input {
|
|
flex: 1;
|
|
border: 0;
|
|
outline: none;
|
|
background: transparent;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-foreground);
|
|
min-width: 0;
|
|
}
|
|
.mail-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 0.375rem;
|
|
padding: 0.35rem 0.7rem;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
background: transparent;
|
|
color: var(--color-foreground);
|
|
white-space: nowrap;
|
|
}
|
|
.mail-btn-compose {
|
|
background: var(--color-primary);
|
|
color: white;
|
|
}
|
|
.mail-btn-compose:hover { filter: brightness(1.05); }
|
|
.mail-btn-ghost {
|
|
border-color: var(--color-border);
|
|
background: var(--color-card);
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.mail-btn-ghost:hover {
|
|
color: var(--color-foreground);
|
|
background: var(--color-muted);
|
|
}
|
|
.mail-layout {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-columns: 11.5rem minmax(16rem, 22rem) 1fr;
|
|
overflow: hidden;
|
|
}
|
|
.mail-folders {
|
|
border-right: 1px solid var(--color-border);
|
|
background: color-mix(in srgb, var(--color-muted) 40%, var(--color-card));
|
|
padding: 0.5rem 0.35rem;
|
|
overflow-y: auto;
|
|
}
|
|
.mail-folder {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.45rem 0.55rem;
|
|
border-radius: 0.375rem;
|
|
text-decoration: none;
|
|
color: var(--color-foreground);
|
|
font-size: 0.8125rem;
|
|
margin-bottom: 1px;
|
|
}
|
|
.mail-folder:hover { background: var(--color-muted); }
|
|
.mail-folder.is-active {
|
|
background: color-mix(in srgb, var(--color-primary) 16%, transparent);
|
|
color: var(--color-primary);
|
|
font-weight: 600;
|
|
}
|
|
.mail-folder-icon {
|
|
display: inline-flex;
|
|
opacity: 0.75;
|
|
flex-shrink: 0;
|
|
}
|
|
.mail-folder.is-active .mail-folder-icon { opacity: 1; }
|
|
.mail-folder-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
|
.mail-folder-badge {
|
|
background: var(--color-primary);
|
|
color: white;
|
|
border-radius: 999px;
|
|
font-size: 0.6875rem;
|
|
font-weight: 700;
|
|
padding: 0.05rem 0.4rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.mail-list {
|
|
border-right: 1px solid var(--color-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--color-card);
|
|
}
|
|
.mail-list-head {
|
|
flex-shrink: 0;
|
|
padding: 0.55rem 0.85rem;
|
|
border-bottom: 1px solid var(--color-border);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.mail-list-head em {
|
|
font-style: normal;
|
|
margin-left: 0.35rem;
|
|
color: var(--color-primary);
|
|
}
|
|
.mail-list-scroll {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.mail-list-empty {
|
|
padding: 2rem 1rem;
|
|
text-align: center;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.mail-load-more-wrap {
|
|
padding: 0.75rem 0.85rem 1rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.mail-load-more-btn {
|
|
width: 100%;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.mail-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.12rem;
|
|
padding: 0.6rem 0.8rem;
|
|
border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
|
|
text-decoration: none;
|
|
color: inherit;
|
|
background: transparent;
|
|
min-width: 0;
|
|
}
|
|
.mail-row:hover { background: var(--color-muted); }
|
|
.mail-row.is-selected {
|
|
background: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
box-shadow: inset 3px 0 0 var(--color-primary);
|
|
}
|
|
.mail-row.is-unread .mail-row-from,
|
|
.mail-row.is-unread .mail-row-subject { font-weight: 700; }
|
|
.mail-row-top {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
min-width: 0;
|
|
}
|
|
.mail-row-from {
|
|
font-size: 0.8125rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.mail-row-date {
|
|
font-size: 0.6875rem;
|
|
color: var(--color-muted-foreground);
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
.mail-row-subject {
|
|
font-size: 0.8125rem;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.mail-row-preview {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--color-muted-foreground);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-weight: 400;
|
|
}
|
|
.mail-reader {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background: var(--color-background);
|
|
}
|
|
.mail-reader-empty {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
color: var(--color-muted-foreground);
|
|
font-size: 0.875rem;
|
|
padding: 2rem;
|
|
}
|
|
.mail-reader-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding: 0.85rem 1.15rem;
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: var(--color-card);
|
|
flex-shrink: 0;
|
|
}
|
|
.mail-reader-head h2 {
|
|
margin: 0;
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.mail-message,
|
|
.mail-compose {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.mail-message-meta {
|
|
padding: 0.75rem 1.15rem;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-muted-foreground);
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: var(--color-card);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.mail-message-body {
|
|
padding: 0;
|
|
font-size: 0.875rem;
|
|
line-height: 1.6;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.mail-message-text {
|
|
padding: 1.15rem;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.mail-html-frame {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 70vh;
|
|
height: 70vh;
|
|
border: 0;
|
|
background: #fff;
|
|
}
|
|
.mail-attachments {
|
|
padding: 0.75rem 1.15rem 1rem;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
.mail-attachments-title {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--color-muted-foreground);
|
|
margin-bottom: 0.45rem;
|
|
}
|
|
.mail-attachments-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
|
|
.mail-attachment {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.35rem 0.55rem;
|
|
border-radius: 0.375rem;
|
|
background: var(--color-muted);
|
|
color: var(--color-foreground);
|
|
text-decoration: none;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.mail-attachment span { color: var(--color-muted-foreground); font-size: 0.75rem; }
|
|
.mail-reply {
|
|
margin: 0 1.15rem 1.15rem;
|
|
padding-top: 0.85rem;
|
|
border-top: 1px solid var(--color-border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
.mail-reply-label { font-size: 0.8125rem; color: var(--color-muted-foreground); }
|
|
.mail-reply textarea,
|
|
.mail-compose-form textarea {
|
|
width: 100%;
|
|
resize: vertical;
|
|
min-height: 5.5rem;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.375rem;
|
|
padding: 0.55rem 0.7rem;
|
|
font: inherit;
|
|
font-size: 0.875rem;
|
|
background: var(--color-card);
|
|
color: var(--color-foreground);
|
|
box-sizing: border-box;
|
|
}
|
|
.mail-compose-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.55rem;
|
|
padding: 0.85rem 1.15rem 1.15rem;
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
.mail-compose-form textarea {
|
|
flex: 1 1 auto;
|
|
min-height: 12rem;
|
|
}
|
|
.mail-field {
|
|
display: grid;
|
|
grid-template-columns: 4.5rem 1fr;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.mail-field span { color: var(--color-muted-foreground); }
|
|
.mail-field input {
|
|
width: 100%;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--color-border);
|
|
background: transparent;
|
|
padding: 0.4rem 0;
|
|
font: inherit;
|
|
font-size: 0.875rem;
|
|
color: var(--color-foreground);
|
|
outline: none;
|
|
}
|
|
.mail-field input:focus { border-bottom-color: var(--color-primary); }
|
|
.mail-compose-actions { display: flex; gap: 0.5rem; margin-top: 0.25rem; align-items: center; flex-wrap: wrap; }
|
|
.mail-attach {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
padding-top: 0.15rem;
|
|
}
|
|
.mail-attach-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
width: fit-content;
|
|
cursor: pointer;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-primary);
|
|
font-weight: 500;
|
|
}
|
|
.mail-attach-input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
}
|
|
.mail-attach-hint {
|
|
font-size: 0.75rem;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.mail-attach-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.mail-attach-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.3rem 0.5rem;
|
|
background: var(--color-muted);
|
|
border-radius: 0.375rem;
|
|
}
|
|
.mail-attach-list li span { color: var(--color-muted-foreground); font-size: 0.75rem; }
|
|
.mail-alert {
|
|
margin: 0.75rem 1.15rem 0;
|
|
padding: 0.65rem 0.85rem;
|
|
border-radius: 0.5rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.mail-alert-error {
|
|
background: color-mix(in srgb, var(--color-destructive) 8%, transparent);
|
|
border: 1px solid color-mix(in srgb, var(--color-destructive) 30%, transparent);
|
|
color: var(--color-destructive);
|
|
}
|
|
.mail-alert-ok {
|
|
background: color-mix(in srgb, hsl(152 55% 45%) 12%, transparent);
|
|
border: 1px solid color-mix(in srgb, hsl(152 55% 45%) 35%, transparent);
|
|
color: hsl(152 55% 30%);
|
|
}
|
|
@media (max-width: 900px) {
|
|
.mail-layout {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto minmax(12rem, 40%) 1fr;
|
|
}
|
|
.mail-folders {
|
|
display: flex;
|
|
overflow-x: auto;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--color-border);
|
|
padding: 0.35rem;
|
|
gap: 0.15rem;
|
|
}
|
|
.mail-folder { flex-shrink: 0; }
|
|
.mail-folder-label { max-width: 6rem; }
|
|
.mail-layout-compose {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto minmax(10rem, 35%) 1fr;
|
|
}
|
|
.mail-layout-compose .mail-folders { display: flex; }
|
|
}
|
|
.nc-file-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
align-items: stretch;
|
|
}
|
|
.nc-mkdir {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
.nc-drop {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex: 1 1 16rem;
|
|
border: 1px dashed var(--color-border);
|
|
border-radius: 0.5rem;
|
|
padding: 0.25rem 0.5rem 0.25rem 0.75rem;
|
|
background: var(--color-muted);
|
|
min-height: 2.25rem;
|
|
}
|
|
.nc-drop.is-drag {
|
|
border-color: var(--color-primary);
|
|
background: color-mix(in srgb, var(--color-primary) 8%, var(--color-muted));
|
|
}
|
|
.nc-browser-drop {
|
|
position: relative;
|
|
min-height: 4rem;
|
|
border-radius: 0.5rem;
|
|
transition: background 120ms, box-shadow 120ms;
|
|
}
|
|
.nc-browser-drop.is-drag {
|
|
background: color-mix(in srgb, var(--color-primary) 6%, transparent);
|
|
box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--color-primary) 45%, transparent);
|
|
}
|
|
.nc-drop-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex: 1;
|
|
min-width: 0;
|
|
cursor: pointer;
|
|
}
|
|
.nc-drop-input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
}
|
|
.nc-drop-text {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: baseline;
|
|
gap: 0.35rem;
|
|
min-width: 0;
|
|
}
|
|
.nc-drop-title {
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--color-foreground);
|
|
white-space: nowrap;
|
|
}
|
|
.nc-drop-name {
|
|
font-size: 0.75rem;
|
|
color: var(--color-muted-foreground);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.nc-file-act {
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
font-size: 0.75rem;
|
|
color: var(--color-muted-foreground);
|
|
padding: 0;
|
|
}
|
|
.nc-file-act:hover { color: var(--color-foreground); }
|
|
.nc-file-act-danger:hover { color: var(--color-destructive); }
|
|
.nc-file-ico {
|
|
display: inline-block;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
flex-shrink: 0;
|
|
background-color: var(--color-muted-foreground);
|
|
-webkit-mask-repeat: no-repeat;
|
|
mask-repeat: no-repeat;
|
|
-webkit-mask-position: center;
|
|
mask-position: center;
|
|
-webkit-mask-size: contain;
|
|
mask-size: contain;
|
|
}
|
|
.nc-file-ico-folder {
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 20 20'%3E%3Cpath d='M2 6a2 2 0 012-2h3.172a2 2 0 011.414.586l.828.828A2 2 0 0010.828 6H16a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V6z'/%3E%3C/svg%3E");
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 20 20'%3E%3Cpath d='M2 6a2 2 0 012-2h3.172a2 2 0 011.414.586l.828.828A2 2 0 0010.828 6H16a2 2 0 012 2v7a2 2 0 01-2 2H4a2 2 0 01-2-2V6z'/%3E%3C/svg%3E");
|
|
}
|
|
.nc-file-ico-file {
|
|
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z' clip-rule='evenodd'/%3E%3C/svg%3E");
|
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z' clip-rule='evenodd'/%3E%3C/svg%3E");
|
|
}
|
|
.input {
|
|
background-color: var(--color-card);
|
|
border: 1px solid var(--color-input);
|
|
border-radius: var(--radius);
|
|
padding: 0.4375rem 0.75rem;
|
|
font-size: 0.875rem;
|
|
color: var(--color-foreground);
|
|
outline: none;
|
|
transition: border-color 150ms, box-shadow 150ms;
|
|
width: 100%;
|
|
&::placeholder {
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
&:focus {
|
|
border-color: var(--color-ring);
|
|
box-shadow: 0 0 0 3px hsl(0 72% 44% / 0.1);
|
|
}
|
|
}
|
|
.tr-hover:hover {
|
|
background-color: var(--color-muted);
|
|
}
|
|
.li-hover:hover {
|
|
background-color: var(--color-muted);
|
|
}
|
|
.header-search {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: var(--color-muted);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius);
|
|
padding: 0.4375rem 0.75rem;
|
|
width: 18rem;
|
|
}
|
|
.header-search-icon {
|
|
color: var(--color-muted-foreground);
|
|
flex-shrink: 0;
|
|
}
|
|
.header-search-input {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
width: 100%;
|
|
font: inherit;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-foreground);
|
|
outline: none;
|
|
}
|
|
.portal-search-results {
|
|
position: absolute;
|
|
top: calc(100% + 0.35rem);
|
|
left: 0;
|
|
right: 0;
|
|
min-width: 22rem;
|
|
max-height: min(70vh, 28rem);
|
|
overflow-y: auto;
|
|
z-index: 80;
|
|
background: var(--color-card);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
|
|
}
|
|
.portal-search-panel { padding: 0.35rem 0; }
|
|
.portal-search-hint,
|
|
.portal-search-empty {
|
|
padding: 0.85rem 1rem;
|
|
font-size: 0.8125rem;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.portal-search-group { padding: 0.25rem 0 0.35rem; }
|
|
.portal-search-group + .portal-search-group {
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
.portal-search-group-label {
|
|
padding: 0.35rem 0.85rem 0.2rem;
|
|
font-size: 0.6875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: var(--color-muted-foreground);
|
|
}
|
|
.portal-search-hit {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.55rem;
|
|
padding: 0.45rem 0.85rem;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
.portal-search-hit:hover,
|
|
.portal-search-hit:focus {
|
|
background: var(--color-muted);
|
|
outline: none;
|
|
}
|
|
.portal-search-hit-icon {
|
|
display: inline-flex;
|
|
margin-top: 0.15rem;
|
|
color: var(--color-muted-foreground);
|
|
flex-shrink: 0;
|
|
}
|
|
.portal-search-hit-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
min-width: 0;
|
|
}
|
|
.portal-search-hit-title {
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.portal-search-hit-sub {
|
|
font-size: 0.75rem;
|
|
color: var(--color-muted-foreground);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.task-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.875rem;
|
|
padding: 0.75rem 1.25rem;
|
|
}
|
|
.task-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.625rem;
|
|
flex-shrink: 0;
|
|
}
|
|
.progress {
|
|
height: 4px;
|
|
background-color: var(--color-muted);
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
}
|
|
.progress-bar {
|
|
height: 100%;
|
|
border-radius: 999px;
|
|
background-color: var(--color-accent);
|
|
transition: width 300ms ease;
|
|
}
|
|
.sidebar-backdrop {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
z-index: 199;
|
|
backdrop-filter: blur(2px);
|
|
-webkit-backdrop-filter: blur(2px);
|
|
}
|
|
.sidebar-backdrop.active {
|
|
display: block;
|
|
}
|
|
.bottom-nav {
|
|
display: none;
|
|
}
|
|
.theme-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.375rem 0.625rem;
|
|
border-radius: calc(var(--radius) - 2px);
|
|
font-size: 0.8125rem;
|
|
color: var(--color-foreground);
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
text-align: left;
|
|
transition: background 150ms;
|
|
}
|
|
.theme-option:hover {
|
|
background: var(--color-muted);
|
|
}
|
|
.theme-option.active {
|
|
background: var(--color-muted);
|
|
font-weight: 500;
|
|
}
|
|
.theme-check {
|
|
margin-left: auto;
|
|
font-size: 0.75rem;
|
|
color: var(--color-primary);
|
|
opacity: 0;
|
|
}
|
|
.theme-option.active .theme-check {
|
|
opacity: 1;
|
|
}
|
|
.theme-dot {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
border: 1.5px solid rgba(0,0,0,0.12);
|
|
}
|
|
}
|
|
@media (max-width: 767px) {
|
|
.sidebar {
|
|
position: fixed !important;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 200;
|
|
width: 220px !important;
|
|
height: 100dvh !important;
|
|
transform: translateX(-100%);
|
|
transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
|
|
}
|
|
.sidebar.mobile-open {
|
|
transform: translateX(0);
|
|
}
|
|
.sidebar.collapsed {
|
|
width: 220px !important;
|
|
transform: translateX(-100%);
|
|
}
|
|
.sidebar.collapsed.mobile-open {
|
|
transform: translateX(0);
|
|
}
|
|
.sidebar.collapsed .sidebar-logo-text {
|
|
opacity: 1 !important;
|
|
width: auto !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
.sidebar.collapsed .nav-section-label {
|
|
opacity: 0.4 !important;
|
|
height: auto !important;
|
|
padding: 0.5rem 0.625rem 0.25rem !important;
|
|
overflow: visible !important;
|
|
}
|
|
.sidebar.collapsed .nav-label-text {
|
|
display: inline !important;
|
|
}
|
|
.sidebar.collapsed .nav-badge {
|
|
display: inline-flex !important;
|
|
}
|
|
.sidebar.collapsed .nav-item {
|
|
justify-content: flex-start !important;
|
|
padding: 0.4375rem 0.625rem !important;
|
|
gap: 0.5rem !important;
|
|
}
|
|
.sidebar.collapsed .sidebar-header {
|
|
justify-content: flex-start !important;
|
|
padding: 0 1rem !important;
|
|
gap: 0.75rem !important;
|
|
}
|
|
.sidebar.collapsed .sidebar-footer {
|
|
padding: 0.75rem !important;
|
|
}
|
|
.sidebar.collapsed .sidebar-footer .sidebar-logo-text {
|
|
opacity: 1 !important;
|
|
width: auto !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
.sidebar.collapsed .sidebar-footer .footer-actions {
|
|
display: flex !important;
|
|
}
|
|
#main-content {
|
|
padding-bottom: calc(1.5rem + 60px + env(safe-area-inset-bottom)) !important;
|
|
}
|
|
#main-content:has(.oo-editor-page) {
|
|
padding: 0 !important;
|
|
}
|
|
#main-content:has(.mail-app) {
|
|
padding: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
.task-row {
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
.task-meta {
|
|
width: 100%;
|
|
margin-left: 1.625rem;
|
|
flex-wrap: wrap;
|
|
gap: 0.375rem;
|
|
}
|
|
.task-date {
|
|
display: none !important;
|
|
}
|
|
.task-tabs {
|
|
width: 100% !important;
|
|
overflow-x: auto;
|
|
flex-wrap: nowrap !important;
|
|
-webkit-overflow-scrolling: touch;
|
|
scrollbar-width: none;
|
|
}
|
|
.task-tabs::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.header-search {
|
|
display: none !important;
|
|
}
|
|
.bottom-nav {
|
|
display: flex;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: calc(60px + env(safe-area-inset-bottom));
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
background: var(--color-card);
|
|
border-top: 1px solid var(--color-border);
|
|
z-index: 100;
|
|
align-items: stretch;
|
|
box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.07);
|
|
}
|
|
.bottom-nav-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
color: var(--color-muted-foreground);
|
|
font-size: 0.5625rem;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: color 150ms;
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
-webkit-tap-highlight-color: transparent;
|
|
min-width: 44px;
|
|
}
|
|
.bottom-nav-item svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
flex-shrink: 0;
|
|
opacity: 0.7;
|
|
transition: opacity 150ms;
|
|
}
|
|
.bottom-nav-item.active {
|
|
color: var(--color-primary);
|
|
}
|
|
.bottom-nav-item.active svg {
|
|
opacity: 1;
|
|
}
|
|
.bottom-nav-item:active {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
@property --tw-rotate-x {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-rotate-y {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-rotate-z {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-skew-x {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-skew-y {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-space-y-reverse {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: 0;
|
|
}
|
|
@property --tw-border-style {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: solid;
|
|
}
|
|
@property --tw-leading {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-font-weight {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-tracking {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-shadow {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: 0 0 #0000;
|
|
}
|
|
@property --tw-shadow-color {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-shadow-alpha {
|
|
syntax: "<percentage>";
|
|
inherits: false;
|
|
initial-value: 100%;
|
|
}
|
|
@property --tw-inset-shadow {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: 0 0 #0000;
|
|
}
|
|
@property --tw-inset-shadow-color {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-inset-shadow-alpha {
|
|
syntax: "<percentage>";
|
|
inherits: false;
|
|
initial-value: 100%;
|
|
}
|
|
@property --tw-ring-color {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-ring-shadow {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: 0 0 #0000;
|
|
}
|
|
@property --tw-inset-ring-color {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-inset-ring-shadow {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: 0 0 #0000;
|
|
}
|
|
@property --tw-ring-inset {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-ring-offset-width {
|
|
syntax: "<length>";
|
|
inherits: false;
|
|
initial-value: 0px;
|
|
}
|
|
@property --tw-ring-offset-color {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: #fff;
|
|
}
|
|
@property --tw-ring-offset-shadow {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: 0 0 #0000;
|
|
}
|
|
@property --tw-blur {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-brightness {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-contrast {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-grayscale {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-hue-rotate {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-invert {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-opacity {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-saturate {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-sepia {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-drop-shadow {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-drop-shadow-color {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-drop-shadow-alpha {
|
|
syntax: "<percentage>";
|
|
inherits: false;
|
|
initial-value: 100%;
|
|
}
|
|
@property --tw-drop-shadow-size {
|
|
syntax: "*";
|
|
inherits: false;
|
|
}
|
|
@property --tw-content {
|
|
syntax: "*";
|
|
initial-value: "";
|
|
inherits: false;
|
|
}
|
|
@property --tw-outline-style {
|
|
syntax: "*";
|
|
inherits: false;
|
|
initial-value: solid;
|
|
}
|
|
@layer properties {
|
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
*, ::before, ::after, ::backdrop {
|
|
--tw-rotate-x: initial;
|
|
--tw-rotate-y: initial;
|
|
--tw-rotate-z: initial;
|
|
--tw-skew-x: initial;
|
|
--tw-skew-y: initial;
|
|
--tw-space-y-reverse: 0;
|
|
--tw-border-style: solid;
|
|
--tw-leading: initial;
|
|
--tw-font-weight: initial;
|
|
--tw-tracking: initial;
|
|
--tw-shadow: 0 0 #0000;
|
|
--tw-shadow-color: initial;
|
|
--tw-shadow-alpha: 100%;
|
|
--tw-inset-shadow: 0 0 #0000;
|
|
--tw-inset-shadow-color: initial;
|
|
--tw-inset-shadow-alpha: 100%;
|
|
--tw-ring-color: initial;
|
|
--tw-ring-shadow: 0 0 #0000;
|
|
--tw-inset-ring-color: initial;
|
|
--tw-inset-ring-shadow: 0 0 #0000;
|
|
--tw-ring-inset: initial;
|
|
--tw-ring-offset-width: 0px;
|
|
--tw-ring-offset-color: #fff;
|
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
--tw-blur: initial;
|
|
--tw-brightness: initial;
|
|
--tw-contrast: initial;
|
|
--tw-grayscale: initial;
|
|
--tw-hue-rotate: initial;
|
|
--tw-invert: initial;
|
|
--tw-opacity: initial;
|
|
--tw-saturate: initial;
|
|
--tw-sepia: initial;
|
|
--tw-drop-shadow: initial;
|
|
--tw-drop-shadow-color: initial;
|
|
--tw-drop-shadow-alpha: 100%;
|
|
--tw-drop-shadow-size: initial;
|
|
--tw-content: "";
|
|
--tw-outline-style: solid;
|
|
}
|
|
}
|
|
}
|