-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
135 lines (125 loc) · 2.68 KB
/
styles.css
File metadata and controls
135 lines (125 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
*{
margin: 0;
padding: 0;
font-family: 'poppins', sans-serif;
box-sizing: border-box;
/* background: rgba(76, 21, 50, 1); */
}
.container{
width: 100%;
min-height: 100vh;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
padding: 10px;
}
.todo-app{
width:100%;
max-width:540px;
background: #ffffff;
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
border: 1px solid rgba(255, 255, 255, 0.18);
margin:100px auto 20px;
padding: 40px 30px 50px;
border-radius: 8px;
}
.todo-app h2{
text-align: center;
margin-bottom: 30px;
color: #2c3e50;
font-weight: 600;
letter-spacing: -0.5px;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
background: #f8f9fa;
border: 2px solid #e9ecef;
transition: all 0.3s ease;
border-radius: 20px;
padding-left: 15px;
margin-bottom:20px;
}
input{
flex:1;
border:none;
outline:none;
background:transparent;
padding:10px;
}
button{
padding:10px 20px;
border:none;
border-top-right-radius:15px;
border-bottom-right-radius:15px;
background: #6c757d;
color:#fff;
font-size:16px;
cursor:pointer;
transition: all 0.3s ease;
}
button:hover {
background: #5a6268;
transform: translateY(-1px);
}
ul li {
list-style:none;
font-size:18px;
user-select:none;
cursor:pointer;
padding:12px 8px 12px 50px;
position: relative;
}
ul li:before {
content: '';
position: absolute;
border-radius: 50%;
background: #6c757d;
background-image: url('https://img.icons8.com/?size=100&id=78597&format=png&color=000000');
background-size: cover ;
background-position: center;
margin-left: -35px;
height: 28px;
width: 28px;
}
ul li.checked {
text-decoration: line-through;
color: #888;
text-decoration-thickness: 2px;
}
ul li.checked:before {
background: #28a745;
background-image: url('https://img.icons8.com/?size=100&id=102545&format=png&color=000000');
background-size: cover ;
background-position: center;
}
ul li span{
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
width: 30px;
height: 30px;
color: #404040ff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
font-weight: bold;
cursor: pointer;
}
.container.alert-container {
display:none;
position:fixed;
top:50%;
left:50%;
transform:translate(-50%, -50%);
background:white;
padding:20px;
border-radius:10px;
box-shadow:0 0 10px rgba(0,0,0,0.3);
}
ul li span:hover {
background: #ff4d4d;
color: #fff;
}