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 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
|
/* 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");
@media not print {
html,
body {
height: 100%;
}
}
body {
display: flex;
align-items: stretch;
}
#sectionTitle {
float: inline-start;
padding-inline-start: 1rem;
}
/** Content area **/
.main-content {
flex: 1;
scroll-padding: 25px;
}
.tab {
padding: 0.5em 0;
}
.tab table {
width: 100%;
}
tbody tr {
transition: background cubic-bezier(0.07, 0.95, 0, 1) 250ms;
}
tbody tr:hover {
background-color: var(--in-content-item-hover);
color: var(--in-content-item-hover-text);
}
th,
td,
table {
border-collapse: collapse;
border: none;
text-align: start;
}
th {
padding: 1rem;
font-size: larger;
}
td {
padding: 1rem;
}
/*
* In Documentation Tab, this property sets the policies row in an
* alternate color scheme of white and grey as each policy comprises
* of two tbody tags, one for the description and the other for the
* collapsible information block.
*/
.active-policies tr.odd:not(:hover),
.errors tr:nth-child(odd):not(:hover),
tbody:nth-child(4n + 1) {
background-color: var(--table-row-background-color-alternate);
}
.arr_sep.odd:not(:last-child) td:not(:first-child) {
border-bottom: 2px solid #f9f9fa;
}
.arr_sep.even:not(:last-child) td:not(:first-child) {
border-bottom: 2px solid #ededf0;
}
.last_row:not(:last-child) td {
border-bottom: 2px solid #d7d7db !important;
}
.icon {
background-position: center center;
background-repeat: no-repeat;
background-size: 16px;
-moz-context-properties: fill;
display: inline-block;
fill: var(--newtab-icon-primary-color);
height: 14px;
vertical-align: middle;
width: 14px;
margin-top: -0.125rem;
margin-left: 0.5rem;
}
.collapsible {
cursor: pointer;
border: none;
outline: none;
}
.content {
display: none;
}
.content-style {
background-color: var(--background-color-box);
color: var(--blue-50);
}
tbody.collapsible td {
padding-bottom: 1rem;
}
.schema {
font-family: monospace;
white-space: pre;
direction: ltr;
}
/*
* The Active tab has two messages: one for when the policy service
* is inactive and another for when the there are no specified
* policies. The three classes below control which message to display
* or to show the policy table.
*/
.no-specified-policies > table,
.inactive-service > table {
display: none;
}
:not(.no-specified-policies) > .no-specified-policies-message,
:not(.inactive-service) > .inactive-service-message {
display: none;
}
.no-specified-policies-message,
.inactive-service-message {
padding: 1rem;
}
|