Files
docuseal/app/javascript/application.scss
T

137 lines
2.2 KiB
SCSS
Raw Normal View History

2023-05-21 17:59:36 +03:00
@config "../../tailwind.application.config.js";
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
a[href],
input[type='checkbox'],
input[type='submit'],
input[type='image'],
input[type='radio'],
label[for],
select,
button {
cursor: pointer;
}
button .disabled {
display: none;
}
button[disabled] .disabled {
display: initial;
}
button .enabled {
display: initial;
}
button[disabled] .enabled {
display: none;
}
2023-05-29 21:20:39 +03:00
2023-06-22 22:50:47 +03:00
.input-bordered {
@apply border-base-content/20;
}
.select-bordered {
@apply border-base-content/20;
}
.textarea-bordered {
@apply border-base-content/20;
}
2023-05-30 01:34:01 +03:00
.btn {
@apply no-animation;
}
2023-05-29 21:20:39 +03:00
.base-input {
@apply input input-bordered bg-white;
}
2023-06-03 21:22:03 +03:00
.base-textarea {
2023-06-24 16:17:07 +03:00
@apply textarea textarea-bordered bg-white rounded-3xl;
2023-06-03 21:22:03 +03:00
}
2023-05-29 21:20:39 +03:00
.base-button {
2023-06-04 21:30:50 +03:00
@apply btn btn-neutral text-white text-base;
2023-05-29 21:20:39 +03:00
}
.white-button {
@apply btn btn-outline text-base bg-white border-2;
}
.base-checkbox {
@apply checkbox rounded bg-white checkbox-sm no-animation;
}
2023-05-30 21:03:47 +03:00
.base-radio {
2023-06-22 22:50:47 +03:00
@apply radio bg-white radio-sm no-animation;
2023-05-30 21:03:47 +03:00
}
2023-08-10 23:35:51 +03:00
.base-select {
@apply select base-input w-full font-normal;
}
2023-09-20 00:13:14 +03:00
2024-02-23 15:58:49 +02:00
.tooltip-bottom-end:before {
transform: translateX(-95%);
2023-12-30 11:46:04 +02:00
top: var(--tooltip-offset);
left: 100%;
right: auto;
bottom: auto;
}
2024-03-30 19:37:48 +02:00
.tooltip-pre:before {
white-space: pre;
text-align: left;
}
2024-02-23 15:58:49 +02:00
.tooltip-bottom-end:after {
transform: translateX(-25%);
2023-12-30 11:46:04 +02:00
border-color: transparent transparent var(--tooltip-color) transparent;
top: var(--tooltip-tail-offset);
left: 50%;
right: auto;
bottom: auto;
}
2023-09-20 02:00:00 +03:00
.autocomplete {
background: white;
z-index: 1000;
font: 14px/22px "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
overflow: auto;
box-sizing: border-box;
2023-09-24 17:49:24 +03:00
@apply border border-base-300 mt-1 rounded-md;
2023-09-20 02:00:00 +03:00
}
.autocomplete * {
font: inherit;
}
.autocomplete > div {
2023-09-24 17:49:24 +03:00
@apply px-2 py-1 font-normal text-sm;
2023-09-20 02:00:00 +03:00
}
.autocomplete .group {
background: #eee;
}
.autocomplete > div:hover:not(.group),
.autocomplete > div.selected {
@apply bg-base-300;
cursor: pointer;
}
2023-09-30 22:31:22 +03:00
.input-outlined {
outline-style: solid;
outline-width: 1px;
outline-offset: 3px;
outline-color: hsl(var(--bc) / 0.2);
}
2024-03-01 23:29:37 +02:00
select:required:invalid {
color: gray !important;
}