-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
224 lines (180 loc) · 3.59 KB
/
main.css
File metadata and controls
224 lines (180 loc) · 3.59 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
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
* {
font-family: 'Source Sans Pro', sans-serif;
background: #fffffc;
}
body,
html {
box-sizing: border-box;
height: 100vh;
}
body {
margin: 0;
display: grid;
grid-template-columns: 100%;
grid-template-rows: 6% auto auto auto 4%;
grid-template-areas:
"sidebar"
"sect1"
"sect2"
"sect3"
"footer";
}
header {
grid-area: header;
background-color: #fffffc;
}
nav {
grid-area: sidebar;
background-color: #494949;
z-index: 1;
}
section.section-users {
grid-area: sect1;
margin: 4% 6%;
}
section.section-categories {
grid-area: sect2;
margin: 4% 6%;
}
section.section-overview {
grid-area: sect3;
margin: 4% 6%;
}
footer {
grid-area: footer;
}
@media only screen and (min-width: 800px) {
body {
margin: 0;
display: grid;
grid-template-columns: auto 30% 24% 36%;
grid-template-rows: 4% auto 4%;
grid-template-areas:
"sidebar header header header"
"sidebar sect1 sect2 sect3"
"sidebar footer footer footer";
}
nav {
padding-top: 70%;
margin-right: 2%;
}
section.section-overview {
grid-area: sect3;
margin-right: 8%;
}
}
/* For styling each induvidual section */
section {
background: #fff;
box-shadow: 0px 16px 24px rgba(6, 12, 22, .2);
border-radius: 4px;
}
section h3 {
padding: 22px;
font-size: 20px;
text-align: center;
}
.section-users .box-header,
.section-categories .box-header,
.section-overview .box-header {
background-color: #ff6f97;
color: #fffffc;
border-radius: 4px 4px 0 0;
}
.section-categories .box-header {
background-color: #ea3788;
}
.section-overview .box-header {
background-color: #d81159;
}
/* Registered Users and Categories */
.list-section ul li,
.list-section1 ul li,
.list-section-overview ul li {
padding: 10px 12px;
background: #fff;
border-radius: 3px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
/* First and last name of members */
.list-section ul li h4 {
display: inline;
padding-right: 5px;
font-size: 16px;
}
/* Email of members */
.list-section ul li p {
padding-top: 4px;
font-size: 13px;
color: #494949;
}
/* Area around list items - expands /w more list items. Keep BG-color same as color of section */
ul {
margin: 0;
padding: 10px;
background: #fffffc;
list-style: none;
}
ul li {
margin: 10px;
list-style: none;
background: #eee;
font-size: 16px;
}
/* Color of the top-borders in members area */
.list-section ul li {
border-top: 5px solid #ff6f97;
}
/* Blir fargesatt av bruker når det legges inn kategori */
.list-section1 ul li {
border: 1px solid;
border-left: 22px solid;
margin-top: 14px;
padding: 16px;
font-size: 18px;
font-weight: 600;
}
/* Overview section */
.list-section-overview ul li {
border-top: 5px solid #d81159;
}
#ovList li {
font-size: 14px;
}
#ovList li h1 {
font-size: 18px;
}
/* Add new member and category buttons */
button {
margin-left: 10px;
}
.create-new {
padding: 10px;
vertical-align: middle;
}
.fa-plus-circle {
cursor: pointer;
border: none;
color: #f72585;
text-decoration: none;
font-size: 28px;
}
.fa-plus-circle span {
vertical-align: middle;
color: #494949;
margin-left: 12px;
font-size: 14px;
font-weight: 500;
}
#imagePrev {
height: 20px;
width: 20px;
position: relative;
left: 300px;
}
img {
height: 20px;
width: 20px;
position: relative;
left: 300px;
}