summaryrefslogtreecommitdiffstats
path: root/browser/base/content/pageinfo/pageInfo.css
blob: d3c023a4c069e54e6eb70b8c340084712d37ad26 (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
/* 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 {
  min-width: 24em;
  min-height: 24em;
}

#mainDeck {
  padding: 10px;
  min-height: 0;
}

#mediaPreviewBox,
#imagecontainerbox,
#thepreviewimage,
#mainDeck > vbox {
  min-width: 0;
  min-height: 0;
}

#viewGroup > radio > .radio-label-box {
  flex-direction: column;
  align-items: center;
}

/* Hide the radio button for the section headers */
#viewGroup > radio > .radio-check {
  display: none;
}

#thepreviewimage {
  margin: 1em auto;
  flex: none;
  display: block;
}

table {
  border-spacing: 0;
}

.tableSeparator {
  height: 6px;
}

th, td {
  padding: 0;
}

th {
  font: inherit;
  text-align: start;
  padding-inline-end: .5em;
}

/*
  Make the first column shrink to its min-content, except for #securityTable
  which has full sentences in its first column.
*/
table:not(#securityTable) th {
  width: 0;
}

th > label,
td > input,
.table-split-column {
  width: 100%;
  margin-block: 1px 4px;
}

.table-split-column {
  display: flex;
  align-items: center;
}

.table-split-column > label,
.table-split-column > input {
  flex: 1 auto;
}

.table-split-column > button {
  flex-shrink: 0;
}

#hostText {
  flex: 1;
  margin-top: 1px; /* same margin as adjacent label */
}