-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
153 lines (128 loc) · 2.33 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
:root {
--royal-purple: #6d4ea5ff;
--medium-slate-blue: #a060f9ff;
--eerie-black: #191919ff;
--dim-gray: #6c756bff;
--yellow-green: #98ce00ff;
}
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
max-width: 1000px;
margin: auto;
}
.container {
width: 100%;
margin: 40px auto 10px;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135 , 0.3);
border-radius: 10px;
border: 1px solid black;
}
h1{
font-size: 2rem;
margin-bottom: 30px;
}
.input-box{
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: 40px;
}
.input-box input {
margin-right : 10px;
width: 100%;
border: 1px solid #6c756bff;
border-radius: 5px;
padding: 10px;
color: grey;
}
.input-box:focus{
outline: none;
border-width: 2px;
}
button {
background-color: var(--medium-slate-blue);
border: none;
cursor: pointer;
padding: 10px 15px;
border-radius: 5px;
}
button:hover {
opacity: 0.8;
}
.functions{
width: 100%;
display: flex;
justify-content: space-between;
}
#delete-all-button{
background-color: rgb(207, 35, 35);
}
table{
/* max-width: 100%; */
overflow: scroll;
}
thead{
background-color: #6c756bff;
}
thead th{
padding: 10px;
}
thead th:first-child{
border-top-left-radius: 10px;
}
thead th:last-child{
border-top-right-radius: 10px;
}
tbody td{
background-color: rgb(177, 166, 199);
padding: 5px 10px;
text-align: center;
}
tbody td button {
padding: 4px 8px;
margin: 2px 5px;
}
tbody td button:nth-child(1){
background-color: rgb(74, 238, 88);
}
tbody td button:nth-child(2){
background-color: rgb(240, 252, 3);
}
tbody td button:nth-child(3){
background-color: rgb(230, 18, 18);
}
#alert-message {
width: 100%;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
margin: 10px 0;
}
.alert {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
border-radius: 9px;
padding: 2px;
}
.alert-success{
width: 100%;
height: 40px;
background-color: greenyellow;
}
.alert-error{
width: 100%;
height: 40px;
background-color: rgb(229, 110, 110);
}