@d-i-t-a/reader 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/reader.css CHANGED
@@ -82,12 +82,14 @@ ol li {
82
82
  list-style: none; }
83
83
 
84
84
  button {
85
- background: #fff;
85
+ background: none;
86
86
  border: 0;
87
87
  color: #5B5852;
88
88
  padding: 0.35rem 0.35rem 0.2rem;
89
89
  margin: 0;
90
90
  -webkit-appearance: none; }
91
+ button:focus {
92
+ background: none; }
91
93
 
92
94
  a {
93
95
  color: #5B5852;
@@ -152,22 +154,12 @@ a {
152
154
 
153
155
  [data-viewer-theme="sepia"] {
154
156
  background-color: #faf4e8; }
155
- [data-viewer-theme="sepia"] button {
156
- background: #faf4e8;
157
- color: #5B5852; }
158
- [data-viewer-theme="sepia"] a {
159
- color: #5B5852; }
160
157
  [data-viewer-theme="sepia"] .info {
161
158
  color: #5B5852; }
162
159
 
163
160
  [data-viewer-theme="night"] {
164
161
  background-color: #000000;
165
162
  color: #fff; }
166
- [data-viewer-theme="night"] button {
167
- background: #000000;
168
- color: #DADADA; }
169
- [data-viewer-theme="night"] a {
170
- color: #DADADA; }
171
163
  [data-viewer-theme="night"] .info {
172
164
  color: #DADADA; }
173
165
 
@@ -254,7 +246,7 @@ a {
254
246
  * Licensed to: Bokbasen AS and CAST under one or more contributor license agreements.
255
247
  */
256
248
  .error {
257
- position: fixed;
249
+ position: relative;
258
250
  z-index: 20;
259
251
  background-color: rgba(255, 255, 255, 0.875);
260
252
  color: #d0343a;
@@ -320,16 +312,20 @@ a {
320
312
  * Developed on behalf of: Bokbasen AS (https://www.bokbasen.no)
321
313
  * Licensed to: Bokbasen AS and CAST under one or more contributor license agreements.
322
314
  */
323
- .sidenav-toc .chapter-link {
324
- display: block;
325
- white-space: nowrap;
326
- overflow: hidden;
327
- text-overflow: ellipsis; }
315
+ .sidenav-toc {
316
+ padding-inline-start: 0px; }
317
+ .sidenav-toc .chapter-link {
318
+ display: block;
319
+ white-space: nowrap;
320
+ overflow: hidden;
321
+ text-overflow: ellipsis; }
322
+ .sidenav-toc .chapter-title {
323
+ padding: 0 16px;
324
+ font-size: 14px;
325
+ color: lightgray; }
328
326
 
329
- .sidenav-toc .chapter-title {
330
- padding: 0 16px;
331
- font-size: 14px;
332
- color: lightgray; }
327
+ .collapsible-header {
328
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
333
329
 
334
330
  .contents-view, .pageList-view, .landmarks-view {
335
331
  background-color: #fff;
@@ -359,7 +355,7 @@ a {
359
355
  .contents-view ul li a:hover, .pageList-view ol li a:hover,
360
356
  .pageList-view ul li a:hover, .landmarks-view ol li a:hover,
361
357
  .landmarks-view ul li a:hover {
362
- background: #5B5852;
358
+ background: #E0E0E0;
363
359
  color: #111; } }
364
360
  .contents-view ol li a.active,
365
361
  .contents-view ul li a.active, .pageList-view ol li a.active,
@@ -371,7 +367,7 @@ a {
371
367
  .contents-view ul li a.active:hover, .pageList-view ol li a.active:hover,
372
368
  .pageList-view ul li a.active:hover, .landmarks-view ol li a.active:hover,
373
369
  .landmarks-view ul li a.active:hover {
374
- background: #111;
370
+ background: #5B5852;
375
371
  color: #DADADA; }
376
372
  .contents-view ol li span,
377
373
  .contents-view ul li span, .pageList-view ol li span,
@@ -397,7 +393,7 @@ a {
397
393
  [data-viewer-theme="sepia"] .contents-view ul li a:hover, [data-viewer-theme="sepia"] .pageList-view ol li a:hover,
398
394
  [data-viewer-theme="sepia"] .pageList-view ul li a:hover, [data-viewer-theme="sepia"] .landmarks-view ol li a:hover,
399
395
  [data-viewer-theme="sepia"] .landmarks-view ul li a:hover {
400
- background: #5B5852;
396
+ background: #E0E0E0;
401
397
  color: #faf4e8; } }
402
398
  [data-viewer-theme="sepia"] .contents-view ol li a.active,
403
399
  [data-viewer-theme="sepia"] .contents-view ul li a.active, [data-viewer-theme="sepia"] .pageList-view ol li a.active,
@@ -409,7 +405,7 @@ a {
409
405
  [data-viewer-theme="sepia"] .contents-view ul li a.active:hover, [data-viewer-theme="sepia"] .pageList-view ol li a.active:hover,
410
406
  [data-viewer-theme="sepia"] .pageList-view ul li a.active:hover, [data-viewer-theme="sepia"] .landmarks-view ol li a.active:hover,
411
407
  [data-viewer-theme="sepia"] .landmarks-view ul li a.active:hover {
412
- background: #111;
408
+ background: #5B5852;
413
409
  color: #DADADA; }
414
410
  [data-viewer-theme="sepia"] .contents-view ol li span,
415
411
  [data-viewer-theme="sepia"] .contents-view ul li span, [data-viewer-theme="sepia"] .pageList-view ol li span,
@@ -431,7 +427,7 @@ a {
431
427
  [data-viewer-theme="night"] .contents-view ul li a:hover, [data-viewer-theme="night"] .pageList-view ol li a:hover,
432
428
  [data-viewer-theme="night"] .pageList-view ul li a:hover, [data-viewer-theme="night"] .landmarks-view ol li a:hover,
433
429
  [data-viewer-theme="night"] .landmarks-view ul li a:hover {
434
- background: #5B5852;
430
+ background: #E0E0E0;
435
431
  color: #fff; } }
436
432
  [data-viewer-theme="night"] .contents-view ol li a.active,
437
433
  [data-viewer-theme="night"] .contents-view ul li a.active, [data-viewer-theme="night"] .pageList-view ol li a.active,
@@ -443,7 +439,7 @@ a {
443
439
  [data-viewer-theme="night"] .contents-view ul li a.active:hover, [data-viewer-theme="night"] .pageList-view ol li a.active:hover,
444
440
  [data-viewer-theme="night"] .pageList-view ul li a.active:hover, [data-viewer-theme="night"] .landmarks-view ol li a.active:hover,
445
441
  [data-viewer-theme="night"] .landmarks-view ul li a.active:hover {
446
- background: #000000;
442
+ background: #5B5852;
447
443
  color: #DADADA; }
448
444
  [data-viewer-theme="night"] .contents-view ol li span,
449
445
  [data-viewer-theme="night"] .contents-view ul li span, [data-viewer-theme="night"] .pageList-view ol li span,
@@ -673,7 +669,7 @@ a {
673
669
  .bookmarks-view ol li a:hover,
674
670
  .bookmarks-view ul li a:hover, .highlights-view ol li a:hover,
675
671
  .highlights-view ul li a:hover {
676
- background: #5B5852;
672
+ background: #E0E0E0;
677
673
  color: #111; } }
678
674
  .bookmarks-view ol li a.active,
679
675
  .bookmarks-view ul li a.active, .highlights-view ol li a.active,
@@ -683,7 +679,7 @@ a {
683
679
  .bookmarks-view ol li a.active:hover,
684
680
  .bookmarks-view ul li a.active:hover, .highlights-view ol li a.active:hover,
685
681
  .highlights-view ul li a.active:hover {
686
- background: #111;
682
+ background: #5B5852;
687
683
  color: #DADADA; }
688
684
 
689
685
  [data-viewer-theme="sepia"] .bookmarks-view, [data-viewer-theme="sepia"] .highlights-view {
@@ -697,7 +693,7 @@ a {
697
693
  [data-viewer-theme="sepia"] .bookmarks-view ol li a:hover,
698
694
  [data-viewer-theme="sepia"] .bookmarks-view ul li a:hover, [data-viewer-theme="sepia"] .highlights-view ol li a:hover,
699
695
  [data-viewer-theme="sepia"] .highlights-view ul li a:hover {
700
- background: #5B5852;
696
+ background: #E0E0E0;
701
697
  color: #faf4e8; } }
702
698
  [data-viewer-theme="sepia"] .bookmarks-view ol li a.active,
703
699
  [data-viewer-theme="sepia"] .bookmarks-view ul li a.active, [data-viewer-theme="sepia"] .highlights-view ol li a.active,
@@ -712,8 +708,7 @@ a {
712
708
  [data-viewer-theme="sepia"] .bookmarks-view ol li span,
713
709
  [data-viewer-theme="sepia"] .bookmarks-view ul li span, [data-viewer-theme="sepia"] .highlights-view ol li span,
714
710
  [data-viewer-theme="sepia"] .highlights-view ul li span {
715
- color: #5B5852;
716
- border-bottom: 1px solid #e8cc94; }
711
+ color: #5B5852; }
717
712
 
718
713
  [data-viewer-theme="night"] .bookmarks-view, [data-viewer-theme="night"] .highlights-view {
719
714
  background-color: #000000; }
@@ -726,7 +721,7 @@ a {
726
721
  [data-viewer-theme="night"] .bookmarks-view ol li a:hover,
727
722
  [data-viewer-theme="night"] .bookmarks-view ul li a:hover, [data-viewer-theme="night"] .highlights-view ol li a:hover,
728
723
  [data-viewer-theme="night"] .highlights-view ul li a:hover {
729
- background: #5B5852;
724
+ background: #E0E0E0;
730
725
  color: #fff; } }
731
726
  [data-viewer-theme="night"] .bookmarks-view ol li a.active,
732
727
  [data-viewer-theme="night"] .bookmarks-view ul li a.active, [data-viewer-theme="night"] .highlights-view ol li a.active,
@@ -736,7 +731,7 @@ a {
736
731
  [data-viewer-theme="night"] .bookmarks-view ol li a.active:hover,
737
732
  [data-viewer-theme="night"] .bookmarks-view ul li a.active:hover, [data-viewer-theme="night"] .highlights-view ol li a.active:hover,
738
733
  [data-viewer-theme="night"] .highlights-view ul li a.active:hover {
739
- background: #000000;
734
+ background: #5B5852;
740
735
  color: #DADADA; }
741
736
  [data-viewer-theme="night"] .bookmarks-view ol li span,
742
737
  [data-viewer-theme="night"] .bookmarks-view ul li span, [data-viewer-theme="night"] .highlights-view ol li span,
@@ -765,47 +760,46 @@ a {
765
760
  :root {
766
761
  --RS__highlightColor: rgba(255, 255, 0, 0.5); }
767
762
 
768
- .sidenav-annotations .chapter-link {
769
- display: block;
770
- white-space: nowrap;
771
- overflow: hidden;
772
- text-overflow: ellipsis; }
773
-
774
- .sidenav-annotations .chapter-title {
775
- padding: 0 16px;
776
- font-size: 14px;
777
- color: lightgray; }
778
-
779
- .sidenav-annotations ol {
780
- padding-left: 24px; }
781
-
782
- .sidenav-annotations li {
783
- position: relative; }
784
- .sidenav-annotations li .delete {
785
- position: absolute;
786
- right: 10px;
787
- top: 50%;
788
- transform: translate(0, -50%); }
789
- .sidenav-annotations li .bookmark-link, .sidenav-annotations li .highlight-link {
763
+ .sidenav-annotations {
764
+ padding-inline-start: 0px; }
765
+ .sidenav-annotations .chapter-link {
790
766
  display: block;
791
- position: relative;
792
- padding-top: 8px !important;
793
- padding-bottom: 8px !important;
794
- line-height: 1.25; }
795
- .sidenav-annotations li .bookmark-link svg, .sidenav-annotations li .bookmark-link i, .sidenav-annotations li .highlight-link svg, .sidenav-annotations li .highlight-link i {
796
- left: 4px;
797
- top: 8px;
798
- position: absolute; }
799
- .sidenav-annotations li .bookmark-link .title, .sidenav-annotations li .highlight-link .title {
800
- display: block; }
801
- .sidenav-annotations li .bookmark-link .subtitle, .sidenav-annotations li .highlight-link .subtitle {
802
- display: block;
803
- line-height: 20px;
804
- font-size: 10px; }
805
- .sidenav-annotations li .bookmark-link .timestamp, .sidenav-annotations li .highlight-link .timestamp {
767
+ white-space: nowrap;
768
+ overflow: hidden;
769
+ text-overflow: ellipsis; }
770
+ .sidenav-annotations .chapter-title {
771
+ padding: 0 16px;
772
+ font-size: 14px;
773
+ color: lightgray; }
774
+ .sidenav-annotations ol {
775
+ padding-left: 24px; }
776
+ .sidenav-annotations li {
777
+ position: relative; }
778
+ .sidenav-annotations li .delete {
779
+ position: absolute;
780
+ right: 10px;
781
+ top: 50%;
782
+ transform: translate(0, -50%); }
783
+ .sidenav-annotations li .bookmark-link, .sidenav-annotations li .highlight-link {
806
784
  display: block;
807
- line-height: 20px;
808
- font-size: 8px; }
785
+ position: relative;
786
+ padding-top: 8px !important;
787
+ padding-bottom: 8px !important;
788
+ line-height: 1.25; }
789
+ .sidenav-annotations li .bookmark-link svg, .sidenav-annotations li .bookmark-link i, .sidenav-annotations li .highlight-link svg, .sidenav-annotations li .highlight-link i {
790
+ left: 4px;
791
+ top: 8px;
792
+ position: absolute; }
793
+ .sidenav-annotations li .bookmark-link .title, .sidenav-annotations li .highlight-link .title {
794
+ display: block; }
795
+ .sidenav-annotations li .bookmark-link .subtitle, .sidenav-annotations li .highlight-link .subtitle {
796
+ display: block;
797
+ line-height: 20px;
798
+ font-size: 10px; }
799
+ .sidenav-annotations li .bookmark-link .timestamp, .sidenav-annotations li .highlight-link .timestamp {
800
+ display: block;
801
+ line-height: 20px;
802
+ font-size: 8px; }
809
803
 
810
804
  /*
811
805
  * Copyright 2018-2020 DITA (AM Consulting LLC)
@@ -1123,4 +1117,102 @@ input::-moz-focus-outer {
1123
1117
  text-overflow: ellipsis;
1124
1118
  max-width: 22rem; }
1125
1119
 
1120
+ [data-viewer-theme="night"] .timeline .chapter {
1121
+ border: 1px solid #111; }
1122
+
1123
+ [data-viewer-theme="sepia"] .timeline .chapter {
1124
+ border: 1px solid #faf4e8; }
1125
+
1126
+ .collection {
1127
+ border-radius: 2px;
1128
+ overflow: hidden;
1129
+ position: relative; }
1130
+ .collection .collection-item {
1131
+ padding: 10px 20px;
1132
+ margin: 0; }
1133
+ .collection .collection-item.avatar {
1134
+ min-height: 84px;
1135
+ padding-left: 72px;
1136
+ position: relative; }
1137
+ .collection .collection-item.avatar:not(.circle-clipper) > .circle,
1138
+ .collection .collection-item.avatar :not(.circle-clipper) > .circle {
1139
+ position: absolute;
1140
+ width: 42px;
1141
+ height: 42px;
1142
+ overflow: hidden;
1143
+ left: 15px;
1144
+ display: inline-block;
1145
+ vertical-align: middle; }
1146
+ .collection .collection-item.avatar i.circle {
1147
+ font-size: 18px;
1148
+ line-height: 42px;
1149
+ color: #fff;
1150
+ background-color: #999;
1151
+ text-align: center; }
1152
+ .collection .collection-item.avatar .title {
1153
+ font-size: 16px; }
1154
+ .collection .collection-item.avatar p {
1155
+ margin: 0; }
1156
+ .collection .collection-item.avatar .secondary-content {
1157
+ position: absolute;
1158
+ top: 16px;
1159
+ right: 16px; }
1160
+ .collection .collection-item:last-child {
1161
+ border-bottom: none; }
1162
+ .collection .collection-item.active .secondary-content {
1163
+ color: #fff; }
1164
+ .collection a.collection-item {
1165
+ display: block;
1166
+ transition: .25s; }
1167
+ .collection.with-header .collection-header {
1168
+ padding: 10px 20px; }
1169
+ .collection.with-header .collection-item {
1170
+ padding-left: 30px; }
1171
+ .collection.with-header .collection-item.avatar {
1172
+ padding-left: 72px; }
1173
+
1174
+ .pagination {
1175
+ display: inline-block; }
1176
+ .pagination li {
1177
+ display: inline-block;
1178
+ border-radius: 2px;
1179
+ text-align: center;
1180
+ vertical-align: top;
1181
+ height: 30px;
1182
+ clear: unset !important;
1183
+ width: unset !important; }
1184
+ .pagination li a {
1185
+ color: #444;
1186
+ display: inline-block !important;
1187
+ font-size: 1.2rem;
1188
+ padding: 0 10px;
1189
+ line-height: 30px; }
1190
+ .pagination li.active a {
1191
+ color: #999; }
1192
+ .pagination li.disabled a {
1193
+ cursor: default;
1194
+ color: #999; }
1195
+ .pagination li i {
1196
+ font-size: 2rem; }
1197
+ .pagination li.pages ul li {
1198
+ display: inline-block;
1199
+ float: none; }
1200
+
1201
+ .search-wrapper {
1202
+ display: flex;
1203
+ align-items: center; }
1204
+
1205
+ .sidenav.expanded {
1206
+ width: 992px !important; }
1207
+ @media only screen and (max-width: 992px) {
1208
+ .sidenav.expanded {
1209
+ width: 100% !important; } }
1210
+
1211
+ .logo-container i.editAnnotations {
1212
+ transform: rotate(-90deg);
1213
+ margin-top: 12px;
1214
+ font-size: 32px;
1215
+ margin-right: 6px;
1216
+ float: right; }
1217
+
1126
1218
  /*# sourceMappingURL=reader.css.map */