Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

QMAPS-2801 ui fixes #1371

Merged
merged 4 commits into from
Jul 18, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions src/components/OpeningHour.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useCallback } from 'react';
import classnames from 'classnames';
import { capitalizeFirst } from 'src/libs/string';
import { GREEN_DARK, RED_DARKER } from 'src/libs/colors';
import { RED_DARKER } from 'src/libs/colors';
import { PoiHourBlockProps } from 'src/panel/poi/blocks/Information/blocks/Hour';
import { PoiTimeTableProps } from 'src/panel/poi/blocks/Information/blocks/Hour/TimeTable';

Expand All @@ -15,7 +15,7 @@ const getStatusMessage = ({
if (status === 'open') {
return {
label: texts?.open ?? '',
color: GREEN_DARK,
color: 'var(--serpPermaLink)',
xem marked this conversation as resolved.
Show resolved Hide resolved
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/panel/poi/blocks/Reservation/ReservationComposer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function ReservationComposer({ value: propsValue, onChange, mobile, visib
const ageOptionsMemo = ageOptions();
const hasChildWithNoAge = value.ages.filter(a => a === null).length > 0;
return (
<Wrapper mobile={mobile} visible={visible} onClose={handleSubmit}>
<Wrapper mobile={mobile} visible={visible} onClose={handleSubmit} className="toto">
xem marked this conversation as resolved.
Show resolved Hide resolved
<Box px="m" py="s" className="ReservationComposerCounter">
<Line value={value} onChange={setValue} field="rooms" />
<Line value={value} onChange={setValue} field="adults" />
Expand Down
1 change: 1 addition & 0 deletions src/scss/includes/components/reservation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
top: 50px;
left: 0;
z-index: 1050;
box-shadow: rgb(0 0 0 / 20%) 0 2px 12px 0 !important;
}

.ReservationComposerModal {
Expand Down
4 changes: 4 additions & 0 deletions src/scss/includes/panels/poi_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ $BLOCK_ICON_FONT_SIZE: 16px;
min-height: 18px;
}

.poi_panel__actions .poi_panel__action__favorite:hover {
background: var(--red-400-alpha20);
}

@media (max-width: 640px) {
.poi_panel__content {
padding: 0 $spacing-s;
Expand Down
6 changes: 5 additions & 1 deletion src/scss/includes/reviewScore.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,9 @@
}

.reviewScore-starRating {
color: var(--grey-900);
color: var(--green-500);
div {
font-size: 14px;
font-weight: bold;
}
}
1 change: 1 addition & 0 deletions src/scss/includes/search_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $input-height: 48px;
align-items: center;
background: var(--green-400) !important;
border: 1px solid var(--grey-900-alpha16);
border-radius: var(--spacing-xs)
}

// Wrapper around the field and some icons, gets a colored border when the field is focused
Expand Down
19 changes: 19 additions & 0 deletions src/scss/includes/survey.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
.survey aside {
background: var(--grey-000) !important;
top: 80px;
right: 10px;
bottom: auto;
box-shadow: rgb(0 0 0 / 20%) 0 2px 12px 0 !important;

div + div + div a {
background: var(--green-400);

&:hover {
background: var(--green-300);
}
}

button svg {
width: 24px;
height: 24px;
}

* {
color: var(--grey-900);
}
}

@media (max-width: 640px) {
Expand Down