-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.css
165 lines (163 loc) · 2.57 KB
/
admin.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
:root {
--Primary-color: #ff6300;
--secondary-color: #ffcfb0;
}
.grid-container {
display: grid;
grid-template-columns: 1fr 5fr;
grid-template-rows: 50px 1fr;
grid-template-areas: "sidebar header" "sidebar main";
height: 100vh;
}
.header {
grid-area: header;
}
.aside {
grid-area: sidebar;
}
.sidebar {
display: flex;
}
.sidenav {
position: relative;
top: 0;
bottom: 0;
height: 100vh;
left: 0;
background: #fff;
width: 200px;
overflow: hidden;
box-shadow: 4px 0 20px rgb(0 0 0/20%);
}
.logo {
text-align: center;
display: flex;
margin: 30px 0 0 10px;
}
a {
font-size: 20px;
display: flex;
align-items: center;
width: 200px;
padding: 10px;
text-decoration: none;
color: #000;
font-weight: 400;
gap: 1rem;
}
.logout {
position: absolute;
bottom: 0;
left: 0;
}
a:link {
color: #000;
text-decoration: none;
}
a:visited {
color: #000;
}
a:hover {
color: var(--secondary-color);
font-weight: bold;
}
a:active {
background-color: var(--Primary-color);
font-style: italic;
}
.heading {
margin: 50px auto;
text-align: left;
}
.main-container {
grid-area: main;
}
.main-container {
grid-area: main;
overflow-y: auto;
padding: 20px 20px;
}
.input-field {
width: 70%;
background-color: #d9d9d9;
padding: 1.6rem;
margin: 1.6rem 0;
text-align: center;
}
table {
width: 900px;
background-color: #fff;
border: 1px solid #000;
border-collapse: collapse;
}
/* thead tr th {
font-weight: 400;
padding: 16px 24px;
} */
/* tbody tr:nth-child(odd) {
background-color: #f8f9fa;
}
tbody tr:nth-child(even) {
background-color: #e9ecef;
}
*/
td {
border: 1px solid #000;
padding: 16px 24px;
}
.main-content {
width: 500px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19);
}
/* text editor */
.text-editor-header {
background-color: #ecf0f1;
padding: 5px;
}
.text-editor-header .btns {
border: none;
outline: none;
background-color: transparent;
margin-right: 5px;
cursor: pointer;
}
/* content */
.content {
min-height: 100px;
border: 1px solid #ecf0f1;
border-radius: 5px;
border-top: 0;
padding: 20px;
margin-bottom: 20px;
}
.btn {
display: inline-block;
padding: 13px 20px;
background: var(--Primary-color);
color: #333;
font-weight: 600;
text-decoration: none;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.5s;
margin: 20px;
}
.icon {
padding: 0 10px;
}
.edit-icon {
color: #087f5b;
}
.trash-icon {
color: rgb(207, 31, 31);
}
.reply-icon {
color: rgb(21, 21, 131);
}