gecko-dev/devtools/client/themes/layout.css

121 строка
1.6 KiB
CSS
Исходник Обычный вид История

/* 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/. */
#layout-container {
height: 100%;
width: 100%;
overflow: auto;
min-width: 200px;
}
/**
* Common styles for shared components
*/
.grid-container {
display: flex;
flex-direction: column;
flex: 1;
align-items: center;
}
.grid-container > span {
font-weight: bold;
margin-bottom: 3px;
}
.grid-container > ul {
list-style: none;
margin: 0;
padding: 0;
}
.grid-container li {
padding: 4px 0;
}
/**
* Grid Container
*/
#layout-grid-container {
display: flex;
flex-direction: column;
margin: 5px;
}
/**
* Grid Content
*/
.grid-content {
display: flex;
flex: 1;
}
/**
* Grid Outline
*/
#grid-outline {
margin: 5px auto;
}
.grid-outline-border {
fill: none;
stroke-width: 0.75;
vector-effect: non-scaling-stroke;
}
.grid-outline-cell {
pointer-events: all;
stroke-dasharray: 0.5, 2;
vector-effect: non-scaling-stroke;
}
.grid-outline-cell:hover {
opacity: 0.45;
}
.grid-outline-line {
opacity: 0;
stroke-width: 10;
}
/**
* Container when no grids are present
*/
.layout-no-grids {
font-style: italic;
text-align: center;
padding: 0.5em;
}
/**
* Grid Item
*/
.grid-item {
display: flex;
align-items: center;
}
.grid-item input {
margin: 0 5px;
}
.grid-color-swatch {
width: 12px;
height: 12px;
margin-left: 5px;
border: 1px solid var(--theme-highlight-gray);
border-radius: 50%;
cursor: pointer;
}
.grid-color-value {
display: none;
}