2 // System wide notifications
9 background-color: #FFF;
10 @include lightDark(background-color, #fff, #444);
12 border-inline-start: 6px solid currentColor;
13 box-shadow: $bs-large;
17 transition: transform ease-in-out 280ms;
18 transform: translateX(580px);
20 grid-template-columns: 42px 1fr 12px;
24 vertical-align: middle;
31 padding-inline-end: $-s;
38 @include lightDark(color, #444, #888);
42 vertical-align: middle;
58 transform: translateX(0);
61 transform: translate3d(0, -2px, 0);
65 .chapter-contents-toggle {
68 transition: all ease-in-out 180ms;
70 svg[data-icon="caret-right"] {
73 transition: all ease-in-out 180ms;
74 transform: rotate(0deg);
75 transform-origin: 50% 50%;
77 &.open svg[data-icon="caret-right"] {
78 transform: rotate(90deg);
80 svg[data-icon="caret-right"] + * {
81 margin-inline-start: $-xxs;
85 [overlay], .popup-background {
86 @include lightDark(background-color, rgba(0, 0, 0, 0.333), rgba(0, 0, 0, 0.6));
98 justify-content: center;
107 @include lightDark(background-color, #fff, #333);
114 box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
118 flex-direction: column;
132 align-self: flex-start;
142 .popup-header button, .popup-footer button {
151 .popup-header button:not(.popup-header-close) {
155 .popup-header button:hover {
156 background-color: rgba(255, 255, 255, 0.1);
160 justify-content: end;
161 background-color: var(--color-primary-light);
168 .popup-header-close {
178 .popup-header, .popup-footer {
188 &.flex-container-row {
189 display: flex !important;
192 body.flexbox-support #entity-selector-wrap .popup-body .form-group {
196 #entity-selector-wrap .popup-body .form-group {
199 .popup-body .entity-selector-container {
206 justify-content: center;
214 border: 1px dashed var(--color-primary);
216 box-sizing: content-box;
217 background-clip: padding-box;
218 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a9a9a9' fill-opacity='0.52' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
219 background-color: var(--color-primary);
223 pointer-events: none;
224 animation: dzAnimIn 240ms ease-in-out;
227 .dropzone-landing-area {
228 background-color: var(--color-primary-light);
231 border: 1px dashed var(--color-primary);
232 color: var(--color-primary);
236 @keyframes dzAnimIn {
239 transform: scale(.7);
242 transform: scale(1.1);
250 @keyframes dzFileItemIn {
253 transform: translateY(28px);
257 transform: translateY(0);
260 @keyframes dzFileItemOut {
263 transform: translateY(0);
267 transform: translateY(28px);
271 .dropzone-file-item {
278 @include lightDark(background, #FFF, #444);
279 box-shadow: $bs-large;
283 animation: dzFileItemIn ease-in-out 240ms;
284 transition: transform ease-in-out 120ms, box-shadow ease-in-out 120ms;
287 transform: translateY(-3px);
288 box-shadow: 0 3px 8px 1px rgba(22, 22, 22, 0.2);
291 .dropzone-file-item.dismiss {
292 animation: dzFileItemOut ease-in-out 240ms;
294 .dropzone-file-item .loading-container {
295 text-align: start !important;
298 .dropzone-file-item-image-wrap {
301 background-color: var(--color-primary-light);
309 .dropzone-file-item-text-wrap {
315 .dropzone-file-item-progress {
321 background-color: var(--color-primary);
322 transition: width ease-in-out 240ms;
324 .dropzone-file-item-label,
325 .dropzone-file-item-status {
330 .dropzone-file-item-status[data-status] {
336 .dropzone-file-item-status[data-status="success"] {
339 .dropzone-file-item-status[data-status="error"] {
342 .dropzone-file-item-status[data-status] + .dropzone-file-item-label {
346 .image-manager-body {
349 .image-manager-filter-bar {
353 @include lightDark(background-color, rgba(255, 255, 255, 0.85), rgba(80, 80, 80, 0.85));
355 .image-manager-filter-bar-bg {
365 .image-manager-filters {
369 border-bottom: 0 !important;
371 border: 1px solid #000 !important;
375 @include lightDark(background-color, #FFF, #333);
382 .image-manager-list {
385 grid-template-columns: repeat( auto-fit, minmax(140px, 1fr) );
393 .image-manager-list .image {
403 @include lightDark(border-color, #ddd, #000);
404 transition: all linear 80ms;
407 background-color: var(--color-primary-light);
408 outline: currentColor 3px solid;
410 transform: scale3d(0.95, 0.95, 0.95);
426 background-color: rgba(0, 0, 0, 0.7);
429 pointer-events: none;
430 transition: opacity ease-in-out 80ms;
435 &.selected .image-meta,
437 &:focus .image-meta {
440 @include smaller-than($m) {
447 .image-manager .load-more {
456 .image-manager .loading-container {
460 .image-manager-sidebar {
465 border-inline-start: 1px solid #DDD;
466 @include lightDark(border-color, #ddd, #000);
471 .image-manager-viewer img {
475 margin: 0 auto $-m auto;
476 box-shadow: 0 1px 21px 1px rgba(76, 76, 76, 0.3);
478 .image-manager-viewer {
482 justify-content: center;
484 display: inline-block;
488 @include smaller-than($m) {
489 .image-manager-sidebar {
490 border-inline-start: 0;
494 .image-manager-content {
496 flex-direction: column;
507 .tab-container.bordered [role="tablist"] button[role="tab"] {
508 border-inline-end: 1px solid #DDD;
509 @include lightDark(border-inline-end-color, #DDD, #000);
511 border-inline-end: none;
515 .tab-container [role="tablist"] {
518 justify-items: start;
520 border-bottom: 1px solid #DDD;
521 @include lightDark(border-color, #ddd, #444);
525 .tab-container [role="tablist"] button[role="tab"] {
526 display: inline-block;
528 @include lightDark(color, rgba(0, 0, 0, .5), rgba(255, 255, 255, .5));
530 border-bottom: 2px solid transparent;
532 &[aria-selected="true"] {
533 color: var(--color-link) !important;
534 border-bottom-color: var(--color-link) !important;
535 outline: 0 !important;
538 @include lightDark(color, rgba(0, 0, 0, .8), rgba(255, 255, 255, .8));
539 @include lightDark(border-bottom-color, rgba(0, 0, 0, .2), rgba(255, 255, 255, .2));
542 outline: 1px dotted var(--color-primary);
543 outline-offset: -2px;
546 .tab-container [role="tablist"].controls-card {
552 .image-picker .none {
556 .code-editor .CodeMirror {
562 .code-editor .lang-options {
568 .code-editor .lang-options button {
571 border-bottom: 1px solid;
572 @include lightDark(color, #333, #AAA);
573 @include lightDark(border-bottom-color, #EEE, #000);
579 padding-left: 24px + $-xs;
581 background-color: var(--color-primary-light);
582 color: var(--color-primary);
586 .code-editor button.lang-option-favorite-toggle {
598 color: var(--color-primary);
604 .code-editor button[data-favourite="true"] ~ .action-favourite,
605 .code-editor button[data-favourite="false"] ~ .action-unfavourite {
609 .code-editor .action-favourite {
612 .code-editor button:hover ~ .action-favourite {
617 background-color: var(--color-primary-light);
619 color: var(--color-primary);
624 .code-editor-language-list {
628 align-items: stretch;
631 .code-editor-language-list input {
634 border-bottom: 1px solid #DDD;
650 .code-editor-body-wrap {
654 @include smaller-than($s) {
655 .code-editor .lang-options {
658 .code-editor-body-wrap {
659 flex-direction: column;
661 .code-editor-language-list, .code-editor-language-list input {
666 .comments-container {
667 padding-inline: $-xl;
668 @include smaller-than($m) {
669 padding-inline: $-xs;
674 border: 1px solid #DDD;
675 @include lightDark(border-color, #ddd, #000);
676 @include lightDark(background-color, #FFF, #222);
686 transition: opacity ease-in-out 120ms;
688 &:hover .actions, &:focus-within .actions {
691 .actions button:focus {
692 outline: 1px dotted var(--color-primary);
694 @include smaller-than($m) {
701 .comment-box .header {
702 border-bottom: 1px solid #DDD;
703 @include lightDark(border-color, #DDD, #000);
713 .right-meta .text-muted {
718 .comment-thread-indicator {
719 border-inline-start: 3px dotted #DDD;
720 @include lightDark(border-color, #DDD, #444);
721 margin-inline-start: $-xs;
723 height: calc(100% - $-m);
726 .comment-branch .comment-branch .comment-branch .comment-branch .comment-thread-indicator {
734 .comment-branch .comment-branch .comment-branch .comment-branch .comment-reply {
738 #tag-manager .drag-card {
745 &:hover, .template-item-actions button:hover {
746 background-color: #F2F2F2;
748 .template-item-actions {
755 flex-direction: column;
756 border-inline-start: 1px solid;
757 @include lightDark(border-color, #ddd, #000);
759 .template-item-actions button {
762 @include lightDark(background-color, #FFF, #222);
764 border-top: 1px solid;
765 @include lightDark(border-color, #DDD, #000);
767 .template-item-actions button svg {
770 .template-item-actions button:first-child {
779 .dropdown-search-toggle-breadcrumb {
780 border: 1px solid transparent;
788 margin-inline-end: 0;
791 .dropdown-search-toggle-select {
807 text-overflow: ellipsis;
810 .dropdown-search-toggle-caret {
814 .dropdown-search-toggle-select-label {
818 .dropdown-search-toggle-select-caret {
826 .dropdown-search-dropdown {
841 .dropdown-search-search .svg-icon {
850 pointer-events: none;
852 .dropdown-search-list {
857 .dropdown-search-item {
860 background-color: #F2F2F2;
861 text-decoration: none;
865 padding-inline-start: $-xl;
868 border-bottom: 1px solid #DDD;
875 @include smaller-than($m) {
876 .dropdown-search-dropdown {
881 .dropdown-search-dropdown .dropdown-search-list {
887 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
891 @include lightDark(border-color, #E2E2E2, #444);
892 border-bottom-width: 0;
897 @include lightDark(background-color, #F6F6F6, #333);
900 .item-list-row:first-child {
901 border-radius: 4px 4px 0 0;
903 .item-list-row:last-child {
904 border-radius: 0 0 4px 4px;
905 border-bottom-width: 1.5px;
907 .item-list-row:first-child:last-child {
910 .item-list-row-toggle-all {
913 .item-list-row:hover .item-list-row-toggle-all {
917 .status-indicator-active, .status-indicator-inactive {
921 display: inline-block;
923 .status-indicator-active {
924 background-color: $positive;
926 .status-indicator-inactive {
927 background-color: $negative;
930 .shortcut-container {
931 background-color: rgba(0, 0, 0, 0.25);
932 pointer-events: none;
942 box-shadow: 0 0 4px 0 #FFF;
947 padding: $-xxs $-xxs;
951 background-color: #eee;
953 border: 1px solid #b4b4b4;
954 box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
961 background-color: var(--color-primary);
970 width: math.div($btt-size, 1.5);
971 height: math.div($btt-size, 1.5);
972 margin-inline-end: 4px;
976 border-radius: $btt-size;
977 transition: all ease-in-out 180ms;
982 width: $btt-size*3.4;
983 opacity: 1 !important;
986 width: $btt-size*3.4;
995 // Sortable scroll boxes
1003 @include lightDark(border-color, #DDD, #000);
1006 @include lightDark(background-color, #EEE, #000);
1009 border-bottom: 1px solid;
1010 border-top: 1px solid;
1011 @include lightDark(border-color, #DDD, #000);
1013 @include lightDark(background-color, #FFF, #222);
1015 align-items: flex-start;
1022 @include lightDark(background-color, #f8f8f8, #333);
1041 @include lightDark(color, #444, #FFF);
1047 text-decoration: none;
1051 input.scroll-box-search, .scroll-box-header-item {
1054 @include lightDark(border-color, #DDD, #000);
1055 @include lightDark(background-color, #FFF, #222);
1056 margin-bottom: -1px;
1057 border-radius: 3px 3px 0 0;
1065 .scroll-box-search + .scroll-box,
1066 .scroll-box-header-item + .scroll-box {
1067 border-radius: 0 0 3px 3px;
1070 .scroll-box[refs="shelf-sort@shelf-book-list"] [data-action="add"] {
1073 .scroll-box[refs="shelf-sort@all-book-list"] [data-action="remove"],
1074 .scroll-box[refs="shelf-sort@all-book-list"] [data-action="move_up"],
1075 .scroll-box[refs="shelf-sort@all-book-list"] [data-action="move_down"],