Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/assets/styles/elements.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
--bg-transparent: transparent;
--bg-golden:#e0b500;
--bg-default-gray: #ccc;
--bg-main-light: #f0bcd0;
--bg-main-light-20: #fbecf2;
--bg-secondary-light: #324666;
--bg-secondary-light-20: #F0FBFF;
--bg-header: #002e70;
--bg-footer: #013277;

--bg-backdrop: #ffff;
/*colors*/
--color-main:#ea9fbc;
--color-default:#001C43;
--color-secondary-light:#324666;
--color-disabled:#969696;
--color-disabled-sort:#d5d5d5;
--color-disabled-font: #757575;
Expand Down
6 changes: 3 additions & 3 deletions src/components/common/GridDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="grid-display">
<ItemSlider
:padding="false"
bg="var(--bg-secondary-light-20)"
bg="var(--bg-backdrop)"
item-class="rotational-results"
bg-scroll-blue="true"
>
Expand All @@ -16,7 +16,7 @@
:loading="!loaded"
:resultdata="spots[i]"
:index="i"
background="var(--bg-secondary-light-20)"
background="var(--bg-backdrop)"
:class="{ 'current-record': current === i }"
:slot-props="slotProps"
></GridResultItem>
Expand Down Expand Up @@ -73,7 +73,7 @@ temporary styling until patterns from design system are implemented
margin-left: 15px;
flex: 0 0 30%;
box-sizing: border-box;
background-color: var(--bg-secondary-light-20);
background-color: var(--bg-backdrop);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
Expand Down
17 changes: 9 additions & 8 deletions src/components/common/KBButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default defineComponent({
.main {
background-color: var(--bg-main);
color: var(--color-default);
border: 1px solid var(--color-border-active);
border: 1px solid var(--color-border-succcess);
}
.cta {
background-color: var(--bg-cta);
Expand All @@ -235,7 +235,7 @@ export default defineComponent({
}
.transparent {
background-color: var(--bg-transparent);
color: var(--color-main);
color: var(--color-default);
border: 1px solid var(--color-border-transparent);
}
.inverted {
Expand All @@ -249,8 +249,10 @@ export default defineComponent({
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
}
.btn-main-medium:hover {
background-color: var(--bg-main-hover);
color: var(--color-main);
transition: all 0.3s ease 0s;
background-color: var(--bg-main-2);
border-color: var(--color-border-light);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0);
}
.btn-main-small {
border-radius: var(--rounded-medium);
Expand Down Expand Up @@ -282,7 +284,7 @@ export default defineComponent({
}
.btn-cta:disabled {
border-color: var(--color-border-disabled);
color: var(--bg-default);
color: white;
}
/* Dropdown buttons */
.btn-dropdown-default {
Expand Down Expand Up @@ -310,9 +312,8 @@ export default defineComponent({
transform: rotateX(180deg);
}
.btn-dropdown-default:hover {
background-color: var(--bg-main-hover);
color: var(--color-main);
border-color: var(--color-border-active);
background-color: var(--bg-main-light);
color: var(--color-default);
}
.btn-dropdown-default .btn-text {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/PortalContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default defineComponent({
position: absolute;
height: 100%;
width: 100vw;
background-color: var(--bg-secondary-light-20);
background-color: var(--bg-backdrop);
justify-content: space-between;
display: flex;
flex-direction: column;
Expand Down
8 changes: 4 additions & 4 deletions src/components/common/TimeSearchComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<div class="time-results">
<ItemSlider
:padding="false"
bg="var(--bg-secondary-light-20)"
bg="var(--bg-backdrop)"
item-class="time-result"
bg-scroll-blue="true"
>
Expand All @@ -36,7 +36,7 @@
:loading="timeSearchStore.loading"
:resultdata="item"
:index="index"
background="var(--bg-secondary-light-20)"
background="var(--bg-backdrop)"
:slot-props="slotProps"
></GridResultItem>
</div>
Expand Down Expand Up @@ -220,7 +220,7 @@ h2 {
position: absolute;
height: 100%;
width: 100vw;
background-color: var(--bg-secondary-light-20);
background-color: var(--bg-backdrop);
justify-content: space-between;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -248,7 +248,7 @@ h2 {
.time-result-item {
flex: 0 0 30%;
box-sizing: border-box;
background-color: var(--bg-secondary-light-20);
background-color: var(--bg-backdrop);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
Expand Down
7 changes: 3 additions & 4 deletions src/components/common/timeSearch/TimeSearchFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
v-show="timeline"
class="slider-container"
>
<div class="data-size">
<!-- <div class="data-size">
<KBButton
button-type="btn-dropdown-default"
button-color="transparent"
Expand All @@ -14,7 +14,7 @@
:data-testid="addTestDataEnrichment('button', 'time-search-filters', 'toggle-data-button', 0)"
@click="toggleExplanation()"
></KBButton>
</div>
</div> -->

<div class="to-from-container">
<CustomTimelineSelect
Expand Down Expand Up @@ -118,13 +118,12 @@ import {
import { addTestDataEnrichment } from '@/utils/test-enrichments';
import { useSearchResultStore } from '@/store/searchResultStore';
import { useRoute } from 'vue-router';
import KBButton from '@/components/common/KBButton.vue';
// import KBButton from '@/components/common/KBButton.vue';
export default defineComponent({
name: 'TimeSearchFilters',
components: {
CustomTimelineSelect,
VueSlider,
KBButton,
},

props: {
Expand Down
7 changes: 3 additions & 4 deletions src/components/global/nav/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
>
<span class="breadcrumb-title">{{ t('breadcrumb.record') }}</span>
</span>
<div class="search-tip">
<!-- <div class="search-tip">
<InfoComponent
icon="info"
:title="t('search.frontpageGuide.title')"
Expand Down Expand Up @@ -148,7 +148,7 @@
</p>
</div>
</InfoComponent>
</div>
</div> -->
</div>
</div>
</template>
Expand All @@ -158,13 +158,12 @@ import { useI18n } from 'vue-i18n';
import { addTestDataEnrichment } from '@/utils/test-enrichments';
import { useRoute, useRouter } from 'vue-router';
import { useSearchResultStore } from '@/store/searchResultStore';
import InfoComponent from '@/components/common/InfoComponent.vue';
// import InfoComponent from '@/components/common/InfoComponent.vue';
import KBButton from '@/components/common/KBButton.vue';

export default defineComponent({
name: 'Breadcrumb',
components: {
InfoComponent,
KBButton,
},
setup() {
Expand Down
25 changes: 11 additions & 14 deletions src/components/search/AdditionalInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
>
<ItemSlider
:padding="true"
bg="#002e70"
bg="var(--bg-main-light-20)"
item-class="extra-thumbnail"
bg-scroll-blue="true"
>
<template #default="slotProps">
<div
Expand Down Expand Up @@ -265,8 +266,8 @@ export default defineComponent({
margin-bottom: 0px;
overflow: hidden;
display: none;
padding-bottom: 10px;
background-color: rgb(0, 46, 112);
padding-bottom: 30px;
background-color: var(--bg-main-light-20);
position: relative;
}

Expand All @@ -280,20 +281,19 @@ export default defineComponent({
width: 100%;
height: 100%;
pointer-events: none;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px 5px inset;
}

.full-duration {
position: absolute;
display: inline-block;
right: 0px;
z-index: 1;
margin-top: -18px;
margin-top: 0px;
padding: 0px 2px;
padding-right: 10px;
padding-left: 6px;
color: white;
background-color: #002e70;
color: var(--color-default);
background-color: transparent;

opacity: 0.9;
}
Expand All @@ -305,8 +305,8 @@ export default defineComponent({
right: 15px;
z-index: 1;
align-items: center;
color: white;
background-color: #002e70;
color: var(--color-default);
background-color: var(--bg-main);
top: calc(50% - 35px);
padding: 5px 14px 5px 14px;
text-decoration: none;
Expand All @@ -320,9 +320,7 @@ export default defineComponent({
margin: 0;
}
.watch-program:hover {
background-color: #c4f1ed;
color: #002e70;
border-color: #002e70;
background-color: var(--bg-main-light);
}
.extra-thumbnail {
flex: 0 0 200px;
Expand All @@ -333,7 +331,6 @@ export default defineComponent({
flex-direction: column;
pointer-events: all;
text-decoration: none;
color: #002e70;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
Expand All @@ -359,7 +356,7 @@ export default defineComponent({
.extra-thumbnail .img-stamp {
text-align: center;
font-size: 12px;
color: white;
color: var(--color-default);
height: 0.9rem;
position: relative;
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions src/components/search/ItemSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ export default defineComponent({
background-color: rgb(66, 66, 66);
}
.item-slider.blue-scrollbar::-webkit-scrollbar-thumb {
background-color: #002e70;
background-color: var(--bg-default);
}
.item-slider::-webkit-scrollbar-thumb {
border-radius: 5px;
}
.item-slider::-webkit-scrollbar-track {
background-color: #002e70;
background-color: var(--bg-default);
}

.item-slider.active a {
Expand Down
27 changes: 14 additions & 13 deletions src/components/search/Pager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,12 @@ export default defineComponent({
.arrow-pager {
text-decoration: none !important;
}

.active {
text-decoration: none !important;
}
.active span {
color: var(--color-main);
background-color: #002e70;
text-decoration: none;
color: var(--color-default);
background-color: var(--bg-main-light);
}

button,
Expand All @@ -408,11 +409,11 @@ button,
}
.pager-buttons a {
text-decoration: underline;
color: var(--color-main);
color: var(--color-default);
}

.pager-buttons a:visited {
color: var(--color-main);
color: var(--color-default);
}

:disabled {
Expand All @@ -423,7 +424,7 @@ button span,
.dots {
padding: 2px 5px;
text-decoration: underline;
color: var(--color-main);
color: var(--color-default);
border-radius: 3px;
transition: all 0.2s linear 0s;
line-height: 25px;
Expand All @@ -434,7 +435,7 @@ button span,
}

.input-label {
color: var(--color-main);
color: var(--color-default);
height: 31px;
width: fit-content;
display: inline;
Expand All @@ -457,17 +458,17 @@ button span,

.page-select-input {
background: #ffffff 0% 0% no-repeat padding-box;
color: #002e70;
border: 0px solid #002e70;
color: var(--color-default);
border: 0px solid var(--color-border-active);
border-radius: 2px;
height: 25px;
width: 80px;
padding: 2px 5px;
outline: 1px solid #002e70;
outline: 1px solid var(--color-border-active);
}

.page-select-input:focus-visible {
outline: 2px solid #002e70;
outline: 2px solid var(--color-border-active);
}

.page-select-input-error {
Expand Down Expand Up @@ -505,7 +506,7 @@ button span,
display: inline;
}
.morePagesMessage .topOfScreen {
color: #002e70;
color: var(--color-default);
cursor: pointer;
}
.topOfScreen > span {
Expand Down
Loading