diff --git a/mobile/src/components/speaker-card/SpeakerCard.vue b/mobile/src/components/speaker-card/SpeakerCard.vue index 96a4a73e..b3c6c331 100644 --- a/mobile/src/components/speaker-card/SpeakerCard.vue +++ b/mobile/src/components/speaker-card/SpeakerCard.vue @@ -18,11 +18,13 @@
- + + -
+ +
2Conf.
@@ -208,7 +210,7 @@ } .bulletTagList { - padding-left: 54px; + padding-left: 72px; } } } diff --git a/mobile/src/components/speaker-card/SpeakerFavTalkButton.vue b/mobile/src/components/speaker-card/SpeakerFavTalkButton.vue index 6d264750..4f304e45 100644 --- a/mobile/src/components/speaker-card/SpeakerFavTalkButton.vue +++ b/mobile/src/components/speaker-card/SpeakerFavTalkButton.vue @@ -4,7 +4,7 @@ - - diff --git a/mobile/src/components/speaker-card/SpeakerResumeTalk.vue b/mobile/src/components/speaker-card/SpeakerResumeTalk.vue index 29396642..bf320bcb 100644 --- a/mobile/src/components/speaker-card/SpeakerResumeTalk.vue +++ b/mobile/src/components/speaker-card/SpeakerResumeTalk.vue @@ -17,7 +17,7 @@ JAVA
-
Conf.
+
Conf.
@@ -59,6 +59,10 @@ const baseUrl = import.meta.env.BASE_URL; --inner-padding-bottom: var(--app-gutters-medium); overflow: visible; + @media (prefers-color-scheme: dark) { + --border-color: var(--app-dark-contrast); + } + &:last-child { --border-style: none; --inner-padding-bottom: 0; @@ -111,6 +115,10 @@ const baseUrl = import.meta.env.BASE_URL; margin-right: var(--app-gutters-medium); border-radius: 4px; background: var(--app-primary); + + @media (prefers-color-scheme: dark) { + background: var(--app-white-50); + } } &-content { diff --git a/mobile/src/components/ui/ListModeSwitch.vue b/mobile/src/components/ui/ListModeSwitch.vue new file mode 100644 index 00000000..1cff473f --- /dev/null +++ b/mobile/src/components/ui/ListModeSwitch.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/mobile/src/styles/components/_bulletTag.scss b/mobile/src/styles/components/_bulletTag.scss index e2dba697..996c4737 100644 --- a/mobile/src/styles/components/_bulletTag.scss +++ b/mobile/src/styles/components/_bulletTag.scss @@ -35,13 +35,14 @@ justify-content: center; height: 20px; min-width: 20px; + margin-right: var(--app-gutters-tiny); padding: 0 4px; border-radius: 22px; background-color: var(--app-primary-shade); color: var(--app-white); @media (prefers-color-scheme: dark) { - border-right: 1px solid var(--app-white); + border-right: 2px solid var(--app-white); background-color: var(--app-medium--contrast); } } diff --git a/mobile/src/styles/components/_listModeSwitch.scss b/mobile/src/styles/components/_listModeSwitch.scss deleted file mode 100644 index 7ddd059f..00000000 --- a/mobile/src/styles/components/_listModeSwitch.scss +++ /dev/null @@ -1,36 +0,0 @@ -.listModesSwitch { - background-color: var(--app-background); - border-radius: 44px; - border: 1px solid var(--app-beige-line); - - &-button { - height: 38px; - width: 52px; - min-width: 48px; - margin: 0; - --border-radius: 44px; - --background-checked: var(--app-primary); - - @media (prefers-color-scheme: dark) { - &.button-solid { - --background: transparent; - --background-activated: var(--app-light-contrast); - --color: var(--app-white); - --ion-toolbar-background: var(--app-white); - } - } - - &._active { - --background: var(--app-primary); - --background-activated: var(--app-primary); - --color: var(--app-white); - - @media (prefers-color-scheme: dark) { - --background: var(--app-white); - --background-activated: var(--app-white); - --color: var(--app-primary); - --ion-toolbar-background: var(--app-primary); - } - } - } -} diff --git a/mobile/src/styles/main.scss b/mobile/src/styles/main.scss index a6186a27..4d538b26 100644 --- a/mobile/src/styles/main.scss +++ b/mobile/src/styles/main.scss @@ -10,7 +10,6 @@ @import "@/styles/components/avatar.scss"; @import "@/styles/components/bulletTag.scss"; @import "@/styles/components/listCardsButtons.scss"; -@import "@/styles/components/listModeSwitch.scss"; @import "@/styles/components/tabsSelection.scss"; /* ~ BASE */ diff --git a/mobile/src/views/event/SpeakersDirectoryPage.vue b/mobile/src/views/event/SpeakersDirectoryPage.vue index a6edf593..36dafd20 100644 --- a/mobile/src/views/event/SpeakersDirectoryPage.vue +++ b/mobile/src/views/event/SpeakersDirectoryPage.vue @@ -6,14 +6,7 @@ {{ LL.Speakers() }}
- - - - - - - - + @@ -32,17 +25,15 @@ import CurrentEventHeader from "@/components/events/CurrentEventHeader.vue"; import {useRoute} from "vue-router"; import {EventId} from "@/models/VoxxrinEvent"; - import {getRouteParamsValue, isRefDefined} from "@/views/vue-utils"; + import {getRouteParamsValue} from "@/views/vue-utils"; import {useSharedConferenceDescriptor} from "@/state/useConferenceDescriptor"; import {typesafeI18n} from "@/i18n/i18n-vue"; import {managedRef as ref} from "@/views/vue-utils"; import PoweredVoxxrin from "@/components/ui/PoweredVoxxrin.vue"; import SpeakerCard from "@/components/speaker-card/SpeakerCard.vue"; - import {albums, list} from "ionicons/icons"; - import {IonSegmentButton, IonSegment} from "@ionic/vue"; + import ListModeSwitch from "@/components/ui/ListModeSwitch.vue"; const { LL } = typesafeI18n() - const route = useRoute(); const eventId = ref(new EventId(getRouteParamsValue(route, 'eventId'))); const {conferenceDescriptor: confDescriptor} = useSharedConferenceDescriptor(eventId);