*, *::before, *::after { @apply backface-hidden; } :root { @apply antialiased; font-variant-ligatures: common-ligatures; } ::-webkit-scrollbar-track { @apply bg-transparent; } ::-webkit-scrollbar-thumb { @apply bg-divider bg-clip-content; @apply rounded-full; @apply border-solid border-4 border-transparent; @apply hover:(bg-dividerDark bg-clip-content); } ::-webkit-scrollbar { @apply w-4; @apply h-4; } .hide-scrollbar::-webkit-scrollbar { @apply hidden; } ::selection { @apply bg-accent; @apply text-primary; } html { scroll-behavior: smooth; } body { @apply bg-primary; @apply text-secondary text-xs; @apply font-medium; @apply select-none; @apply overflow-x-hidden; overflow: overlay; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; } .fade-enter-active, .fade-leave-active, .page-enter-active, .page-leave-active, .layout-enter-active, .layout-leave-active { @apply transition-opacity; } .fade-enter, .fade-leave-to, .page-enter, .page-leave-to, .layout-enter, .layout-leave-to { @apply opacity-0; } .material-icons { font-size: 1rem !important; } .svg-icons { @apply inline-flex; @apply flex-shrink-0; @apply h-4; @apply w-4; } a { @apply inline-flex; @apply text-current; @apply no-underline; @apply outline-none; @apply focus-visible:(ring ring-inset ring-accent); @apply transition; &.link { @apply items-center; @apply px-2 py-1; @apply -mx-2 -my-1; @apply text-accent; @apply hover:text-accentDark; } } .tippy-popper { .tooltip-theme { @apply bg-tooltip; @apply text-primary text-xs; @apply font-semibold; @apply py-1 px-2; @apply shadow; kbd { @apply first:ml-2; @apply last:-mr-1; @apply font-sans; @apply bg-secondaryDark; @apply text-primaryDark; @apply rounded; @apply px-1; @apply ml-1; } } .popover-theme { @apply bg-primary; @apply text-secondary; @apply p-2; @apply shadow-lg; @apply focus:outline-none; } &[x-placement^="top"] .tippy-tooltip .tippy-arrow { @apply border-t-primary; } &[x-placement^="bottom"] .tippy-tooltip .tippy-arrow { @apply border-b-primary; } &[x-placement^="left"] .tippy-tooltip .tippy-arrow { @apply border-l-primary; } &[x-placement^="right"] .tippy-tooltip .tippy-arrow { @apply border-r-primary; } } .tippy-content > div { @apply flex flex-col; @apply max-h-48; @apply items-stretch; @apply overflow-y-auto; &::-webkit-scrollbar { @apply hidden; } } hr { @apply border-b border-dividerLight; } .heading { @apply font-bold; @apply text-secondaryDark text-lg; } .textarea, .input, .select { @apply flex flex-1; @apply w-full; @apply px-4 py-2; @apply bg-primary; @apply truncate; @apply rounded; @apply text-xs; @apply font-semibold; @apply border border-divider; @apply transition; @apply focus:(outline-none border-accent); @apply disabled:cursor-not-allowed; } .input[type="file"], .input[type="radio"], #installPWA { @apply hidden; } pre.ace_editor { @apply font-mono; @apply resize-none; @apply z-0; } .select { @apply appearance-none; &::-ms-expand { @apply hidden; } } .select-wrapper { @apply relative; @apply w-full; @apply cursor-pointer; &::after { @apply absolute; @apply inline-block; @apply pointer-events-none; @apply font-icon; @apply text-secondaryLight; @apply top-2.5; @apply right-3; content: "\e313"; } } .search-wrapper { @apply relative; @apply w-full; &::after { @apply absolute; @apply inline-block; @apply pointer-events-none; @apply font-icon; @apply text-secondaryLight; @apply top-2; @apply left-3; content: "\e8b6"; } } input[type="checkbox"] { @apply hidden; &, & + label { @apply align-middle; @apply cursor-pointer; &::before { @apply border border-secondary; @apply rounded; @apply inline-flex; @apply items-center; @apply justify-center; @apply text-transparent; content: "\2714"; height: 16px; width: 16px; margin: 8px 8px 8px 0; } } &:checked + label::before { @apply bg-accent; @apply border-accent; @apply text-primary; } } .info-response { @apply text-pink-400; } .success-response { @apply text-green-400; } .redir-response { @apply text-yellow-400; } .cl-error-response { @apply text-red-400; } .sv-error-response { @apply text-red-600; } .missing-data-response { @apply text-secondaryLight; } #response-details-wrapper { @apply relative; textarea { @apply m-0; @apply w-full; } .covers-response { @apply absolute; @apply inset-0; @apply bg-white; @apply h-full; @apply w-full; } } .toasted-container { .toasted { &.toasted-primary { @apply bg-tooltip; @apply text-primary text-xs; @apply justify-start; @apply shadow; @apply font-semibold; .action { @apply ml-auto; @apply transition; @apply text-current; @apply hover:(opacity-75 no-underline); } } &.info { @apply !bg-accent; } &.error { @apply !bg-red-200; @apply !text-red-800; } &.success { @apply !bg-green-200; @apply !text-green-800; } } } .splitpanes__splitter { @apply relative; @apply bg-primaryLight; } .splitpanes--vertical > .splitpanes__splitter { @apply w-1; } .splitpanes--horizontal > .splitpanes__splitter { @apply h-1; } .splitpanes__splitter::before { @apply absolute; @apply inset-0; @apply bg-dividerLight; @apply opacity-0; @apply z-30; @apply transition; content: ""; } .splitpanes__splitter::after { @apply absolute; @apply inset-0; @apply z-30; @apply transition; @apply flex; @apply items-center; @apply justify-center; @apply text-dividerDark; @apply font-icon; } .splitpanes--vertical > .splitpanes__splitter::after { content: "\e5d4"; } .splitpanes--horizontal > .splitpanes__splitter::after { content: "\e5d3"; } .splitpanes__splitter:hover::before { @apply opacity-100; } .splitpanes--vertical > .splitpanes__splitter::before { left: -2px; right: -2px; height: 100%; } .splitpanes--horizontal > .splitpanes__splitter::before { top: -2px; bottom: -2px; width: 100%; } @media (max-width: 767px) { main { margin-bottom: env(safe-area-inset-bottom); } }