mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
160 lines
2.6 KiB
CSS
160 lines
2.6 KiB
CSS
/* vim:set ts=2 sw=2 sts=2 et: */
|
|
/* 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/. */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display : flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
#propertyContainer {
|
|
-moz-user-select: text;
|
|
overflow: auto;
|
|
min-height: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.property-view-hidden,
|
|
.property-content-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.property-view {
|
|
clear: both;
|
|
padding: 2px 0 2px 17px;
|
|
}
|
|
|
|
.property-view > * {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.property-name {
|
|
/* -12px is so the expander triangle isn't pushed up above the property */
|
|
width: calc(100% - 12px);
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
outline: 0;
|
|
}
|
|
|
|
.property-value {
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
background-image: url(arrow-e.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 5px 8px;
|
|
background-position: 2px center;
|
|
padding-left: 10px;
|
|
outline: 0;
|
|
}
|
|
|
|
.other-property-value {
|
|
background-image: url(arrow-e.png);
|
|
background-repeat: no-repeat;
|
|
background-size: 5px 8px;
|
|
background-position: left center;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
@media (min-width: 400px) {
|
|
.property-name {
|
|
width: 200px;
|
|
}
|
|
.property-value {
|
|
/* -212px is accounting for the 200px property-name and the 12px triangle */
|
|
width: calc(100% - 212px);
|
|
}
|
|
}
|
|
|
|
.property-content {
|
|
padding-left: 17px;
|
|
}
|
|
|
|
/* From skin */
|
|
.expander {
|
|
visibility: hidden;
|
|
margin-left: -12px!important;
|
|
}
|
|
|
|
.expandable {
|
|
visibility: visible;
|
|
}
|
|
|
|
.match {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.matchedselectors > p {
|
|
clear: both;
|
|
margin: 0 2px 0 0;
|
|
padding: 2px;
|
|
overflow-x: hidden;
|
|
border-style: dotted;
|
|
border-color: rgba(128,128,128,0.4);
|
|
border-width: 1px 1px 0 1px;
|
|
}
|
|
|
|
.matchedselectors > p:last-of-type {
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */
|
|
.rule-text {
|
|
direction: ltr;
|
|
}
|
|
|
|
.matched {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.parentmatch {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
#noResults {
|
|
font-size: 110%;
|
|
margin: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.onlyuserstyles {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.legendKey {
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.devtools-toolbar {
|
|
width: 100%;
|
|
}
|
|
|
|
.link {
|
|
padding: 0 3px;
|
|
cursor: pointer;
|
|
float: right;
|
|
}
|
|
|
|
.computedview-colorswatch {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
width: 1em;
|
|
height: 1em;
|
|
vertical-align: text-top;
|
|
-moz-margin-end: 5px;
|
|
}
|