@apideck/react-vault
Version:
<br />
501 lines (487 loc) • 11.2 kB
CSS
/*
! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com
*/
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
box-sizing: border-box;
/* 1 */
border-width: 0;
/* 2 */
border-style: solid;
/* 2 */
border-color: #e5e7eb;
/* 2 */
}
::before,
::after {
--tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
*/
html {
line-height: 1.5;
/* 1 */
-webkit-text-size-adjust: 100%;
/* 2 */
-moz-tab-size: 4;
/* 3 */
-o-tab-size: 4;
tab-size: 4;
/* 3 */
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
/* 4 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
margin: 0;
/* 1 */
line-height: inherit;
/* 2 */
}
.apideck hr {
height: 0;
/* 1 */
color: inherit;
/* 2 */
border-top-width: 1px;
/* 3 */
}
.apideck abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
.apideck h1,
.apideck h2,
.apideck h3,
.apideck h4,
.apideck h5,
.apideck h6 {
font-size: inherit;
font-weight: inherit;
}
.apideck a {
color: inherit;
text-decoration: inherit;
}
.apideck b,
.apideck strong {
font-weight: bolder;
}
.apideck code,
.apideck kbd,
.apideck samp,
.apideck pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
'Liberation Mono', 'Courier New', monospace;
/* 1 */
font-size: 1em;
/* 2 */
}
.apideck small {
font-size: 80%;
}
.apideck sub,
.apideck sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
.apideck sub {
bottom: -0.25em;
}
.apideck sup {
top: -0.5em;
}
.apideck table {
text-indent: 0;
/* 1 */
border-color: inherit;
/* 2 */
border-collapse: collapse;
/* 3 */
}
.apideck button,
.apideck input,
.apideck optgroup,
.apideck select,
.apideck textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
font-weight: inherit;
/* 1 */
line-height: inherit;
/* 1 */
color: inherit;
/* 1 */
margin: 0;
/* 2 */
padding: 0;
/* 3 */
}
.apideck button,
.apideck select {
text-transform: none;
}
.apideck button,
.apideck [type='button'],
.apideck [type='reset'],
.apideck [type='submit'] {
-webkit-appearance: button;
/* 1 */
background-color: transparent;
/* 2 */
background-image: none;
/* 2 */
}
.apideck :-moz-focusring {
outline: auto;
}
.apideck :-moz-ui-invalid {
box-shadow: none;
}
.apideck progress {
vertical-align: baseline;
}
.apideck ::-webkit-inner-spin-button,
.apideck ::-webkit-outer-spin-button {
height: auto;
}
.apideck [type='search'] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */
}
.apideck ::-webkit-search-decoration {
-webkit-appearance: none;
}
.apideck ::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */
}
.apideck summary {
display: list-item;
}
.apideck blockquote,
.apideck dl,
.apideck dd,
.apideck h1,
.apideck h2,
.apideck h3,
.apideck h4,
.apideck h5,
.apideck h6,
.apideck hr,
.apideck figure,
.apideck p,
.apideck pre {
margin: 0;
}
.apideck fieldset {
margin: 0;
padding: 0;
}
.apideck legend {
padding: 0;
}
.apideck ol,
.apideck ul,
.apideck menu {
list-style: none;
margin: 0;
padding: 0;
}
.apideck textarea {
resize: vertical;
}
.apideck input::-moz-placeholder,
.apideck textarea::-moz-placeholder {
opacity: 1;
/* 1 */
color: #9ca3af;
/* 2 */
}
.apideck input:-ms-input-placeholder,
.apideck textarea:-ms-input-placeholder {
opacity: 1;
/* 1 */
color: #9ca3af;
/* 2 */
}
.apideck input::placeholder,
.apideck textarea::placeholder {
opacity: 1;
/* 1 */
color: #9ca3af;
/* 2 */
}
.apideck button,
.apideck [role='button'] {
cursor: pointer;
}
.apideck :disabled {
cursor: default;
}
.apideck img,
.apideck svg,
.apideck video,
.apideck canvas,
.apideck audio,
.apideck iframe,
.apideck embed,
.apideck object {
display: block;
/* 1 */
vertical-align: middle;
/* 2 */
}
.apideck img,
.apideck video {
max-width: 100%;
height: auto;
}
.apideck [type='text'],
.apideck [type='email'],
.apideck [type='url'],
.apideck [type='password'],
.apideck [type='number'],
.apideck [type='date'],
.apideck [type='datetime-local'],
.apideck [type='month'],
.apideck [type='search'],
.apideck [type='tel'],
.apideck [type='time'],
.apideck [type='week'],
.apideck [multiple],
.apideck textarea,
.apideck select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
border-radius: 0px;
padding-top: 0.5rem;
padding-right: 0.75rem;
padding-bottom: 0.5rem;
padding-left: 0.75rem;
font-size: 1rem;
line-height: 1.5rem;
--tw-shadow: 0 0 #000 0;
}
.apideck [type='text']:focus,
.apideck [type='email']:focus,
.apideck [type='url']:focus,
.apideck [type='password']:focus,
.apideck [type='number']:focus,
.apideck [type='date']:focus,
.apideck [type='datetime-local']:focus,
.apideck [type='month']:focus,
.apideck [type='search']:focus,
.apideck [type='tel']:focus,
.apideck [type='time']:focus,
.apideck [type='week']:focus,
.apideck [multiple]:focus,
.apideck textarea:focus,
.apideck select:focus {
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-inset: var(--tw-empty);
/*!*/
/*!*/
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #2563eb;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0
calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
var(--tw-shadow);
border-color: #2563eb;
}
.apideck input::-moz-placeholder,
.apideck textarea::-moz-placeholder {
color: #6b7280;
opacity: 1;
}
.apideck input:-ms-input-placeholder,
.apideck textarea:-ms-input-placeholder {
color: #6b7280;
opacity: 1;
}
.apideck input::placeholder,
.apideck textarea::placeholder {
color: #6b7280;
opacity: 1;
}
.apideck ::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
.apideck ::-webkit-date-and-time-value {
min-height: 1.5em;
}
.apideck select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
padding-right: 2.5rem;
-webkit-print-color-adjust: exact;
color-adjust: exact;
}
.apideck [multiple] {
background-image: initial;
background-position: initial;
background-repeat: unset;
background-size: initial;
padding-right: 0.75rem;
-webkit-print-color-adjust: unset;
color-adjust: unset;
}
.apideck [type='checkbox'],
.apideck [type='radio'] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
padding: 0;
-webkit-print-color-adjust: exact;
color-adjust: exact;
display: inline-block;
vertical-align: middle;
background-origin: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
flex-shrink: 0;
height: 1rem;
width: 1rem;
color: #2563eb;
background-color: #fff;
border-color: #6b7280;
border-width: 1px;
--tw-shadow: 0 0 #000 0;
}
.apideck [type='checkbox'] {
border-radius: 0px;
}
.apideck [type='radio'] {
border-radius: 100%;
}
.apideck [type='checkbox']:focus,
.apideck [type='radio']:focus {
outline: 2px solid transparent;
outline-offset: 2px;
--tw-ring-inset: var(--tw-empty);
/*!*/
/*!*/
--tw-ring-offset-width: 2px;
--tw-ring-offset-color: #fff;
--tw-ring-color: #2563eb;
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0
var(--tw-ring-offset-width) var(--tw-ring-offset-color);
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0
calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
var(--tw-shadow);
}
.apideck [type='checkbox']:checked,
.apideck [type='radio']:checked {
border-color: transparent;
background-color: currentColor;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
.apideck [type='checkbox']:checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
.apideck [type='radio']:checked {
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
.apideck [type='checkbox']:checked:hover,
.apideck [type='checkbox']:checked:focus,
.apideck [type='radio']:checked:hover,
.apideck [type='radio']:checked:focus {
border-color: transparent;
background-color: currentColor;
}
.apideck [type='checkbox']:indeterminate {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
border-color: transparent;
background-color: currentColor;
background-size: 100% 100%;
background-position: center;
background-repeat: no-repeat;
}
.apideck [type='checkbox']:indeterminate:hover,
.apideck [type='checkbox']:indeterminate:focus {
border-color: transparent;
background-color: currentColor;
}
.apideck [type='file'] {
background: unset;
border-color: inherit;
border-width: 0;
border-radius: 0;
padding: 0;
font-size: unset;
line-height: inherit;
}
.apideck [type='file']:focus {
outline: 1px auto -webkit-focus-ring-color;
}
/* Overwrite react-select input */
.apideck .react-select input {
box-shadow: none ;
font-size: 0.875rem ;
line-height: 1.25rem ;
}
.apideck .markdown a {
@apply text-gray-600 underline;
}
/* Animations */
.apideck .fade-in {
animation: fadeIn 0.2s;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(2px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
.hide-scrollbar::-webkit-scrollbar {
display: none;
}
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.hide-scrollbar > pre::-webkit-scrollbar {
display: none;
}