Files
docuseal/app/javascript/application.scss
T

173 lines
3.1 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;
}
2025-09-24 12:07:54 +03:00
button[disabled] .disabled, button.btn-disabled .disabled {
2023-05-21 17:59:36 +03:00
display: initial;
}
button .enabled {
display: initial;
}
2025-09-24 12:07:54 +03:00
button[disabled] .enabled, button.btn-disabled .enabled {
2023-05-21 17:59:36 +03:00
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;
}
2024-12-01 00:10:07 +02:00
.tooltip-bottom-start:before {
transform: translateX(-31%);
top: var(--tooltip-offset);
left: 100%;
right: auto;
bottom: auto;
}
.tooltip-bottom-start:after {
transform: translateX(-25%);
border-color: transparent transparent var(--tooltip-color) transparent;
top: var(--tooltip-tail-offset);
left: 50%;
right: auto;
bottom: auto;
}
2026-07-22 18:06:04 +03:00
@media (hover: none), (pointer: coarse) {
.tooltip-no-touch:before,
.tooltip-no-touch:after {
display: none;
}
}
2023-09-20 02:00:00 +03:00
.autocomplete {
background: white;
z-index: 1000;
2024-09-13 20:20:30 +03:00
font: 16px/25px "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
2023-09-20 02:00:00 +03:00
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 {
2024-09-13 20:20:30 +03:00
@apply px-2 py-1.5 font-normal;
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);
}
2025-07-14 12:53:15 +03:00
.font-times {
font-family: "Times New Roman", Times, ui-serif, serif, Cambria, Georgia;
}
.font-courier {
font-family: "Courier New", Consolas, "Liberation Mono", monospace, ui-monospace, SFMono-Regular, Menlo, Monaco;
}
2026-02-21 11:28:46 +02:00
markdown-editor [contenteditable] p {
margin-bottom: 18px;
}
h1, h2, h3, h4, h5, h6 {
font-family: theme('fontFamily.heading');
}