aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/mozapps/aboutNetworking.css
blob: 619a3671c8b987db5c86ba75011e2e3e6505122a (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
124
125
126
127
128
129
130
131
132
/* 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/. */

@import url("chrome://global/skin/in-content/common.css");

html {
  height: 100%;
}

body {
  display: flex;
  align-items: stretch;
  height: 100%;
}

#sectionTitle {
  float: left;
}

#sectionTitle:dir(rtl) {
  float: right;
}

#refreshDiv {
  justify-content: flex-end;
  margin-bottom: 0.5em;
}

#refreshButton {
  margin-top: 0;
}

/** Categories **/

.category {
  cursor: pointer;
  /* Center category names */
  display: flex;
  align-items: center;
}

.category .category-name {
  pointer-events: none;
}

#categories hr {
  border-top-color: rgba(255,255,255,0.15);
}

/** Warning container **/

/* XXX: a lot of this is duplicated from info-pages.css since that stylesheet
   is incompatible with this type of layout */
.warningBackground:not([hidden]) {
  display: flex;
}

.warningBackground {
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  position: fixed;
  background: var(--in-content-page-background);
}

.title {
  position: relative;
  border-bottom: 1px solid var(--in-content-box-border-color);
  margin-bottom: 1em;
  padding-bottom: 0.5em;
}

.title::before {
  content: "";
  left: -2.3em;
  top: 0;
  position: absolute;
  display: block;
  width: 1.6em;
  height: 1.6em;
  background: url("chrome://global/skin/icons/warning.svg") no-repeat left center;
  background-size: 1.6em;
}

.title:dir(rtl)::before {
  left: auto;
  right: -2.3em;
}

.warningBackground button {
  margin-top: 1em;
  margin-left: 0;
  min-width: 100px;
}

/** Content area **/

.main-content {
  flex: 1;
}

.tab {
  padding: 0.5em 0;
}

.tab table {
  width: 100%;
}

th, td, table {
  border-collapse: collapse;
  border: none;
  text-align: start;
}

th {
  padding-bottom: 0.5em;
  font-size: larger;
}

td {
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--in-content-box-border-color);
}