123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460 |
- $responsiveWidth: 720px;
- ::selection {
- background-color: var(--ac-color);
- color: var(--act-color);
- }
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar-thumb {
- background-color: rgba(0, 0, 0, .5);
- }
- ::-webkit-scrollbar-thumb:hover {
- background-color: rgba(0, 0, 0, .6);
- }
- ::placeholder {
- color: var(--fg-color);
- }
- * {
- box-sizing: border-box;
- outline: 0;
- border: 0;
- font-family: "Poppins", "Roboto", "Noto", sans-serif;
- }
- a {
- display: inline-flex;
- color: inherit;
- text-decoration: none;
- font-weight: 700;
- }
- body {
- background-color: var(--bg-color);
- color: var(--fg-color);
- font-weight: 500;
- line-height: 1.5;
- -webkit-tap-highlight-color: transparent;
- -webkit-touch-callout: none;
- user-select: none;
- }
- h1,
- h2,
- h3 {
- margin: 0;
- font-weight: 700;
- }
- h3.title {
- margin: 4px;
- }
- header,
- footer {
- & > div {
- display: flex;
- padding: 16px;
- width: 100%;
- align-items: center;
- justify-content: space-between;
- }
- }
- nav {
- a:not(:last-of-type) {
- margin-right: 15px;
- }
- }
- body.sticky-footer footer {
- position: fixed;
- right: 0;
- bottom: 0;
- left: 0;
- }
- .logo {
- color: var(--ac-color);
- }
- button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- margin: 4px;
- padding: 8px 16px;
- border-radius: 4px;
- background-color: var(--ac-color);
- color: var(--act-color);
- font-weight: 700;
- font-size: 16px;
- cursor: pointer;
- transition: all 0.2s ease-in-out;
- fill: var(--act-color);
- span {
- display: inline-flex;
- margin-left: 8px;
- }
- &.icon {
- background-color: var(--bg-color);
- color: var(--ac-color);
- fill: var(--ac-color);
- }
- &:not([disabled]):hover,
- &:not(.disabled):focus {
- background-color: var(--bg-color);
- box-shadow: inset 0 0 0 2px var(--ac-color);
- color: var(--ac-color);
- fill: var(--ac-color);
- }
- }
- fieldset {
- margin: 16px 0;
- border: 2px solid var(--fg-color);
- border-radius: 4px;
- }
- legend {
- color: var(--fg-color);
- font-weight: 700;
- cursor: pointer;
- }
- fieldset textarea,
- fieldset pre
- code {
- resize: vertical;
- }
- fieldset.blue {
- border-color: #57b5f9;
- }
- fieldset.blue legend {
- color: #57b5f9;
- }
- fieldset.gray {
- border-color: #BCC2CD;
- }
- fieldset.gray legend {
- color: #BCC2CD;
- }
- fieldset.green {
- border-color: #50fa7b;
- }
- fieldset.green legend {
- color: #50fa7b;
- }
- fieldset.cyan {
- border-color: #8be9fd;
- }
- fieldset.cyan legend {
- color: #8be9fd;
- }
- fieldset.purple {
- border-color: #bd93f9;
- }
- fieldset.purple legend {
- color: #bd93f9;
- }
- fieldset.orange {
- border-color: #ffb86c;
- }
- fieldset.orange legend {
- color: #ffb86c;
- }
- fieldset.pink {
- border-color: #ff79c6;
- }
- fieldset.pink legend {
- color: #ff79c6;
- }
- fieldset.red {
- border-color: #ff5555;
- }
- fieldset.red legend {
- color: #ff5555;
- }
- fieldset.yellow {
- border-color: #f1fa8c;
- }
- fieldset.yellow legend {
- color: #f1fa8c;
- }
- .hidden {
- display: none;
- }
- select,
- input,
- option,
- textarea,
- pre {
- margin: 4px;
- padding: 8px;
- border-radius: 4px;
- width: calc(100% - 8px);
- background-color: var(--bg-dark-color);
- color: var(--fg-color);
- font-weight: 700;
- font-size: 18px;
- font-family: monospace;
- transition: all 0.2s ease-in-out;
- user-select: all;
- &:not([readonly]):hover,
- &:not([readonly]):focus {
- background-color: var(--bg-color);
- box-shadow: inset 0 0 0 2px var(--ac-color);
- }
- }
- pre {
- display: grid;
- }
- code {
- height: 336px;
- }
- .hljs,
- .hljs-subst {
- background-color: var(--bg-dark-color) !important;
- color: var(--fg-color) !important;
- }
- select,
- input,
- option {
- height: 41px;
- }
- input[type="checkbox"] {
- display: none;
- &,
- & + label {
- vertical-align: middle;
- cursor: pointer;
- &:before {
- content: "\2714";
- border: 2px solid var(--fg-color);
- border-radius: 4px;
- display: inline-flex;
- height: 16px;
- width: 16px;
- align-items: center;
- justify-content: center;
- margin: 8px 8px 8px 0;
- color: transparent;
- transition: .2s;
- }
- }
- &:checked + label:before {
- background-color: var(--ac-color);
- border-color: var(--ac-color);
- color: var(--act-color);
- }
- }
- .error,
- .disabled,
- [disabled] {
- background-color: var(--err-color);
- color: #b2b2b2;
- cursor: default;
- &.icon {
- color: #b2b2b2;
- fill: #b2b2b2;
- }
- }
- label {
- padding: 4px;
- }
- ul,
- ol {
- display: flex;
- margin: 8px 0 0;
- padding: 0;
- list-style-type: none;
- }
- ul li,
- ol li {
- display: inline-flex;
- flex-direction: column;
- flex-grow: 1;
- }
- .flex-wrap {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .show-on-small-screen {
- display: flex;
- }
- @media (max-width: $responsiveWidth) {
- header div {
- display: flex;
- text-align: center;
- flex-direction: column;
- nav {
- display: inline-flex;
- margin-top: 20px;
- }
- }
- ul,
- ol {
- flex-direction: column;
- }
- ul li,
- ol li {
- display: flex;
- }
- .hide-on-small-screen {
- display: none;
- }
- .show-on-small-screen {
- display: inline-flex;
- }
- }
- #installPWA {
- display: none;
- }
- .info-response {
- background-color: #FFEB3B;
- }
- .success-response {
- background-color: #4BB543;
- }
- .redir-response {
- background-color: #FF5722;
- }
- .cl-error-response {
- background-color: #A63232;
- }
- .sv-error-response {
- background-color: #B71C1C;
- }
- .missing-data-response {
- background-color: var(--err-color);
- }
- .virtual-list::-webkit-scrollbar {
- width: 0;
- }
- fieldset#history {
- .method-list-item {
- position: relative;
- span {
- position: absolute;
- top: 44px;
- right: 20px;
- font-family: monospace, monospace;
- }
- }
- }
- .align-left {
- text-align: left;
- }
- .align-center {
- text-align: center;
- }
- .align-right {
- text-align: right;
- }
- #response-details-wrapper {
- position: relative;
- overflow: hidden;
- border-radius: 4px;
- textarea {
- margin: 0;
- width: 100%;
- }
- .covers-response {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: white;
- height: 100%;
- width: 100%;
- }
- }
- #action {
- #hidden-message {
- display: none;
- }
- &.show {
- display: flex;
- position: fixed;
- top: 16px;
- right: 16px;
- z-index: 1;
- #hidden-message {
- display: block;
- margin-left: 4px;
- }
- }
- }
|