summaryrefslogtreecommitdiff
path: root/src/ui/prompt.css
blob: abada75959176aafd1dd34276fafabb33878b8c8 (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

body {
  bottom: 8px;
  font-family: sans-serif;
  font-size: 12px;
  color: #222;
  margin: 0px;
  padding: 8px;
}

#header {
  text-align: left;
  margin: 0;
  line-height: 24px;
  color: #048;
  position: relative;
  font-size: 24px;
  z-index: 500;
  padding: 8px;
  display: block;
  background: url(/img/icon96.png) no-repeat top right;
  height: 96px;
}

#title {
  margin-right: 96px;
  font-size: 24px;
  position: absolute;
  bottom: 0;
  top: 0;
}

#main {
  background: linear-gradient(to bottom, #e4f5fc 0%,#bfe8f9 41%,#9fd8ef 90%,#2ab0ed 100%) no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 16px 16px 16px;
  top: 0;
  left: 0;
  right:0;
  bottom: 0;
  position: fixed;
  justify-content: center;
}
#message {
  flex-grow: 1;
  width: 100%;
  max-height: 300px;
  padding: 8px;
  text-align: center;
}
#message.multiline {
  overflow: auto;
  font-size: 12px;
  text-align: justify;
  margin-bottom: 16px;
  background: rgba(255,255,255,.5);
}
#message.multiline p {
  margin: 1px;
  padding: 0;
}
#options {
  display: flex;
  flex-grow: 2;
  flex-direction: column;
  text-align: left;
  align-items:baseline;
  justify-content: center;
}


#checks {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.choices div {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}
.choices label {
  display: block;
  padding-bottom: .5em;
  word-break: break-all;
}

#buttons {
  width: 100%;
  display: flex;
  flex-grow: 0;
  flex-direction: row;
  align-items: center;
  margin: 8px;
  justify-content: space-around;
}
#buttons button {
  min-width: 100px;
}