123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479 |
- *,
- *::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-accentContrast;
- }
- input::placeholder,
- textarea::placeholder {
- @apply text-secondaryDark;
- @apply opacity-25;
- }
- input,
- textarea {
- @apply text-secondaryDark;
- @apply font-medium;
- }
- html {
- scroll-behavior: smooth;
- }
- body {
- @apply bg-primary;
- @apply text-secondary;
- @apply font-medium;
- @apply select-none;
- @apply overflow-x-hidden;
- animation: fade 300ms forwards;
- font-size: var(--body-font-size);
- line-height: var(--body-line-height);
- overflow: overlay;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- }
- @keyframes fade {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- .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: var(--body-line-height) !important;
- width: var(--body-line-height);
- overflow: hidden;
- }
- .svg-icons {
- height: var(--body-line-height);
- width: var(--body-line-height);
- }
- a {
- @apply inline-flex;
- @apply text-current;
- @apply no-underline;
- @apply outline-none;
- @apply transition;
- font-size: var(--body-font-size);
- line-height: var(--body-line-height);
- &.link {
- @apply items-center;
- @apply px-1 py-0.5;
- @apply -mx-1 -my-0.5;
- @apply text-accent;
- @apply rounded;
- @apply hover:text-accentDark;
- @apply focus-visible:(ring ring-accent);
- }
- }
- .tippy-popper {
- .tooltip-theme {
- @apply bg-tooltip;
- @apply text-primary;
- @apply font-semibold;
- @apply py-1 px-2;
- @apply truncate;
- @apply shadow;
- font-size: 88%;
- line-height: var(--body-line-height);
- kbd {
- @apply inline-flex;
- @apply font-sans;
- @apply bg-gray-500;
- @apply bg-opacity-45;
- @apply text-primaryLight;
- @apply rounded-sm;
- @apply px-1;
- @apply ml-1;
- @apply truncate;
- }
- }
- .popover-theme {
- @apply bg-popover;
- @apply text-secondary;
- @apply p-2;
- @apply shadow-lg;
- @apply focus:outline-none;
- font-size: var(--body-font-size);
- line-height: var(--body-line-height);
- .tippy-roundarrow svg {
- @apply fill-popover;
- }
- }
- }
- [interactive] > div {
- @apply flex;
- @apply flex-1;
- @apply h-full;
- }
- .tippy-content > div {
- @apply flex flex-col;
- @apply max-h-46;
- @apply items-stretch;
- @apply overflow-y-auto;
- &::-webkit-scrollbar {
- @apply hidden;
- }
- }
- hr {
- @apply border-b border-dividerLight;
- @apply my-2;
- }
- .heading {
- @apply font-bold;
- @apply text-secondaryDark text-lg;
- }
- .input,
- .select,
- .textarea {
- @apply flex;
- @apply w-full;
- @apply px-4 py-2;
- @apply bg-transparent;
- @apply rounded;
- @apply text-secondaryDark;
- @apply border border-divider;
- @apply focus-visible:border-dividerDark;
- }
- input,
- select,
- textarea,
- button {
- @apply focus:outline-none;
- @apply truncate;
- @apply transition;
- @apply disabled:cursor-not-allowed;
- font-size: var(--body-font-size);
- line-height: var(--body-line-height);
- }
- .input[type="file"],
- .input[type="radio"],
- #installPWA {
- @apply hidden;
- }
- .floating-input ~ label {
- @apply font-medium;
- @apply py-0.5;
- @apply px-2;
- @apply m-2;
- @apply rounded;
- @apply transition;
- @apply absolute;
- @apply origin-top-left;
- }
- .floating-input:focus-within ~ label,
- .floating-input:not(:placeholder-shown) ~ label {
- @apply bg-primary;
- @apply transform;
- @apply origin-top-left;
- @apply scale-75;
- @apply -translate-y-5;
- @apply translate-x-1;
- }
- .floating-input:focus-within ~ label {
- @apply text-secondaryDark;
- }
- pre.ace_editor {
- @apply font-mono;
- @apply resize-none;
- @apply z-0;
- }
- .select {
- @apply appearance-none;
- @apply cursor-pointer;
- &::-ms-expand {
- @apply hidden;
- }
- }
- .select-wrapper {
- @apply flex flex-1;
- @apply relative;
- &::after {
- @apply absolute;
- @apply flex;
- @apply inset-y-0;
- @apply items-center;
- @apply justify-center;
- @apply pointer-events-none;
- @apply font-icon;
- @apply text-secondaryLight;
- @apply right-3;
- content: "\e313";
- }
- }
- input[type="checkbox"] {
- @apply hidden;
- &,
- & + label {
- @apply align-middle;
- @apply cursor-pointer;
- &::before {
- @apply border-2 border-divider;
- @apply rounded;
- @apply inline-flex;
- @apply items-center;
- @apply justify-center;
- @apply text-transparent;
- @apply h-4;
- @apply w-4;
- @apply font-icon;
- content: "\e876";
- margin: 8px 8px 8px 0;
- }
- }
- &:checked + label::before {
- @apply bg-accent;
- @apply border-accent;
- @apply text-primary;
- }
- }
- .info-response {
- @apply text-pink-500;
- }
- .success-response {
- @apply text-green-500;
- }
- .redir-response {
- @apply text-yellow-500;
- }
- .cl-error-response {
- @apply text-red-500;
- }
- .sv-error-response {
- @apply text-red-600;
- }
- .missing-data-response {
- @apply text-secondaryLight;
- }
- .Vue-Toastification__progress-bar {
- background-color: rgba(0, 0, 0, 0.6) !important;
- }
- .Vue-Toastification__toast {
- @apply !bg-tooltip;
- @apply !text-primary;
- @apply !justify-start;
- @apply !shadow;
- @apply !font-medium;
- @apply h-auto;
- @apply w-auto;
- @apply px-4;
- @apply py-2;
- @apply rounded;
- @apply flex;
- @apply items-center;
- }
- .Vue-Toastification__toast-body {
- @apply !font-sans;
- font-size: var(--body-font-size) !important;
- line-height: var(--body-line-height) !important;
- }
- .action {
- @apply bg-gray-500;
- @apply px-4;
- @apply bg-opacity-10;
- @apply ml-auto;
- @apply last:ml-4;
- @apply sm:ml-8;
- @apply transition;
- @apply rounded;
- @apply text-current;
- @apply normal-case;
- @apply hover:(bg-opacity-20 no-underline);
- @apply font-medium;
- font-size: var(--body-font-size);
- line-height: var(--body-line-height);
- }
- .Vue-Toastification__toast--info {
- @apply !bg-accent;
- }
- .Vue-Toastification__toast--error {
- @apply !bg-red-200;
- @apply !text-red-800;
- }
- .Vue-Toastification__toast--success {
- @apply !bg-green-200;
- @apply !text-green-800;
- }
- .smart-splitter .splitpanes__splitter {
- @apply relative;
- @apply bg-primaryLight;
- }
- .no-splitter .splitpanes__splitter {
- @apply relative;
- @apply bg-primaryLight;
- }
- .smart-splitter.splitpanes--vertical > .splitpanes__splitter {
- @apply w-1;
- }
- .smart-splitter.splitpanes--horizontal > .splitpanes__splitter {
- @apply h-1;
- }
- .no-splitter.splitpanes--vertical > .splitpanes__splitter {
- @apply w-0.5;
- @apply pointer-events-none;
- }
- .no-splitter.splitpanes--horizontal > .splitpanes__splitter {
- @apply h-0.5;
- @apply pointer-events-none;
- }
- .smart-splitter .splitpanes__splitter::before {
- @apply absolute;
- @apply inset-0;
- @apply bg-dividerLight;
- @apply opacity-0;
- @apply z-30;
- @apply transition;
- content: "";
- }
- .smart-splitter .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;
- }
- .smart-splitter.splitpanes--vertical > .splitpanes__splitter::after {
- content: "\e5d4";
- }
- .smart-splitter.splitpanes--horizontal > .splitpanes__splitter::after {
- content: "\e5d3";
- }
- .smart-splitter .splitpanes__splitter:hover::before {
- @apply opacity-100;
- }
- .smart-splitter.splitpanes--vertical > .splitpanes__splitter::before {
- @apply -left-0.5;
- @apply -right-0.5;
- @apply h-full;
- }
- .smart-splitter.splitpanes--horizontal > .splitpanes__splitter::before {
- @apply -top-0.5;
- @apply -bottom-0.5;
- @apply w-full;
- }
- @media (max-width: 767px) {
- main {
- margin-bottom: env(safe-area-inset-bottom);
- }
- }
|