forked from IMQS/onboard-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstylesheet.css
More file actions
93 lines (81 loc) · 1.6 KB
/
stylesheet.css
File metadata and controls
93 lines (81 loc) · 1.6 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
width: 100vw;
height: 100vh;
min-width: 600px;
overflow: hidden;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
}
.parentContainer {
display: block;
width: 100%;
height: 100%;
}
.myGrid {
display: block;
width: 100%;
height: 83.33%; /* (100% * 5 / 6)*/
text-align: center;
}
.controls {
display: block;
width: 100%;
height: 16.67%; /* (100% * 1 / 6)*/
position: fixed;
bottom: 0px;
}
.form-grid {
display: flex;
width: 100%;
height: 50%;
align-items: center;
background-color: #4CAF50;
}
#searchForm {
display: flex;
width: 100%;
justify-content: center;
border-radius: 2px;
color: white;
}
.control-grid {
display: flex;
width: 100%;
height: 50%;
}
#next, #prev {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
display: inline-block;
width: 50%;
height: 100%;
background-color: #4CAF50;
border-radius: 2px;
color: white;
text-decoration: none;
}
.odd-item {
background-color: #D3D3D3;
}
.searched-item {
background-color: #FF4D4D;
}
.grid-header {
color: white;
display: inline-block;
width: 9.09%; /* (100% / 11 columns)*/
border: 1px solid black;
background-color: #4CAF50;
}
.grid-item {
border: 1px solid #A9A9A9;
display: inline-block;
width: 9.09%; /* (100% / 11 columns)*/
/* The property below causes text to overflow over cells but keeps the cell width equal for me. Had to be done. */
white-space: nowrap;
}