]> BookStack Code Mirror - bookstack/blob - resources/sass/_components.scss
Updated attachments to work with new dropzone
[bookstack] / resources / sass / _components.scss
1
2 // System wide notifications
3 .notification {
4   position: fixed;
5   top: 0;
6   right: 0;
7   margin: $-xl;
8   padding: $-m $-l;
9   background-color: #FFF;
10   @include lightDark(background-color, #fff, #444);
11   border-radius: 4px;
12   border-inline-start: 6px solid currentColor;
13   box-shadow: $bs-large;
14   z-index: 999999;
15   cursor: pointer;
16   max-width: 360px;
17   transition: transform ease-in-out 280ms;
18   transform: translateX(580px);
19   display: grid;
20   grid-template-columns: 42px 1fr 12px;
21   color: #444;
22   font-weight: 700;
23   span, svg {
24     vertical-align: middle;
25     justify-self: center;
26     align-self: center;
27   }
28   svg {
29     width: 2.8rem;
30     height: 2.8rem;
31     padding-inline-end: $-s;
32     fill: currentColor;
33   }
34   .dismiss {
35     margin-top: -8px;
36     svg {
37       height: 1.0rem;
38       @include lightDark(color, #444, #888);
39     }
40   }
41   span {
42     vertical-align: middle;
43     line-height: 1.3;
44     @include whenDark {
45       color: #BBB;
46     }
47   }
48   &.pos {
49     color: $positive;
50   }
51   &.neg {
52     color: $negative;
53   }
54   &.warning {
55     color: $warning;
56   }
57   &.showing {
58     transform: translateX(0);
59   }
60   &.showing:hover {
61     transform: translate3d(0, -2px, 0);
62   }
63 }
64
65 .chapter-contents-toggle {
66   cursor: pointer;
67   margin: 0;
68   transition: all ease-in-out 180ms;
69   user-select: none;
70   svg[data-icon="caret-right"] {
71     margin-inline-end: 0;
72     font-size: 1rem;
73     transition: all ease-in-out 180ms;
74     transform: rotate(0deg);
75     transform-origin: 50% 50%;
76   }
77   &.open svg[data-icon="caret-right"] {
78     transform: rotate(90deg);
79   }
80   svg[data-icon="caret-right"] + * {
81     margin-inline-start: $-xxs;
82   }
83 }
84
85 [overlay], .popup-background {
86   @include lightDark(background-color, rgba(0, 0, 0, 0.333), rgba(0, 0, 0, 0.6));
87   position: fixed;
88   z-index: 95536;
89   width: 100%;
90   height: 100%;
91   min-width: 100%;
92   min-height: 100%;
93   top: 0;
94   left: 0;
95   right: 0;
96   bottom: 0;
97   align-items: center;
98   justify-content: center;
99   display: none;
100 }
101
102 .popup-body-wrap {
103   display: flex;
104 }
105
106 .popup-body {
107   @include lightDark(background-color, #fff, #333);
108   max-height: 90%;
109   max-width: 1200px;
110   width: 90%;
111   height: auto;
112   margin: 2% auto;
113   border-radius: 4px;
114   box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
115   overflow: hidden;
116   z-index: 999;
117   display: flex;
118   flex-direction: column;
119   position: relative;
120   &.small {
121     margin: 2% auto;
122     width: 800px;
123     max-width: 90%;
124   }
125   &.very-small {
126     margin: 2% auto;
127     width: 600px;
128     max-width: 90%;
129   }
130   &:before {
131     display: flex;
132     align-self: flex-start;
133   }
134   .popup-content {
135     overflow-y: auto;
136   }
137   &:focus {
138     outline: 0;
139   }
140 }
141
142 .popup-header button, .popup-footer button {
143   margin: 0;
144   border-radius: 0;
145   box-shadow: none;
146   color: #FFF;
147   padding: $-xs $-m;
148   cursor: pointer;
149 }
150
151 .popup-header button:not(.popup-header-close) {
152   font-size: 0.8rem;
153 }
154
155 .popup-header button:hover {
156     background-color: rgba(255, 255, 255, 0.1);
157 }
158
159 .popup-footer {
160   justify-content: end;
161   background-color: var(--color-primary-light);
162   min-height: 41px;
163   button {
164     padding: 10px $-m;
165   }
166 }
167
168 .popup-header-close {
169   border: 0;
170   color: #FFF;
171   font-size: 16px;
172   cursor: pointer;
173   svg {
174     margin-right: 0;
175   }
176 }
177
178 .popup-header, .popup-footer {
179   display: flex;
180   position: relative;
181   height: 40px;
182   flex: 0;
183   .popup-title {
184     color: #FFF;
185     margin-right: auto;
186     padding: 8px $-m;
187   }
188   &.flex-container-row {
189     display: flex !important;
190   }
191 }
192 body.flexbox-support #entity-selector-wrap .popup-body .form-group {
193   height: 444px;
194   min-height: 444px;
195 }
196 #entity-selector-wrap .popup-body .form-group {
197   margin: 0;
198 }
199 .popup-body .entity-selector-container {
200   flex: 1;
201 }
202
203 .image-manager-body {
204   min-height: 70vh;
205 }
206
207 .dropzone-overlay {
208   position: absolute;
209   display: flex;
210   justify-content: center;
211   align-items: center;
212   font-size: 1.333rem;
213   width: 98%;
214   height: 98%;
215   left: 1%;
216   top: 1%;
217   border-radius: 4px;
218   border: 1px dashed var(--color-primary);
219   font-style: italic;
220   box-sizing: content-box;
221   background-clip: padding-box;
222   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");
223   background-color: var(--color-primary);
224   color: #FFF;
225   opacity: .8;
226   z-index: 9;
227   pointer-events: none;
228   animation: dzAnimIn 240ms ease-in-out;
229 }
230
231 .dropzone-landing-area {
232   background-color: var(--color-primary-light);
233   padding: $-m $-l;
234   width: 100%;
235   border: 1px dashed var(--color-primary);
236   color: var(--color-primary);
237   border-radius: 4px;
238 }
239
240 @keyframes dzAnimIn {
241   0% {
242     opacity: 0;
243     transform: scale(.7);
244   }
245   60% {
246     transform: scale(1.1);
247   }
248   100% {
249     transform: scale(1);
250     opacity: .8;
251   }
252 }
253
254 @keyframes dzFileItemIn {
255   0% {
256     opacity: .5;
257     transform: translateY(28px);
258   }
259   100% {
260     opacity: 1;
261     transform: translateY(0);
262   }
263 }
264 @keyframes dzFileItemOut {
265   0% {
266     opacity: 1;
267     transform: translateY(0);
268   }
269   100% {
270     opacity: .5;
271     transform: translateY(28px);
272   }
273 }
274
275 .dropzone-file-item {
276   width: 260px;
277   height: 80px;
278   position: relative;
279   display: flex;
280   margin: 1rem;
281   flex-direction: row;
282   background-color: #FFF;
283   box-shadow: $bs-large;
284   border-radius: 4px;
285   overflow: hidden;
286   padding-bottom: 3px;
287   animation: dzFileItemIn ease-in-out 240ms;
288   transition: transform ease-in-out 120ms, box-shadow ease-in-out 120ms;
289   cursor: pointer;
290   &:hover {
291     transform: translateY(-3px);
292     box-shadow: 0 3px 8px 1px rgba(22, 22, 22, 0.2);
293   }
294 }
295 .dropzone-file-item.dismiss {
296   animation: dzFileItemOut ease-in-out 240ms;
297 }
298 .dropzone-file-item .loading-container {
299   text-align: start !important;
300   margin: 0;
301 }
302 .dropzone-file-item-image-wrap {
303   width: 80px;
304   position: relative;
305   background-color: var(--color-primary-light);
306   img {
307     object-fit: cover;
308     width: 100%;
309     height: 100%;
310     opacity: .8;
311   }
312 }
313 .dropzone-file-item-text-wrap {
314   flex: 1;
315   display: block;
316   padding: 1rem;
317   overflow: auto;
318 }
319 .dropzone-file-item-progress {
320   position: absolute;
321   bottom: 0;
322   left: 0;
323   font-size: 0;
324   height: 3px;
325   background-color: var(--color-primary);
326   transition: width ease-in-out 240ms;
327 }
328 .dropzone-file-item-label,
329 .dropzone-file-item-status {
330   align-items: center;
331   font-size: .8rem;
332   font-weight: 700;
333 }
334 .dropzone-file-item-status[data-status] {
335   display: flex;
336   font-size: .6rem;
337   font-weight: 500;
338   line-height: 1.2;
339 }
340 .dropzone-file-item-status[data-status="success"] {
341   color: $positive;
342 }
343 .dropzone-file-item-status[data-status="error"] {
344   color: $negative;
345 }
346 .dropzone-file-item-status[data-status] + .dropzone-file-item-label {
347   display: none;
348 }
349
350 .image-manager-list .image {
351   display: block;
352   position: relative;
353   border-radius: 0;
354   float: left;
355   margin: 0;
356   cursor: pointer;
357   width: math.div(100%, 6);
358   height: auto;
359   @include lightDark(border-color, #ddd, #000);
360   box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
361   transition: all cubic-bezier(.4, 0, 1, 1) 160ms;
362   overflow: hidden;
363   &.selected {
364     transform: scale3d(0.92, 0.92, 0.92);
365     outline: currentColor 2px solid;
366   }
367   img {
368     width: 100%;
369     max-width: 100%;
370     display: block;
371   }
372   .image-meta {
373     position: absolute;
374     width: 100%;
375     bottom: 0;
376     left: 0;
377     color: #EEE;
378     background-color: rgba(0, 0, 0, 0.4);
379     font-size: 10px;
380     padding: 3px 4px;
381     span {
382       display: block;
383     }
384   }
385   @include smaller-than($xl) {
386     width: math.div(100%, 4);
387   }
388   @include smaller-than($m) {
389     .image-meta {
390       display: none;
391     }
392   }
393 }
394
395 .image-manager .load-more {
396   display: block;
397   text-align: center;
398   padding: $-s $-m;
399   clear: both;
400   .loading-container {
401     margin: 0;
402   }
403 }
404
405 .image-manager .loading-container {
406   text-align: center;
407 }
408
409 .image-manager-sidebar {
410   width: 300px;
411   overflow-y: auto;
412   overflow-x: hidden;
413   border-inline-start: 1px solid #DDD;
414   @include lightDark(border-color, #ddd, #000);
415   .inner {
416     min-height: auto;
417     padding: $-m;
418   }
419   .image-manager-viewer img {
420     max-width: 100%;
421     max-height: 180px;
422     display: block;
423     margin: 0 auto $-m auto;
424     box-shadow: 0 1px 21px 1px rgba(76, 76, 76, 0.3);
425   }
426   .image-manager-viewer {
427     height: 196px;
428     display: flex;
429     align-items: center;
430     justify-content: center;
431     a {
432       display: inline-block;
433     }
434   }
435 }
436
437 .image-manager-list {
438   overflow-y: scroll;
439   flex: 1;
440 }
441
442 .image-manager-content {
443   display: flex;
444   flex-direction: column;
445   flex: 1;
446   .container {
447     width: 100%;
448   }
449   .full-tab {
450     text-align: center;
451   }
452 }
453
454 .image-manager [role="tablist"] button[role="tab"] {
455   border-right: 1px solid #DDD;
456   &:last-child {
457     border-right: none;
458   }
459 }
460
461 .image-manager-header {
462   z-index: 4;
463 }
464
465 .tab-container [role="tablist"] {
466   display: flex;
467   align-items: end;
468   justify-items: start;
469   text-align: start;
470   border-bottom: 1px solid #DDD;
471   @include lightDark(border-color, #ddd, #444);
472   margin-bottom: $-m;
473 }
474
475 .tab-container [role="tablist"] button[role="tab"],
476 .image-manager [role="tablist"] button[role="tab"] {
477   display: inline-block;
478   padding: $-s;
479   @include lightDark(color, rgba(0, 0, 0, .5), rgba(255, 255, 255, .5));
480   cursor: pointer;
481   border-bottom: 2px solid transparent;
482   margin-bottom: -1px;
483   &[aria-selected="true"] {
484     color: var(--color-link) !important;
485     border-bottom-color: var(--color-link) !important;
486   }
487   &:hover, &:focus {
488     @include lightDark(color, rgba(0, 0, 0, .8), rgba(255, 255, 255, .8));
489     @include lightDark(border-bottom-color,  rgba(0, 0, 0, .2), rgba(255, 255, 255, .2));
490   }
491 }
492 .tab-container [role="tablist"].controls-card {
493   margin-bottom: 0;
494   border-bottom: 0;
495   padding: 0 $-xs;
496 }
497
498 .image-picker .none {
499   display: none;
500 }
501
502 .code-editor .CodeMirror {
503   height: auto;
504   min-height: 50vh;
505   border-bottom: 0;
506 }
507
508 .code-editor .lang-options {
509   overflow-y: scroll;
510   flex-basis: 200px;
511   flex-grow: 1;
512 }
513
514 .code-editor .lang-options button {
515   display: block;
516   padding: $-xs $-m;
517   border-bottom: 1px solid;
518   @include lightDark(color, #333, #AAA);
519   @include lightDark(border-bottom-color, #EEE, #000);
520   cursor: pointer;
521   width: 100%;
522   text-align: left;
523   font-family: $mono;
524   font-size: 0.7rem;
525   padding-left: 24px + $-xs;
526   &:hover, &.active {
527     background-color: var(--color-primary-light);
528     color: var(--color-primary);
529   }
530 }
531
532 .code-editor button.lang-option-favorite-toggle {
533   position: absolute;
534   top: 0;
535   left: 0;
536   width: 28px;
537   font-size: 1rem;
538   border: 0;
539   line-height: 1;
540   padding: 2px;
541   z-index: 2;
542   height: 100%;
543   text-align: center;
544   color: var(--color-primary);
545   svg {
546     margin: 0;
547   }
548 }
549
550 .code-editor button[data-favourite="true"] ~ .action-favourite,
551 .code-editor button[data-favourite="false"] ~ .action-unfavourite {
552   display: none;
553 }
554
555 .code-editor .action-favourite {
556   opacity: 0.5;
557 }
558 .code-editor button:hover ~ .action-favourite {
559   opacity: 1;
560 }
561
562 .code-editor label {
563   background-color: var(--color-primary-light);
564   width: 100%;
565   color: var(--color-primary);
566   padding: $-xxs $-s;
567   margin-bottom: 0;
568 }
569
570 .code-editor-language-list {
571   position: relative;
572   width: 160px;
573   z-index: 2;
574   align-items: stretch;
575 }
576
577 .code-editor-language-list input {
578   border-radius: 0;
579   border: 0;
580   border-bottom: 1px solid #DDD;
581   padding: $-xs $-s;
582   height: auto;
583 }
584
585 .code-editor-main {
586   flex: 1;
587   min-width: 0;
588   .cm-editor {
589     margin-bottom: 0;
590     z-index: 1;
591     max-width: 100%;
592     width: 100%;
593   }
594 }
595
596 .code-editor-body-wrap {
597   height: 80vh;
598 }
599
600 @include smaller-than($s) {
601   .code-editor .lang-options {
602     display: none;
603   }
604   .code-editor-body-wrap {
605     flex-direction: column;
606   }
607   .code-editor-language-list, .code-editor-language-list input {
608     width: 100%;
609   }
610 }
611
612 .comment-box {
613   border-radius: 4px;
614   border: 1px solid #DDD;
615   @include lightDark(border-color, #ddd, #000);
616   @include lightDark(background-color, #FFF, #222);
617   .content {
618     font-size: 0.666em;
619     p, ul, ol {
620       font-size: $fs-m;
621       margin: .5em 0;
622     }
623   }
624   .actions {
625     opacity: 0;
626     transition: opacity ease-in-out 120ms;
627   }
628   &:hover .actions, &:focus-within .actions {
629     opacity: 1;
630   }
631 }
632
633 .comment-box .header {
634   .meta {
635     img, a, span {
636       display: inline-block;
637       vertical-align: top;
638     }
639     a, span {
640       padding: $-xxs 0 $-xxs 0;
641       line-height: 1.6;
642     }
643     a { color: #666; }
644     span {
645       padding-inline-start: $-xxs;
646     }
647   }
648   .text-muted {
649     color: #999;
650   }
651 }
652
653 #tag-manager .drag-card {
654   max-width: 500px;
655 }
656
657 .template-item {
658   cursor: pointer;
659   position: relative;
660   &:hover, .template-item-actions button:hover {
661     background-color: #F2F2F2;
662   }
663   .template-item-actions {
664     position: absolute;
665     top: 0;
666     inset-inline-end: 0;
667     width: 50px;
668     height: 100%;
669     display: flex;
670     flex-direction: column;
671     border-inline-start: 1px solid;
672     @include lightDark(border-color, #ddd, #000);
673   }
674   .template-item-actions button {
675     cursor: pointer;
676     flex: 1;
677     @include lightDark(background-color, #FFF, #222);
678     border: 0;
679     border-top: 1px solid;
680     @include lightDark(border-color, #DDD, #000);
681   }
682   .template-item-actions button svg {
683     margin: 0;
684   }
685   .template-item-actions button:first-child {
686     border-top: 0;
687   }
688 }
689
690
691 .dropdown-search {
692   position: relative;
693 }
694 .dropdown-search-toggle-breadcrumb {
695   border: 1px solid transparent;
696   border-radius: 4px;
697   line-height: normal;
698   padding: $-xs;
699   &:hover {
700     border-color: #DDD;
701   }
702   .svg-icon {
703     margin-inline-end: 0;
704   }
705 }
706 .dropdown-search-toggle-select {
707   display: flex;
708   gap: $-s;
709   line-height: normal;
710   .svg-icon {
711     height: 26px;
712     width: 26px;
713     margin: 0;
714   }
715   .avatar {
716     height: 22px;
717     width: 22px;
718   }
719   .avatar + span {
720     max-width: 100%;
721     overflow: hidden;
722     text-overflow: ellipsis;
723     white-space: nowrap;
724   }
725   .dropdown-search-toggle-caret {
726     font-size: 1.15rem;
727   }
728 }
729 .dropdown-search-toggle-select-label {
730   min-width: 0;
731   white-space: nowrap;
732 }
733 .dropdown-search-toggle-select-caret {
734   line-height: 0;
735   margin-left: auto;
736   margin-top: -2px;
737   display: flex;
738   align-items: center;
739 }
740
741 .dropdown-search-dropdown {
742   box-shadow: $bs-med;
743   overflow: hidden;
744   min-height: 100px;
745   width: 240px;
746   display: none;
747   position: absolute;
748   z-index: 80;
749   right: 0;
750   top: 0;
751   margin-top: $-m;
752   @include rtl {
753     right: auto;
754     left: -$-m;
755   }
756   .dropdown-search-search .svg-icon {
757     position: absolute;
758     left: $-s;
759     @include rtl {
760       right: $-s;
761       left: auto;
762     }
763     top: 11px;
764     fill: #888;
765     pointer-events: none;
766   }
767   .dropdown-search-list {
768     max-height: 400px;
769     overflow-y: scroll;
770     text-align: start;
771   }
772   .dropdown-search-item {
773     padding: $-s $-m;
774     &:hover,&:focus {
775       background-color: #F2F2F2;
776       text-decoration: none;
777     }
778   }
779   input, input:focus {
780     padding-inline-start: $-xl;
781     border-radius: 0;
782     border: 0;
783     border-bottom: 1px solid #DDD;
784   }
785   input:focus {
786     outline: 0;
787   }
788 }
789
790 @include smaller-than($m) {
791   .dropdown-search-dropdown {
792     position: fixed;
793     right: auto;
794     left: $-m;
795   }
796   .dropdown-search-dropdown .dropdown-search-list {
797     max-height: 240px;
798   }
799 }
800
801 .item-list {
802   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
803 }
804 .item-list-row {
805   border: 1.5px solid;
806   @include lightDark(border-color, #E2E2E2, #444);
807   border-bottom-width: 0;
808   label {
809     padding-bottom: 0;
810   }
811   &:hover {
812     @include lightDark(background-color, #F6F6F6, #333);
813   }
814 }
815 .item-list-row:first-child {
816   border-radius: 4px 4px 0 0;
817 }
818 .item-list-row:last-child {
819   border-radius: 0 0 4px 4px;
820   border-bottom-width: 1.5px;
821 }
822 .item-list-row:first-child:last-child {
823   border-radius: 4px;
824 }
825 .item-list-row-toggle-all {
826   visibility: hidden;
827 }
828 .item-list-row:hover .item-list-row-toggle-all {
829   visibility: visible;
830 }
831
832 .status-indicator-active, .status-indicator-inactive {
833   width: 8px;
834   height: 8px;
835   border-radius: 50%;
836   display: inline-block;
837 }
838 .status-indicator-active {
839   background-color: $positive;
840 }
841 .status-indicator-inactive {
842   background-color: $negative;
843 }
844
845 .shortcut-container {
846   background-color: rgba(0, 0, 0, 0.25);
847   pointer-events: none;
848   position: fixed;
849   left: 0;
850   top: 0;
851   width: 100%;
852   height: 100%;
853   z-index: 99;
854 }
855 .shortcut-linkage {
856   position: fixed;
857   box-shadow: 0 0 4px 0 #FFF;
858   border-radius: 3px;
859 }
860 .shortcut-hint {
861   position: fixed;
862   padding: $-xxs $-xxs;
863   font-size: .85rem;
864   font-weight: 700;
865   line-height: 1;
866   background-color: #eee;
867   border-radius: 3px;
868   border: 1px solid #b4b4b4;
869   box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
870   color: #333;
871 }
872
873 // Back to top link
874 $btt-size: 40px;
875 .back-to-top {
876   background-color: var(--color-primary);
877   position: fixed;
878   bottom: $-m;
879   right: $-l;
880   padding: 5px 7px;
881   cursor: pointer;
882   color: #FFF;
883   fill: #FFF;
884   svg {
885     width: math.div($btt-size, 1.5);
886     height: math.div($btt-size, 1.5);
887     margin-inline-end: 4px;
888   }
889   width: $btt-size;
890   height: $btt-size;
891   border-radius: $btt-size;
892   transition: all ease-in-out 180ms;
893   opacity: 0;
894   z-index: 999;
895   overflow: hidden;
896   &:hover {
897     width: $btt-size*3.4;
898     opacity: 1 !important;
899   }
900   .inner {
901     width: $btt-size*3.4;
902   }
903   span {
904     position: relative;
905     vertical-align: top;
906     line-height: 2;
907   }
908 }
909
910 // Sortable scroll boxes
911 .scroll-box {
912   list-style: none;
913   padding: 0;
914   margin: 0;
915   max-height: 280px;
916   overflow-y: scroll;
917   border: 1px solid;
918   @include lightDark(border-color, #DDD, #000);
919   border-radius: 3px;
920   min-height: 20px;
921   @include lightDark(background-color, #EEE, #000);
922 }
923 .scroll-box-item {
924   border-bottom: 1px solid;
925   border-top: 1px solid;
926   @include lightDark(border-color, #DDD, #000);
927   margin-top: -1px;
928   @include lightDark(background-color, #FFF, #222);
929   display: flex;
930   align-items: flex-start;
931   padding: 1px;
932   &:last-child {
933     border-bottom: 0;
934   }
935   &:hover {
936     cursor: pointer;
937     @include lightDark(background-color, #f8f8f8, #333);
938   }
939   .handle {
940     color: #AAA;
941     cursor: grab;
942   }
943   button {
944     opacity: .6;
945   }
946   .handle svg {
947     margin: 0;
948   }
949   > * {
950     padding: $-xs $-m;
951   }
952   .handle + * {
953     padding-left: 0;
954   }
955   &:hover .handle {
956     @include lightDark(color, #444, #FFF);
957   }
958   &:hover button {
959     opacity: 1;
960   }
961   a:hover {
962     text-decoration: none;
963   }
964 }
965
966 input.scroll-box-search, .scroll-box-header-item {
967   font-size: 0.8rem;
968   border: 1px solid;
969   @include lightDark(border-color, #DDD, #000);
970   @include lightDark(background-color, #FFF, #222);
971   margin-bottom: -1px;
972   border-radius: 3px 3px 0 0;
973   width: 100%;
974   max-width: 100%;
975   height: auto;
976   line-height: 1.4;
977   color: #666;
978 }
979
980 .scroll-box-search + .scroll-box,
981 .scroll-box-header-item + .scroll-box {
982   border-radius: 0 0 3px 3px;
983 }
984
985 .scroll-box[refs="shelf-sort@shelf-book-list"] [data-action="add"] {
986   display: none;
987 }
988 .scroll-box[refs="shelf-sort@all-book-list"] [data-action="remove"],
989 .scroll-box[refs="shelf-sort@all-book-list"] [data-action="move_up"],
990 .scroll-box[refs="shelf-sort@all-book-list"] [data-action="move_down"],
991 {
992   display: none;
993 }