generated from ita-social-projects/DevTemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
678 additions
and
191 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
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
17 changes: 17 additions & 0 deletions
17
FrontEnd/src/components/MiniComponents/AdminSubmitButton.jsx
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,17 @@ | ||
import classes from './AdminSubmitButton.module.css'; | ||
|
||
const AdminSubmitButton = ({ disabled }) => { | ||
return ( | ||
<div className={classes['admin-submit__container']}> | ||
<button | ||
className={classes['admin-submit__button']} | ||
type="submit" | ||
disabled={disabled} | ||
> | ||
Зберегти зміни | ||
</button> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AdminSubmitButton; |
27 changes: 27 additions & 0 deletions
27
FrontEnd/src/components/MiniComponents/AdminSubmitButton.module.css
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,27 @@ | ||
.admin-submit__container { | ||
margin-top: 16px; | ||
} | ||
|
||
.admin-submit__button { | ||
display: block; | ||
width: 100%; | ||
border-radius: 4px; | ||
border: 1px solid var(--main-button-color); | ||
background: var(--main-button-color); | ||
box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04); | ||
color: var(--light-button-text-color); | ||
font-feature-settings: 'calt' off; | ||
font-style: normal; | ||
padding: 5px 15px 5px 15px; | ||
font-family: var(--font-main); | ||
font-size: 16px; | ||
font-weight: 600; | ||
line-height: 20px; | ||
letter-spacing: -0.01em; | ||
text-align: center; | ||
cursor: pointer; | ||
} | ||
|
||
.admin-submit__button:active { | ||
transform: translateY(2px); | ||
} |
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,10 +1,13 @@ | ||
:root { | ||
--font__admin-panel: "Inter", sans-serif; | ||
--block-size__admin-panel: 1500px; | ||
--menu-size__admin-panel: 120px; | ||
--block-size__admin-panel: 1512px; | ||
--menu-size__admin-panel: 222px; | ||
--table-size__admin-panel: 1000px; | ||
--font-color__admin-panel: #292E32; | ||
--notification-text-color__admin-panel: #ff4d4f; | ||
--background__admin-panel: #F1FFF7; | ||
--background-butons__admin-panel: #0B6C61; | ||
--button-color__admin-panel: #0B6C61; | ||
} | ||
--background-input__admin-panel: #FFF; | ||
--border-input__admin-panel: #d9d9d9; | ||
--background-butons__admin-panel: #1F9A7C; | ||
--button-color__admin-panel: #1F9A7C; | ||
} |
Oops, something went wrong.