generated from sofiialives/goit-react-hw-07-phonebook
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
bca34a7
commit b2c95d6
Showing
18 changed files
with
349 additions
and
104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,44 @@ | ||
.list { | ||
display: flex; | ||
gap: 40px; | ||
align-items: center; | ||
gap: 10px; | ||
list-style: none; | ||
padding: 0; | ||
} | ||
.link { | ||
font-size: 20px; | ||
font-size: 12px; | ||
text-decoration: none; | ||
color: #ba3cd0; | ||
transition: color 200ms ease-in-out; | ||
} | ||
.link:hover, | ||
.link:focus { | ||
color: #9c27b0; | ||
} | ||
|
||
.li { | ||
padding: 8px 16px; | ||
padding: 4px 12px; | ||
background-color: #ead7ed; | ||
border: 1px #9c27b0 solid; | ||
border-radius: 20px; | ||
} | ||
|
||
@media only screen and (min-width: 760px) { | ||
.list { | ||
gap: 40px; | ||
} | ||
.link { | ||
font-size: 20px; | ||
} | ||
.li { | ||
padding: 8px 16px; | ||
background-color: #ead7ed; | ||
border: 1px #9c27b0 solid; | ||
border-radius: 20px; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1200px) { | ||
.link { | ||
transition: color 200ms ease-in-out; | ||
} | ||
.link:hover, | ||
.link:focus { | ||
color: #9c27b0; | ||
} | ||
} |
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 |
---|---|---|
@@ -1,20 +1,83 @@ | ||
.buttonFilter { | ||
border-radius: 50%; | ||
border-radius: 50%; | ||
font-size: 16px; | ||
color: rgb(240, 27, 27); | ||
background-color: rgb(250, 181, 181); | ||
border: 1px red solid; | ||
width: 32px; | ||
height: 32px; | ||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | ||
cursor: pointer; | ||
margin-left: 10px; | ||
} | ||
|
||
.buttonEdit { | ||
border-radius: 50%; | ||
font-size: 16px; | ||
color: rgb(96, 96, 96); | ||
background-color: rgb(201, 201, 201); | ||
border: 1px rgb(87, 87, 87) solid; | ||
width: 32px; | ||
height: 32px; | ||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | ||
cursor: pointer; | ||
margin-left: 10px; | ||
} | ||
.input { | ||
font-size: 16px; | ||
} | ||
.buttons { | ||
display: flex; | ||
margin-top: 4px; | ||
gap: 12px; | ||
} | ||
.saveBtn { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background-color: transparent; | ||
border: 1px rgb(87, 87, 87) solid; | ||
width: 32px; | ||
height: 32px; | ||
font-size: 16px; | ||
border-radius: 50%; | ||
cursor: pointer; | ||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | ||
margin-top: 4px; | ||
} | ||
|
||
@media only screen and (min-width: 500px) { | ||
.input { | ||
font-size: 20px; | ||
} | ||
.buttonFilter, | ||
.buttonEdit, | ||
.saveBtn { | ||
font-size: 18px; | ||
color: rgb(240, 27, 27); | ||
background-color: rgb(250, 181, 181); | ||
border: 1px red solid; | ||
width: 40px; | ||
height: 40px; | ||
box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2); | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1200px) { | ||
.buttonFilter { | ||
transition: background-color 200ms ease-in-out, transform 200ms, | ||
box-shadow 200ms; | ||
margin-left: 10px; | ||
} | ||
.buttonFilter:hover, | ||
.buttonFilter:focus { | ||
transform: scale(1.1); | ||
background-color: rgb(246, 150, 150); | ||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); | ||
} | ||
} | ||
.buttonEdit { | ||
transition: background-color 200ms ease-in-out, transform 200ms, | ||
box-shadow 200ms; | ||
} | ||
.buttonEdit:hover, | ||
.buttonEdit:focus { | ||
transform: scale(1.1); | ||
background-color: rgb(173, 171, 171); | ||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); | ||
} | ||
} |
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.