Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
Todo-Storybook
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Madhankumar
Todo-Storybook
Commits
a3281ff0
Commit
a3281ff0
authored
Sep 25, 2023
by
Madhankumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
design bug fix
parent
47347e1f
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
80 additions
and
49 deletions
+80
-49
db.json
db.json
+43
-2
checkbox.css
src/components/base/checkbox/checkbox.css
+4
-6
input.css
src/components/base/input/input.css
+5
-5
index.js
src/components/base/layout/index.js
+2
-2
layout.css
src/components/base/layout/layout.css
+6
-16
form.css
src/components/top-level/form/form.css
+1
-1
task.css
src/components/top-level/task/task.css
+4
-3
tasks.css
src/components/top-level/tasks/tasks.css
+8
-13
index.css
src/index.css
+7
-1
No files found.
db.json
View file @
a3281ff0
{
{
"task"
:
[
"task"
:
[
{
{
"title"
:
"
12223
"
,
"title"
:
"
This HTML file is a template.
"
,
"isCompleted"
:
false
,
"isCompleted"
:
false
,
"id"
:
1
"id"
:
2
},
{
"title"
:
"This HTML file is a template. "
,
"isCompleted"
:
true
,
"id"
:
4
},
{
"title"
:
"hello"
,
"isCompleted"
:
false
,
"id"
:
5
},
{
"title"
:
"cscdcv"
,
"isCompleted"
:
false
,
"id"
:
6
},
{
"title"
:
"vdvdcv"
,
"isCompleted"
:
false
,
"id"
:
7
},
{
"title"
:
"vdvdv"
,
"isCompleted"
:
false
,
"id"
:
8
},
{
"title"
:
"ddvdvd"
,
"isCompleted"
:
true
,
"id"
:
9
},
{
"title"
:
"dvdvdvd"
,
"isCompleted"
:
false
,
"id"
:
10
},
{
"title"
:
"wwww"
,
"isCompleted"
:
false
,
"id"
:
11
}
}
]
]
}
}
\ No newline at end of file
src/components/base/checkbox/checkbox.css
View file @
a3281ff0
input
[
type
=
"checkbox"
]
{
input
[
type
=
"checkbox"
]
{
height
:
20px
;
height
:
20px
;
width
:
25px
;
width
:
25px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.checkbox-bg
{
.checkbox-bg
{
background
:
white
;
background
:
white
;
}
}
src/components/base/input/input.css
View file @
a3281ff0
input
[
type
=
"text"
]
{
input
[
type
=
"text"
]
{
width
:
100%
;
width
:
100%
;
padding
:
1rem
1.5rem
;
padding
:
1rem
1.5rem
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
font-size
:
18px
;
font-size
:
18px
;
outline
:
none
;
outline
:
none
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0.12
)
0px
2px
4px
0px
inset
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0.15
)
0px
2px
4px
0px
inset
;
border-radius
:
5px
;
border-radius
:
5px
;
}
}
src/components/base/layout/index.js
View file @
a3281ff0
...
@@ -4,9 +4,9 @@ function Layout({ count, ...props }) {
...
@@ -4,9 +4,9 @@ function Layout({ count, ...props }) {
return
(
return
(
<
div
className
=
"container"
>
<
div
className
=
"container"
>
<
h
1
>
<
h
2
>
You
have
{
count
}
{
todoCount
}
You
have
{
count
}
{
todoCount
}
<
/h
1
>
<
/h
2
>
{
/* inner section that contain (tasklist and forms) */
}
{
/* inner section that contain (tasklist and forms) */
}
<
div
{...
props
}
><
/div
>
<
div
{...
props
}
><
/div
>
<
/div
>
<
/div
>
...
...
src/components/base/layout/layout.css
View file @
a3281ff0
.container
{
.container
{
min-height
:
40
dvh
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0.09
)
0px
3px
12px
;
margin-inline
:
auto
;
background
:
white
;
background
:
white
;
min-height
:
40vh
;
position
:
relative
;
}
}
.container
h
1
{
.container
h
2
{
box-shadow
:
rgba
(
0
,
0
,
0
,
0.0
4
)
0px
3px
5px
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0.0
8
)
0px
3px
5px
;
border
:
none
;
text-shadow
:
0px
1px
,
1px
0px
,
1px
1px
;
text-align
:
center
;
text-align
:
center
;
padding
:
1.3rem
0px
;
padding
:
1.3rem
0px
;
margin
:
0
;
margin
:
0
;
position
:
relative
;
font-size
:
25px
;
z-index
:
1
;
}
h3
{
margin-left
:
1rem
;
height
:
200px
;
text-align
:
center
;
}
}
@media
screen
and
(
min-width
:
1024px
)
{
@media
screen
and
(
min-width
:
1024px
)
{
.container
{
.container
{
min-width
:
40
dvw
;
min-width
:
40
dvw
;
...
...
src/components/top-level/form/form.css
View file @
a3281ff0
.form-section
{
.form-section
{
padding
:
1rem
;
padding
:
1
.5
rem
;
background
:
white
;
background
:
white
;
}
}
.form-section
form
{
.form-section
form
{
...
...
src/components/top-level/task/task.css
View file @
a3281ff0
.task-section
{
.task-section
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
0.
5rem
1rem
0.4rem
1
rem
;
padding
:
0.
3rem
1.4
rem
;
justify-content
:
space-between
;
justify-content
:
space-between
;
border-top
:
1
px
solid
#ccc
;
border-top
:
1
.5px
solid
#e0e0e0
;
/* box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset; */
/* box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset; */
clip-path
:
inset
(
0
-100vmax
);
clip-path
:
inset
(
0
-100vmax
);
...
@@ -40,8 +40,9 @@ input:focus {
...
@@ -40,8 +40,9 @@ input:focus {
top
:
10px
;
top
:
10px
;
margin-left
:
0.4rem
;
margin-left
:
0.4rem
;
font-size
:
17px
;
font-size
:
17px
;
color
:
#
8e8d8d
;
color
:
#
504e4e
;
font-family
:
"Open Sans"
,
sans-serif
;
font-family
:
"Open Sans"
,
sans-serif
;
font-weight
:
500
;
}
}
.task-section
textarea
::-webkit-scrollbar
{
.task-section
textarea
::-webkit-scrollbar
{
...
...
src/components/top-level/tasks/tasks.css
View file @
a3281ff0
.tasks
{
.tasks
{
box-shadow
:
rgba
(
9
,
30
,
66
,
0.25
)
0px
1px
1px
,
rgba
(
9
,
30
,
66
,
0.13
)
0px
0px
1px
1px
;
box-shadow
:
rgba
(
9
,
30
,
66
,
0.25
)
0px
1px
1px
,
rgba
(
9
,
30
,
66
,
0.13
)
0px
0px
1px
1px
;
background
:
white
;
background
:
white
;
padding
:
1rem
;
padding
:
1rem
;
}
}
.tasks
.task-section
{
.tasks
.task-section
{
margin
:
0.20
rem
;
margin
:
0.2
rem
;
box-shadow
:
rgba
(
50
,
50
,
105
,
0.15
)
0px
2px
5px
0px
,
rgba
(
0
,
0
,
0
,
0.05
)
0px
1px
1px
0px
;
box-shadow
:
rgba
(
50
,
50
,
105
,
0.15
)
0px
2px
5px
0px
,
rgba
(
0
,
0
,
0
,
0.05
)
0px
1px
1px
0px
;
}
}
.fa-close
{
.fa-close
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.tasklist
{
overflow
:
auto
;
height
:
240px
;
}
\ No newline at end of file
src/index.css
View file @
a3281ff0
...
@@ -2,8 +2,12 @@
...
@@ -2,8 +2,12 @@
@import
url("https://fonts.googleapis.com/css2?family=Open+Sans&family=PT+Sans&display=swap")
;
@import
url("https://fonts.googleapis.com/css2?family=Open+Sans&family=PT+Sans&display=swap")
;
html
{
scroll-behavior
:
smooth
;
}
body
{
body
{
margin
:
0
;
margin
:
0
;
padding
:
0
;
font-family
:
"Open Sans"
,
sans-serif
;
font-family
:
"Open Sans"
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
...
@@ -17,8 +21,10 @@ body {
...
@@ -17,8 +21,10 @@ body {
-webkit-linear-gradient
(
0deg
,
rgba
(
0
,
0
,
0
,
0.1
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
white
-webkit-linear-gradient
(
0deg
,
rgba
(
0
,
0
,
0
,
0.1
)
0%
,
rgba
(
0
,
0
,
0
,
0.1
)
50%
,
white
50%
,
white
100%
);
50%
,
white
100%
);
background-size
:
0.2em
0.2em
;
background-size
:
0.2em
0.2em
;
height
:
100vh
;
min-height
:
100
dvh
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
box-sizing
:
border-box
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment