blob: 3d721deba214aac4afd55d0cce31a7543a1a6173 (
plain)
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
|
body {
display: flex;
flex-direction: column;
align-items: stretch;
margin: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#errors {
position: fixed;
display: block;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: #f99;
border: 1px solid #922;
}
#errors p {
padding: 1ex 1em;
margin: 0;
}
#errors button {
display: block;
margin-left: auto;
margin-right: 5px;
margin-bottom: 5px;
}
#genome-history {
margin: 0;
overflow: scroll;
align-self: stretch;
flex-basis: 50%;
}
#instructions {
padding: 1ex;
margin: 0;
overflow: scroll;
flex-basis: 50%;
border-style: solid;
border-top-width: 1px;
border-left-width: 0;
border-right-width: 0;
border-bottom-width: 0;
}
#instructions .step {
padding: 5px;
}
#instructions .step {
display: none;
}
#instructions .step.current {
display: list-item;
}
#print-results.step.current {
display: block;
}
#die {
display: block;
float: right;
padding: 2ex;
}
#die .value {
padding-bottom: 1ex;
}
#nucleotide-selector {
position: relative;
white-space: nowrap;
padding: 0;
word-spacing: -6px; /* TODO: 0 doesn't work. And for some reason whitespace is being renderded between <li> elements? */
width: 8em; /* TODO: this shouldn't be hard coded. */
}
#nucleotide-selector li {
display: inline-block;
width: 2em;
flex-basis: 2em;
text-align: center;
padding-top: 1ex;
padding-bottom: 1ex;
}
.genome {
margin: 0.5ex;
}
.genome>ol {
display: inline-flex;
flex-wrap: wrap;
padding: 0;
}
.genome .nucleotide {
display: inline-block;
height: 32px;
width: 32px;
font-size: 18px;
text-align: center;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
}
.genome .nucleotide span {
display: inline-block;
padding-top: 5px;
padding-bottom: 5px;
}
|