-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
110 lines (78 loc) · 1.42 KB
/
style.scss
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
html, body {
--border-color: #666;
height: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
}
div, label, p, input, button {
font-family: "open sans", arial, sans-serif;
font-size: 14px;
margin: 0;
}
#main {
display: flex;
flex-direction: column; // stack form + content + summary vertically
height: 100%;
width: 70%;
min-width: 700px;
max-width: 1000px;
margin: 0 auto;
padding: 0;
}
#header {
flex: 0;
.search-options {
display: flex;
margin: 10px 0;
div {
margin-right: 10px;
}
input, label {
padding: 10px;
}
}
.search-entry {
margin-bottom: 10px;
input {
padding: 3px 15px;
}
}
}
#results {
flex: 1;
overflow: auto;
border: 1px solid var(--border-color);
&.errorState {
padding-top: 30px;
text-align: center;
color: red;
}
.country {
display: flex;
background-color: hsl(196, 50%, 95%);
border-bottom: 1px solid var(--border-color);
}
.label { font-weight: bold;}
.flex { padding: 10px 20px; }
.flex2 { width: 10%; }
.flex4 { width: 40%; }
.flex2 img {
width: 100%;
height: auto;
}
}
#summary {
flex: 0;
padding: 20px 10px;
border-color: var(--border-color);
border-style: solid;
border-width: 0 1px;
background-color: hsl(196, 70%, 80%);
p {
display: inline-block;
&.label {
font-weight: bold;
}
}
}