123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827 |
- $responsiveWidth: 768px;
- *,
- *::before,
- *::after {
- backface-visibility: hidden;
- }
- :root {
- font-variant-ligatures: common-ligatures;
- @apply antialiased;
- }
- ::selection {
- @apply bg-acColor;
- @apply text-actColor;
- }
- ::-webkit-scrollbar {
- @apply h-1;
- @apply w-1;
- @apply rounded-lg;
- &:hover {
- @apply bg-bgDarkColor;
- }
- }
- ::-webkit-scrollbar-thumb {
- @apply rounded-lg;
- @apply bg-fgLightColor;
- &:hover {
- @apply bg-fgColor;
- }
- }
- ::placeholder {
- @apply text-fgLightColor;
- @apply opacity-25;
- }
- html {
- scroll-behavior: smooth;
- }
- body {
- @apply bg-bgColor;
- @apply text-fgColor;
- @apply text-base;
- @apply font-body;
- @apply font-medium;
- @apply select-none;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- }
- body.afterLoad {
- @apply transition-colors;
- @apply ease-in-out;
- @apply duration-200;
- }
- body.sticky-footer footer {
- @apply opacity-25;
- }
- .page-enter-active,
- .page-leave-active,
- .layout-enter-active,
- .layout-leave-active {
- @apply transition-opacity;
- @apply duration-200;
- }
- .page-enter,
- .page-leave-active,
- .layout-enter,
- .layout-leave-active {
- @apply opacity-0;
- }
- a {
- @apply inline-flex;
- @apply text-current;
- @apply no-underline;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- @apply outline-none;
- &.link {
- @apply text-acColor;
- }
- }
- header,
- footer {
- & > div {
- @apply flex;
- @apply py-2;
- @apply px-2;
- @apply w-full;
- @apply items-center;
- @apply justify-between;
- }
- }
- .wrapper {
- @apply min-h-screen;
- @apply flex;
- @apply flex-col;
- @apply flex-no-wrap;
- }
- .wrapper .page {
- min-height: calc(100vh - 153px);
- }
- .header,
- .content,
- .columns,
- .footer {
- @apply flex;
- @apply flex-1;
- }
- .nav-first,
- .sticky-inner {
- @apply flex;
- @apply order-1;
- @apply flex-col;
- @apply sticky;
- @apply top-0;
- @apply items-start;
- @apply items-stretch;
- @apply h-full;
- }
- .main {
- @apply flex;
- @apply flex-col;
- @apply flex-1;
- @apply order-2;
- @apply relative;
- @apply px-4;
- }
- h1,
- h2,
- h3,
- h4 {
- @apply flex;
- @apply items-center;
- @apply m-0;
- @apply font-bold;
- }
- h3.title {
- @apply m-2;
- }
- p {
- @apply text-sm;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- }
- hr {
- @apply border-b;
- @apply border-dashed;
- @apply border-brdColor;
- @apply my-4;
- }
- .tooltip {
- $bgcolor: var(--tt-color);
- $fgcolor: var(--fg-color);
- @apply z-50;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- .tooltip-inner {
- @apply rounded-lg;
- @apply px-4;
- @apply py-2;
- @apply text-xs;
- @apply font-medium;
- @apply shadow-lg;
- background: $bgcolor;
- color: $fgcolor;
- }
- .tooltip-arrow {
- @apply h-0;
- @apply w-0;
- @apply border-solid;
- @apply absolute;
- @apply m-2;
- @apply border-ttColor;
- @apply z-30;
- }
- &[x-placement^="top"] {
- @apply mb-0;
- .tooltip-arrow {
- border-width: 5px 5px 0 5px;
- border-left-color: transparent !important;
- border-right-color: transparent !important;
- border-bottom-color: transparent !important;
- bottom: -5px;
- left: calc(50% - 5px);
- @apply mt-0;
- @apply mb-0;
- }
- }
- &[x-placement^="bottom"] {
- @apply mt-0;
- .tooltip-arrow {
- border-width: 0 5px 5px 5px;
- border-left-color: transparent !important;
- border-right-color: transparent !important;
- border-top-color: transparent !important;
- top: -5px;
- left: calc(50% - 5px);
- @apply mt-0;
- @apply mb-0;
- }
- }
- &[x-placement^="right"] {
- @apply ml-0;
- .tooltip-arrow {
- border-width: 5px 5px 5px 0;
- border-left-color: transparent !important;
- border-top-color: transparent !important;
- border-bottom-color: transparent !important;
- left: -5px;
- top: calc(50% - 5px);
- @apply ml-0;
- @apply mr-0;
- }
- }
- &[x-placement^="left"] {
- @apply mr-0;
- .tooltip-arrow {
- border-width: 5px 0 5px 5px;
- border-top-color: transparent !important;
- border-right-color: transparent !important;
- border-bottom-color: transparent !important;
- right: -5px;
- top: calc(50% - 5px);
- @apply ml-0;
- @apply mr-0;
- }
- }
- &.popover {
- .wrapper {
- min-height: auto;
- }
- .popover-inner {
- background: $bgcolor;
- color: $fgcolor;
- max-height: 256px;
- @apply text-base;
- @apply p-2;
- @apply rounded-lg;
- @apply overflow-auto;
- @apply shadow-lg;
- button {
- @apply flex-1;
- @apply m-0;
- }
- div {
- @apply flex;
- @apply items-stretch;
- @apply flex-col;
- }
- button {
- @apply justify-start;
- }
- }
- .popover-arrow {
- border-color: $bgcolor;
- }
- }
- &[aria-hidden="true"] {
- @apply invisible;
- @apply opacity-0;
- @apply transition-opacity;
- @apply ease-in-out;
- @apply duration-200;
- }
- &[aria-hidden="false"] {
- @apply visible;
- @apply opacity-100;
- @apply transition-opacity;
- @apply ease-in-out;
- @apply duration-200;
- }
- }
- .info:not(.toasted) {
- @apply m-2;
- @apply text-fgLightColor;
- .material-icons {
- @apply align-middle;
- @apply ml-2;
- @apply mr-4;
- }
- }
- button {
- @apply inline-flex;
- @apply items-center;
- @apply justify-center;
- @apply m-2;
- @apply py-2;
- @apply px-4;
- @apply rounded-lg;
- @apply bg-acColor;
- @apply text-actColor;
- @apply font-body;
- @apply font-bold;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- @apply fill-current;
- @apply cursor-pointer;
- @apply outline-none;
- @apply border-none;
- span {
- @apply inline-flex;
- @apply ml-4;
- @apply text-left;
- }
- &:not([disabled]):hover,
- &:not([disabled]):active,
- &:not([disabled]):focus {
- @apply text-actColor;
- @apply fill-current;
- box-shadow: inset 0 0 0 2px var(--fg-color);
- }
- &.icon {
- @apply bg-transparent;
- @apply text-fgLightColor;
- @apply fill-current;
- @apply rounded-lg;
- @apply outline-none;
- @apply border-none;
- @apply p-2;
- &:not([disabled]):hover,
- &:not([disabled]):active,
- &:not([disabled]):focus {
- @apply text-fgColor;
- @apply fill-current;
- @apply shadow-none;
- }
- }
- &.primary {
- @apply text-acColor;
- &:not([disabled]):hover,
- &:not([disabled]):active,
- &:not([disabled]):focus {
- @apply bg-acColor;
- @apply text-actColor;
- }
- }
- }
- @keyframes beat {
- 30% {
- @apply transform;
- @apply scale-90;
- }
- 50% {
- @apply transform;
- @apply scale-110;
- }
- 100% {
- @apply transform;
- @apply scale-100;
- }
- }
- .material-icons {
- @apply font-icon;
- @apply font-normal;
- @apply not-italic;
- @apply h-6;
- @apply w-6;
- @apply text-2xl;
- @apply leading-6;
- @apply inline-block;
- @apply normal-case;
- @apply tracking-normal;
- @apply whitespace-no-wrap;
- @apply antialiased;
- word-wrap: normal;
- direction: ltr;
- text-rendering: optimizeLegibility;
- font-feature-settings: "liga";
- &:active {
- animation: beat 0.5s forwards 1;
- }
- }
- fieldset:target,
- section:target {
- animation: highlight 2s ease;
- }
- @keyframes highlight {
- 50% {
- box-shadow: 0 0 0 2px var(--ac-color);
- }
- }
- input[type="file"],
- input[type="radio"],
- #installPWA {
- @apply hidden;
- }
- .show-on-large-screen {
- @apply flex;
- @apply flex-1;
- }
- .method,
- .url-field,
- kbd,
- select,
- input,
- textarea,
- pre,
- code {
- @apply flex;
- @apply m-2;
- @apply p-2;
- @apply rounded-lg;
- @apply bg-bgDarkColor;
- @apply text-fgColor;
- @apply font-mono;
- @apply font-normal;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- @apply select-text;
- @apply resize-y;
- @apply truncate;
- @apply outline-none;
- width: calc(100% - 16px);
- &:not([readonly]):not(.ace_editor):hover,
- &:not([readonly]):not(.ace_editor):active,
- &:not([readonly]):not(.ace_editor):focus {
- box-shadow: inset 0 0 0 2px var(--fg-light-color);
- }
- }
- .method {
- @apply cursor-pointer;
- &:hover,
- &:active,
- &:focus {
- box-shadow: inset 0 0 0 2px var(--fg-light-color);
- }
- }
- pre {
- @apply grid;
- }
- pre.ace_editor {
- @apply font-mono;
- @apply font-normal;
- @apply z-0;
- }
- kbd,
- code,
- pre {
- @apply w-auto;
- }
- .select-wrapper {
- @apply relative;
- input {
- @apply uppercase;
- min-width: 128px;
- }
- .trigger {
- @apply w-full;
- }
- &:after {
- @apply inline-block;
- @apply absolute;
- @apply pointer-events-none;
- content: "\e313";
- @apply font-icon;
- top: 16px;
- right: 16px;
- }
- }
- select {
- height: 40px;
- @apply cursor-pointer;
- @apply appearance-none;
- &::-ms-expand {
- @apply hidden;
- }
- }
- option {
- @apply bg-bgColor;
- }
- input[type="checkbox"] {
- @apply hidden;
- &,
- & + label {
- @apply align-middle;
- @apply cursor-pointer;
- &:before {
- content: "\2714";
- @apply border;
- @apply border-fgColor;
- @apply rounded-lg;
- @apply inline-flex;
- @apply items-center;
- @apply justify-center;
- @apply text-transparent;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- height: 16px;
- width: 16px;
- margin: 8px 8px 8px 0;
- }
- }
- &:checked + label:before {
- @apply bg-acColor;
- @apply border-acColor;
- @apply text-actColor;
- }
- }
- .error:not(input),
- .disabled:not(input),
- [disabled] {
- @apply bg-errColor;
- @apply text-fgLightColor;
- @apply fill-current;
- @apply cursor-not-allowed;
- &.icon {
- @apply text-errColor;
- @apply fill-current;
- }
- }
- label {
- @apply px-2;
- @apply text-fgLightColor;
- @apply text-sm;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- }
- ul,
- ol {
- @apply flex;
- @apply p-0;
- @apply list-none;
- margin: 4px 0 4px;
- ul,
- ol {
- @apply m-0;
- }
- }
- ul li,
- ol li {
- @apply inline-flex;
- @apply flex-col;
- @apply flex-no-wrap;
- @apply flex-1;
- @apply justify-center;
- &.shrink {
- @apply flex-grow-0;
- }
- }
- .row-wrapper {
- @apply flex;
- @apply items-center;
- @apply justify-between;
- @apply flex-1;
- @apply flex-row;
- * {
- @apply inline-flex;
- @apply flex-no-wrap;
- @apply items-center;
- @apply justify-center;
- }
- }
- .info-response {
- color: #ffeb3b;
- }
- .success-response {
- color: #4bb543;
- }
- .redir-response {
- color: #ff5722;
- }
- .cl-error-response {
- color: #a63232;
- }
- .sv-error-response {
- color: #b71c1c;
- }
- .missing-data-response {
- @apply bg-errColor;
- }
- #response-details-wrapper {
- @apply relative;
- @apply overflow-hidden;
- @apply rounded-lg;
- textarea {
- @apply m-0;
- @apply w-full;
- line-height: 1;
- }
- .covers-response {
- @apply absolute;
- @apply inset-0;
- @apply bg-white;
- @apply h-full;
- @apply w-full;
- }
- }
- #send {
- @apply whitespace-no-wrap;
- @apply outline-none;
- @apply border-none;
- &.show {
- @apply flex;
- @apply fixed;
- @apply transition;
- @apply ease-in-out;
- @apply duration-200;
- @apply shadow-lg;
- bottom: 86px;
- left: 50%;
- z-index: 10001;
- transform: translateX(-50%);
- }
- }
- section {
- @apply flex;
- @apply rounded-lg;
- }
- .toasted-container .toasted {
- justify-content: space-between !important;
- }
- .toasted.info {
- background-color: var(--ac-color) !important;
- color: var(--act-color) !important;
- font-weight: 700 !important;
- }
- .toasted.bubble .action {
- color: inherit !important;
- }
- .toasted .action {
- margin-left: auto !important;
- }
- .page-columns {
- @apply flex;
- @apply flex-1;
- @apply flex-col;
- }
- .inner-left {
- @apply flex;
- @apply order-1;
- }
- .inner-right {
- @apply flex;
- @apply order-2;
- @apply ml-4;
- width: 33%;
- }
- @media (max-width: $responsiveWidth) {
- .content,
- .columns {
- @apply flex-col;
- }
- .main {
- padding: 0 8px 68px;
- }
- ul,
- ol {
- @apply flex-col;
- @apply flex-no-wrap;
- }
- ul li,
- ol li {
- @apply flex;
- }
- .hide-on-small-screen {
- @apply hidden;
- }
- .sticky-inner {
- @apply relative;
- @apply w-full;
- }
- .inner-left {
- order: 0;
- }
- .inner-right {
- @apply ml-0;
- }
- .toasted-container {
- margin-bottom: 68px;
- }
- }
- .toasted-ad {
- background-color: #fefefe;
- color: #121212;
- padding: 16px !important;
- @apply font-bold;
- @apply text-sm;
- @apply rounded-lg;
- @apply shadow-lg;
- .action {
- text-transform: none !important;
- background-color: #121212;
- color: #fefefe;
- padding: 12px 16px !important;
- font-weight: 500 !important;
- font-size: 16px !important;
- margin: 0 !important;
- margin-left: 8px !important;
- @apply rounded-lg;
- }
- }
- .virtual-list {
- @apply overflow-auto;
- }
- .github-sponsor {
- @apply mr-4;
- max-width: 64px;
- max-height: 64px;
- @apply rounded-full;
- }
|