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);
86 .markdown-editor-wrap + .markdown-editor-wrap {
87 border-inline-start: 1px solid;
88 @include lightDark(border-color, #ddd, #000);
91 @include smaller-than($m) {
93 flex-direction: column;
95 #markdown-editor .markdown-editor-wrap {
100 #markdown-editor .editor-toolbar {
103 #markdown-editor .editor-toolbar > * {
106 .editor-toolbar-label {
107 float: none !important;
108 @include lightDark(border-color, #DDD, #555);
111 .markdown-editor-wrap:not(.active) .editor-toolbar + div,
112 .markdown-editor-wrap:not(.active) .editor-toolbar .buttons,
113 .markdown-editor-wrap:not(.active) .markdown-display {
116 #markdown-editor .markdown-editor-wrap:not(.active) {
123 .markdown-editor-display {
124 background-color: #fff;
127 background-color: #fff;
128 padding-inline-start: 16px;
129 padding-inline-end: 16px;
131 [drawio-diagram]:hover {
132 outline: 2px solid var(--color-primary);
136 html.markdown-editor-display.dark-mode {
137 background-color: #222;
139 background-color: #222;
148 border-bottom: 1px solid #DDD;
149 background-color: #EEE;
150 @include lightDark(background-color, #eee, #111);
151 @include lightDark(border-color, #ddd, #000);
160 .editor-toolbar .buttons button {
164 border-left: 1px solid;
165 @include lightDark(border-color, #DDD, #555);
167 margin-inline-end: 0;
170 @include lightDark(background-color, #DDD, #222);
176 @include lightDark(color, #666, #ddd);
182 margin-bottom: 0.2em;
184 display: inline-block;
188 label.radio, label.checkbox {
191 input[type="radio"], input[type="checkbox"] {
192 margin-inline-end: $-xs;
196 label.inline.checkbox {
197 margin-inline-end: $-m;
201 margin-bottom: 0.8em;
208 padding: math.div($-xxs, 2) 0;
212 input[type="text"], input[type="number"], input[type="email"], input[type="date"], input[type="search"], input[type="url"],
213 input[type="color"], input[type="password"], select, textarea {
218 -webkit-appearance: none;
219 -moz-appearance: none;
221 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>");
222 background-size: 10px 12px;
223 background-position: calc(100% - 20px) 64%;
224 background-repeat: no-repeat;
227 background-position: 20px 70%;
246 display: inline-grid;
247 grid-template-columns: (16px + $-s) 1fr;
254 display: inline-block;
255 border: 2px solid currentColor;
266 transition: transform ease-in-out 120ms;
268 transform-origin: center center;
271 input[type=checkbox] {
274 input[type=checkbox]:checked + .custom-checkbox .svg-icon {
277 .custom-checkbox:hover {
278 background-color: rgba(0, 0, 0, 0.05);
281 input[type=checkbox][disabled] ~ * {
285 input[type=checkbox][disabled] ~ .custom-checkbox {
287 color: #999 !important;
291 .toggle-switch-list {
295 &.compact .toggle-switch {
304 .setting-list > div {
305 border-bottom: 1px solid #DDD;
311 .setting-list-label {
315 .setting-list-label + p.small {
318 .setting-list-label + .grid {
322 .setting-list .grid, .stretch-inputs {
323 input[type=text], input[type=email], input[type=password], select {
329 background-color: #F8F8F8;
330 font-family: monospace;
338 div.text-pos, div.text-neg, p.text-post, p.text-neg {
343 .form-group.collapsible {
346 @include lightDark(border-color, #DDD, #000);
349 margin-inline-start: -$-m;
350 margin-inline-end: -$-m;
353 width: calc(100% + 32px);
356 .collapse-title, .collapse-title label {
359 .collapse-title label {
364 .collapse-title label:before {
365 display: inline-block;
367 margin-inline-end: $-m;
368 transition: all ease-in-out 400ms;
369 transform: rotate(0);
375 &.open .collapse-title label:before {
376 transform: rotate(90deg);
380 .title-input input[type="text"] {
389 .title-input.page-title {
391 @include lightDark(background-color, #fff, #333);
410 .description-input textarea {
419 div[editor-type="markdown"] .title-input.page-title input[type="text"] {
427 button[tabindex="-1"] {
428 background-color: transparent;
430 @include lightDark(color, #666, #AAA);
444 padding-inline-start: $-l + 4px;
460 border-bottom: 2px solid #DDD;
464 border-bottom: 2px solid #AAA;
471 background-color: #BBB;
483 clip: rect(0, 0, 0, 0);
485 .custom-file-input:focus + label {
486 border-color: var(--color-primary);
487 outline: 1px solid var(--color-primary);
490 input.shortcut-input {