generated from yandex-praktikum/client-server-template-with-vite
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from Timur233/SOK-80_bug-fix
- Loading branch information
Showing
19 changed files
with
225 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
body { | ||
background-color: #242424; | ||
} | ||
|
||
.preloader { | ||
position: fixed; | ||
display: none; | ||
align-items: center; | ||
justify-content: center; | ||
inset: 0; | ||
z-index: 10; | ||
background-color: rgb(0, 0, 0); | ||
} | ||
.preloader_show { | ||
display: flex; | ||
} | ||
.preloader__road { | ||
position: relative; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 150px; | ||
height: 150px; | ||
background-color: #2c414c; | ||
background-image: url('@/assets/images/ground.png'); | ||
background-size: 50px 50px; | ||
border-radius: 20px; | ||
animation: moveRoad 2s linear infinite; | ||
} | ||
.preloader__image { | ||
width: 60px; | ||
} | ||
.preloader__close-btn { | ||
position: absolute; | ||
left: 50%; | ||
top: 50%; | ||
transform: translate(-50%, 100px); | ||
cursor: pointer; | ||
background: none; | ||
border: none; | ||
outline: none; | ||
color: #f8f8f8; | ||
font-size: 14px; | ||
} | ||
.preloader__close-btn:hover { | ||
text-decoration: underline; | ||
} | ||
@keyframes moveRoad { | ||
100% { | ||
background-position: 0px 50px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@import "../../../scss/vars.scss"; | ||
@import '../../../scss/vars.scss'; | ||
|
||
@keyframes fadeIn { | ||
from { | ||
|
78 changes: 39 additions & 39 deletions
78
packages/client/src/components/ui/ChristmasToggle/ChristmasToggle.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
.christmas-toggle { | ||
width: 46px; | ||
height: 24px; | ||
background-color: #e5e5e5; | ||
border-radius: 50px; | ||
position: relative; | ||
overflow: hidden; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease-in-out; | ||
width: 46px; | ||
height: 24px; | ||
background-color: #e5e5e5; | ||
border-radius: 50px; | ||
position: relative; | ||
overflow: hidden; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease-in-out; | ||
|
||
&::before { | ||
content: ''; | ||
position: absolute; | ||
inset: 0; | ||
opacity: 1; | ||
background-image: url('https://media.istockphoto.com/id/1181274264/vector/christmas-backgrounds-seamless-pattern-vector-illustration.jpg?s=612x612&w=0&k=20&c=qjaiUif53nf-OjYeLwgOgtmoPlhoqFNpiN9Xw1PHY50='); | ||
background-size: 350%; | ||
transition: opacity 0.3s ease-in-out; | ||
} | ||
|
||
&.checked { | ||
background-color: #839d22; | ||
|
||
&::before { | ||
content: ''; | ||
position: absolute; | ||
inset: 0; | ||
opacity: 1; | ||
background-image: url('https://media.istockphoto.com/id/1181274264/vector/christmas-backgrounds-seamless-pattern-vector-illustration.jpg?s=612x612&w=0&k=20&c=qjaiUif53nf-OjYeLwgOgtmoPlhoqFNpiN9Xw1PHY50='); | ||
background-size: 350%; | ||
transition: opacity 0.3s ease-in-out; | ||
opacity: 0; | ||
} | ||
|
||
&.checked { | ||
background-color: #839d22; | ||
} | ||
|
||
&::before { | ||
opacity: 0; | ||
} | ||
} | ||
|
||
&__slider { | ||
width: 20px; | ||
height: 20px; | ||
background-color: #fff; | ||
border-radius: 50%; | ||
position: absolute; | ||
top: 2px; | ||
left: 2px; | ||
transition: transform 0.3s ease-in-out; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
&.checked .christmas-toggle__slider { | ||
transform: translateX(22px); | ||
} | ||
} | ||
&__slider { | ||
width: 20px; | ||
height: 20px; | ||
background-color: #fff; | ||
border-radius: 50%; | ||
position: absolute; | ||
top: 2px; | ||
left: 2px; | ||
transition: transform 0.3s ease-in-out; | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
&.checked .christmas-toggle__slider { | ||
transform: translateX(22px); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
packages/client/src/components/ui/OauthLinks/OauthLinks.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.oauth-buttons { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin-top: 12px; | ||
|
||
&__item { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin-top: 12px; | ||
|
||
&__item { | ||
display: flex; | ||
align-items: center; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
} | ||
} | ||
border-radius: 8px; | ||
cursor: pointer; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.