@explorer-1/vue 0.2.84 → 0.2.85

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.2.84",
3
+ "version": "0.2.85",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -41,7 +41,13 @@
41
41
  v-if="themeStore.theme === 'ThemeEdu'"
42
42
  class="-ml-1 pl-2 border-l border-white border-opacity-30 z-20 print:border-black"
43
43
  >
44
- <span class="text-white font-bold text-xl pl-px">Education</span>
44
+ <BaseLink
45
+ class="text-white font-bold text-xl pl-px"
46
+ to="/edubeta/"
47
+ variant="none"
48
+ >
49
+ Education</BaseLink
50
+ >
45
51
  </div>
46
52
  </div>
47
53
  <button
@@ -189,6 +189,7 @@ export default defineComponent({
189
189
  .NavSecondary {
190
190
  top: -1px; // for intersection observer to work
191
191
  @apply sticky z-40 w-full bg-white border-b border-gray-mid border-opacity-0 transition-border-opacity duration-150 edu:duration-300 ease-in;
192
+ @apply hidden;
192
193
  @screen lg {
193
194
  @apply block;
194
195
  }
@@ -123,55 +123,58 @@ const { heading, blocks, image, procedures, text } = reactive(props)
123
123
  // Assumes font-size for body element is a constant 16px
124
124
  @return math.div($pxValue, 16) * 1rem;
125
125
  }
126
- .PageEduProcedureSection {
127
- .PageEduProcedureSectionSteps {
128
- counter-reset: step;
129
- }
130
- .PageEduProcedureSectionSingleStep {
131
- li:not(:last-of-type) .BlockStreamfield {
132
- @apply -mb-5;
126
+ .PageEduLessonSection {
127
+ @apply overflow-x-hidden;
128
+ .PageEduProcedureSection {
129
+ .PageEduProcedureSectionSteps {
130
+ counter-reset: step;
133
131
  }
134
- }
135
- ol.PageEduProcedureSectionSingleStep {
136
- @apply list-none;
137
- > li {
138
- @apply relative w-full;
139
- counter-increment: step;
140
- &::before {
141
- @apply relative block w-[45rem] mx-auto h-0 pl-1;
142
- content: counter(step) '. ';
143
- // mimicking .text-body-lg
144
- font-size: pxToRem(18);
145
- line-height: 1.6667;
132
+ .PageEduProcedureSectionSingleStep {
133
+ li:not(:last-of-type) .BlockStreamfield {
134
+ @apply -mb-5;
146
135
  }
147
-
148
- @screen sm {
136
+ }
137
+ ol.PageEduProcedureSectionSingleStep {
138
+ @apply list-none;
139
+ > li {
140
+ @apply relative w-full;
141
+ counter-increment: step;
149
142
  &::before {
150
- @apply w-[47rem];
151
- font-size: pxToRem(19);
143
+ @apply relative block w-[45rem] mx-auto h-0 pl-1;
144
+ content: counter(step) '. ';
145
+ // mimicking .text-body-lg
146
+ font-size: pxToRem(18);
147
+ line-height: 1.6667;
152
148
  }
153
- }
154
- @screen md {
155
- &::before {
156
- @apply w-[51.5rem];
157
- font-size: pxToRem(20);
149
+
150
+ @screen sm {
151
+ &::before {
152
+ @apply w-[47rem];
153
+ font-size: pxToRem(19);
154
+ }
158
155
  }
159
- }
160
- @screen lg {
161
- &::before {
162
- @apply w-[46rem] pl-0;
163
- font-size: pxToRem(21);
156
+ @screen md {
157
+ &::before {
158
+ @apply w-[51.5rem];
159
+ font-size: pxToRem(20);
160
+ }
164
161
  }
165
- }
166
- @screen xl {
167
- &::before {
168
- @apply w-[59rem];
169
- font-size: pxToRem(22);
162
+ @screen lg {
163
+ &::before {
164
+ @apply w-[46rem] pl-0;
165
+ font-size: pxToRem(21);
166
+ }
170
167
  }
171
- }
172
- @screen 2xl {
173
- &::before {
174
- // @apply w-[58.5rem];
168
+ @screen xl {
169
+ &::before {
170
+ @apply w-[59rem];
171
+ font-size: pxToRem(22);
172
+ }
173
+ }
174
+ @screen 2xl {
175
+ &::before {
176
+ // @apply w-[58.5rem];
177
+ }
175
178
  }
176
179
  }
177
180
  }
@@ -172,52 +172,55 @@ const { heading, blocks, image, steps, stepsNumbering, text } = reactive(props)
172
172
  // Assumes font-size for body element is a constant 16px
173
173
  @return math.div($pxValue, 16) * 1rem;
174
174
  }
175
- .PageEduStudentProjectStep {
176
- &:target {
177
- @apply scroll-mt-14;
178
- }
179
- .BlockStreamfield {
180
- div:last-child {
181
- @apply mb-0 #{!important};
175
+ .PageEduStudentProjectSection {
176
+ @apply overflow-x-hidden;
177
+ .PageEduStudentProjectStep {
178
+ &:target {
179
+ @apply scroll-mt-14;
182
180
  }
183
- }
184
- .caption-area {
185
- @apply px-0;
186
- }
187
- .steps-numbering {
188
- // intentionally overriding correction that occurs within ThemeVariantGray
189
- @apply text-jpl-red;
190
- }
191
- .LayoutHelper > div > .BlockText {
192
- .richtext-image {
193
- &.right,
194
- &.left {
195
- @apply lg:max-w-md;
196
- }
197
- &.right {
198
- @apply mr-0;
199
- }
200
- &.left {
201
- @apply ml-0;
181
+ .BlockStreamfield {
182
+ div:last-child {
183
+ @apply mb-0 #{!important};
202
184
  }
203
185
  }
204
- }
205
-
206
- .PageEduStudentProjectStep__fullWidth {
186
+ .caption-area {
187
+ @apply px-0;
188
+ }
189
+ .steps-numbering {
190
+ // intentionally overriding correction that occurs within ThemeVariantGray
191
+ @apply text-jpl-red;
192
+ }
207
193
  .LayoutHelper > div > .BlockText {
208
- p,
209
- li {
210
- @screen lg {
211
- @apply pr-[9rem];
194
+ .richtext-image {
195
+ &.right,
196
+ &.left {
197
+ @apply lg:max-w-md;
198
+ }
199
+ &.right {
200
+ @apply mr-0;
212
201
  }
213
- @screen xl {
214
- @apply pr-[13rem];
202
+ &.left {
203
+ @apply ml-0;
215
204
  }
216
205
  }
217
- table {
206
+ }
207
+
208
+ .PageEduStudentProjectStep__fullWidth {
209
+ .LayoutHelper > div > .BlockText {
218
210
  p,
219
211
  li {
220
- @apply pr-0;
212
+ @screen lg {
213
+ @apply pr-[9rem];
214
+ }
215
+ @screen xl {
216
+ @apply pr-[13rem];
217
+ }
218
+ }
219
+ table {
220
+ p,
221
+ li {
222
+ @apply pr-0;
223
+ }
221
224
  }
222
225
  }
223
226
  }