diff --git a/src/App.js b/src/App.js index b5270bb..7f0fd44 100644 --- a/src/App.js +++ b/src/App.js @@ -79,7 +79,7 @@ function Handwrite() { handwrite logo -
+



diff --git a/src/Home.js b/src/Home.js index 402ea26..d9727b2 100644 --- a/src/Home.js +++ b/src/Home.js @@ -167,13 +167,13 @@ function Home(props) {
- {error.current} + {error.current}
sendImage(e)}>

-
+
{image[0] ?
Selected Form @@ -192,20 +192,39 @@ function Home(props) { : ""}
-
-

- -

-
- - -
-

- +
+

Font Settings

+ +
+ + +
+
+ + +
+
+ + +
+
+
+ +    + +
+

+
+ {/*

*/} + +

+ +
+
diff --git a/src/index.css b/src/index.css index 8573fd7..7477dc2 100644 --- a/src/index.css +++ b/src/index.css @@ -118,8 +118,8 @@ code { .image-container { display: flex; - height: 500px; - width: 390px; + height: 600px; + width: 400px; align-items: center; text-align: center; border-width: 1px; @@ -159,6 +159,103 @@ code { border-color: hsl(0, 0%, 21%); } +.settings-wrap{ + margin: 20px; + background-color: #fff; + width: 400px; + border-radius: 5px; + /* box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.2); */ +} + +.settings-wrap h2{ + margin-top: 10px; + text-align: center; + font-weight: 500; + color: black; + margin-bottom: 32px; +} + +.input-wrap{ + display: flex; + flex-direction: column; + margin: 15px 0; +} + +.form-label{ + font-size: 20px; + margin-bottom: 3px; +} + +.form-input{ + border: none; + background-color: #f3f9fa;; + border-radius: 5px; + padding: 12px; + font-family: inherit; + color: inherit; + outline: none; + border: 1px solid rgba(0, 0, 0, 0); + box-shadow: 0 0 5px rgba(0, 0, 0, 0); + transition: 250ms all ease-in; +} + +.form-input:hover { + border: 1px solid rgba(203, 235, 242, 0.987); + box-shadow: 0 0 5px rgba(203, 235, 242, 0.987); + background: white; + } + +.form-input:focus { + border: 1px solid rgba(173, 217, 226, 0.987); + box-shadow: 0 0 5px rgba(97, 212, 238, 0.987); + background: white; + } + +.form-check-input { + height: 0; + width: 0; + visibility: hidden; +} + +.form-check-toggle { + cursor: pointer; + text-indent: 9999px; + width: 40px; + height: 25px; + background: grey; + border-radius: 100px; + position: relative; +} + +.form-check-toggle:after { + content: ''; + position: absolute; + top: 5px; + left: 5px; + width: 15px; + height: 15px; + background: #fff; + border-radius: 90px; + transition: 0.3s; +} + +.form-check-input:checked + .form-check-toggle { + background: #33a9e9; +} + +.form-check-input:checked + .form-check-toggle:after { + left: calc(100% - 5px); + transform: translateX(-100%); +} + +.form-check-toggle:active:after { + width: 22px; +} + +.form-check { + text-align: right; +} + .divider { color: rgb(61, 61, 61); background-color: rgb(61, 61, 61);