2025-03-22 10:19:15 +00:00

823 lines
16 KiB
CSS

@import 'form.css';
@import 'tabs.css';
:root {
accent-color: theme('colors.primary.500');
}
.visually-hidden {
position: absolute !important;
overflow: hidden;
width: 1px;
height: 1px;
clip: rect(1px, 1px, 1px, 1px);
}
.visually-hidden:is(:focus, :focus-within) + label {
outline: thin dotted;
}
/* Tooltip
---------------------------------------------------------------------------- */
.v-popper--theme-Nova .v-popper__inner {
@apply shadow bg-white dark:bg-gray-900 text-gray-500 dark:text-white !important;
}
.v-popper--theme-Nova .v-popper__arrow-outer {
visibility: hidden;
}
.v-popper--theme-Nova .v-popper__arrow-inner {
visibility: hidden;
}
.v-popper--theme-tooltip .v-popper__inner {
@apply shadow bg-white dark:bg-gray-900 text-gray-500 dark:text-white !important;
}
.v-popper--theme-tooltip .v-popper__arrow-outer {
@apply border-white !important;
visibility: hidden;
}
.v-popper--theme-tooltip .v-popper__arrow-inner {
visibility: hidden;
}
/* Plain Theme */
.v-popper--theme-plain .v-popper__inner {
@apply rounded-lg shadow bg-white dark:bg-gray-900 text-gray-500 dark:text-white !important;
}
.v-popper--theme-plain .v-popper__arrow-outer {
visibility: hidden;
}
.v-popper--theme-plain .v-popper__arrow-inner {
visibility: hidden;
}
/* Help Text
---------------------------------------------------------------------------- */
.help-text {
@apply text-xs leading-normal text-gray-500 italic;
}
.help-text-error {
@apply text-red-500;
}
.help-text a {
@apply text-primary-500 no-underline;
}
/* Toast Messages
-----------------------------------------------------------------------------*/
.toasted.alive {
padding: 0 20px;
min-height: 38px;
font-size: 100%;
line-height: 1.1em;
font-weight: 700;
border-radius: 2px;
background-color: #fff;
color: #007fff;
box-shadow: 0 12px 44px 0 rgba(10, 21, 84, 0.24);
}
.toasted.alive.success {
color: #4caf50;
}
.toasted.alive.error {
color: #f44336;
}
.toasted.alive.info {
color: #3f51b5;
}
.toasted.alive .action {
color: #007fff;
}
.toasted.alive .material-icons {
color: #ffc107;
}
.toasted.material {
padding: 0 20px;
min-height: 38px;
font-size: 100%;
line-height: 1.1em;
background-color: #353535;
border-radius: 2px;
font-weight: 300;
color: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.toasted.material.success {
color: #4caf50;
}
.toasted.material.error {
color: #f44336;
}
.toasted.material.info {
color: #3f51b5;
}
.toasted.material .action {
color: #a1c2fa;
}
.toasted.colombo {
padding: 0 20px;
min-height: 38px;
font-size: 100%;
line-height: 1.1em;
border-radius: 6px;
color: #7492b1;
border: 2px solid #7492b1;
background: #fff;
font-weight: 700;
}
.toasted.colombo:after {
content: '';
width: 8px;
height: 8px;
background-color: #5e7b9a;
position: absolute;
top: -4px;
left: -5px;
border-radius: 100%;
}
.toasted.colombo.success {
color: #4caf50;
}
.toasted.colombo.error {
color: #f44336;
}
.toasted.colombo.info {
color: #3f51b5;
}
.toasted.colombo .action {
color: #007fff;
}
.toasted.colombo .material-icons {
color: #5dcccd;
}
.toasted.bootstrap {
padding: 0 20px;
min-height: 38px;
font-size: 100%;
line-height: 1.1em;
color: #31708f;
background-color: #f9fbfd;
border: 1px solid transparent;
border-color: #d9edf7;
border-radius: 0.25rem;
font-weight: 700;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}
.toasted.bootstrap.success {
color: #3c763d;
background-color: #dff0d8;
border-color: #d0e9c6;
}
.toasted.bootstrap.error {
color: #a94442;
background-color: #f2dede;
border-color: #f2dede;
}
.toasted.bootstrap.info {
color: #31708f;
background-color: #d9edf7;
border-color: #d9edf7;
}
.toasted.venice {
padding: 0 20px;
min-height: 38px;
font-size: 100%;
line-height: 1.1em;
border-radius: 30px;
color: #fff;
background: linear-gradient(85deg, #5861bf, #a56be2);
font-weight: 700;
box-shadow: 0 12px 44px 0 rgba(10, 21, 84, 0.24);
}
.toasted.venice.success {
color: #4caf50;
}
.toasted.venice.error {
color: #f44336;
}
.toasted.venice.info {
color: #3f51b5;
}
.toasted.venice .action {
color: #007fff;
}
.toasted.venice .material-icons {
color: #fff;
}
.toasted.bulma {
padding: 0 20px;
min-height: 38px;
font-size: 100%;
line-height: 1.1em;
background-color: #00d1b2;
color: #fff;
border-radius: 3px;
font-weight: 700;
}
.toasted.bulma.success {
color: #fff;
background-color: #23d160;
}
.toasted.bulma.error {
color: #a94442;
background-color: #ff3860;
}
.toasted.bulma.info {
color: #fff;
background-color: #3273dc;
}
.toasted-container {
position: fixed;
z-index: 10000;
}
.toasted-container,
.toasted-container.full-width {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
}
.toasted-container.full-width {
max-width: 86%;
width: 100%;
}
.toasted-container.full-width.fit-to-screen {
min-width: 100%;
}
.toasted-container.full-width.fit-to-screen .toasted:first-child {
margin-top: 0;
}
.toasted-container.full-width.fit-to-screen.top-right {
top: 0;
right: 0;
}
.toasted-container.full-width.fit-to-screen.top-left {
top: 0;
left: 0;
}
.toasted-container.full-width.fit-to-screen.top-center {
top: 0;
left: 0;
-webkit-transform: translateX(0);
transform: translateX(0);
}
.toasted-container.full-width.fit-to-screen.bottom-right {
right: 0;
bottom: 0;
}
.toasted-container.full-width.fit-to-screen.bottom-left {
left: 0;
bottom: 0;
}
.toasted-container.full-width.fit-to-screen.bottom-center {
left: 0;
bottom: 0;
-webkit-transform: translateX(0);
transform: translateX(0);
}
.toasted-container.top-right {
top: 10%;
right: 7%;
}
.toasted-container.top-right:not(.full-width) {
-ms-flex-align: end;
align-items: flex-end;
}
.toasted-container.top-left {
top: 10%;
left: 7%;
}
.toasted-container.top-left:not(.full-width) {
-ms-flex-align: start;
align-items: flex-start;
}
.toasted-container.top-center {
top: 10%;
left: 50%;
-ms-flex-align: center;
align-items: center;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.toasted-container.bottom-right {
right: 5%;
bottom: 7%;
}
.toasted-container.bottom-right:not(.full-width) {
-ms-flex-align: end;
align-items: flex-end;
}
.toasted-container.bottom-left {
left: 5%;
bottom: 7%;
}
.toasted-container.bottom-left:not(.full-width) {
-ms-flex-align: start;
align-items: flex-start;
}
.toasted-container.bottom-center {
left: 50%;
bottom: 7%;
-ms-flex-align: center;
align-items: center;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
.toasted-container.bottom-left .toasted,
.toasted-container.top-left .toasted {
float: left;
}
.toasted-container.bottom-right .toasted,
.toasted-container.top-right .toasted {
float: right;
}
.toasted-container .toasted {
top: 35px;
width: auto;
clear: both;
margin-top: 0.8em;
position: relative;
max-width: 100%;
height: auto;
word-break: break-all;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: justify;
justify-content: space-between;
box-sizing: inherit;
}
.toasted-container .toasted .material-icons {
margin-right: 0.5rem;
margin-left: -0.4rem;
}
.toasted-container .toasted .material-icons.after {
margin-left: 0.5rem;
margin-right: -0.4rem;
}
.toasted-container .toasted .actions-wrapper {
margin-left: 0.4em;
margin-right: -1.2em;
}
.toasted-container .toasted .actions-wrapper .action {
text-decoration: none;
font-size: 0.9rem;
padding: 8px;
border-radius: 3px;
text-transform: uppercase;
letter-spacing: 0.03em;
font-weight: 600;
cursor: pointer;
margin-right: 0.2rem;
}
.toasted-container .toasted .actions-wrapper .action.icon {
padding: 4px;
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: center;
justify-content: center;
}
.toasted-container .toasted .actions-wrapper .action.icon .material-icons {
margin-right: 0;
margin-left: 4px;
}
.toasted-container .toasted .actions-wrapper .action.icon:hover {
text-decoration: none;
}
.toasted-container .toasted .actions-wrapper .action:hover {
text-decoration: underline;
}
@media only screen and (max-width: 600px) {
#toasted-container {
min-width: 100%;
}
#toasted-container .toasted:first-child {
margin-top: 0;
}
#toasted-container.top-right {
top: 0;
right: 0;
}
#toasted-container.top-left {
top: 0;
left: 0;
}
#toasted-container.top-center {
top: 0;
left: 0;
-webkit-transform: translateX(0);
transform: translateX(0);
}
#toasted-container.bottom-right {
right: 0;
bottom: 0;
}
#toasted-container.bottom-left {
left: 0;
bottom: 0;
}
#toasted-container.bottom-center {
left: 0;
bottom: 0;
-webkit-transform: translateX(0);
transform: translateX(0);
}
#toasted-container.bottom-center,
#toasted-container.top-center {
-ms-flex-align: stretch !important;
align-items: stretch !important;
}
#toasted-container.bottom-left .toasted,
#toasted-container.bottom-right .toasted,
#toasted-container.top-left .toasted,
#toasted-container.top-right .toasted {
float: none;
}
#toasted-container .toasted {
border-radius: 0;
}
}
@layer components {
.toasted-container.top-center {
top: 30px !important;
}
/* TODO: Dark modes for toast messages */
.nova {
@apply font-bold py-2 px-5 rounded-lg shadow;
}
.toasted.default {
@apply text-primary-500 bg-primary-100 nova;
}
.toasted.success {
@apply text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-900 nova;
}
.toasted.error {
@apply text-red-500 dark:text-red-400 bg-red-50 dark:bg-red-900 nova;
}
.toasted.info {
@apply text-primary-500 dark:text-primary-400 bg-primary-50 dark:bg-primary-900 nova;
}
.toasted.warning {
@apply text-yellow-600 dark:text-yellow-900 bg-yellow-50 dark:bg-yellow-600 nova;
}
.toasted .action {
@apply font-semibold py-0 !important;
}
}
/* Links
---------------------------------------------------------------------------- */
.link-default {
@apply no-underline text-primary-500 font-bold rounded focus:outline-none focus:ring focus:ring-primary-200;
@apply hover:text-primary-400 active:text-primary-600;
@apply dark:ring-gray-600;
}
.link-default-error {
@apply no-underline text-red-500 font-bold rounded focus:outline-none focus:ring focus:ring-red-200;
@apply hover:text-red-400 active:text-red-600;
@apply dark:ring-gray-600;
}
/* Field Wrapper
---------------------------------------------------------------------------- */
.field-wrapper:last-child {
@apply border-none;
}
/* Chartist
-----------------------------------------------------------------------------*/
.chartist-tooltip {
@apply bg-white dark:bg-gray-900 text-primary-500 rounded shadow font-sans !important;
min-width: 0 !important;
white-space: nowrap;
padding: 0.2em 1em !important;
}
.chartist-tooltip:before {
display: none;
border-top-color: rgba(var(--colors-white), 1) !important;
}
/* Charts
---------------------------------------------------------------------------- */
/* Partition Metric */
.ct-chart-line .ct-series-a .ct-area,
.ct-chart-line .ct-series-a .ct-slice-donut-solid,
.ct-chart-line .ct-series-a .ct-slice-pie {
fill: theme('colors.primary.500') !important;
}
.ct-series-b .ct-area,
.ct-series-b .ct-slice-donut-solid,
.ct-series-b .ct-slice-pie {
fill: #f99037 !important;
}
.ct-series-c .ct-area,
.ct-series-c .ct-slice-donut-solid,
.ct-series-c .ct-slice-pie {
fill: #f2cb22 !important;
}
.ct-series-d .ct-area,
.ct-series-d .ct-slice-donut-solid,
.ct-series-d .ct-slice-pie {
fill: #8fc15d !important;
}
.ct-series-e .ct-area,
.ct-series-e .ct-slice-donut-solid,
.ct-series-e .ct-slice-pie {
fill: #098f56 !important;
}
.ct-series-f .ct-area,
.ct-series-f .ct-slice-donut-solid,
.ct-series-f .ct-slice-pie {
fill: #47c1bf !important;
}
.ct-series-g .ct-area,
.ct-series-g .ct-slice-donut-solid,
.ct-series-g .ct-slice-pie {
fill: #1693eb !important;
}
.ct-series-h .ct-area,
.ct-series-h .ct-slice-donut-solid,
.ct-series-h .ct-slice-pie {
fill: #6474d7 !important;
}
.ct-series-i .ct-area,
.ct-series-i .ct-slice-donut-solid,
.ct-series-i .ct-slice-pie {
fill: #9c6ade !important;
}
.ct-series-j .ct-area,
.ct-series-j .ct-slice-donut-solid,
.ct-series-j .ct-slice-pie {
fill: #e471de !important;
}
/* Trend Metric */
.ct-series-a .ct-bar,
.ct-series-a .ct-line,
.ct-series-a .ct-point {
stroke: theme('colors.primary.500') !important;
stroke-width: 2px;
}
.ct-series-a .ct-area,
.ct-series-a .ct-slice-pie {
fill: theme('colors.primary.500') !important;
}
.ct-point {
stroke: theme('colors.primary.500') !important;
stroke-width: 6px !important;
}
/* Trix
---------------------------------------------------------------------------- */
trix-editor {
@apply rounded-lg dark:bg-gray-900 dark:border-gray-700;
@apply dark:focus:bg-gray-900 focus:outline-none focus:ring ring-primary-100 dark:ring-gray-700;
}
.disabled trix-editor,
.disabled trix-toolbar {
pointer-events: none;
}
.disabled trix-editor {
background-color: rgba(var(--colors-gray-50), 1);
}
.dark .disabled trix-editor {
background-color: rgba(var(--colors-gray-700), 1);
}
.disabled trix-toolbar {
display: none !important;
}
trix-editor:empty:not(:focus)::before {
color: rgba(var(--colors-gray-500), 1);
}
trix-editor.disabled {
pointer-events: none;
}
trix-toolbar .trix-button-row .trix-button-group {
@apply dark:border-gray-900;
}
trix-toolbar .trix-button-row .trix-button-group .trix-button {
@apply dark:bg-gray-400 dark:border-gray-900 dark:hover:bg-gray-300;
}
trix-toolbar .trix-button-row .trix-button-group .trix-button.trix-active {
@apply dark:bg-gray-500;
}
/* Place Field
---------------------------------------------------------------------------- */
.modal .ap-dropdown-menu {
position: relative !important;
}
/* KeyValue
---------------------------------------------------------------------------- */
.key-value-items:last-child {
@apply rounded-b-lg bg-clip-border border-b-0;
}
.key-value-items .key-value-item:last-child > .key-value-fields {
border-bottom: none;
}
/*rtl:begin:ignore*/
/* CodeMirror Styles
---------------------------------------------------------------------------- */
.CodeMirror {
background: unset !important;
min-height: 50px;
font: 14px/1.5 Menlo, Consolas, Monaco, 'Andale Mono', monospace;
box-sizing: border-box;
margin: auto;
position: relative;
z-index: 0;
height: auto;
width: 100%;
color: white !important;
@apply text-gray-500 dark:text-gray-200 !important;
}
.readonly > .CodeMirror {
@apply bg-gray-100 !important;
}
.CodeMirror-wrap {
padding: 0.5rem 0;
}
.markdown-fullscreen .markdown-content {
height: calc(100vh - 30px);
}
.markdown-fullscreen .CodeMirror {
height: 100%;
}
.CodeMirror-cursor {
border-left: 1px solid black;
@apply dark:border-white;
}
.cm-fat-cursor .CodeMirror-cursor {
@apply text-black dark:text-white;
}
.cm-s-default .cm-header {
@apply text-gray-600 dark:text-gray-300;
}
/*.CodeMirror-line,*/
.cm-s-default .cm-variable-2,
.cm-s-default .cm-quote,
.cm-s-default .cm-string,
.cm-s-default .cm-comment {
@apply text-gray-600 dark:text-gray-300;
}
.cm-s-default .cm-link,
.cm-s-default .cm-url {
@apply text-gray-500 dark:text-primary-400;
}
/*rtl:end:ignore*/
/* NProgress Styles
---------------------------------------------------------------------------- */
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: rgba(var(--colors-primary-500), 1);
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
/* Algolia Places Styles
---------------------------------------------------------------------------- */
.ap-footer-algolia svg {
display: inherit;
}
.ap-footer-osm svg {
display: inherit;
}