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.
submit button moved to mini components
- Loading branch information
1 parent
bc53bcd
commit 4ab8232
Showing
6 changed files
with
47 additions
and
64 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
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,16 @@ | ||
import classes from './AdminSubmitButton.module.css'; | ||
|
||
const AdminSubmitButton = () => { | ||
return ( | ||
<div className={classes['admin-submit__container']}> | ||
<button | ||
className={classes['admin-submit__button']} | ||
type="submit" | ||
> | ||
Зберегти зміни | ||
</button> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AdminSubmitButton; |
26 changes: 26 additions & 0 deletions
26
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,26 @@ | ||
.admin-submit__container { | ||
margin-top: 16px; | ||
} | ||
|
||
.admin-submit__button { | ||
display: flex; | ||
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
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