|
32 | 32 | <KExternalLink |
33 | 33 | v-else |
34 | 34 | :href="homeLink" |
35 | | - class="studio-navigation__logo-link" |
| 35 | + class="studio-navigation-logo-link" |
36 | 36 | > |
37 | 37 | <KLogo |
38 | 38 | altText="Kolibri Logo with background" |
|
43 | 43 |
|
44 | 44 | <template #brand> |
45 | 45 | <div |
46 | | - class="studio-navigation__title-container" |
| 46 | + class="studio-navigation-title-container" |
47 | 47 | style="max-width: 160px" |
48 | 48 | > |
49 | 49 | <span> |
|
56 | 56 | <div |
57 | 57 | ref="studioNavigationActions" |
58 | 58 | aria-live="polite" |
59 | | - class="studio-navigation__actions" |
| 59 | + class="studio-navigation-actions" |
60 | 60 | > |
61 | 61 | <template v-if="loggedIn"> |
62 | 62 | <KButton |
|
93 | 93 | appearance="flat-button" |
94 | 94 | style="text-transform: none" |
95 | 95 | :ariaLabel="$tr('guestMenuLabel')" |
96 | | - class="guest-menu-button" |
97 | 96 | > |
98 | 97 | <KIconButton |
99 | 98 | :disabled="true" |
|
122 | 121 | v-if="hasTabs" |
123 | 122 | :aria-label="$tr('mainNavigationLabel')" |
124 | 123 | > |
125 | | - <div class="studio-navigation__tabs-wrapper"> |
| 124 | + <div class="studio-navigation-tabs-wrapper"> |
126 | 125 | <div |
127 | 126 | v-if="isOverflowing && canScrollLeft" |
128 | | - class="scroll-button scroll-button--left" |
| 127 | + class="scroll-button scroll-button-left" |
129 | 128 | :style="{ backgroundColor: $themeTokens.appBar }" |
130 | 129 | @click="scrollTabs(-300)" |
131 | 130 | > |
|
138 | 137 |
|
139 | 138 | <div |
140 | 139 | ref="tabsContainer" |
141 | | - class="studio-navigation__tabs-container" |
| 140 | + class="studio-navigation-tabs-container" |
142 | 141 | > |
143 | 142 | <slot name="tabs"></slot> |
144 | 143 | <div |
|
149 | 148 |
|
150 | 149 | <div |
151 | 150 | v-if="isOverflowing && canScrollRight" |
152 | | - class="scroll-button scroll-button--right" |
| 151 | + class="scroll-button scroll-button-right" |
153 | 152 | :style="{ backgroundColor: $themeTokens.appBar }" |
154 | 153 | @click="scrollTabs(300)" |
155 | 154 | > |
|
451 | 450 | moveIndicator() { |
452 | 451 | const container = this.$refs.tabsContainer; |
453 | 452 | if (!container) return; |
454 | | - const activeTab = container.querySelector('.studio-navigation-tab--active'); |
| 453 | + const activeTab = container.querySelector('.studio-navigation-tab-active'); |
455 | 454 |
|
456 | 455 | if (activeTab) { |
457 | 456 | const containerRect = container.getBoundingClientRect(); |
|
599 | 598 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.42); |
600 | 599 | } |
601 | 600 |
|
602 | | - .studio-navigation__logo-link { |
| 601 | + .studio-navigation-logo-link { |
603 | 602 | display: flex; |
604 | 603 | align-items: center; |
605 | 604 | padding: 4px; |
|
611 | 610 | } |
612 | 611 | } |
613 | 612 |
|
614 | | - .studio-navigation__title-container { |
| 613 | + .studio-navigation-title-container { |
615 | 614 | display: block; |
616 | 615 | overflow: hidden; |
617 | 616 | white-space: nowrap; |
|
622 | 621 | } |
623 | 622 |
|
624 | 623 |
|
625 | | - .studio-navigation__actions { |
| 624 | + .studio-navigation-actions { |
626 | 625 | display: flex; |
627 | 626 | align-items: center; |
628 | 627 | } |
629 | 628 |
|
630 | | - .studio-navigation__tabs-wrapper { |
| 629 | + .studio-navigation-tabs-wrapper { |
631 | 630 | position: relative; |
632 | 631 | display: flex; |
633 | 632 | align-items: center; |
|
648 | 647 | transition: background-color 0.2s ease; |
649 | 648 | |
650 | 649 | |
651 | | - &--left { |
| 650 | + &-left { |
652 | 651 | left: 0; |
653 | 652 | padding-right: 8px; |
654 | 653 | } |
655 | 654 | |
656 | | - &--right { |
| 655 | + &-right { |
657 | 656 | right: 0; |
658 | 657 | padding-left: 8px; |
659 | 658 | |
660 | 659 | } |
661 | 660 | } |
662 | 661 |
|
663 | | - .studio-navigation__tabs-container { |
| 662 | + .studio-navigation-tabs-container { |
664 | 663 | position: relative; |
665 | 664 | display: flex; |
666 | 665 | flex: 1; |
|
0 commit comments