forked from Ada-C9/trek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
141 lines (115 loc) · 2.19 KB
/
index.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
body, .button {
font-family: 'Karla', sans-serif;
}
main {
display: grid;
grid-template-columns: 50% 1fr;
grid-template-rows: 5vh 50vh 1fr;
grid-column-gap: 1em;
}
h1 {
font-size: 2.25rem;
margin-top: 4px;
margin-bottom: 4px;
}
header > h1, h3 {
font-family: 'Permanent Marker', cursive;
}
.button {
width: 8rem;
height: 2rem;
font-size: 1rem;
background-color: white;
border-color: rgb(64, 96, 119);
}
.button:focus {
outline: none;
}
.button:hover {
background-color: rgb(240, 216, 232);
}
.header-background {
min-height: 0.9vh;
background-image: url('space-background.jpeg');
}
.trip-table, #trip-info {
overflow-x: scroll;
}
.trip-table {
max-height: 75vh;
margin-top: 2vh;
}
#status-message {
grid-column: 1 / span 2;
}
.success {
color: rgb(38, 175, 11);
}
.failure {
color: rgba(218, 52, 52, 0.65);
}
#current-trips {
grid-row: 2 / span 2;
}
#trip-info {
grid-column-start: 2;
}
#trip-list {
width: 100%;
}
#trip-list td {
cursor: pointer;
}
#trip-list tr:nth-child(odd) {
background-color: rgba(147, 147, 147, 0.16);
}
#trip-form {
grid-column-start: 2;
grid-row-start: 3;
}
#trip-form .button {
margin-top: 2vh;
}
#search-filters {
display: inline;
}
i {
border: solid black;
border-width: 0 1px 1px 0;
display: inline-block;
padding: 3px;
margin-bottom: 3px;
margin-left: 5px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
/* DROPDOWN */
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content p {
color: black;
padding: 10px 16px;
text-decoration: none;
display: block;
margin-bottom: 0;
margin-top: 0
}
/* Change color of dropdown links on hover */
.dropdown-content p:hover {background-color: rgb(240, 216, 232)}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
display: block;
}