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
|
|
|
*/
|
|
|
|
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container {
|
2016-11-29 14:33:04 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-11-29 14:38:08 +03:00
|
|
|
flex: 1;
|
2016-11-29 14:33:04 +03:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container > span {
|
2016-11-29 14:33:04 +03:00
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2016-11-29 14:38:08 +03:00
|
|
|
.grid-container li {
|
2016-11-29 14:33:04 +03:00
|
|
|
padding: 4px 0;
|
|
|
|
}
|
|
|
|
|
2016-11-29 14:38:08 +03:00
|
|
|
/**
|
|
|
|
* Grid Container
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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
|
|
|
|
*/
|
|
|
|
|
|
|
|
.grid-content {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Grid Outline
|
|
|
|
*/
|
|
|
|
|
|
|
|
#grid-outline {
|
|
|
|
margin: 5px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grid-outline-border {
|
|
|
|
fill: none;
|
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;
|
|
|
|
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-04-11 22:31:22 +03:00
|
|
|
.grid-outline-line {
|
|
|
|
opacity: 0;
|
|
|
|
stroke-width: 10;
|
|
|
|
}
|
|
|
|
|
2016-11-29 14:33:04 +03:00
|
|
|
/**
|
|
|
|
* Container when no grids are present
|
|
|
|
*/
|
|
|
|
|
2016-11-21 21:07:44 +03:00
|
|
|
.layout-no-grids {
|
2016-10-15 03:31:04 +03:00
|
|
|
font-style: italic;
|
|
|
|
text-align: center;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
2017-02-22 14:39:04 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|
|
|
|
}
|