-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
180 lines (153 loc) · 3.2 KB
/
style.css
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
body {
max-width: 80vw;
margin: 0 auto;
padding: 20px;
background-color: #F0F0F0;
color: #333;
font-family: Arial, sans-serif;
}
header {
text-align: center;
margin-bottom: 20px;
}
h1 {
font-size: 2em;
color: #0056b3; /* 제목에 색상을 추가하여 강조 */
}
form {
display: flex;
flex-direction: column;
margin-bottom: 20px;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
form label {
margin-bottom: 5px;
font-weight: bold;
color: #333;
}
form input[type="text"],
form input[type="datetime-local"] {
margin-bottom: 15px;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
transition: border-color 0.3s, box-shadow 0.3s;
}
form input[type="text"]:focus,
form input[type="datetime-local"]:focus {
border-color: #007bff;
box-shadow: 0 0 8px rgba(0, 123, 255, 0.3); /* 포커스 상태에서 그림자 추가 */
}
form button {
padding: 12px;
font-size: 16px;
background-color: #0056b3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
form button:hover {
background-color: #003d80;
transform: translateY(+2px); /* 호버 시 버튼이 살짝 올라가는 효과 추가 */
}
form button:active {
transform: translateY(-1px); /* 클릭 시 버튼이 살짝 눌리는 효과 추가 */
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
margin-bottom: 10px;
padding: 10px 15px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
transition: transform 0.2s, background-color 0.3s;
}
ul li:hover {
transform: scale(1.02);
background-color: #f9f9f9;
}
ul li span {
flex-grow: 1;
margin-left: 10px;
font-size: 16px;
word-break: keep-all;
}
ul li button {
margin-left: 10px;
padding: 5px 10px;
border: none;
border-radius: 4px;
background-color: #f0f0f0;
cursor: pointer;
transition: background-color 0.3s;
}
ul li button:hover {
background-color: #e0e0e0;
}
ul li input[type="checkbox"] {
transform: scale(1.4);
margin-right: 10px;
}
/* ul li input[type="text"],
ul li input[type="datetime-local"] {
font-size: 14px;
padding: 8px;
} */
.counter {
text-align: center;
font-size: 18px;
margin-top: 20px;
background-color: #0056b3;
color: white;
padding: 10px;
border-radius: 8px;
}
.counter span {
display: inline-block;
margin-right: 10px;
}
#msgError {
color: #cc0000;
margin-top: 20px;
text-align: center;
}
#editTodo,
#editAlarm,
#editTag {
/* padding: 0; */
/* margin: 0; */
font-size: 1rem;
height: 1.2rem;
width: 400px;
}
.edit-buttons {
display: flex;
align-items: center;
justify-content: center;
}
.dragging {
opacity: 0.5;
background-color: #f0f0f0;
}
li {
transition: transform 0.2s ease-in-out;
}
li.dragging {
transform: scale(1.05);
}
input:disabled {
background-color: #cecece;
cursor: not-allowed;
}