From cf201ad2aa4f20594bbba8c4d275aa308440d08d Mon Sep 17 00:00:00 2001 From: one92tb Date: Thu, 18 Mar 2021 13:15:53 +0100 Subject: [PATCH 1/3] remove border, outline in input, buttons style --- src/components/Auth/style.jsx | 5 +++++ src/components/List/style.js | 10 ++++++++++ src/components/Main/Map/style.jsx | 5 +++++ src/components/Main/MarkerCreator/style.jsx | 5 +++++ src/components/Main/Panel/style.jsx | 10 ++++++++++ src/components/NavBar/style.jsx | 5 +++++ src/components/Statistic/style.jsx | 5 +++++ src/components/Users/style.jsx | 5 +++++ 8 files changed, 50 insertions(+) diff --git a/src/components/Auth/style.jsx b/src/components/Auth/style.jsx index 3bf38ff..6f2a38a 100644 --- a/src/components/Auth/style.jsx +++ b/src/components/Auth/style.jsx @@ -95,6 +95,11 @@ const Button = css` width: 120px; line-height: normal; } + + &:focus { + border: none; + outline: none; + } `; const RegisterBtn = styled.button` diff --git a/src/components/List/style.js b/src/components/List/style.js index 46e8679..5bd792f 100644 --- a/src/components/List/style.js +++ b/src/components/List/style.js @@ -40,6 +40,11 @@ const Select = styled.select` text-align: center; text-align-last: center; + &:focus { + border: none; + outline: none; + } + @media only screen and (max-width: 767.98px) { width: 150px; height: 25px; @@ -62,6 +67,11 @@ const Input = styled.input` border-radius: 5px; border: 1px solid transparent; + &:focus { + border: none; + outline: none; + } + @media only screen and (max-width: 767.98px) { width: 150px; height: 25px; diff --git a/src/components/Main/Map/style.jsx b/src/components/Main/Map/style.jsx index 1e37a18..76d4b8b 100644 --- a/src/components/Main/Map/style.jsx +++ b/src/components/Main/Map/style.jsx @@ -90,6 +90,11 @@ const InfoBtn = styled.button` border: 2px solid #00b8e6; font-weight: bold; + &:focus { + border: none; + outline: none; + } + &:hover { cursor: pointer; color: #fff; diff --git a/src/components/Main/MarkerCreator/style.jsx b/src/components/Main/MarkerCreator/style.jsx index d253d6b..4ef10ff 100644 --- a/src/components/Main/MarkerCreator/style.jsx +++ b/src/components/Main/MarkerCreator/style.jsx @@ -95,6 +95,11 @@ const Button = css` @media only screen and (max-width: 575.98px) { width: 150px; } + + &:focus { + border: none; + outline: none; + } `; const CrudButton = css` diff --git a/src/components/Main/Panel/style.jsx b/src/components/Main/Panel/style.jsx index b05bef0..2bd26e7 100644 --- a/src/components/Main/Panel/style.jsx +++ b/src/components/Main/Panel/style.jsx @@ -87,6 +87,11 @@ border: 1px solid #00b8e6; transition: background-color 1s ease; text-transform: uppercase; color: #fff; + +&:focus { + border: none; + outline: none; +} `; const SelectButton = styled.button` @@ -235,6 +240,11 @@ color: #fff; border-radius: 3px; border: 1px solid #4ddbff; text-transform: uppercase; + +&:focus { + border: none; + outline: none; +} `; const Markers = styled.div` diff --git a/src/components/NavBar/style.jsx b/src/components/NavBar/style.jsx index f786704..1723d9c 100644 --- a/src/components/NavBar/style.jsx +++ b/src/components/NavBar/style.jsx @@ -198,6 +198,11 @@ const LogoutBtn = styled.button` line-height: 1.5; border-radius: 0.25rem; + &:focus { + border: none; + outline: none; + } + @media (max-width: 1199px) { margin: 15px 0; margin-left: auto; diff --git a/src/components/Statistic/style.jsx b/src/components/Statistic/style.jsx index d60f77c..231263a 100644 --- a/src/components/Statistic/style.jsx +++ b/src/components/Statistic/style.jsx @@ -98,6 +98,11 @@ const Input = styled.input` border-radius: 5px; border: 1px solid #bfbfbf; + &:focus { + border: none; + outline: none; + } + @media only screen and (max-width: 767.98px) { height: auto; margin: 0; diff --git a/src/components/Users/style.jsx b/src/components/Users/style.jsx index 6170f21..5b72784 100644 --- a/src/components/Users/style.jsx +++ b/src/components/Users/style.jsx @@ -50,6 +50,11 @@ const Input = styled.input` border: 1px solid transparent; margin-right: 50px; + &:focus { + border: none; + outline: none; + } + @media only screen and (max-width: 767.98px) { height: 30px; width: 150px; From 59497465aa190caba95b8b241b069d0c2f40bf47 Mon Sep 17 00:00:00 2001 From: one92tb Date: Thu, 18 Mar 2021 13:19:52 +0100 Subject: [PATCH 2/3] remove border, outline in input, buttons style --- src/components/Auth/style.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/Auth/style.jsx b/src/components/Auth/style.jsx index 6f2a38a..0d9a696 100644 --- a/src/components/Auth/style.jsx +++ b/src/components/Auth/style.jsx @@ -153,6 +153,11 @@ const Input = styled.input` display: block; border: 1px solid #ced4da; + &:focus { + border: none; + outline: none; + } + @media only screen and (max-width: 575.98px) { font-size: 14px; height: 30px; From 8bbb700f158455c19385d72b13e8f3693e1c31c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 Mar 2021 12:21:19 +0000 Subject: [PATCH 3/3] Bump axios from 0.18.1 to 0.21.1 Bumps [axios](https://github.com/axios/axios) from 0.18.1 to 0.21.1. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.21.1) Signed-off-by: dependabot[bot] --- package-lock.json | 19 +++++++++++++------ package.json | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4e9bf5b..32f4620 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3157,12 +3157,18 @@ "integrity": "sha512-5Kgy8Cz6LPC9DJcNb3yjAXTu3XihQgEdnIg50c//zOC/MyLP0Clg+Y8Sh9ZjjnvBrDZU4DgXS9C3T9r4/scGZQ==" }, "axios": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", - "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==", + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", "requires": { - "follow-redirects": "1.5.10", - "is-buffer": "^2.0.2" + "follow-redirects": "^1.10.0" + }, + "dependencies": { + "follow-redirects": { + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz", + "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA==" + } } }, "axios-mock-adapter": { @@ -8267,7 +8273,8 @@ "is-buffer": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", - "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "dev": true }, "is-callable": { "version": "1.2.2", diff --git a/package.json b/package.json index 3393b17..2c52587 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@testing-library/jest-dom": "^5.7.0", "@types/markerclustererplus": "^2.1.29", "@types/react": "^16.0.0", - "axios": "^0.18.0", + "axios": "^0.21.1", "babel-jest": "^26.6.3", "bootstrap": "^4.5.3", "dom-to-image": "^2.6.0",