-
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.
Field color change triggered by mistake
- Loading branch information
1 parent
57f8eda
commit ff0fbc7
Showing
6 changed files
with
95 additions
and
28 deletions.
There are no files selected for viewing
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
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,38 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
|
||
const ErrorBanner = styled.div` | ||
background: #E85C4A; | ||
display: flex; | ||
width: 339px; | ||
height: 80px; | ||
color: #E11900; | ||
font-size: 14px; | ||
font-weight: 400; | ||
border-radius: 16px; | ||
& img{ | ||
position: relative; | ||
height: 24px; | ||
width: 24px; | ||
left: 20px; | ||
top: 20px | ||
} | ||
& div{ | ||
top: 6px; | ||
left: 28px; | ||
width: 300px; | ||
position: relative; | ||
color: white; | ||
} | ||
` | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
export default ErrorBanner |
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,24 +1,32 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
import {App} from "../App"; | ||
import {Simulate} from "react-dom/test-utils"; | ||
|
||
const InputText = styled.input` | ||
background: #F4F4F4 !important; | ||
background: #F4F4F4; | ||
height: 36px; | ||
width: 100%; | ||
border-radius: 4px; | ||
border: none ; | ||
padding-left: 16px; | ||
font-weight: 500; | ||
&.inValid{ | ||
background-color: #FFEFED; | ||
border: none; | ||
outline: 2px solid #E85C4A; | ||
} | ||
` | ||
|
||
|
||
|
||
//background: #F4F4F4; | ||
/// &:focus{ | ||
// outline: none; | ||
// border: 2px solid red; | ||
// } | ||
|
||
|
||
export default InputText | ||
export default InputText; |
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