2022-07-12 10:55:28 +02:00
|
|
|
body {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply bg-body-background-color dark:bg-zinc-800 dark:text-white;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
2022-10-28 12:58:52 +02:00
|
|
|
.out {
|
|
|
|
@apply underline hover:decoration-2 hover:decoration-mbz-yellow-alt-600;
|
|
|
|
}
|
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
/* Button */
|
|
|
|
.btn {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply font-bold py-2 px-4 bg-mbz-bluegreen hover:bg-mbz-bluegreen-600 text-white rounded h-10 outline-none focus:ring ring-offset-1 ring-offset-slate-50 ring-blue-300;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
.btn:hover {
|
|
|
|
@apply text-slate-200;
|
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
.btn-rounded {
|
|
|
|
@apply rounded-full;
|
|
|
|
}
|
2022-08-12 16:46:44 +02:00
|
|
|
.btn-size-large {
|
|
|
|
@apply text-2xl py-6;
|
|
|
|
}
|
2022-11-03 16:26:50 +01:00
|
|
|
.btn-size-small {
|
|
|
|
@apply text-sm py-1 px-2;
|
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
.btn-disabled {
|
|
|
|
@apply opacity-50 cursor-not-allowed;
|
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
.btn-danger {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply bg-mbz-danger hover:bg-mbz-danger/90;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
.btn-success {
|
|
|
|
@apply bg-mbz-success;
|
|
|
|
}
|
2022-10-11 10:20:41 +02:00
|
|
|
.btn-warning {
|
2022-10-11 11:14:57 +02:00
|
|
|
@apply bg-mbz-warning text-black hover:bg-mbz-warning/90 hover:text-slate-800;
|
2022-10-11 10:20:41 +02:00
|
|
|
}
|
2022-08-26 16:08:58 +02:00
|
|
|
.btn-text {
|
|
|
|
@apply bg-transparent border-transparent text-black dark:text-white font-normal underline hover:bg-zinc-200 hover:text-black;
|
|
|
|
}
|
2023-01-31 19:35:29 +01:00
|
|
|
.btn-outlined-,
|
|
|
|
.btn-outlined-primary {
|
|
|
|
@apply bg-transparent text-black dark:text-white font-semibold py-2 px-4 border border-mbz-bluegreen dark:border-violet-3;
|
|
|
|
}
|
|
|
|
.btn-outlined-success {
|
|
|
|
@apply border-mbz-success;
|
|
|
|
}
|
|
|
|
.btn-outlined-warning {
|
|
|
|
@apply bg-transparent border dark:text-white hover:dark:text-slate-900 hover:bg-mbz-warning border-mbz-warning;
|
|
|
|
}
|
|
|
|
.btn-outlined-danger {
|
|
|
|
@apply border-mbz-danger;
|
|
|
|
}
|
|
|
|
.btn-outlined-text {
|
|
|
|
@apply bg-transparent hover:text-slate-900;
|
|
|
|
}
|
|
|
|
.btn-outlined-:hover,
|
|
|
|
.btn-outlined-primary:hover {
|
|
|
|
@apply font-bold py-2 px-4 bg-mbz-bluegreen dark:bg-violet-3 text-white rounded;
|
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
|
|
|
|
/* Field */
|
|
|
|
.field {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
|
|
|
.field-label {
|
|
|
|
@apply block text-gray-700 dark:text-gray-100 text-base font-bold mb-2;
|
|
|
|
}
|
|
|
|
.field-danger {
|
|
|
|
@apply text-red-500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.o-field.o-field--addons .control:last-child:not(:only-child) .button {
|
|
|
|
@apply inline-flex text-gray-800 bg-gray-200 h-9 mt-[1px] rounded text-center px-2 py-1.5;
|
|
|
|
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.field-message-info {
|
|
|
|
@apply text-mbz-info;
|
|
|
|
}
|
|
|
|
|
|
|
|
.field-message-danger {
|
|
|
|
@apply text-mbz-danger;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Input */
|
|
|
|
.input {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply appearance-none border w-full py-2 px-3 text-black leading-tight dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
.input-danger {
|
|
|
|
@apply border-red-500;
|
|
|
|
}
|
|
|
|
.input-icon-right {
|
|
|
|
right: 0.5rem;
|
|
|
|
}
|
2022-08-26 16:08:58 +02:00
|
|
|
.input[type="text"]:disabled,
|
|
|
|
.input[type="email"]:disabled {
|
|
|
|
@apply bg-zinc-200 dark:bg-zinc-400;
|
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
|
|
|
|
.icon-warning {
|
|
|
|
@apply text-amber-600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-danger {
|
|
|
|
@apply text-red-500;
|
|
|
|
}
|
2022-08-26 16:08:58 +02:00
|
|
|
.icon-success {
|
|
|
|
@apply text-mbz-success;
|
|
|
|
}
|
|
|
|
.icon-grey {
|
|
|
|
@apply text-gray-500;
|
|
|
|
}
|
2022-07-12 10:55:28 +02:00
|
|
|
|
|
|
|
.o-input__icon-left {
|
|
|
|
@apply dark:text-black h-10 w-10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.o-input-iconspace-left {
|
|
|
|
@apply pl-10;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* InputItems */
|
|
|
|
.inputitems-item {
|
|
|
|
@apply bg-primary mr-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inputitems-item:first-child {
|
|
|
|
@apply ml-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Autocomplete */
|
|
|
|
.autocomplete-menu {
|
|
|
|
@apply max-h-[200px] drop-shadow-md text-black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-item {
|
2022-10-05 17:42:12 +02:00
|
|
|
@apply py-1.5 px-4 text-start;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Dropdown */
|
|
|
|
.dropdown {
|
|
|
|
@apply inline-flex relative;
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
|
|
min-width: 12em;
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply bg-white dark:bg-zinc-700 shadow-lg rounded text-start py-2;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
.dropdown-item {
|
2022-07-12 10:55:28 +02:00
|
|
|
@apply relative inline-flex gap-1 no-underline p-2 cursor-pointer w-full;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-item-active {
|
2022-10-25 19:01:26 +02:00
|
|
|
@apply bg-white dark:bg-zinc-700 dark:text-zinc-100 text-black;
|
2022-08-26 16:08:58 +02:00
|
|
|
}
|
|
|
|
.dropdown-button {
|
|
|
|
@apply inline-flex gap-1;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Checkbox */
|
|
|
|
|
|
|
|
.checkbox {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply appearance-none bg-primary border-primary;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-checked {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply bg-primary text-primary;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-label {
|
|
|
|
margin-left: 0.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Modal */
|
|
|
|
|
|
|
|
.modal-content {
|
2022-09-20 16:53:26 +02:00
|
|
|
@apply bg-white dark:bg-zinc-800 rounded px-2 py-4 w-full z-0;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Switch */
|
|
|
|
.switch {
|
|
|
|
@apply cursor-pointer inline-flex items-center relative mr-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.switch-label {
|
|
|
|
@apply pl-2;
|
|
|
|
}
|
|
|
|
|
2022-08-26 16:08:58 +02:00
|
|
|
.switch-check-checked {
|
|
|
|
@apply bg-primary;
|
|
|
|
}
|
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
/* Select */
|
|
|
|
.select {
|
2022-10-11 10:20:41 +02:00
|
|
|
@apply dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50 rounded pl-2 pr-6 border-2 border-transparent h-10 shadow-none border rounded;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Radio */
|
|
|
|
.form-radio {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply bg-none text-primary accent-primary;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
.radio-label {
|
|
|
|
@apply pl-2;
|
|
|
|
}
|
|
|
|
|
2022-10-28 12:38:15 +02:00
|
|
|
.o-field--addons .o-radio:not(:only-child) input {
|
|
|
|
@apply rounded-full;
|
|
|
|
}
|
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
/* Editor */
|
|
|
|
button.menubar__button {
|
|
|
|
@apply dark:text-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Notification */
|
|
|
|
.notification {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply p-7 bg-mbz-yellow-alt-200 dark:bg-mbz-purple-600 text-black dark:text-white rounded;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification-primary {
|
|
|
|
@apply bg-primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-info {
|
2022-09-01 10:42:05 +02:00
|
|
|
@apply bg-mbz-info text-black;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification-warning {
|
|
|
|
@apply bg-amber-600 text-black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-danger {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply bg-mbz-danger text-white;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Table */
|
|
|
|
.table tr {
|
2022-09-20 16:53:26 +02:00
|
|
|
@apply odd:bg-white dark:odd:bg-zinc-600 last:border-b-0 even:bg-gray-50 dark:even:bg-zinc-700 border-b rounded;
|
2022-07-12 10:55:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.table-td {
|
|
|
|
@apply py-4 px-2 whitespace-nowrap;
|
|
|
|
}
|
|
|
|
|
2022-08-26 16:08:58 +02:00
|
|
|
.table-th {
|
|
|
|
@apply p-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-root {
|
|
|
|
@apply mt-4;
|
|
|
|
}
|
|
|
|
|
2022-07-12 10:55:28 +02:00
|
|
|
/* Snackbar */
|
|
|
|
.notification-dark {
|
|
|
|
@apply text-white;
|
|
|
|
background: #363636;
|
|
|
|
}
|
2022-08-22 12:12:09 +02:00
|
|
|
|
|
|
|
/** Pagination */
|
|
|
|
.pagination {
|
|
|
|
@apply flex items-center text-center justify-between;
|
|
|
|
}
|
|
|
|
.pagination-link {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply inline-flex items-center relative justify-center cursor-pointer rounded h-10 m-1 p-2 bg-white dark:bg-zinc-300 text-lg text-black;
|
2022-08-22 12:12:09 +02:00
|
|
|
}
|
|
|
|
.pagination-list {
|
|
|
|
@apply flex items-center text-center list-none flex-wrap grow shrink justify-start;
|
|
|
|
}
|
|
|
|
.pagination-next,
|
|
|
|
.pagination-previous {
|
2022-08-26 16:08:58 +02:00
|
|
|
@apply px-3 dark:text-black;
|
2022-08-22 12:12:09 +02:00
|
|
|
}
|
|
|
|
.pagination-link-current {
|
2022-11-02 17:45:27 +01:00
|
|
|
@apply bg-primary cursor-not-allowed pointer-events-none border-primary text-white dark:text-zinc-900;
|
2022-08-22 12:12:09 +02:00
|
|
|
}
|
|
|
|
.pagination-ellipsis {
|
|
|
|
@apply text-center m-1 text-gray-300;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Tabs */
|
|
|
|
.tabs-nav {
|
|
|
|
@apply flex items-center justify-start pb-0.5;
|
|
|
|
}
|
|
|
|
.tabs-nav-item-boxed {
|
|
|
|
@apply flex items-center justify-center px-2 py-2 rounded-t border-transparent;
|
|
|
|
}
|
|
|
|
.tabs-nav-item-active-boxed {
|
|
|
|
@apply bg-white border-gray-300 text-primary;
|
|
|
|
}
|
2022-08-26 16:08:58 +02:00
|
|
|
|
|
|
|
/** Tooltip */
|
|
|
|
.tooltip-content {
|
|
|
|
@apply bg-zinc-800 text-white dark:bg-zinc-300 dark:text-black rounded py-1 px-2;
|
|
|
|
}
|
|
|
|
.tooltip-arrow {
|
|
|
|
@apply text-zinc-800 dark:text-zinc-200;
|
|
|
|
}
|
|
|
|
.tooltip-content-success {
|
|
|
|
@apply bg-mbz-success text-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Tiptap editor */
|
|
|
|
.menubar__button {
|
|
|
|
@apply hover:bg-[rgba(0,0,0,.05)];
|
|
|
|
}
|
2022-10-11 10:20:41 +02:00
|
|
|
|
|
|
|
/** Datepicker */
|
|
|
|
.o-drop__menu--active {
|
|
|
|
@apply z-50;
|
|
|
|
}
|
|
|
|
.o-dpck__box {
|
|
|
|
@apply px-4 py-1;
|
|
|
|
}
|
|
|
|
.o-dpck__header {
|
|
|
|
@apply pb-2 mb-2;
|
|
|
|
border-bottom: 1px solid #dbdbdb;
|
|
|
|
}
|
|
|
|
.o-dpck__header__next,
|
|
|
|
.o-dpck__header__previous {
|
2023-03-30 23:54:09 +02:00
|
|
|
@apply justify-center text-center no-underline cursor-pointer items-center shadow-none inline-flex relative select-none leading-6 border rounded h-10 p-2 m-1 dark:text-white;
|
2022-10-11 10:20:41 +02:00
|
|
|
min-width: 2.25em;
|
|
|
|
}
|
|
|
|
.o-dpck__header__list {
|
|
|
|
@apply order-2 items-center flex justify-center text-center list-none flex-wrap my-0 p-0 -mx-0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.o-dpck__header__list > * {
|
|
|
|
@apply mx-0.5;
|
|
|
|
}
|
|
|
|
.o-dpck__month__cell,
|
|
|
|
.o-dpck__table__cell {
|
|
|
|
@apply rounded py-2 px-3;
|
|
|
|
}
|
2023-03-30 23:54:09 +02:00
|
|
|
.o-dpck__table__cell--selectable {
|
|
|
|
@apply dark:text-zinc-50;
|
|
|
|
}
|
2022-10-11 10:20:41 +02:00
|
|
|
.o-dpck__month__head-cell,
|
|
|
|
.o-dpck__table__head-cell {
|
|
|
|
@apply font-semibold;
|
|
|
|
}
|
2023-03-30 23:54:09 +02:00
|
|
|
|
|
|
|
/** Timepicker */
|
|
|
|
.o-tpck__select {
|
|
|
|
@apply dark:bg-zinc-700 dark:placeholder:text-zinc-400 dark:text-zinc-50;
|
2023-03-31 00:23:49 +02:00
|
|
|
}
|