removed sass
This commit is contained in:
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"main.js": {
|
||||
"file": "assets/main-Bpz0B9hh.js",
|
||||
"file": "assets/main-C4XTQmaY.js",
|
||||
"name": "main",
|
||||
"src": "main.js",
|
||||
"isEntry": true,
|
||||
"css": [
|
||||
"assets/main-CUC1euPu.css"
|
||||
"assets/main-BJijircB.css"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
import {axiosInstance} from "./bootstrap";
|
||||
import "../sass/app.scss";
|
||||
import Account from "./svelte/Account.svelte";
|
||||
import Channel from "./svelte/Channel.svelte";
|
||||
import Mustache from "mustache";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<script>
|
||||
import {onDestroy, onMount} from "svelte";
|
||||
import Trix from "trix"
|
||||
import "trix/dist/trix.css"
|
||||
|
||||
export let value = "";
|
||||
export let field;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
<script>
|
||||
import {onMount} from "svelte";
|
||||
import flatpickr from "flatpickr";
|
||||
import "flatpickr/dist/flatpickr.css";
|
||||
import "flatpickr/dist/themes/light.css";
|
||||
import {getErrorMessage} from "./errorMessage";
|
||||
|
||||
export let field;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
<script>
|
||||
import {onMount} from "svelte";
|
||||
import flatpickr from "flatpickr";
|
||||
import "flatpickr/dist/flatpickr.css";
|
||||
import "flatpickr/dist/themes/light.css";
|
||||
import {getErrorMessage} from "./errorMessage";
|
||||
|
||||
export let field;
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
.scope-login {
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
|
||||
.bg-image {
|
||||
width: 50%;
|
||||
background: url("/vendor/lucent/public/art.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
}
|
||||
|
||||
.login-form{
|
||||
width: 50%;
|
||||
height: 100vh;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
.autocomplete {
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
overflow: visible;
|
||||
.autocomplete-option {
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
padding: 3px 10px;
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
&:focus-within {
|
||||
.autocomplete-results{
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.autocomplete-selected-value {
|
||||
font-size: 13px;
|
||||
margin-top: 10px;
|
||||
border-radius: 12px;
|
||||
background: var(--p30);
|
||||
padding: 3px 10px;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
line-height: 22px;
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
}
|
||||
}
|
||||
|
||||
.autocomplete-results {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
padding: 10px;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
border-radius: 12px;
|
||||
z-index: 20;
|
||||
background: var(--p30);
|
||||
//border: 1px solid var(--p40);
|
||||
transition: 600ms;
|
||||
flex-grow: 1;
|
||||
top: 45px;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
.avatar {
|
||||
/* Center the content */
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
||||
/* Used to position the content */
|
||||
position: relative;
|
||||
|
||||
/* Colors */
|
||||
|
||||
color: #fff;
|
||||
|
||||
/* Rounded border */
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.avatar__letters {
|
||||
/* Center the content */
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
.button {
|
||||
border-radius: 12px;
|
||||
background: var(--p20);
|
||||
padding: 3px 10px;
|
||||
cursor: pointer;
|
||||
border: 0px solid var(--p30);
|
||||
font-size: 14px;
|
||||
min-height: 27px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
color: var(--text);
|
||||
|
||||
&:focus {
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: var(--p50) !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
&.secondary {
|
||||
background: var(--p30);
|
||||
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
}
|
||||
}
|
||||
|
||||
&.primary {
|
||||
background: var(--p70);
|
||||
color: var(--p10);
|
||||
|
||||
&:hover {
|
||||
background: var(--p90);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&[disabled] {
|
||||
pointer-events: none;
|
||||
opacity: .7;
|
||||
color: var(--text);
|
||||
}
|
||||
}
|
||||
|
||||
.upload-button {
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
||||
label {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
font-weight: normal;
|
||||
background: var(--p80) !important;
|
||||
color: var(--p10);
|
||||
}
|
||||
}
|
||||
|
||||
.button-text {
|
||||
border: none;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.spinner-border {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: 2px solid var(--p10);
|
||||
border-bottom-color: var(--p30);
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
animation: rotation 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
|
||||
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
|
||||
.checkbox-wrapper input[type=checkbox] {
|
||||
--active-inner: var(--p10);
|
||||
--focus: 2px var(--p30);
|
||||
--border-hover: var(--p30);
|
||||
--disabled: #F6F8FF;
|
||||
--disabled-inner: #E1E6F9;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 21px;
|
||||
outline: none;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
border: 1px solid var(--bc, var(--p30));
|
||||
background: var(--b, var(--p10));
|
||||
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 0;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:checked {
|
||||
--b: var(--p40);
|
||||
--bc: var(--p40);
|
||||
--d-o: .3s;
|
||||
--d-t: .6s;
|
||||
--d-t-e: cubic-bezier(.2, .85, .32, 1.2);
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:disabled {
|
||||
--b: var(--disabled);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.9;
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:disabled:checked {
|
||||
--b: var(--disabled-inner);
|
||||
--bc: var(--p40);
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:disabled + label {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:hover:not(:checked):not(:disabled) {
|
||||
--bc: var(--border-hover);
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:focus {
|
||||
box-shadow: 0 0 0 var(--focus);
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:not(.switch) {
|
||||
width: 21px;
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:not(.switch):after {
|
||||
opacity: var(--o, 0);
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:not(.switch):checked {
|
||||
--o: 1;
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox] + label {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.checkbox-wrapper input[type=checkbox]:not(.switch) {
|
||||
border-radius: 7px;
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:not(.switch):after {
|
||||
width: 5px;
|
||||
height: 9px;
|
||||
border: 2px solid var(--active-inner);
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
left: 7px;
|
||||
top: 4px;
|
||||
transform: rotate(var(--r, 20deg));
|
||||
}
|
||||
.checkbox-wrapper input[type=checkbox]:not(.switch):checked {
|
||||
--r: 43deg;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-wrapper * {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
.checkbox-wrapper *:before,
|
||||
.checkbox-wrapper *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
.checkbox-wrapper input[type=checkbox]:indeterminate {
|
||||
--b: var(--p40);
|
||||
--bc: var(--p40);
|
||||
--d-o: .3s;
|
||||
--d-t: .6s;
|
||||
--d-t-e: cubic-bezier(.2, .85, .32, 1.2);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
.is-editable-false{
|
||||
.cm-content{
|
||||
background-color: var(--p10);
|
||||
}
|
||||
}
|
||||
.cm-focused{
|
||||
|
||||
.cm-content{
|
||||
background-color: var(--p10);
|
||||
color: var(--p100);
|
||||
}
|
||||
}
|
||||
|
||||
.cm-content{
|
||||
background-color: var(--p20);
|
||||
|
||||
}
|
||||
.ͼ4 .cm-line ::selection, .ͼ4 .cm-line::selection{
|
||||
background: var(--p40) !important;
|
||||
}
|
||||
|
||||
.cm-activeLine{
|
||||
background-color: var(--p20)!important;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
|
||||
.flatpickr-wrapper {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.editor-field {
|
||||
.flatpickr-calendar {
|
||||
border-radius: 12px !important;
|
||||
}
|
||||
|
||||
.flatpickr-months .flatpickr-month {
|
||||
background: var(--p30);
|
||||
color: var(--text);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.flatpickr-current-month .flatpickr-monthDropdown-months {
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
.flatpickr-weekdays{
|
||||
background: var(--p30);
|
||||
color: var(--text);
|
||||
|
||||
}
|
||||
|
||||
.flatpickr-weekdaycontainer .flatpickr-weekday{
|
||||
background: var(--p30);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.flatpickr-days{
|
||||
background: var(--p10);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.flatpickr-time{
|
||||
background: var(--p10);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
//
|
||||
//:modal {
|
||||
// background-color: beige;
|
||||
// border: 2px solid burlywood;
|
||||
// border-radius: 5px;
|
||||
//}
|
||||
|
||||
html {
|
||||
//scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
body:has(dialog[open]) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
dialog {
|
||||
margin: 2vh auto;
|
||||
background-color: var(--p10);
|
||||
padding: 34px;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
overflow: auto;
|
||||
max-height: 96vh;
|
||||
box-shadow: none!important;
|
||||
//position: relative;
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.dialog-body {
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
dialog::backdrop {
|
||||
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
|
||||
.dialog-header {
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
position: sticky;
|
||||
top: -34px;
|
||||
z-index: 999;
|
||||
background-color: var(--p10);
|
||||
padding: 10px 0;
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
.dropdown {
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.dropdown-button > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 10px;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
border-radius: 12px;
|
||||
z-index: 22;
|
||||
background: var(--p20);
|
||||
transition: 600ms;
|
||||
flex-grow: 1;
|
||||
top: 35px;
|
||||
min-width: max-content;
|
||||
border: 1px solid var(--p30);
|
||||
|
||||
|
||||
&.orientation-right {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
&.orientation-left {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.dropdown-header, .dropdown-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
.dropdown-header {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
font-size: 14px;
|
||||
padding: 3px 10px;
|
||||
|
||||
&:hover {
|
||||
background: var(--p30);
|
||||
border-radius: 12px;
|
||||
|
||||
button {
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
|
||||
.button-icon {
|
||||
flex-shrink: 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.editor-field{
|
||||
.dropdown-menu {
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
input[type=text],input[type=number],input[type=search],input[type=email],textarea{
|
||||
width: 100%;
|
||||
background: var(--p20);
|
||||
border: 1px solid var(--p50);
|
||||
border-radius: 5px;
|
||||
padding: 5px 7px;
|
||||
font-size: 16px;
|
||||
&:focus{
|
||||
background: var(--p10);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
textarea{
|
||||
resize: none;
|
||||
}
|
||||
|
||||
select{
|
||||
width: 100%;
|
||||
background: var(--p20);
|
||||
border: 1px solid var(--p50);
|
||||
border-radius: 5px;
|
||||
padding: 5px 7px;
|
||||
font-size: 16px;
|
||||
&:focus{
|
||||
background: var(--p10);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.htmx-indicator {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.htmx-request .htmx-indicator {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.htmx-request.htmx-indicator {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
.bt {
|
||||
appearance: none;
|
||||
background-color: #000;
|
||||
background-image: none;
|
||||
border: 1px solid #000;
|
||||
border-radius: 4px;
|
||||
box-shadow: #fff 4px 4px 0 0, #000 4px 4px 0 1px;
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-family: ITCAvantGardeStd-Bk, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 20px;
|
||||
margin: 0 5px 10px 0;
|
||||
overflow: visible;
|
||||
padding: 8px 40px;
|
||||
text-align: center;
|
||||
text-transform: none;
|
||||
touch-action: manipulation;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bt:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bt:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bt:active {
|
||||
box-shadow: rgba(0, 0, 0, .125) 0 3px 5px inset;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.bt:not([disabled]):active {
|
||||
box-shadow: #fff 2px 2px 0 0, #000 2px 2px 0 1px;
|
||||
transform: translate(2px, 2px);
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
.mt-1{margin-top: 4px}
|
||||
.mt-2{margin-top: 8px}
|
||||
.mt-3{margin-top: 12px}
|
||||
.mt-4{margin-top: 16px}
|
||||
.mt-5{margin-top: 20px}
|
||||
|
||||
.mb-1{margin-bottom: 4px}
|
||||
.mb-2{margin-bottom: 8px}
|
||||
.mb-3{margin-bottom: 12px}
|
||||
.mb-4{margin-bottom: 16px}
|
||||
.mb-5{margin-bottom: 20px}
|
||||
|
||||
.pt-1{padding-top: 4px}
|
||||
.pt-2{padding-top: 8px}
|
||||
.pt-3{padding-top: 12px}
|
||||
.pt-4{padding-top: 16px}
|
||||
.pt-5{padding-top: 20px}
|
||||
|
||||
.pb-1{padding-bottom: 4px}
|
||||
.pb-2{padding-bottom: 8px}
|
||||
.pb-3{padding-bottom: 12px}
|
||||
.pb-4{padding-bottom: 16px}
|
||||
.pb-5{padding-bottom: 20px}
|
||||
|
||||
.gap-1{gap: 4px}
|
||||
.gap-2{gap: 8px}
|
||||
.gap-3{gap: 12px}
|
||||
.gap-4{gap: 16px}
|
||||
.gap-5{gap: 20px}
|
||||
|
||||
.hide{
|
||||
display: none!important;
|
||||
}
|
||||
.hidden{
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.d-block{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.d-inline-block{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.is-bold{
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.in-place{
|
||||
padding: 36px;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
.sidebar-content{
|
||||
min-width: 300px;
|
||||
max-width: 400px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
position: relative;
|
||||
width: fit-content;
|
||||
min-width: 900px;
|
||||
}
|
||||
|
||||
.main-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 40px;
|
||||
padding: 20px;
|
||||
position: relative;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
.member-list{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
.member-item{
|
||||
background: var(--p30);
|
||||
border-radius: 12px;
|
||||
padding: 12px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.member-name{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
.notice {
|
||||
background-color: var(--p20);
|
||||
padding: 14px;
|
||||
margin: 2rem 0;
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
border-radius: 12px;
|
||||
//border: 3px solid var(--border-base);
|
||||
}
|
||||
|
||||
.notice .title {
|
||||
content: "NOTE";
|
||||
//position: absolute;
|
||||
border-radius: 12px;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.notice.notice-success{
|
||||
background: var(--suc20);
|
||||
}
|
||||
|
||||
.notice.notice-error{
|
||||
background: var(--err10);
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
.pagination {
|
||||
margin: 20px auto 10px ;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
|
||||
|
||||
a,span{
|
||||
font-size: 14px;
|
||||
border-radius: 12px;
|
||||
padding: 4px 18px;
|
||||
background: var(--p20);
|
||||
|
||||
&:hover{
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.disabled {
|
||||
pointer-events: none;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
&.active {
|
||||
span{
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
.preview-file,.preview-reference{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
background: var(--p10);
|
||||
border-radius: 12px;
|
||||
|
||||
&.is-trashed{
|
||||
border: 2px solid var(--err10);
|
||||
background: var(--p20);
|
||||
}
|
||||
.trashed-text{
|
||||
background: var(--err10);
|
||||
font-size: 12px;
|
||||
padding:2px 10px;
|
||||
}
|
||||
|
||||
.image{
|
||||
|
||||
|
||||
display: flex;
|
||||
|
||||
}
|
||||
|
||||
.reference-action{
|
||||
display: none;
|
||||
|
||||
}
|
||||
|
||||
&:hover{
|
||||
background: var(--p30);
|
||||
.reference-action{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.file-preview-small{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
border-radius: 12px;
|
||||
padding: 4px;
|
||||
//background: var(--p10);
|
||||
}
|
||||
|
||||
|
||||
.preview-reference{
|
||||
background: var(--p10);
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
.sortable-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.sortable-ghost{
|
||||
border: 2px dashed var(--p60);
|
||||
}
|
||||
|
||||
.sortable-drag { opacity: 0 !important; } .sortable-ghost { opacity: 1 !important; }
|
||||
@@ -0,0 +1,147 @@
|
||||
.record-edit {
|
||||
position: relative;
|
||||
max-width: 900px;
|
||||
.invalid-feedback {
|
||||
color: var(--text-error);
|
||||
font-size: 15px;
|
||||
line-height: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.record-header {
|
||||
margin: 10px 0 0;
|
||||
|
||||
.schema-name {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.record-title {
|
||||
font-size: 18px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.tools-header {
|
||||
margin: 30px 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
padding: 10px;
|
||||
border-radius: 12px;
|
||||
background: var(--p20);
|
||||
}
|
||||
|
||||
.editor-field {
|
||||
background: var(--p20);
|
||||
padding: 18px;
|
||||
position: relative;
|
||||
border-radius: 12px;
|
||||
margin: 6px 0;
|
||||
border-color: transparent;
|
||||
|
||||
.button:not(.primary) {
|
||||
background: var(--p30);
|
||||
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
}
|
||||
}
|
||||
|
||||
dialog {
|
||||
.button:not(.primary) {
|
||||
background: var(--p20);
|
||||
|
||||
|
||||
&:hover {
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.field-header {
|
||||
margin-bottom: 4px;
|
||||
position: relative;
|
||||
|
||||
.labels {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.label-and-help {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.help-text {
|
||||
font-size: 14px;
|
||||
line-height: 14px
|
||||
}
|
||||
|
||||
code {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.system-help-text {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
.field-checkbox {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
|
||||
.form-check-inline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.form-check-label {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.record-edit-file-preview {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
|
||||
.file-details {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
|
||||
}
|
||||
|
||||
.file-details-item {
|
||||
.text-muted {
|
||||
color: var(--grey-dark);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
.reference-tags {
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
|
||||
.reference-tags-option {
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
padding: 3px 10px;
|
||||
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
.reference-tags-results {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.reference-tags-selected-value {
|
||||
font-size: 13px;
|
||||
margin-top: 10px;
|
||||
border-radius: 12px;
|
||||
background: var(--p30);
|
||||
padding: 3px 10px;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
line-height: 22px;
|
||||
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
}
|
||||
}
|
||||
|
||||
.reference-tags-results {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
padding: 10px;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
border-radius: 12px;
|
||||
z-index: 20;
|
||||
background: var(--p30);
|
||||
//border: 2px solid var(--background-2);
|
||||
transition: 600ms;
|
||||
flex-grow: 1;
|
||||
top: 45px;
|
||||
width: 100%;
|
||||
|
||||
.start-typing {
|
||||
font-style: italic;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
1. Use a more-intuitive box-sizing model.
|
||||
*/
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/*
|
||||
2. Remove default margin
|
||||
*/
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
/*
|
||||
Typographic tweaks!
|
||||
3. Add accessible line-height
|
||||
4. Improve text rendering
|
||||
*/
|
||||
body {
|
||||
line-height: 1.5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
/*
|
||||
5. Improve media defaults
|
||||
*/
|
||||
img, picture, video, canvas, svg {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
/*
|
||||
6. Remove built-in form typography styles
|
||||
*/
|
||||
input, button, textarea, select {
|
||||
font: inherit;
|
||||
}
|
||||
/*
|
||||
7. Avoid text overflows
|
||||
*/
|
||||
p, h1, h2, h3, h4, h5, h6 {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
/*
|
||||
8. Create a root stacking context
|
||||
*/
|
||||
#root, #__next {
|
||||
isolation: isolate;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
.revisions{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
.revision{
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
background: var(--p20);
|
||||
padding: 12px;
|
||||
border-radius: 12px;
|
||||
|
||||
.version{
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
&.active{
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.selected-revision{
|
||||
margin-top: 30px;
|
||||
align-items: center;
|
||||
background: var(--p20);
|
||||
padding: 12px;
|
||||
border-radius: 12px;
|
||||
|
||||
.button{
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
.revision-field{
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
padding: 20px 0;
|
||||
border-bottom: 1px solid var(--p30);
|
||||
flex: 1;
|
||||
.compare-left{
|
||||
width: 45%;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
background: var(--p30);
|
||||
}
|
||||
.compare-right{
|
||||
width: 45%;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
background: var(--p30);
|
||||
}
|
||||
.compare-center{
|
||||
|
||||
width: 10%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.reference-field{
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.revision-references{
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
padding: 20px 0;
|
||||
border-bottom: 1px solid var(--p30);
|
||||
}
|
||||
|
||||
.reference-compare{
|
||||
|
||||
width: 45%;
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
background: var(--p30);
|
||||
}
|
||||
@@ -0,0 +1,150 @@
|
||||
.tiptap {
|
||||
width: 100%;
|
||||
background: var(--p20);
|
||||
border: 1px solid var(--p50);
|
||||
border-radius: 0 0 5px 5px;
|
||||
padding: 15px 15px;
|
||||
font-size: 16px;
|
||||
|
||||
:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
&:focus {
|
||||
background: var(--p10);
|
||||
|
||||
}
|
||||
|
||||
img {
|
||||
&.ProseMirror-selectednode {
|
||||
box-shadow: 0 0 1px 2px var(--p70);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.editor-field {
|
||||
.editor-toolbar {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
background: var(--p30);
|
||||
border-radius: 5px 5px 0 0;
|
||||
padding: 5px 7px;
|
||||
|
||||
.button:not(.primary) {
|
||||
font-weight: 700;
|
||||
|
||||
&.active {
|
||||
background: var(--p40);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
.tiptap {
|
||||
li > p {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
trix-editor {
|
||||
background: var(--p20)!important;
|
||||
border: 1px solid var(--p50)!important;
|
||||
border-radius: 0 0 5px 5px!important;
|
||||
padding: 15px 15px!important;
|
||||
& > div {
|
||||
margin-bottom: 14px;
|
||||
font-size: 16px;
|
||||
line-height: 23px;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
background: var(--p10)!important;
|
||||
|
||||
}
|
||||
figure.attachment{
|
||||
display: flex!important;
|
||||
flex-direction: column!important;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.attachment {
|
||||
background: var(--p20);
|
||||
padding: 12px 0;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
img {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
[data-trix-mutable].attachment img {
|
||||
box-shadow: 0 0 1px 2px var(--p70) !important;
|
||||
|
||||
}
|
||||
|
||||
.trix-button--remove {
|
||||
box-shadow: none !important;
|
||||
border: 2px solid var(--p40) !important;
|
||||
}
|
||||
|
||||
.trix-button--remove:hover {
|
||||
border: 2px solid var(--p40);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--p80);
|
||||
}
|
||||
}
|
||||
|
||||
trix-toolbar {
|
||||
.trix-button-row {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.trix-button-group {
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
display: flex !important;
|
||||
gap: 4px;
|
||||
}
|
||||
.trix-button-group--history-tools,.trix-button-group--file-tools
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.trix-button {
|
||||
border-radius: 6px !important;
|
||||
background: var(--p30) !important;
|
||||
padding: 14px 22px !important;
|
||||
margin: 0 !important;
|
||||
cursor: pointer;
|
||||
border: 0px solid var(--p30) !important;
|
||||
font-size: 14px !important;
|
||||
min-height: 27px !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 4px;
|
||||
color: var(--text) !important;
|
||||
|
||||
&:before{
|
||||
background-size: 22px!important;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
background: var(--p40) !important;
|
||||
}
|
||||
&.trix-active{
|
||||
background: var(--p50) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
.sidebar-top{
|
||||
border: 0px solid var(--p30);
|
||||
font-size: 18px;
|
||||
padding: 20px 20px ;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: var(--p20);
|
||||
margin-bottom: 15px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
//border: 1px solid var(--border-context);
|
||||
border-radius: 12px;
|
||||
font-size: 15px;
|
||||
line-height: 28px;
|
||||
padding: 20px;
|
||||
background: var(--p20);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
}
|
||||
.sidebar-folder{
|
||||
width: 100%;
|
||||
margin: 3px 12px 3px;
|
||||
.sidebar-folder{
|
||||
margin-left: 5px;
|
||||
|
||||
}
|
||||
}
|
||||
.sidebar-header {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background: var(--p30);
|
||||
font-size: 16px;
|
||||
padding: 3px 12px 3px;
|
||||
|
||||
color: var(--text);
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
&:focus{
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
&:hover {
|
||||
background: var(--p40);
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-item {
|
||||
|
||||
color: var(--text);
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
padding: 3px 12px;
|
||||
text-decoration: none;
|
||||
transition: 600ms;
|
||||
border-radius: 12px;
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: var(--p40);
|
||||
}
|
||||
}
|
||||
|
||||
.top-nav{
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.top-nav-item{
|
||||
border-radius: 12px;
|
||||
font-size: 14px;
|
||||
background: var(--p20);
|
||||
padding: 3px 10px ;
|
||||
&:hover {
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
input.switch {
|
||||
-webkit-appearance: none;
|
||||
width: 34px;
|
||||
height: 18px;
|
||||
border: 1px solid var(--p40);
|
||||
position: relative;
|
||||
border-radius: 50px;
|
||||
box-sizing: content-box;
|
||||
cursor: pointer;
|
||||
transition: background 150ms ease-in-out;
|
||||
background: white;
|
||||
}
|
||||
|
||||
input.switch::after {
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
transition: left 150ms ease-in-out;
|
||||
content: " ";
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background: var(--p40);
|
||||
box-shadow: inset 0 0 0px 1px var(--p40);
|
||||
position: absolute;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
input.switch:checked {
|
||||
background: var(--p50);
|
||||
}
|
||||
|
||||
input.switch:checked::after {
|
||||
left: calc(100% - 17px);
|
||||
background: var(--p10);
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
.table {
|
||||
min-width: 600px;
|
||||
overflow: auto;
|
||||
background: var(--p20);
|
||||
padding: 1px;
|
||||
font-size: 14px;
|
||||
border-radius: 12px;
|
||||
|
||||
table {
|
||||
background: var(--p20);
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border: none;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
thead {
|
||||
border-radius: 12px;
|
||||
|
||||
tr {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
th {
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
max-width: 400px;
|
||||
border: none;
|
||||
background: var(--p20);
|
||||
text-align: left;
|
||||
padding: 8px 16px;
|
||||
|
||||
&.is-sort {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-radius: 12px 0 0 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 12px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
max-width: 400px;
|
||||
height: 48px;
|
||||
padding: 4px 16px;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
|
||||
|
||||
//img{
|
||||
// width: 48px;
|
||||
//}
|
||||
|
||||
.status {
|
||||
color: var(--text);
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.row-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.title-td-contents {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
tr {
|
||||
border-radius: 12px;
|
||||
background: var(--p10);
|
||||
border: none;
|
||||
|
||||
&:has(input:checked) {
|
||||
background: var(--p30);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var(--p20);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
tr:nth-child(odd) {
|
||||
//background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
td:nth-child(odd) {
|
||||
// border-left: 1px solid #e4e4e4;
|
||||
// border-right: 1px solid #e4e4e4;
|
||||
}
|
||||
|
||||
th:nth-child(odd) {
|
||||
|
||||
}
|
||||
|
||||
.field-ui-number {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.references{
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
||||
.reference{
|
||||
font-size: 13px;
|
||||
border-radius: 12px;
|
||||
background: var(--p30);
|
||||
padding: 1px 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.file-table-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 5px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
.tabs{
|
||||
padding: 0;
|
||||
margin: 20px 0 20px;
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
flex-wrap: wrap;
|
||||
.tab{
|
||||
list-style: none;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
.toolbar{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
justify-content: space-between;
|
||||
|
||||
|
||||
input.search{
|
||||
border-radius: 12px;
|
||||
background: var(--p20);
|
||||
padding: 4px 10px;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
|
||||
.selected-filter{
|
||||
font-size: 13px;
|
||||
border-radius: 12px;
|
||||
margin: 2px 0;
|
||||
background: var(--p30);
|
||||
padding: 3px 10px;
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.filter-input{
|
||||
|
||||
margin: 10px 0 ;
|
||||
input{
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
.applied-filter{
|
||||
background: var(--p30);
|
||||
}
|
||||
}
|
||||
.toolbar-filters{ display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;}
|
||||
|
||||
.applied-filters{
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
margin-top: 10px;
|
||||
|
||||
.applied-filter {
|
||||
font-size: 13px;
|
||||
border-radius: 12px;
|
||||
background: var(--p20);
|
||||
padding: 3px 10px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
.applied-filter:hover {
|
||||
background-color: var(--p30);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
|
||||
|
||||
.content {
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
font-family: var(--main-font);
|
||||
color: var(--text);
|
||||
p{
|
||||
|
||||
margin-bottom: 14px;
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
h1{
|
||||
font-size: 24px;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
h2{
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
h3{
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding: 0 0 0 16px;
|
||||
list-style: none outside none;
|
||||
|
||||
li::before {
|
||||
content: "—";
|
||||
opacity: .5;
|
||||
font-size: 12px;
|
||||
padding-right: 6px;
|
||||
vertical-align: 10%;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
code{
|
||||
background: var(--p30);
|
||||
padding: 0 6px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
img{
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
blockquote{
|
||||
border:1px solid var(--p30);
|
||||
border-radius: 12px;
|
||||
padding: 12px 40px;
|
||||
position: relative;
|
||||
|
||||
&::before{
|
||||
content: "\201C";
|
||||
color: var(--p60);
|
||||
font-size:4em;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
&::after{
|
||||
content: '';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
pre {
|
||||
background: var(--grey-light);
|
||||
border-radius: 0.5rem;
|
||||
color: var(--white);
|
||||
font-family: 'JetBrainsMono', monospace;
|
||||
margin: 1.5rem 0;
|
||||
padding: 0.75rem 1rem;
|
||||
|
||||
code {
|
||||
background: none;
|
||||
color: inherit;
|
||||
font-size: 0.8rem;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.lx-small-text {
|
||||
font-size: 12px;
|
||||
line-height: 15px;
|
||||
|
||||
}
|
||||
|
||||
.light-text{
|
||||
color: var(--text-light);
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
.wrapper-tiny {
|
||||
background-color: var(--p20);
|
||||
border-radius: 12px;
|
||||
margin: 44px auto;
|
||||
width: 600px;
|
||||
padding: 44px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.common-wrapper {
|
||||
background-color: var(--p20);
|
||||
margin: 20px 0;
|
||||
padding: 20px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
|
||||
.wrapper-normal {
|
||||
background-color: #fff;
|
||||
border-radius: 32px;
|
||||
margin: 44px auto;
|
||||
width: 1000px;
|
||||
padding: 44px;
|
||||
|
||||
&.transparent {
|
||||
|
||||
margin: 0px auto;
|
||||
padding: 0px;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper-large {
|
||||
background-color: #fff;
|
||||
border-radius: 32px;
|
||||
margin: 44px auto;
|
||||
max-width: 1920px;
|
||||
min-width: 1000px;
|
||||
padding: 44px;
|
||||
width: fit-content;
|
||||
&.transparent {
|
||||
padding: 0px;
|
||||
margin: 0px auto;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (max-width: 1800px) {
|
||||
.wrapper-normal {
|
||||
margin: 0px 0px 0px auto;
|
||||
padding: 20px;
|
||||
|
||||
&.transparent {
|
||||
|
||||
margin: 0px 0px 0px auto;
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper-large {
|
||||
margin: 44px 0px 0px auto;
|
||||
padding: 44px;
|
||||
&.transparent {
|
||||
margin: 0px 0px 0px auto;
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1390px) {
|
||||
|
||||
.wrapper-normal {
|
||||
margin: 0px auto;
|
||||
padding: 20px;
|
||||
|
||||
&.transparent {
|
||||
|
||||
margin: 0px auto;
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper-large {
|
||||
margin: 44px 0px 0px auto;
|
||||
padding: 44px;
|
||||
&.transparent {
|
||||
margin: 0px 0px 0px auto;
|
||||
padding: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.section-actions {
|
||||
text-align: center;
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
.header-normal {
|
||||
text-align: left;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.header-small {
|
||||
text-align: left;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
@import "./css/reset.css";
|
||||
@import "./css/helpers.css";
|
||||
@import "./css/notice.css";
|
||||
@import "./css/auth.css";
|
||||
@import "./css/typography.css";
|
||||
@import "./css/sidebar.css";
|
||||
@import "./css/form.css";
|
||||
@import "./css/table.css";
|
||||
@import "./css/avatar.css";
|
||||
@import "./css/codemirror.css";
|
||||
@import "./css/rich.css";
|
||||
@import "./css/layout.css";
|
||||
@import "./css/wrappers.css";
|
||||
@import "./css/toolbar.css";
|
||||
@import "./css/dropdown.css";
|
||||
@import "./css/button.css";
|
||||
@import "./css/checkbox.css";
|
||||
@import "./css/pagination.css";
|
||||
@import "./css/record-edit.css";
|
||||
@import "./css/tabs.css";
|
||||
@import "./css/switch.css";
|
||||
@import "./css/preview.css";
|
||||
@import "./css/dialog.css";
|
||||
@import "./css/autocomplete.css";
|
||||
@import "./css/reference-tags.css";
|
||||
@import "./css/members.css";
|
||||
@import "./css/revisions.css";
|
||||
@import "./css/datepicker.css";
|
||||
|
||||
|
||||
:root {
|
||||
|
||||
--p10: #f4f9ff;
|
||||
--p20: #eaf1f9;
|
||||
--p30: #b3ceff;
|
||||
--p40: #8db5ff;
|
||||
--p50: #70a2ff;
|
||||
--p60: #679cff;
|
||||
--p70: #4284ff;
|
||||
--p80: #1c6bff;
|
||||
--p90: #002b7a;
|
||||
--p100: #000C23;
|
||||
|
||||
|
||||
--suc10: #d1ffb8;
|
||||
--suc20: #d1ffb8;
|
||||
--suc30: #b5ff8d;
|
||||
--suc40: #a2ff70;
|
||||
--suc50: #82cc5a;
|
||||
--suc80: #71b34e;
|
||||
--suc90: #314c22;
|
||||
|
||||
|
||||
|
||||
--err10: #ffb9d0;
|
||||
--err20: #ff9bb3;
|
||||
--err30: #fe7e97;
|
||||
--err40: #de617b;
|
||||
--err50: #be4461;
|
||||
--err80: #61001a;
|
||||
--err90: #560012;
|
||||
|
||||
--grey-dark: #424656;
|
||||
--grey-light: #a6abbd;
|
||||
|
||||
--text: var(--p100);
|
||||
--text-light: var(--grey-dark);
|
||||
--text-error: var(--err50);
|
||||
|
||||
--main-font: ‘Open Sans‘, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
body {
|
||||
background-color: var(--p10);
|
||||
font-family: var(--main-font), sans-serif;
|
||||
color: var(--text);
|
||||
|
||||
:focus {
|
||||
outline: none;
|
||||
box-shadow: 0 0 1px 2px var(--p70);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-spinner .spinner-border {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.btn-spinner.spinner-on .spinner-border {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
.lucent-component {
|
||||
position: relative;
|
||||
}
|
||||
@@ -1,6 +1,10 @@
|
||||
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/trix@2.1.6/dist/trix.css">
|
||||
<link rel="stylesheet" href="/vendor/lucent/public/main.css"/>
|
||||
|
||||
@if(config("lucent.env") == "production")
|
||||
<!-- if production -->
|
||||
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.js']["css"][0] }}"/>
|
||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
|
||||
@else
|
||||
<!-- if development -->
|
||||
|
||||
@@ -147,7 +147,18 @@ class FileService
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (new DirectoryIterator(base_path(config("lucent.image_filters_path"))) as $file) {
|
||||
|
||||
$thumbDir = "$path/thumbs/" . $filename;
|
||||
|
||||
$image = $originalImage->cover(300, 300);
|
||||
$disk->put($thumbDir, $image->encode(new WebpEncoder(quality: 75)));
|
||||
|
||||
|
||||
$fitlerPath = base_path(config("lucent.image_filters_path"));
|
||||
if(!file_exists($fitlerPath)) {
|
||||
return;
|
||||
}
|
||||
foreach (new DirectoryIterator($fitlerPath) as $file) {
|
||||
if ($file->isDot()) continue;
|
||||
|
||||
$namespace = app()->getNamespace();
|
||||
@@ -161,11 +172,5 @@ class FileService
|
||||
$templateUri = "$path/templates/" . (new $filterClass)->name . "/" . $filename;
|
||||
$disk->put($templateUri, $image->encode(new WebpEncoder(75)));
|
||||
};
|
||||
|
||||
|
||||
$thumbDir = "$path/thumbs/" . $filename;
|
||||
|
||||
$image = $originalImage->cover(300, 300);
|
||||
$disk->put($thumbDir, $image->encode(new WebpEncoder(quality: 75)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -72,10 +72,6 @@ class LucentServiceProvider extends ServiceProvider
|
||||
public function boot(Router $router): void
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$manifestPath = public_path('vendor/lucent/dist/manifest.json');
|
||||
$manifest = null;
|
||||
if (file_exists($manifestPath)) {
|
||||
|
||||
Reference in New Issue
Block a user