814 lines
12 KiB
SCSS
814 lines
12 KiB
SCSS
$responsiveWidth: 768px;
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
backface-visibility: hidden;
|
|
}
|
|
|
|
:root {
|
|
@apply antialiased;
|
|
|
|
font-variant-ligatures: common-ligatures;
|
|
}
|
|
|
|
::selection {
|
|
@apply bg-acColor;
|
|
@apply text-actColor;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
@apply h-1;
|
|
@apply w-2;
|
|
|
|
&:hover {
|
|
@apply bg-bgDarkColor;
|
|
}
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
@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-medium;
|
|
@apply select-none;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
-webkit-touch-callout: none;
|
|
}
|
|
|
|
body.afterLoad {
|
|
@apply transition-colors;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
}
|
|
|
|
body.sticky-footer footer {
|
|
@apply opacity-25;
|
|
}
|
|
|
|
.page-enter-active,
|
|
.page-leave-active,
|
|
.layout-enter-active,
|
|
.layout-leave-active {
|
|
@apply transition-opacity;
|
|
@apply duration-150;
|
|
}
|
|
|
|
.page-enter,
|
|
.page-leave-active,
|
|
.layout-enter,
|
|
.layout-leave-active {
|
|
@apply opacity-0;
|
|
}
|
|
|
|
a {
|
|
@apply inline-flex;
|
|
@apply text-current;
|
|
@apply no-underline;
|
|
@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-nowrap;
|
|
}
|
|
|
|
.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-150;
|
|
}
|
|
|
|
hr {
|
|
@apply border-b;
|
|
@apply border-dashed;
|
|
@apply border-brdColor;
|
|
@apply my-4;
|
|
}
|
|
|
|
.tooltip {
|
|
@apply z-50;
|
|
@apply outline-none;
|
|
|
|
.tooltip-inner {
|
|
@apply rounded-lg;
|
|
@apply px-4;
|
|
@apply py-2;
|
|
@apply text-xs;
|
|
@apply font-medium;
|
|
@apply shadow-lg;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
@apply bg-ttColor;
|
|
@apply text-fgColor;
|
|
}
|
|
|
|
.tooltip-arrow {
|
|
@apply h-0;
|
|
@apply w-0;
|
|
@apply border-solid;
|
|
@apply absolute;
|
|
@apply m-2;
|
|
@apply border-ttColor;
|
|
@apply z-30;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
}
|
|
|
|
&[x-placement^="top"] {
|
|
@apply mb-0;
|
|
|
|
.tooltip-arrow {
|
|
@apply mt-0;
|
|
@apply mb-0;
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
&[x-placement^="bottom"] {
|
|
@apply mt-0;
|
|
|
|
.tooltip-arrow {
|
|
@apply mt-0;
|
|
@apply mb-0;
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
&[x-placement^="right"] {
|
|
@apply ml-0;
|
|
|
|
.tooltip-arrow {
|
|
@apply ml-0;
|
|
@apply mr-0;
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
&[x-placement^="left"] {
|
|
@apply mr-0;
|
|
|
|
.tooltip-arrow {
|
|
@apply ml-0;
|
|
@apply mr-0;
|
|
|
|
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);
|
|
}
|
|
}
|
|
|
|
&.popover {
|
|
.wrapper {
|
|
min-height: auto;
|
|
}
|
|
|
|
.popover-inner {
|
|
@apply bg-ttColor;
|
|
@apply text-fgColor;
|
|
@apply text-base;
|
|
@apply p-2;
|
|
@apply rounded-lg;
|
|
@apply overflow-auto;
|
|
@apply shadow-lg;
|
|
|
|
max-height: 256px;
|
|
min-width: 128px;
|
|
|
|
button {
|
|
@apply flex-1;
|
|
@apply m-0;
|
|
@apply p-2;
|
|
@apply justify-start;
|
|
@apply text-left;
|
|
}
|
|
|
|
div {
|
|
@apply flex;
|
|
@apply items-stretch;
|
|
@apply flex-col;
|
|
}
|
|
}
|
|
|
|
.popover-arrow {
|
|
@apply border-ttColor;
|
|
}
|
|
}
|
|
|
|
&[aria-hidden="true"] {
|
|
@apply invisible;
|
|
@apply opacity-0;
|
|
@apply transition-opacity;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
}
|
|
|
|
&[aria-hidden="false"] {
|
|
@apply visible;
|
|
@apply opacity-100;
|
|
@apply transition-opacity;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
}
|
|
}
|
|
|
|
.info:not(.toasted) {
|
|
@apply m-4;
|
|
@apply text-fgLightColor;
|
|
|
|
.material-icons {
|
|
@apply align-middle;
|
|
@apply mr-2;
|
|
}
|
|
}
|
|
|
|
button {
|
|
@apply inline-flex;
|
|
@apply items-center;
|
|
@apply justify-center;
|
|
@apply p-4;
|
|
@apply bg-acColor;
|
|
@apply text-actColor;
|
|
@apply font-bold;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
@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;
|
|
@apply outline-none;
|
|
|
|
box-shadow: inset 0 0 0 2px var(--fg-color);
|
|
}
|
|
|
|
&.icon {
|
|
@apply bg-transparent;
|
|
@apply text-fgLightColor;
|
|
@apply fill-current;
|
|
@apply outline-none;
|
|
@apply border-none;
|
|
@apply rounded-lg;
|
|
|
|
&:not([disabled]):hover,
|
|
&:not([disabled]):active,
|
|
&:not([disabled]):focus {
|
|
@apply text-fgColor;
|
|
@apply fill-current;
|
|
@apply shadow-none;
|
|
}
|
|
}
|
|
|
|
&.primary {
|
|
@apply text-acColor;
|
|
@apply px-6;
|
|
|
|
&: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 {
|
|
&: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 {
|
|
@apply truncate;
|
|
}
|
|
|
|
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 p-4;
|
|
@apply bg-bgDarkColor;
|
|
@apply text-fgColor;
|
|
@apply font-mono;
|
|
@apply font-normal;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
@apply select-text;
|
|
@apply resize-y;
|
|
@apply outline-none;
|
|
@apply w-full;
|
|
|
|
&: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;
|
|
@apply uppercase;
|
|
@apply rounded-none;
|
|
|
|
min-width: 128px;
|
|
|
|
&: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;
|
|
@apply resize-none;
|
|
}
|
|
|
|
kbd,
|
|
code,
|
|
pre {
|
|
@apply w-auto;
|
|
}
|
|
|
|
.select-wrapper {
|
|
@apply relative;
|
|
@apply w-full;
|
|
|
|
pre,
|
|
input {
|
|
@apply cursor-pointer;
|
|
}
|
|
|
|
.trigger {
|
|
@apply w-full;
|
|
}
|
|
|
|
&::after {
|
|
@apply inline-block;
|
|
@apply absolute;
|
|
@apply pointer-events-none;
|
|
@apply font-icon;
|
|
@apply text-fgLightColor;
|
|
|
|
content: "\e313";
|
|
top: 16px;
|
|
right: 16px;
|
|
}
|
|
}
|
|
|
|
select {
|
|
@apply cursor-pointer;
|
|
@apply appearance-none;
|
|
|
|
// height: 40px;
|
|
|
|
&::-ms-expand {
|
|
@apply hidden;
|
|
}
|
|
}
|
|
|
|
option {
|
|
@apply bg-bgColor;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
@apply hidden;
|
|
|
|
&,
|
|
& + label {
|
|
@apply align-middle;
|
|
@apply cursor-pointer;
|
|
|
|
&::before {
|
|
@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-150;
|
|
|
|
content: "\2714";
|
|
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 p-4;
|
|
@apply text-fgLightColor;
|
|
@apply text-sm;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
@apply flex;
|
|
}
|
|
|
|
ul li,
|
|
ol li {
|
|
@apply inline-flex;
|
|
@apply flex-col;
|
|
@apply flex-nowrap;
|
|
@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;
|
|
|
|
span,
|
|
div {
|
|
@apply inline-flex;
|
|
@apply flex-nowrap;
|
|
@apply items-center;
|
|
@apply justify-center;
|
|
}
|
|
}
|
|
|
|
.info-response {
|
|
@apply text-yellow-400;
|
|
}
|
|
|
|
.success-response {
|
|
@apply text-green-400;
|
|
}
|
|
|
|
.redir-response {
|
|
@apply text-pink-400;
|
|
}
|
|
|
|
.cl-error-response {
|
|
@apply text-red-400;
|
|
}
|
|
|
|
.sv-error-response {
|
|
@apply text-red-600;
|
|
}
|
|
|
|
.missing-data-response {
|
|
@apply text-fgLightColor;
|
|
}
|
|
|
|
#response-details-wrapper {
|
|
@apply relative;
|
|
|
|
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-nowrap;
|
|
@apply outline-none;
|
|
@apply border-none;
|
|
|
|
&.show {
|
|
@apply flex;
|
|
@apply fixed;
|
|
@apply transition;
|
|
@apply ease-in-out;
|
|
@apply duration-150;
|
|
@apply shadow-lg;
|
|
@apply rounded-lg;
|
|
|
|
bottom: 86px;
|
|
left: 50%;
|
|
z-index: 10001;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
section {
|
|
@apply flex;
|
|
@apply rounded-lg;
|
|
@apply w-full;
|
|
}
|
|
|
|
.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;
|
|
margin-bottom: env(safe-area-inset-bottom);
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
@apply flex-col;
|
|
@apply flex-nowrap;
|
|
}
|
|
|
|
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 {
|
|
@apply bg-gray-50;
|
|
@apply text-gray-900;
|
|
@apply font-bold;
|
|
@apply text-sm;
|
|
@apply rounded-lg;
|
|
@apply shadow-lg;
|
|
|
|
padding: 16px !important;
|
|
|
|
.action {
|
|
@apply bg-gray-50;
|
|
@apply text-gray-900;
|
|
@apply rounded-lg;
|
|
@apply font-bold;
|
|
|
|
text-transform: none !important;
|
|
padding: 12px 16px !important;
|
|
font-size: 16px !important;
|
|
margin: 0 !important;
|
|
margin-left: 8px !important;
|
|
}
|
|
}
|
|
|
|
.virtual-list {
|
|
@apply overflow-auto;
|
|
}
|