-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(home page): changes home page inputs and cards (#26)
changes appearance of cards and inputs on the home page accordingly with figma references closes #25 Co-authored-by: Asman Umbetov <[email protected]>
- Loading branch information
Showing
19 changed files
with
263 additions
and
161 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,48 @@ | ||
@tailwind components; | ||
|
||
@layer components { | ||
.btn-primary { | ||
& button { | ||
@apply bg-primary-emphasis text-white; | ||
} | ||
&:hover { | ||
& .upper-side, .right-side { | ||
@apply bg-secondary-dark transition-all; | ||
} | ||
} | ||
} | ||
|
||
.btn-secondary { | ||
& button { | ||
@apply bg-secondary-light text-primary-emphasis; | ||
} | ||
&:hover { | ||
& .upper-side, .right-side { | ||
@apply bg-primary-emphasis transition-all; | ||
} | ||
} | ||
} | ||
|
||
.btn-base { | ||
& > .upper-side { | ||
@apply border border-black border-solid border-b-0 border-r-0; | ||
transform: skewX(135deg) translateX(11px); | ||
height: 22px; | ||
width: calc(100% - 22px); | ||
} | ||
|
||
& .right-side-container { | ||
@apply flex flex-row; | ||
} | ||
|
||
& .right-side { | ||
@apply border border-black border-solid border-l-0; | ||
transform: skewY(135deg) translateY(-11px); | ||
width: 24px; | ||
} | ||
|
||
& button { | ||
@apply outline-0 text-2xl px-6 py-3 block w-full p-2.5 border border-solid border-black; | ||
} | ||
} | ||
} |
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,34 @@ | ||
|
||
@tailwind components; | ||
|
||
@layer components { | ||
.text-input { | ||
& > .upper-side { | ||
@apply border border-solid border-grey; | ||
transform: skewX(135deg) translateX(12px) translateY(1px); | ||
height: 22px; | ||
width: calc(100% - 22px); | ||
} | ||
|
||
& .right-side-container { | ||
@apply flex flex-row; | ||
} | ||
|
||
& .right-side { | ||
@apply border border-solid border-grey; | ||
transform: skewY(135deg) translateY(-11px) translateX(-1px); | ||
width: 23px; | ||
} | ||
|
||
& input { | ||
@apply border border-solid border-grey text-2xl px-6 py-3 block w-full p-2.5 box-border text-center outline-none transition-all; | ||
} | ||
} | ||
|
||
.text-input-danger { | ||
& input { | ||
@apply shadow-danger placeholder-danger focus:shadow-danger; | ||
} | ||
} | ||
|
||
} |
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.