123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784 |
- $responsiveWidth: 768px;
- ::selection {
- background-color: var(--ac-color);
- color: var(--act-color);
- }
- ::-webkit-scrollbar {
- width: 4px;
- height: 4px;
- border-radius: 4px;
- background-color: var(--bg-dark-color);
- }
- ::-webkit-scrollbar-thumb {
- border-radius: 4px;
- background-color: var(--fg-light-color);
- &:hover {
- background-color: var(--fg-color);
- }
- }
- ::placeholder {
- color: var(--fg-light-color);
- opacity: 0.3;
- }
- * {
- box-sizing: border-box;
- outline: 0;
- border: 0;
- }
- html,
- body {
- background-color: var(--bg-color);
- color: var(--fg-color);
- font-weight: 500;
- font-size: 14px;
- font-family: "Poppins", "Roboto", "Noto", sans-serif;
- line-height: 1.5;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- user-select: none;
- padding: 0;
- margin: 0;
- scroll-behavior: smooth;
- transition: all 0.2s ease-in-out;
- }
- body.afterLoad {
- transition: background-color 0.2s ease-in-out;
- }
- body.sticky-footer footer {
- opacity: 0.25;
- }
- a {
- display: inline-flex;
- color: inherit;
- text-decoration: none;
- transition: all 0.2s ease-in-out;
- &.link {
- color: var(--ac-color);
- }
- }
- header,
- footer {
- & > div {
- display: flex;
- padding: 16px 8px;
- width: 100%;
- align-items: center;
- justify-content: space-between;
- }
- }
- .page-enter-active,
- .page-leave-active,
- .layout-enter-active,
- .layout-leave-active {
- transition: opacity 0.2s;
- }
- .page-enter,
- .page-leave-active,
- .layout-enter,
- .layout-leave-active {
- opacity: 0;
- }
- .wrapper {
- min-height: 100vh;
- display: flex;
- flex-flow: column nowrap;
- }
- .wrapper .page {
- min-height: calc(100vh - 153px);
- }
- .header,
- .content,
- .columns,
- .footer {
- display: flex;
- flex: 1;
- }
- .nav-first,
- .sticky-inner {
- display: flex;
- order: 1;
- flex-flow: column;
- position: sticky;
- top: 0;
- align-self: flex-start;
- }
- .main {
- display: flex;
- flex-flow: column;
- flex: 1;
- order: 2;
- position: relative;
- padding: 0 16px;
- }
- h1,
- h2,
- h3,
- h4 {
- display: flex;
- align-items: center;
- margin: 0;
- font-weight: 700;
- }
- h3.title {
- margin: 4px;
- }
- p {
- transition: all 0.2s ease-in-out;
- }
- hr {
- border-bottom: 1px dashed var(--brd-color);
- margin: 16px 0;
- }
- .tooltip {
- $bgcolor: var(--tt-color);
- $fgcolor: var(--fg-color);
- display: block !important;
- z-index: 10000;
- transition: all 0.2s ease-in-out;
- .tooltip-inner {
- background: $bgcolor;
- color: $fgcolor;
- border-radius: 8px;
- padding: 8px 16px;
- font-size: 12px;
- font-weight: 500;
- box-shadow: 0 4px 24px rgba(black, 0.1);
- }
- .tooltip-arrow {
- width: 0;
- height: 0;
- border-style: solid;
- position: absolute;
- margin: 5px;
- border-color: $bgcolor;
- z-index: 1;
- }
- &[x-placement^="top"] {
- margin-bottom: 5px;
- .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);
- margin-top: 0;
- margin-bottom: 0;
- }
- }
- &[x-placement^="bottom"] {
- margin-top: 5px;
- .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);
- margin-top: 0;
- margin-bottom: 0;
- }
- }
- &[x-placement^="right"] {
- margin-left: 5px;
- .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);
- margin-left: 0;
- margin-right: 0;
- }
- }
- &[x-placement^="left"] {
- margin-right: 5px;
- .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);
- margin-left: 0;
- margin-right: 0;
- }
- }
- &.popover {
- .wrapper {
- min-height: auto;
- }
- .popover-inner {
- background: $bgcolor;
- color: $fgcolor;
- padding: 4px;
- border-radius: 8px;
- box-shadow: 0 5px 30px rgba(black, 0.1);
- max-height: 256px;
- overflow: auto;
- div {
- display: flex;
- align-items: stretch;
- flex-direction: column;
- }
- button {
- justify-content: start;
- }
- }
- .popover-arrow {
- border-color: $bgcolor;
- }
- }
- &[aria-hidden="true"] {
- visibility: hidden;
- opacity: 0;
- transition: opacity 0.15s, visibility 0.15s;
- }
- &[aria-hidden="false"] {
- visibility: visible;
- opacity: 1;
- transition: opacity 0.15s;
- }
- }
- .info:not(.toasted) {
- margin-left: 4px;
- color: var(--fg-light-color);
- .material-icons {
- vertical-align: middle;
- margin-right: 8px;
- }
- }
- .bg-color {
- background-color: transparent;
- }
- button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- margin: 4px;
- padding: 6px 16px;
- border-radius: 8px;
- background-color: var(--ac-color);
- color: var(--act-color);
- font-size: 16px;
- font-family: "Poppins", "Roboto", "Noto", sans-serif;
- font-weight: 700;
- transition: all 0.2s ease-in-out;
- fill: var(--act-color);
- cursor: pointer;
- span {
- display: inline-flex;
- margin-left: 8px;
- text-align: left;
- }
- &:not([disabled]):hover,
- &:not([disabled]):active,
- &:not([disabled]):focus {
- color: var(--act-color);
- fill: var(--act-color);
- box-shadow: inset 0 0 0 2px var(--fg-color);
- }
- &.icon {
- background-color: transparent;
- color: var(--fg-light-color);
- fill: var(--fg-light-color);
- border-radius: 8px;
- &:not([disabled]):hover,
- &:not([disabled]):active,
- &:not([disabled]):focus {
- color: var(--fg-color);
- fill: var(--fg-color);
- box-shadow: none;
- }
- }
- &.primary {
- color: var(--ac-color);
- &:not([disabled]):hover,
- &:not([disabled]):active,
- &:not([disabled]):focus {
- background-color: var(--ac-color);
- color: var(--act-color);
- }
- }
- }
- @keyframes beat {
- 30% {
- transform: scale(1.1);
- }
- 50% {
- transform: scale(0.9);
- }
- 100% {
- transform: scale(1);
- }
- }
- .material-icons: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,
- .hidden {
- display: none;
- }
- .show-on-large-screen {
- display: flex;
- flex: 1;
- }
- .method,
- .url-field,
- kbd,
- select,
- input,
- textarea,
- pre,
- code {
- display: inline-flex;
- margin: 4px;
- padding: 8px;
- border-radius: 8px;
- background-color: var(--bg-dark-color);
- color: var(--fg-color);
- font-size: 16px;
- font-family: "Roboto Mono", monospace;
- font-weight: 400;
- line-height: 1.25;
- transition: all 0.2s ease-in-out;
- user-select: text;
- width: calc(100% - 8px);
- resize: vertical;
- text-overflow: ellipsis;
- &: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 {
- cursor: pointer;
- &:hover,
- &:active,
- &:focus {
- box-shadow: inset 0 0 0 2px var(--fg-light-color);
- }
- }
- pre {
- display: grid;
- }
- pre.ace_editor {
- font-family: "Roboto Mono", monospace;
- font-weight: 400;
- z-index: 0;
- }
- kbd,
- code,
- pre {
- width: auto;
- }
- .select-wrapper {
- position: relative;
- input {
- text-transform: uppercase;
- min-width: 128px;
- }
- .trigger {
- width: 100%;
- }
- &:after {
- display: inline-block;
- position: absolute;
- pointer-events: none;
- content: "\e313";
- font-family: "Material Icons";
- top: 14px;
- right: 14px;
- }
- }
- select {
- height: 37px;
- cursor: pointer;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- &::-ms-expand {
- display: none;
- }
- }
- option {
- background-color: var(--bg-color);
- }
- input[type="checkbox"] {
- display: none;
- &,
- & + label {
- vertical-align: middle;
- cursor: pointer;
- &:before {
- content: "\2714";
- border: 1px solid var(--fg-color);
- border-radius: 8px;
- display: inline-flex;
- height: 16px;
- width: 16px;
- align-items: center;
- justify-content: center;
- margin: 8px 8px 8px 0;
- color: transparent;
- transition: all 0.2s ease-in-out;
- }
- }
- &:checked + label:before {
- background-color: var(--ac-color);
- border-color: var(--ac-color);
- color: var(--act-color);
- }
- }
- .error:not(input),
- .disabled:not(input),
- [disabled] {
- background-color: var(--err-color);
- color: var(--fg-light-color);
- fill: var(--fg-light-color);
- cursor: not-allowed;
- &.icon {
- color: var(--err-color);
- fill: var(--err-color);
- }
- }
- label {
- padding: 4px;
- color: var(--fg-light-color);
- transition: all 0.2s ease-in-out;
- }
- ul,
- ol {
- display: flex;
- margin: 4px 0 4px;
- padding: 0;
- list-style-type: none;
- ul,
- ol {
- margin: 0;
- }
- }
- ul li,
- ol li {
- display: inline-flex;
- flex-flow: column nowrap;
- flex: 1;
- justify-content: center;
- &.shrink {
- flex-grow: 0;
- }
- }
- .flex-wrap {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-grow: 1;
- flex-direction: row;
- * {
- display: inline-flex;
- flex-flow: row nowrap;
- align-items: center;
- justify-content: 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 {
- background-color: var(--err-color);
- }
- .align-left {
- text-align: left;
- }
- .align-center {
- text-align: center;
- }
- .align-right {
- text-align: right;
- }
- .mono {
- font-family: "Roboto Mono", monospace;
- font-weight: 400;
- }
- #response-details-wrapper {
- position: relative;
- overflow: hidden;
- border-radius: 8px;
- textarea {
- margin: 0;
- width: 100%;
- line-height: 1;
- }
- .covers-response {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: white;
- height: 100%;
- width: 100%;
- }
- }
- #send {
- white-space: nowrap;
- &.show {
- display: flex;
- position: fixed;
- bottom: 86px;
- left: 50%;
- z-index: 10001;
- transform: translateX(-50%);
- box-shadow: 0 4px 24px rgba(black, 0.2);
- transition: all 0.2s ease-in-out;
- }
- }
- section {
- display: flex;
- flex-wrap: wrap;
- border-radius: 8px;
- }
- .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 {
- display: flex;
- flex: 1;
- flex-flow: column;
- }
- .inner-left {
- display: flex;
- order: 1;
- }
- .inner-right {
- display: flex;
- width: 30%;
- order: 2;
- margin-left: 16px;
- }
- @media (max-width: $responsiveWidth) {
- .content,
- .columns {
- flex-flow: column;
- }
- .main {
- padding: 0 8px 68px;
- }
- ul,
- ol {
- flex-flow: column nowrap;
- }
- ul li,
- ol li {
- display: flex;
- }
- .hide-on-small-screen {
- display: none;
- }
- .sticky-inner {
- position: relative;
- width: 100%;
- }
- .inner-left {
- order: 0;
- }
- .inner-right {
- margin-left: 0;
- }
- .toasted-container {
- margin-bottom: 68px;
- }
- }
- .toasted-ad {
- background-color: #fefefe;
- color: #121212;
- padding: 16px !important;
- font-weight: 700;
- font-size: 16px;
- border-radius: 8px;
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
- .action {
- text-transform: none !important;
- background-color: #121212;
- color: #fefefe;
- padding: 12px 16px !important;
- font-weight: 500 !important;
- font-size: 16px !important;
- border-radius: 8px;
- margin: 0 !important;
- margin-left: 8px !important;
- }
- }
- .virtual-list {
- overflow: auto;
- }
- .truncate {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow-wrap: break-word;
- word-break: break-all;
- }
- .github-sponsor {
- margin-right: 4px;
- max-width: 64px;
- max-height: 64px;
- border-radius: 100%;
- }
|