-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
123 lines (107 loc) · 1.83 KB
/
main.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
font-family: 'Montserrat', sans-serif;
background-color: rgb(243, 243, 243);
}
.menu {
display: flex;
justify-content: space-between;
align-items: center;
padding: 40px;
height: 120px;
}
.menu button,
.note-panel .save,
.note-panel .cancel {
padding: 12px 25px;
background: none;
border: 1px solid #999;
border-radius: 5px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
}
.menu button:hover,
.note-panel .save:hover,
.note-panel .cancel:hover {
background-color: #333;
color: #ddd;
}
.icon {
margin-right: 10px;
}
.add {
margin-right: 20px;
}
.note-area {
display: flex;
align-items: start;
flex-wrap: wrap;
padding: 20px;
}
.note {
margin: 40px 20px;
width: 240px;
background-color: rgb(255, 243, 0);
border: 1px solid black;
}
.note-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: rgba(0, 0, 0, 0.06);
}
.note-header .delete-note {
background: none;
font-size: 20px;
border: none;
cursor: pointer;
}
.note-body {
padding: 20px 15px;
font-size: 14px;
}
.note-panel {
display: none;
justify-content: center;
align-items: center;
flex-direction: column;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 40px 0;
width: 600px;
background-color: #fff;
box-shadow: 0 0 10px black;
border-radius: 5px;
}
.note-panel h2 {
margin-bottom: 20px;
text-transform: uppercase;
}
.note-panel label {
margin-bottom: 10px;
}
.note-panel #text,
.note-panel #category {
margin-bottom: 20px;
padding: 10px 20px;
width: 100%;
max-width: 90%;
max-height: 600px;
font-size: 16px;
border-radius: 5px;
border: 1px solid black;
}
.note-panel .error {
margin-bottom: 20px;
color: red;
visibility: hidden;
}