4 border: 1px solid #D4D4D4;
5 @include lightDark(background-color, #fff, #333);
6 @include lightDark(border-color, #d4d4d4, #111);
7 @include lightDark(color, #666, #AAA);
16 border: 1px solid $negative;
19 border: 1px solid $positive;
21 &.disabled, &[disabled] {
22 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==);
25 background-color: #f8f8f8;
28 border-color: var(--color-primary);
29 outline: 1px solid var(--color-primary);
34 width: 100% !important;
49 #markdown-editor-input {
63 .markdown-display, .markdown-editor-wrap {
76 .markdown-editor-wrap {
78 flex-direction: column;
79 border-top: 1px solid #DDD;
80 border-bottom: 1px solid #DDD;
81 @include lightDark(border-color, #ddd, #000);
85 .markdown-editor-wrap + .markdown-editor-wrap {
86 border-inline-start: 1px solid;
87 @include lightDark(border-color, #ddd, #000);
90 @include smaller-than($m) {
92 flex-direction: column;
94 #markdown-editor .markdown-editor-wrap {
99 .editor-toolbar-label {
100 float: none !important;
101 @include lightDark(border-color, #DDD, #555);
104 .markdown-editor-wrap:not(.active) .editor-toolbar + div,
105 .markdown-editor-wrap:not(.active) .editor-toolbar .buttons,
106 .markdown-editor-wrap:not(.active) .markdown-display {
109 #markdown-editor .markdown-editor-wrap:not(.active) {
116 .markdown-editor-display {
117 background-color: #fff;
120 background-color: #fff;
121 padding-inline-start: 16px;
122 padding-inline-end: 16px;
124 [drawio-diagram]:hover {
125 outline: 2px solid var(--color-primary);
129 html.markdown-editor-display.dark-mode {
130 background-color: #222;
132 background-color: #222;
141 border-bottom: 1px solid #DDD;
142 background-color: #EEE;
143 @include lightDark(background-color, #eee, #111);
144 @include lightDark(border-color, #ddd, #000);
153 .editor-toolbar .buttons {
163 .editor-toolbar .buttons button {
167 border-left: 1px solid;
168 @include lightDark(border-color, #DDD, #555);
170 margin-inline-end: 0;
173 @include lightDark(background-color, #DDD, #222);
179 @include lightDark(color, #666, #ddd);
185 margin-bottom: 0.2em;
187 display: inline-block;
191 label.radio, label.checkbox {
194 input[type="radio"], input[type="checkbox"] {
195 margin-inline-end: $-xs;
199 label.inline.checkbox {
200 margin-inline-end: $-m;
204 margin-bottom: 0.8em;
211 padding: math.div($-xxs, 2) 0;
215 input[type="text"], input[type="number"], input[type="email"], input[type="date"], input[type="search"], input[type="url"],
216 input[type="color"], input[type="password"], select, textarea {
221 -webkit-appearance: none;
222 -moz-appearance: none;
224 background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23666666'><polygon points='0,0 100,0 50,50'/></svg>");
225 background-size: 10px 12px;
226 background-position: calc(100% - 20px) 64%;
227 background-repeat: no-repeat;
230 background-position: 20px 70%;
249 display: inline-grid;
250 grid-template-columns: (16px + $-s) 1fr;
257 display: inline-block;
258 border: 2px solid currentColor;
269 transition: transform ease-in-out 120ms;
271 transform-origin: center center;
274 input[type=checkbox] {
277 input[type=checkbox]:checked + .custom-checkbox .svg-icon {
280 .custom-checkbox:hover {
281 background-color: rgba(0, 0, 0, 0.05);
284 input[type=checkbox][disabled] ~ * {
288 input[type=checkbox][disabled] ~ .custom-checkbox {
290 color: #999 !important;
294 .toggle-switch-list {
298 &.compact .toggle-switch {
307 .setting-list > div {
308 border-bottom: 1px solid #DDD;
314 .setting-list-label {
318 .setting-list-label + p.small {
321 .setting-list-label + .grid {
325 .setting-list .grid, .stretch-inputs {
326 input[type=text], input[type=email], input[type=password], select {
332 background-color: #F8F8F8;
333 font-family: monospace;
341 div.text-pos, div.text-neg, p.text-post, p.text-neg {
346 .form-group.collapsible {
349 @include lightDark(border-color, #DDD, #000);
352 margin-inline-start: -$-m;
353 margin-inline-end: -$-m;
356 width: calc(100% + 32px);
359 .collapse-title, .collapse-title label {
362 .collapse-title label {
367 .collapse-title label:before {
368 display: inline-block;
370 margin-inline-end: $-m;
371 transition: all ease-in-out 400ms;
372 transform: rotate(0);
378 &.open .collapse-title label:before {
379 transform: rotate(90deg);
383 .title-input input[type="text"] {
392 .title-input.page-title {
394 @include lightDark(background-color, #fff, #333);
413 .description-input textarea {
422 div[editor-type="markdown"] .title-input.page-title input[type="text"] {
430 button[tabindex="-1"] {
431 background-color: transparent;
433 @include lightDark(color, #666, #AAA);
447 padding-inline-start: $-l + 4px;
463 border-bottom: 2px solid #DDD;
467 border-bottom: 2px solid #AAA;
474 background-color: #BBB;
486 clip: rect(0, 0, 0, 0);
488 .custom-file-input:focus + label {
489 border-color: var(--color-primary);
490 outline: 1px solid var(--color-primary);
493 input.shortcut-input {