* feat(frontend): wip * feat(frontend): wip * feat(frontend): wip * feat(frontend): move component inside containers * feat(frontend): done * feat(frontend): done * fix(frontend): wip * fix(frontend): wip * fix(frontend): done * fix(frontend): done * fix(frontend): fix anchored * fix(frontend): restore event * feat(frontend): support dropping on the top level + hide the shadow when leaving the grid * feat(frontend): drop in the correct subgrid when there are multiple * feat(frontend): wip * feat(frontend): fix hide shadow * feat(frontend): remove dead code * feat(frontend): wip * feat(frontend): fix overflow * feat(frontend): wip * feat(frontend): done * feat(frontend): fix z-index * feat(frontend): wip * feat(frontend): fix shadow * feat(frontend): fix resize + drop position * feat(frontend): fix dropped when no movement * feat(frontend): hide the fake shadow if the move mode is set * feat(frontend): add small timeout when we leave the insert mode * feat(frontend): render the shadow where the component will drop * feat(frontend): done * feat(frontend): done * feat(frontend): improve perf * feat(frontend): done * feat(frontend): remove console.log * feat(frontend): fix move toplevel * feat(frontend): Components positions are restored when the mode changes * feat(frontend): Components positions are restored when the mode changes * feat(frontend): Components positions are restored when the mode changes * feat(frontend): fix edges cases + improve perf * feat(frontend): fix drop position * feat(frontend): fix final drop position * feat(frontend): fix final drop position * feat(frontend): fix insert from component bar * feat(frontend): Fix disapearing components
168 lines
3.4 KiB
CSS
168 lines
3.4 KiB
CSS
/* Write your global styles here, in PostCSS syntax */
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@layer base {
|
|
*,
|
|
::before,
|
|
::after {
|
|
@apply dark:border-gray-600;
|
|
}
|
|
|
|
/* Chrome, Edge, and Safari */
|
|
*::-webkit-scrollbar {
|
|
width: 5px;
|
|
height: 5px;
|
|
}
|
|
|
|
/*
|
|
*::-webkit-scrollbar-track {
|
|
@apply bg-tertiary;
|
|
}
|
|
*/
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
@apply bg-tertiary-inverse dark:bg-tertiary;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Inter';
|
|
src: url('/Inter-Variable.woff2') format('woff2');
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
}
|
|
|
|
.prose-xs ul {
|
|
margin-top: 0.5rem;
|
|
list-style-type: '- ';
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.prose ul {
|
|
margin-top: 1.5rem;
|
|
list-style-type: '- ';
|
|
padding-left: 3rem;
|
|
}
|
|
|
|
.autocomplete-list-item-create {
|
|
@apply !text-primary-inverse !bg-surface-inverse;
|
|
}
|
|
|
|
.autocomplete-list-item {
|
|
@apply !text-primary !bg-surface text-xs;
|
|
}
|
|
|
|
.autocomplete-list-item.selected {
|
|
@apply !text-primary-inverse !bg-surface-inverse;
|
|
}
|
|
|
|
.autocomplete-list-item.selected.confirmed {
|
|
@apply !text-primary-inverse !bg-surface-inverse;
|
|
}
|
|
|
|
.autocomplete-list {
|
|
@apply !bg-surface;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
@variants responsive {
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
}
|
|
}
|
|
|
|
.splitpanes--vertical > .splitpanes__pane {
|
|
transition: none !important;
|
|
}
|
|
|
|
.splitpanes--horizontal > .splitpanes__pane {
|
|
transition: none !important;
|
|
}
|
|
|
|
.monaco-workbench > .notifications-toasts.visible {
|
|
display: none !important;
|
|
}
|
|
|
|
.monaco-editor .suggest-widget {
|
|
z-index: 10001 !important;
|
|
}
|
|
|
|
svelte-virtual-list-row {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
svelte-virtual-list-contents > * + * {
|
|
border-top-width: 1px !important;
|
|
border-bottom-width: 0px !important;
|
|
}
|
|
|
|
.monaco-editor textarea:focus {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.component-wrapper {
|
|
@apply rounded-component border overflow-hidden border-gray-300 dark:border-gray-600;
|
|
}
|
|
|
|
.app-editor-input {
|
|
@apply rounded-component border border-gray-300 dark:border-gray-500 focus:border-gray-300 focus:dark:border-gray-500 focus:!ring-1 focus:!ring-blue-300;
|
|
@apply placeholder:text-gray-400 dark:placeholder:text-gray-200;
|
|
@apply bg-surface;
|
|
@apply disabled:placeholder:text-gray-200 disabled:placeholder:dark:text-gray-500 disabled:text-gray-200 disabled:dark:text-gray-500 disabled:border-gray-200 disabled:dark:border-gray-600;
|
|
}
|
|
|
|
.nonmain-editor .cursor.monaco-mouse-cursor-text {
|
|
width: 1px !important;
|
|
}
|
|
|
|
.bg-locked {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
rgba(128, 128, 128, 0.2),
|
|
rgba(128, 128, 128, 0.2) 10px,
|
|
rgba(192, 192, 192, 0.2) 10px,
|
|
rgba(192, 192, 192, 0.2) 20px
|
|
);
|
|
}
|
|
|
|
.bg-locked-hover {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
rgba(255, 99, 71, 0.2),
|
|
rgba(255, 99, 71, 0.2) 10px,
|
|
rgba(255, 69, 58, 0.2),
|
|
rgba(255, 69, 58, 0.2) 20px
|
|
);
|
|
}
|
|
|
|
.bg-draggedover {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
rgba(0, 0, 128, 0.2),
|
|
rgba(0, 0, 192, 0.2) 10px,
|
|
rgba(0, 0, 128, 0.2) 10px,
|
|
rgba(0, 0, 192, 0.2) 20px
|
|
);
|
|
}
|
|
|
|
.bg-draggedover-dark {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
rgba(0, 0, 128, 0.6),
|
|
rgba(0, 0, 192, 0.6) 10px,
|
|
rgba(0, 0, 128, 0.6) 10px,
|
|
rgba(0, 0, 192, 0.6) 20px
|
|
);
|
|
}
|