Current section

Files

Jump to
zotonic_mod_development priv lib css development.css
Raw

priv/lib/css/development.css

@charset "UTF-8";
#trace-status span {
display: none; }
.trace-stopped #trace-status span.trace-stopped {
display: inline-block; }
.trace-stopped .trace-loading {
visibility: hidden; }
.trace-session #trace-status span.trace-session {
display: inline-block; }
.trace-all #trace-status span.trace-all {
display: inline-block; }
.trace-other #trace-status span.trace-other {
display: inline-block; }
#graphviz_svg .node {
cursor: pointer; }
#graphviz_svg .node:hover polygon {
fill: #f0f0fe; }
#trace-frame {
position: absolute;
top: 0;
left: -1000px;
width: 800px;
height: 800px; }
/* Template code highlighting */
body:has(.development-template-overlay) {
overflow: hidden; }
body.template-debug-resizing {
cursor: col-resize;
user-select: none; }
.development-template-overlay .modal-overlay-close {
position: absolute;
background-color: white;
color: black;
border: 1px solid black;
border-radius: 24px;
right: 4px;
top: 4px;
height: 48px;
width: 48px;
font-size: 48px;
line-height: 40px;
font-weight: 100;
cursor: pointer;
display: table-cell;
vertical-align: middle;
text-align: center; }
.development-template-overlay .modal-overlay-close:hover {
background-color: #ccf; }
.development-template-overlay .template-debug {
width: 100%;
height: 100%;
display: grid;
grid-template-columns: minmax(260px, 2fr) 8px minmax(280px, 1fr);
grid-template-rows: auto 1fr; }
.development-template-overlay .template-debug .template-debug-filename {
grid-row: 1;
grid-column: 1 / 4;
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
overflow: visible;
padding: 4px 10px;
font-size: 12px;
font-family: monospace;
background-color: black;
color: white; }
.development-template-overlay .template-debug .template-debug-filename .template-debug-filename-path {
flex: 1 1 auto;
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis; }
.development-template-overlay .template-debug .template-debug-filename .template-debug-back {
order: 0;
flex: 0 0 28px;
max-width: 28px; }
.development-template-overlay .template-debug .template-debug-filename .template-debug-nav {
order: 1;
flex: 0 0 36px;
max-width: 36px; }
.development-template-overlay .template-debug .template-debug-filename .template-debug-filename-path {
order: 2; }
.development-template-overlay .template-debug .template-debug-source {
grid-row: 2;
grid-column: 1;
min-height: 0;
min-width: 0;
overflow: scroll; }
.development-template-overlay .template-debug .template-debug-source .template-compiler-highlight {
min-height: 100%;
margin: 0;
box-sizing: border-box;
border-radius: 0 !important; }
.development-template-overlay .template-debug .template-debug-source .template-compiler-line.highlighted {
background-color: rgba(255, 255, 0, 0.7); }
.development-template-overlay .template-debug .template-debug-source .template-compiler-nav-anchor {
display: inline-block;
vertical-align: middle;
position: relative; }
.development-template-overlay .template-debug .template-debug-splitter {
grid-row: 2;
grid-column: 2;
cursor: col-resize;
touch-action: none;
background: #d0d7e2;
border-left: 1px solid #bbc4d1;
border-right: 1px solid #bbc4d1; }
.development-template-overlay .template-debug .template-debug-splitter:hover {
background: #b9c6d8; }
.development-template-overlay .template-debug .template-debug-data {
grid-row: 2;
grid-column: 3;
min-height: 0;
min-width: 0;
overflow: scroll; }
.development-template-overlay .template-debug .template-debug-data .template-debug-data-options {
padding: 10px; }
.development-template-overlay .template-debug #template-debug-data {
border-top: 1px solid #ddd; }
.development-template-overlay .template-debug #template-debug-data > p {
padding: 10px; }
.development-template-overlay .template-debug #template-debug-data > details > summary {
color: white;
background-color: black;
padding: 2px 8px; }
.development-template-overlay .template-debug #template-debug-data table + table {
border-top: 4px dashed #999; }
.development-template-overlay .template-debug #template-debug-data table {
margin: 0;
border-bottom: none; }
.development-template-overlay .template-debug #template-debug-data pre {
border: none;
background: transparent;
padding: 0;
margin: 0; }
.development-template-overlay .template-debug #template-debug-data .template-debug-value {
font-family: monospace;
font-size: 12px;
line-height: 1.45; }
.development-template-overlay .template-debug #template-debug-data .template-debug-value details {
margin: 0; }
.development-template-overlay .template-debug #template-debug-data .template-debug-value summary {
cursor: pointer;
list-style-position: inside; }
.development-template-overlay .template-debug #template-debug-data .template-debug-value summary::-webkit-details-marker {
margin-right: 4px; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term {
word-break: break-word; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term.is-atom, .development-template-overlay .template-debug #template-debug-data .template-debug-term.is-number {
color: #1a3d7c; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term.is-binary, .development-template-overlay .template-debug #template-debug-data .template-debug-term.is-string {
color: #0d6b3c; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term.is-tag, .development-template-overlay .template-debug #template-debug-data .template-debug-term.is-punctuation, .development-template-overlay .template-debug #template-debug-data .template-debug-term.is-key {
color: #6a3fb0; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term.is-special {
color: #a53a18; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term.is-null {
color: #777;
font-style: italic; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term-children {
margin-left: 18px;
padding: 6px 0 0; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term-row {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 1px 0; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term-label {
flex: 0 0 auto;
color: #666; }
.development-template-overlay .template-debug #template-debug-data .template-debug-term-value {
min-width: 0; }
.development-template-overlay .template-debug .template-debug-dropdown {
position: relative;
min-width: 0;
margin-right: 4px; }
.development-template-overlay .template-debug .template-debug-dropdown.is-open .template-debug-dropdown-menu {
display: block; }
.development-template-overlay .template-debug .template-debug-nav,
.development-template-overlay .template-debug .template-debug-line-nav,
.development-template-overlay .template-debug .template-debug-back {
min-width: 0; }
.development-template-overlay .template-debug .template-debug-dropdown-toggle,
.development-template-overlay .template-debug .template-debug-back {
min-width: 0;
width: 100%;
font-family: monospace;
font-size: 10px;
line-height: 1.2;
height: 20px;
padding: 0 14px 0 4px;
border: 1px solid #777;
border-radius: 3px;
background: #fff;
color: #111;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative; }
.development-template-overlay .template-debug .template-debug-back {
text-align: center;
padding: 0 4px; }
.development-template-overlay .template-debug .template-debug-back:disabled {
color: #999;
cursor: default; }
.development-template-overlay .template-debug .template-debug-dropdown-toggle:after {
content: "▾";
position: absolute;
right: 4px;
top: 2px;
color: #666;
pointer-events: none; }
.development-template-overlay .template-debug .template-debug-dropdown-menu {
display: none;
position: absolute;
top: calc(100% + 2px);
left: 0;
z-index: 20;
min-width: 170px;
max-width: 320px;
max-height: 260px;
overflow: auto;
padding: 3px 0;
background: #fff;
border: 1px solid #777;
border-radius: 3px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.development-template-overlay .template-debug .template-debug-dropdown-item,
.development-template-overlay .template-debug .template-debug-dropdown-empty,
.development-template-overlay .template-debug .template-debug-dropdown-header {
display: block;
width: 100%;
padding: 3px 6px;
font-family: monospace;
font-size: 10px;
line-height: 1.35;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; }
.development-template-overlay .template-debug .template-debug-dropdown-item {
border: 0;
background: transparent;
color: #111; }
.development-template-overlay .template-debug .template-debug-dropdown-item:hover {
background: #e8eefc; }
.development-template-overlay .template-debug .template-debug-dropdown-empty {
color: #666; }
.development-template-overlay .template-debug .template-debug-dropdown-header {
color: #666;
font-weight: 700;
border-top: 1px solid #e2e8f0;
margin-top: 2px;
padding-top: 5px; }
.development-template-overlay .template-debug .template-debug-dropdown-header:first-child {
border-top: 0;
margin-top: 0;
padding-top: 3px; }
.development-template-overlay .template-debug .template-debug-line-nav {
margin-left: 6px;
width: 34px;
max-width: 34px;
vertical-align: middle; }