@cu-mkp/editioncrafter 1.0.0 → 1.0.1

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.
@@ -14,161 +14,164 @@ $dark-maroon: #460C0A;
14
14
  $light-maroon: #96332f;
15
15
  $grey: #858585;
16
16
 
17
- *{
18
- box-sizing: border-box;
19
- }
20
- div{
21
- width: auto;
22
- }
23
-
24
- body {
25
- padding: 0;
26
- margin: 0;
27
- box-sizing: border-box;
28
- }
29
-
30
- .warning {
31
- color: yellow;
32
- }
33
-
34
- .fa {
35
- width: max(1.5rem, 24px);
36
- padding: max(0.2rem, 3.2px) max(0.1rem, 1.6px) max(0.1rem, 1.6px);
37
- text-align: center;
38
- }
39
-
40
- .fa.active {
41
- background-color: #9e9e9e0a;
42
- border: max(0.2rem, 3.2px) solid #FF9800;
43
- }
44
-
45
- .fa-book.active {
46
- border-radius: 0 max(2rem, 32px) max(2rem, 32px) 0;
47
- }
48
-
49
- .fa:not(.active) {
50
- color: grey;
51
- }
52
-
53
- .fa.fa-lock,
54
- .fa.fa-lock-open {
55
- border-radius: max(2rem, 32px) 0 0 max(2rem, 32px);
56
- }
57
-
58
- .line-clamp {
59
- display: -webkit-box;
60
- -webkit-box-orient: vertical;
61
- overflow: hidden;
62
- -webkit-line-clamp: 3;
63
- &.two-lines{
64
- -webkit-line-clamp: 2;
65
- }
66
- }
67
-
68
- .flex-parent {
69
- display:flex;
70
- &.half-width{
71
- width: 50%;
72
- }
73
- &.full-width{
74
- width: 100%;
75
- }
76
- &.column {
77
- flex-direction:column;
78
- }
79
- &.jc-start {
80
- justify-content:flex-start;
81
- }
82
- &.jc-center {
83
- justify-content:center;
84
- }
85
- &.jc-end {
86
- justify-content:flex-end;
87
- }
88
- &.jc-space-btw {
89
- justify-content:space-between;
90
- }
91
- &.jc-space-around {
92
- justify-content:space-around;
93
- }
94
- &.ai-start {
95
- align-items:flex-start;
96
- }
97
- &.ai-center {
98
- align-items:center;
99
- }
100
- &.ai-end {
101
- align-items:flex-end;
102
- }
103
- &.wrap {
104
- flex-wrap:wrap;
105
- }
106
- &.row-reverse {
107
- flex-direction: row-reverse;
108
- }
109
- &.column-reverse {
110
- flex-direction: column-reverse;
111
- }
112
- @for $i from 1 through 12 {
113
- .flex-#{$i} {
114
- flex:$i;
17
+ .editioncrafter {
18
+
19
+ *{
20
+ box-sizing: border-box;
21
+ }
22
+ div{
23
+ width: auto;
24
+ }
25
+
26
+ body {
27
+ padding: 0;
28
+ margin: 0;
29
+ box-sizing: border-box;
30
+ }
31
+
32
+ .warning {
33
+ color: yellow;
34
+ }
35
+
36
+ .fa {
37
+ width: max(1.5rem, 24px);
38
+ padding: max(0.2rem, 3.2px) max(0.1rem, 1.6px) max(0.1rem, 1.6px);
39
+ text-align: center;
40
+ }
41
+
42
+ .fa.active {
43
+ background-color: #9e9e9e0a;
44
+ border: max(0.2rem, 3.2px) solid #FF9800;
45
+ }
46
+
47
+ .fa-book.active {
48
+ border-radius: 0 max(2rem, 32px) max(2rem, 32px) 0;
49
+ }
50
+
51
+ .fa:not(.active) {
52
+ color: grey;
53
+ }
54
+
55
+ .fa.fa-lock,
56
+ .fa.fa-lock-open {
57
+ border-radius: max(2rem, 32px) 0 0 max(2rem, 32px);
58
+ }
59
+
60
+ .line-clamp {
61
+ display: -webkit-box;
62
+ -webkit-box-orient: vertical;
63
+ overflow: hidden;
64
+ -webkit-line-clamp: 3;
65
+ &.two-lines{
66
+ -webkit-line-clamp: 2;
67
+ }
115
68
  }
116
- }
117
- }
118
-
119
- .bg-maroon-gradient{
120
- background-image: linear-gradient(to right, #792421, #66211c, #531d17, #411912, #30140d);
121
- }
122
- .bg-dark-gradient-bt{
123
- background-image: linear-gradient(to bottom, hsl(30, 50%, 90%), hsl(50, 43%, 83%), hsl(43, 54%, 77%));
124
- }
125
- .bg-dark-gradient-tb{
126
- background-image: linear-gradient(to bottom, hsl(43, 54%, 77%), hsl(50, 43%, 83%), hsl(30, 50%, 90%));
127
- }
128
- .bg-light-gradient-bt{
129
- background-image: linear-gradient(to bottom, hsl(30, 50%, 99%), hsl(50, 43%, 90%), hsl(43, 54%, 85%));
130
- }
131
- .bg-light-gradient-tb{
132
- background-image: linear-gradient(to bottom, hsl(43, 54%, 85%), hsl(50, 43%, 90%), hsl(30, 50%, 99%));
133
- }
134
-
135
- .accent-bar{
136
- height: 10px;
137
- width: 100%;
138
- }
139
-
140
- .invisible{
141
- opacity:0;
142
- }
143
-
144
- .disabled{
145
- opacity: 0.5;
146
- }
147
-
148
- .figure-dialog-img-container {
149
- img {
150
- display: block;
69
+
70
+ .flex-parent {
71
+ display:flex;
72
+ &.half-width{
73
+ width: 50%;
74
+ }
75
+ &.full-width{
76
+ width: 100%;
77
+ }
78
+ &.column {
79
+ flex-direction:column;
80
+ }
81
+ &.jc-start {
82
+ justify-content:flex-start;
83
+ }
84
+ &.jc-center {
85
+ justify-content:center;
86
+ }
87
+ &.jc-end {
88
+ justify-content:flex-end;
89
+ }
90
+ &.jc-space-btw {
91
+ justify-content:space-between;
92
+ }
93
+ &.jc-space-around {
94
+ justify-content:space-around;
95
+ }
96
+ &.ai-start {
97
+ align-items:flex-start;
98
+ }
99
+ &.ai-center {
100
+ align-items:center;
101
+ }
102
+ &.ai-end {
103
+ align-items:flex-end;
104
+ }
105
+ &.wrap {
106
+ flex-wrap:wrap;
107
+ }
108
+ &.row-reverse {
109
+ flex-direction: row-reverse;
110
+ }
111
+ &.column-reverse {
112
+ flex-direction: column-reverse;
113
+ }
114
+ @for $i from 1 through 12 {
115
+ .flex-#{$i} {
116
+ flex:$i;
117
+ }
118
+ }
119
+ }
120
+
121
+ .bg-maroon-gradient{
122
+ background-image: linear-gradient(to right, #792421, #66211c, #531d17, #411912, #30140d);
123
+ }
124
+ .bg-dark-gradient-bt{
125
+ background-image: linear-gradient(to bottom, hsl(30, 50%, 90%), hsl(50, 43%, 83%), hsl(43, 54%, 77%));
126
+ }
127
+ .bg-dark-gradient-tb{
128
+ background-image: linear-gradient(to bottom, hsl(43, 54%, 77%), hsl(50, 43%, 83%), hsl(30, 50%, 90%));
129
+ }
130
+ .bg-light-gradient-bt{
131
+ background-image: linear-gradient(to bottom, hsl(30, 50%, 99%), hsl(50, 43%, 90%), hsl(43, 54%, 85%));
132
+ }
133
+ .bg-light-gradient-tb{
134
+ background-image: linear-gradient(to bottom, hsl(43, 54%, 85%), hsl(50, 43%, 90%), hsl(30, 50%, 99%));
135
+ }
136
+
137
+ .accent-bar{
138
+ height: 10px;
151
139
  width: 100%;
152
- height: auto;
153
- }
154
- }
155
-
156
- a:hover {
157
- text-decoration: underline;
158
- }
159
-
160
- a {
161
- color: $maroon;
162
- text-decoration: none;
163
- }
164
-
165
- @include keyframes(slide-down) {
166
- 0% {
167
- height: 2px;
168
- bottom: -5px;
169
140
  }
170
- 100% {
171
- height: 6px;
172
- bottom: -9px;
141
+
142
+ .invisible{
143
+ opacity:0;
144
+ }
145
+
146
+ .disabled{
147
+ opacity: 0.5;
148
+ }
149
+
150
+ .figure-dialog-img-container {
151
+ img {
152
+ display: block;
153
+ width: 100%;
154
+ height: auto;
155
+ }
156
+ }
157
+
158
+ a:hover {
159
+ text-decoration: underline;
160
+ }
161
+
162
+ a {
163
+ color: $maroon;
164
+ text-decoration: none;
165
+ }
166
+
167
+ @include keyframes(slide-down) {
168
+ 0% {
169
+ height: 2px;
170
+ bottom: -5px;
171
+ }
172
+ 100% {
173
+ height: 6px;
174
+ bottom: -9px;
175
+ }
173
176
  }
174
- }
177
+ }
@@ -1,4 +1,4 @@
1
- #diplomatic {
1
+ #diplomatic.editioncrafter {
2
2
  container-type: inline-size;
3
3
  container-name: diplomatic;
4
4
  #content-view, .header-wrapper, #entry-list-view, #annotation-list-view {
@@ -225,7 +225,7 @@
225
225
  }
226
226
  }
227
227
 
228
- #diplomatic.sticky {
228
+ #diplomatic.editioncrafter.sticky {
229
229
  .header-wrapper.sticky {
230
230
  position: sticky;
231
231
  top: 0;
@@ -233,7 +233,7 @@
233
233
  }
234
234
  }
235
235
 
236
- #diplomatic {
236
+ #diplomatic.editioncrafter {
237
237
  #footer {
238
238
  color: white;
239
239
  background-color: $dark-maroon;
@@ -299,7 +299,7 @@
299
299
  }
300
300
  }
301
301
 
302
- #diplomatic.fixed {
302
+ #diplomatic.editioncrafter {
303
303
  background: white;
304
304
  // position: fixed;
305
305
  width: auto;
@@ -1,34 +1,37 @@
1
- #globalNavigation {
2
- display: flex;
3
- align-items: center;
4
- flex-direction: row-reverse;
5
- font-size: max(0.9rem, 14.4px);
6
- position: relative;
7
- top: min(-4rem, -64px);
8
- right: max(2rem, 32px);
9
- float: right;
10
- @include md {
11
- display: block;
12
- }
13
- }
1
+ .editioncrafter {
14
2
 
15
- #globalNavigation .expandedViewOnly {
16
- span, a {
17
- color: white;
18
- margin-left: max(1rem, 16px);
19
- cursor: pointer;
3
+ #globalNavigation {
4
+ display: flex;
5
+ align-items: center;
6
+ flex-direction: row-reverse;
7
+ font-size: max(0.9rem, 14.4px);
8
+ position: relative;
9
+ top: min(-4rem, -64px);
10
+ right: max(2rem, 32px);
11
+ float: right;
12
+ @include md {
13
+ display: block;
14
+ }
15
+ }
16
+
17
+ #globalNavigation .expandedViewOnly {
18
+ span, a {
19
+ color: white;
20
+ margin-left: max(1rem, 16px);
21
+ cursor: pointer;
22
+ }
23
+ }
24
+
25
+ #globalNavigation span .francais {
26
+ font-weight: 100;
27
+ }
28
+
29
+ #globalNavigation input {
30
+ height: max(1.5rem, 24px);
31
+ padding: 0 0 0 max(0.5rem, 8px);
32
+ font-style: italic;
33
+ border: 1px solid #00000063;
34
+ color: #756c6c;
35
+ background-color: #D8D8D8;
20
36
  }
21
- }
22
-
23
- #globalNavigation span .francais {
24
- font-weight: 100;
25
- }
26
-
27
- #globalNavigation input {
28
- height: max(1.5rem, 24px);
29
- padding: 0 0 0 max(0.5rem, 8px);
30
- font-style: italic;
31
- border: 1px solid #00000063;
32
- color: #756c6c;
33
- background-color: #D8D8D8;
34
37
  }
@@ -1,108 +1,112 @@
1
- #glossaryView {
1
+ .editioncrafter {
2
2
 
3
- #glossaryViewInner {
4
- margin: 5px 0 0 0;
5
- @include md {
6
- margin: 52px 0 0 0;
3
+ #glossaryView {
4
+
5
+ #glossaryViewInner {
6
+ margin: 5px 0 0 0;
7
+ @include md {
8
+ margin: 52px 0 0 0;
9
+ }
10
+ width: calc(100% - 1.2rem);
11
+ max-height: calc(100vh - 170px);
12
+ padding: 5px 16px;
7
13
  }
8
- width: calc(100% - 1.2rem);
9
- max-height: calc(100vh - 170px);
10
- padding: 5px 16px;
11
- }
12
-
13
- .cite-header {
14
- text-align: center;
15
- margin-bottom: 5px;
16
- }
17
-
18
- .cite-instructions {
19
- margin: 20px;
20
- margin-left: 15%;
21
- margin-right: 15%;
22
- }
23
-
24
- // .navigationComponent {
25
- // position: sticky;
26
- // top: 0;
27
- // @include md {
28
- // top: initial;
29
- // }
30
- // }
31
-
32
- // .navigationComponentNarrow {
33
- // position: sticky;
34
- // top: 0;
35
- // }
36
14
 
37
- .glossaryNav {
38
-
39
- background: white;
40
- padding: 5px;
41
- position:relative;
15
+ .cite-header {
16
+ text-align: center;
17
+ margin-bottom: 5px;
18
+ }
19
+
20
+ .cite-instructions {
21
+ margin: 20px;
22
+ margin-left: 15%;
23
+ margin-right: 15%;
24
+ }
25
+
26
+ // .navigationComponent {
27
+ // position: sticky;
28
+ // top: 0;
29
+ // @include md {
30
+ // top: initial;
31
+ // }
32
+ // }
33
+
34
+ // .navigationComponentNarrow {
35
+ // position: sticky;
36
+ // top: 0;
37
+ // }
38
+
39
+ .glossaryNav {
42
40
 
43
- #glossary-filter {
44
- margin-right: 10px;
41
+ background: white;
42
+ padding: 5px;
43
+ position:relative;
44
+
45
+ #glossary-filter {
46
+ margin-right: 10px;
47
+ }
48
+ .alphaNav {
49
+ display: none;
50
+ @include md {
51
+ display: block;
52
+ }
53
+ }
45
54
  }
55
+
46
56
  .alphaNav {
47
- display: none;
57
+ color: blue;
58
+ display: inline;
59
+ }
60
+
61
+ .title {
62
+ white-space: nowrap;
63
+ position: relative;
64
+ width: calc(100% - max(1.7rem, 27.2px));
65
+ text-align: center;
66
+ top: -2em;
67
+ font-size: max(1.8rem, 28.8px);
68
+ font-weight: 700;
69
+ -webkit-user-select: none;
70
+ -moz-user-select: none;
71
+ -ms-user-select: none;
72
+ user-select: none;
48
73
  @include md {
49
- display: block;
74
+ top: -1em;
50
75
  }
51
76
  }
52
- }
53
-
54
- .alphaNav {
55
- color: blue;
56
- display: inline;
57
- }
58
-
59
- .title {
60
- white-space: nowrap;
61
- position: relative;
62
- width: calc(100% - max(1.7rem, 27.2px));
63
- text-align: center;
64
- top: -2em;
65
- font-size: max(1.8rem, 28.8px);
66
- font-weight: 700;
67
- -webkit-user-select: none;
68
- -moz-user-select: none;
69
- -ms-user-select: none;
70
- user-select: none;
71
- @include md {
72
- top: -1em;
73
- }
74
- }
75
-
76
-
77
- .subtitle {
78
- white-space: nowrap;
79
- position: relative;
80
- width: calc(100% - max(1.7rem, 27.2px));
81
- text-align: center;
82
- top: -2em;
83
- font-style: italic;
84
- -webkit-user-select: none;
85
- -moz-user-select: none;
86
- -ms-user-select: none;
87
- user-select: none;
88
- @include md {
89
- top: -1em;
77
+
78
+
79
+ .subtitle {
80
+ white-space: nowrap;
81
+ position: relative;
82
+ width: calc(100% - max(1.7rem, 27.2px));
83
+ text-align: center;
84
+ top: -2em;
85
+ font-style: italic;
86
+ -webkit-user-select: none;
87
+ -moz-user-select: none;
88
+ -ms-user-select: none;
89
+ user-select: none;
90
+ @include md {
91
+ top: -1em;
92
+ }
90
93
  }
91
- }
92
-
93
- #glossaryContent {
94
- padding: max(80px, 5rem) 0 0;
95
- max-height: 100vh;
96
- -webkit-user-select: text;
97
- -moz-user-select: text;
98
- -ms-user-select: text;
99
- user-select: text;
100
- min-width: max(10rem, 160px);
101
- @include md {
102
- padding: max(3.5rem, 56px) 0 0;
94
+
95
+ #glossaryContent {
96
+ padding: max(80px, 5rem) 0 0;
97
+ max-height: 100vh;
98
+ -webkit-user-select: text;
99
+ -moz-user-select: text;
100
+ -ms-user-select: text;
101
+ user-select: text;
102
+ min-width: max(10rem, 160px);
103
+ @include md {
104
+ padding: max(3.5rem, 56px) 0 0;
105
+ }
103
106
  }
107
+
104
108
  }
105
-
106
109
  }
107
110
 
108
111
 
112
+