2016-10-15 03:31:04 +03:00
|
|
|
/* 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/. */
|
|
|
|
|
2016-11-21 21:07:44 +03:00
|
|
|
#layout-container {
|
2016-10-15 03:31:04 +03:00
|
|
|
height: 100%;
|
2016-11-12 16:00:48 +03:00
|
|
|
width: 100%;
|
2016-11-29 14:33:04 +03:00
|
|
|
overflow: auto;
|
2017-03-01 01:18:28 +03:00
|
|
|
min-width: 200px;
|
2016-10-15 03:31:04 +03:00
|
|
|
}
|
|
|
|
|
2016-11-29 14:33:04 +03:00
|
|
|
/**
|
2016-11-29 14:38:08 +03:00
|
|
|
* Common styles for shared components
|
2016-11-29 14:33:04 +03:00
|
|
|
*/
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
.flexbox-container,
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container {
|
2016-11-29 14:33:04 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-03-29 23:31:46 +03:00
|
|
|
flex: 1 auto;
|
|
|
|
min-width: 140px;
|
2018-04-30 18:24:04 +03:00
|
|
|
margin-inline-start: 16px;
|
2016-11-29 14:33:04 +03:00
|
|
|
}
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
.grid-container:first-child {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flexbox-container > span,
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container > span {
|
2017-03-29 23:31:46 +03:00
|
|
|
font-weight: 600;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
pointer-events: none;
|
2016-11-29 14:33:04 +03:00
|
|
|
}
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
.flexbox-container > ul,
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container > ul {
|
2016-11-29 14:33:04 +03:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
.flexbox-container li,
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container li {
|
2018-04-30 18:24:04 +03:00
|
|
|
padding: 3px 0;
|
2016-11-29 14:33:04 +03:00
|
|
|
}
|
|
|
|
|
2018-05-17 18:20:32 +03:00
|
|
|
.flexbox-container input,
|
2017-03-29 23:31:46 +03:00
|
|
|
.grid-container input {
|
2018-04-30 18:24:04 +03:00
|
|
|
margin-inline-end: 7px;
|
2018-05-17 18:20:32 +03:00
|
|
|
vertical-align: middle;
|
2017-03-29 23:31:46 +03:00
|
|
|
}
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
.flexbox-container label,
|
2017-03-29 23:31:46 +03:00
|
|
|
.grid-container label {
|
2018-04-30 18:24:04 +03:00
|
|
|
margin-inline-start: -3px;
|
2017-03-29 23:31:46 +03:00
|
|
|
}
|
|
|
|
|
2018-08-23 04:07:08 +03:00
|
|
|
/* Layout Properties: Common styles used for the Box Model and Flexbox Properties */
|
|
|
|
|
|
|
|
.layout-properties-header {
|
|
|
|
padding: 2px 3px;
|
|
|
|
-moz-user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-properties-expander {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
margin-inline-start: 2px;
|
|
|
|
margin-inline-end: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-properties-wrapper {
|
|
|
|
column-width: 250px;
|
|
|
|
column-gap: 20px;
|
|
|
|
column-rule: 1px solid var(--theme-splitter-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-properties-wrapper .computed-property-view {
|
|
|
|
padding-inline-start: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-properties-wrapper .computed-property-name-container {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-properties-wrapper .computed-property-value-container {
|
|
|
|
flex: 1;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Flex Container Properties
|
|
|
|
*/
|
|
|
|
|
|
|
|
#flex-container-properties {
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
}
|
|
|
|
|
2016-11-29 14:38:08 +03:00
|
|
|
/**
|
|
|
|
* Grid Container
|
|
|
|
*/
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
#layout-flexbox-container,
|
2016-11-29 14:38:08 +03:00
|
|
|
#layout-grid-container {
|
|
|
|
display: flex;
|
2017-02-23 08:58:56 +03:00
|
|
|
flex-direction: column;
|
2016-11-29 14:38:08 +03:00
|
|
|
margin: 5px;
|
|
|
|
}
|
|
|
|
|
2017-02-23 08:58:56 +03:00
|
|
|
/**
|
|
|
|
* Grid Content
|
|
|
|
*/
|
|
|
|
|
2018-02-07 23:57:46 +03:00
|
|
|
.flexbox-content,
|
2017-02-23 08:58:56 +03:00
|
|
|
.grid-content {
|
|
|
|
display: flex;
|
2017-03-29 23:31:46 +03:00
|
|
|
flex-wrap: wrap;
|
2017-02-23 08:58:56 +03:00
|
|
|
flex: 1;
|
2017-05-25 04:40:07 +03:00
|
|
|
margin: 5px 0;
|
2017-03-29 23:31:46 +03:00
|
|
|
}
|
|
|
|
|
2017-02-23 08:58:56 +03:00
|
|
|
/**
|
|
|
|
* Grid Outline
|
|
|
|
*/
|
|
|
|
|
2017-06-09 04:12:25 +03:00
|
|
|
.grid-outline-container {
|
2018-04-30 18:24:04 +03:00
|
|
|
margin: 5px;
|
2017-05-25 04:40:07 +03:00
|
|
|
}
|
|
|
|
|
2017-06-09 04:12:25 +03:00
|
|
|
.grid-outline-container svg {
|
2017-05-25 04:40:07 +03:00
|
|
|
overflow: visible;
|
2017-02-23 08:58:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-outline-border {
|
|
|
|
fill: none;
|
2017-05-10 17:07:12 +03:00
|
|
|
stroke: currentColor;
|
2017-03-24 23:01:09 +03:00
|
|
|
stroke-width: 0.75;
|
|
|
|
vector-effect: non-scaling-stroke;
|
2017-02-23 08:58:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.grid-outline-cell {
|
|
|
|
pointer-events: all;
|
2017-05-10 17:07:12 +03:00
|
|
|
stroke: currentColor;
|
2017-02-23 08:58:56 +03:00
|
|
|
stroke-dasharray: 0.5, 2;
|
2017-03-24 23:01:09 +03:00
|
|
|
vector-effect: non-scaling-stroke;
|
2017-02-23 08:58:56 +03:00
|
|
|
}
|
|
|
|
|
2017-02-26 09:42:45 +03:00
|
|
|
.grid-outline-cell:hover {
|
|
|
|
opacity: 0.45;
|
2017-05-10 17:07:12 +03:00
|
|
|
fill: currentColor;
|
2017-02-26 09:42:45 +03:00
|
|
|
}
|
|
|
|
|
2017-04-11 22:31:22 +03:00
|
|
|
.grid-outline-line {
|
|
|
|
opacity: 0;
|
|
|
|
stroke-width: 10;
|
|
|
|
}
|
|
|
|
|
2017-05-25 04:40:07 +03:00
|
|
|
.grid-outline-text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
color: var(--theme-graphs-full-red);
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-outline-text-icon {
|
|
|
|
background: url("chrome://devtools/skin/images/sad-face.svg");
|
|
|
|
margin-inline-end: 5px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2017-02-22 14:39:04 +03:00
|
|
|
/**
|
2018-07-17 22:29:21 +03:00
|
|
|
* Flexbox and Grid Item
|
2017-02-22 14:39:04 +03:00
|
|
|
*/
|
|
|
|
|
2018-07-17 22:29:21 +03:00
|
|
|
.flexbox-color-swatch,
|
2017-02-22 14:39:04 +03:00
|
|
|
.grid-color-swatch {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2018-04-30 18:24:04 +03:00
|
|
|
margin-inline-start: -1px;
|
2017-02-22 14:39:04 +03:00
|
|
|
border: 1px solid var(--theme-highlight-gray);
|
|
|
|
border-radius: 50%;
|
|
|
|
cursor: pointer;
|
2018-05-17 18:20:32 +03:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2017-02-22 14:39:04 +03:00
|
|
|
}
|
|
|
|
|
2018-07-17 22:29:21 +03:00
|
|
|
.flexbox-color-value,
|
2017-02-22 14:39:04 +03:00
|
|
|
.grid-color-value {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-03-29 23:31:46 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Settings Item
|
|
|
|
*/
|
|
|
|
|
|
|
|
.grid-settings-item label {
|
|
|
|
line-height: 16px;
|
|
|
|
}
|