|
32 | 32 | @keydown.up.exact.capture.prevent="focusPrev"
|
33 | 33 | @keydown.down.exact.capture.prevent="focusNext"
|
34 | 34 | >
|
35 |
| - <slot name="navigator-title"> |
| 35 | + <slot name="navigator-title" className="navigator-title"> |
36 | 36 | <Reference
|
37 | 37 | v-if="technology"
|
38 | 38 | :id="INDEX_ROOT_KEY"
|
39 | 39 | :url="technologyPath"
|
40 |
| - :class="['technology-title', { 'router-link-exact-active': isTechnologyRoute }]" |
| 40 | + :class="[ |
| 41 | + 'technology-title navigator-title', |
| 42 | + { 'router-link-exact-active': isTechnologyRoute } |
| 43 | + ]" |
41 | 44 | @click.alt.native.prevent="toggleAllNodes"
|
42 | 45 | >
|
43 | 46 | <h2 class="card-link">
|
@@ -1015,26 +1018,31 @@ $navigator-card-vertical-spacing: 8px !default;
|
1015 | 1018 | }
|
1016 | 1019 | }
|
1017 | 1020 |
|
1018 |
| -.technology-title { |
| 1021 | +:deep(.navigator-title) { |
1019 | 1022 | @include safe-area-left-set(margin-left, var(--card-horizontal-spacing));
|
1020 | 1023 | @include safe-area-right-set(margin-right, var(--card-horizontal-spacing));
|
| 1024 | + white-space: nowrap; |
1021 | 1025 | padding: $navigator-card-vertical-spacing $nav-card-horizontal-spacing;
|
1022 | 1026 | padding-left: $nav-card-horizontal-spacing * 2;
|
| 1027 | + @include font-styles(label-reduced); |
| 1028 | + font-weight: $font-weight-semibold; |
| 1029 | + overflow: hidden; |
| 1030 | + text-overflow: ellipsis; |
| 1031 | +} |
| 1032 | +
|
| 1033 | +.technology-title { |
1023 | 1034 | background: $technology-title-background;
|
1024 | 1035 | border-radius: $nano-border-radius;
|
1025 | 1036 | display: flex;
|
1026 |
| - white-space: nowrap; |
| 1037 | + color: var(--color-text); |
1027 | 1038 |
|
1028 |
| - @include breakpoint(small, nav) { |
1029 |
| - margin-top: 0; |
| 1039 | + .card-link { |
| 1040 | + font-size: inherit; |
| 1041 | + font-weight: inherit |
1030 | 1042 | }
|
1031 | 1043 |
|
1032 |
| - .card-link { |
1033 |
| - color: var(--color-text); |
1034 |
| - @include font-styles(label-reduced); |
1035 |
| - font-weight: $font-weight-semibold; |
1036 |
| - overflow: hidden; |
1037 |
| - text-overflow: ellipsis; |
| 1044 | + @include breakpoint(small, nav) { |
| 1045 | + margin-top: 0; |
1038 | 1046 | }
|
1039 | 1047 |
|
1040 | 1048 | &.router-link-exact-active {
|
|
0 commit comments