summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/fullscreen/warning.css
blob: cd463bee02b9847ad50e0d388ef6a91a3b4f9a14 (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
/* 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/. */

@namespace html url("http://www.w3.org/1999/xhtml");

html|*.pointerlockfswarning {
  align-items: center;
  background: rgba(45, 62, 72, 0.9);
  border: 2px solid currentColor;
  box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  color: #fafafa;
  padding: 24px 16px;
  font: message-box;
}

html|*.pointerlockfswarning:is([data-identity="verifiedDomain"], [data-identity="unknownIdentity"])::before {
  content: "";
  background-size: cover;
  margin: 0;
  width: 24px;
  height: 24px;
  -moz-context-properties: fill;
  fill: currentColor;
}

html|*.pointerlockfswarning[data-identity="verifiedDomain"]::before {
  background-image: url("chrome://global/skin/icons/security.svg");
}

html|*.pointerlockfswarning[data-identity="unknownIdentity"]::before {
  background-image: url("chrome://global/skin/icons/security-broken.svg");
}

html|*.pointerlockfswarning-domain-text,
html|*.pointerlockfswarning-generic-text {
  font-size: 21px;
  margin: 0 16px;
}

html|*.pointerlockfswarning-domain {
  font-weight: bold;
  margin: 0;
}

html|*#fullscreen-exit-button {
  margin: 0;
}