-
Notifications
You must be signed in to change notification settings - Fork 816
/
Copy pathstyles.module.css
75 lines (70 loc) · 1.42 KB
/
styles.module.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
$dominantColor: #1BCAFF;
$listColor: #333;
$textColor: #333;
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
html, body {
height: 100%;
margin: 0;
padding: 0;
}
.container {
font-family: 'Open Sans', sans-serif;
font-weight: lighter;
}
.header {
font-size: 0.5em;
background: color($dominantColor a(80%));
padding: 10px;
margin: 0;
color: $textColor;
text-align: center;
border-bottom: 2px solid color($dominantColor blackness(40%));
}
.wrapper {
display: flex;
flex-direction: row;
position: relative;
min-height: 100vh;
.list {
flex: 1;
order: 1;
margin: 0;
padding: 0;
background: color($listColor lightness(25%));
border-right: 2px solid color($dominantColor blackness(40%));
ul {
font-size: 1.5em;
padding: 0;
margin: 0;
a {
color: color($textColor contrast(60%));
text-decoration: none;
}
.active {
color: color($textColor contrast(90%));
li {
background: color($listColor a(80%));
}
}
li {
list-style-type: none;
padding: 10px 20px;
&:hover {
background: color($dominantColor a(20%));
}
}
}
}
.content {
flex: 3;
order: 2;
position: relative;
min-height: 100%;
display: flex;
flex-direction: column;
.mapContainer {
flex: 1;
position: relative;
}
}
}