summaryrefslogtreecommitdiffstats
path: root/comm/chat/themes/otrFingerprintDialog.css
blob: d22a2a2375b22a8204a4fd024e02c8cf9dd4ee6a (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

:root {
  --text-color: #36385A;
  --primary-color: #0a84ff;
  --warning-color: #FF9400;
  --error-color: #5A0002;
}

body {
  margin: 0;
}

dialog {
  width: 100vw;
  height: 100vh;
}

.label-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--text-color);
}

.msg-error {
  color: var(--error-color);
}

/* Form and input fields */

.form-control {
  position: relative;
  margin: 0;
}

.input-control {
  display: flex;
  align-items: stretch;
}

.input-field {
  padding-block: 5px;
  padding-inline: 6px 30px;
  flex-grow: 1;
  margin: 2px 4px;
}

.input-field:invalid {
  box-shadow: 0 0 2px 1px var(--warning-color);
}

.input-helper {
  font-family: monospace;
  font-size: 1em;
  opacity: 0.7;
}

/* Icons */

.header-icon {
  -moz-context-properties: fill, stroke-opacity;
  fill: currentColor;
  color: var(--primary-color);
  width: 3.5em;
  margin: 10px;
}

.warning-icon {
  cursor: pointer;
  -moz-context-properties: fill, stroke-opacity;
  fill: currentColor;
  margin-inline: -26px 10px;
  color: var(--warning-color);
}