Skip to content

Commit

Permalink
change some styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MargoMarm committed Sep 28, 2023
1 parent 6828f4d commit 3e98339
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/AddProductForm/AddProductForm.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const InputTitle = styled.input`
height: 34px;
padding: 8px 14px;
border-radius: 12px;
border: 1px solid ${colors.orange};
border: 1px solid ${colors.textWhite03};
gap: 10px;
background-color: inherit;
color: ${colors.textWhite03};
Expand Down Expand Up @@ -104,7 +104,7 @@ export const Calories = styled.p`

export const TitleCalories = styled.span`
font-family: Roboto;
font-size: 12px;
font-size: 15px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0px;
Expand Down
5 changes: 2 additions & 3 deletions src/components/Modal/Modal.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ export const ModalWrap = styled.div`
position: absolute;
overflow: auto;
height: ${props => props.height[0]}px;
max-height: ${props => props.height[0]}px;
display: flex;
justify-content: center;
align-items: center;
${mq.smallMobile} {
width: 300px;
Expand All @@ -37,7 +36,7 @@ export const ModalWrap = styled.div`
${mq.tablet} {
width: ${props => props.width}px;
height: ${props => props.height[1]}px;
max-height: ${props => props.height[1]}px;
padding: 48px 32px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const ProductsOrExercisesItem = ({ page, data }) => {
return;
},
{
backgroundColor: `${colors.black}`,
backgroundColor: `#2f2e2e`,
titleColor: `${colors.orange}`,
messageColor: `${colors.orangeSecondary}`,
okButtonBackground: `${colors.orange}`,
Expand Down
6 changes: 6 additions & 0 deletions src/components/headersComp/UserNav/UserNav.styled.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export const Svg = styled.svg`
width: 24px;
height: 24px;
stroke: currentColor;
transition: scale 250ms cubic-bezier(0.4, 0, 0.2, 1);
&:hover,
:focus {
scale: 1.2;
}
`;
export const SvgUser = styled.svg`
${svgUser}
Expand Down

0 comments on commit 3e98339

Please sign in to comment.