FestinHegre/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/profiler.css.twig
2024-09-26 17:26:04 +02:00

1961 lines
58 KiB
Twig

{# This file is partially duplicated in TwigBundle/Resources/views/exceotion.css.twig.
If you make any change in this file, verify the same change is needed in the other file. #}
{# Normalization
(normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css)
========================================================================= #}
button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}
:root {
--font-family-system: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-family-monospace: "JetBrains Mono", ui-monospace, "Roboto Mono", SFMono-Regular, Menlo, Monaco, Consolas,"Liberation Mono", "Courier New", monospace;
--font-size-body: 14px;
--font-size-monospace: 13px;
--font-variant-ligatures-monospace: none;
--summary-status-border-width: 6px;
--white: #fff;
--black: #000;
--gray-50: #fafafa;
--gray-100: #f5f5f5;
--gray-200: #e5e5e5;
--gray-300: #d4d4d4;
--gray-400: #a3a3a3;
--gray-500: #737373;
--gray-600: #525252;
--gray-700: #404040;
--gray-800: #262626;
--gray-900: #171717;
--green-50: #eff5f5;
--green-100: #deeaea;
--green-200: #bbd5d5;
--green-300: #99bfbf;
--green-400: #76a9a9;
--green-500: #598e8e;
--green-600: #436c6c;
--green-700: #2e4949;
--green-800: #182727;
--green-900: #030404;
--yellow-50: #fef7e1;
--yellow-100: #fef2cd;
--yellow-200: #fde496;
--yellow-300: #fcd55f;
--yellow-400: #fbc728;
--yellow-500: #e6af05;
--yellow-600: #af8503;
--yellow-700: #785b02;
--yellow-800: #413101;
--yellow-900: #0a0800;
--red-50: #FEFBFC;
--red-100: #FCE9ED;
--red-200: #F5B8C5;
--red-300: #EF869C;
--red-400: #E85574;
--red-500: #E1244B;
--red-600: #B41939;
--red-700: #83122A;
--red-800: #510B1A;
--red-900: #20040A;
--page-grid-dot-color: var(--gray-200);
--page-background: var(--white);
--page-color: var(--gray-700);
--color-text: var(--gray-800);
--color-muted: var(--gray-500);
--color-link: #1d4ed8;
--success-background: var(--green-100);
--header-background: var(--gray-100);
--header-border-color: var(--gray-200);
--header-status-request-method-color: var(--color-muted);
--header-metadata-key: var(--gray-500);
--header-metadata-value: var(--gray-600);
--header-success-background: var(--green-50);
--header-success-border-color: var(--green-500);
--header-success-box-shadow: inset 0 0 0 1px var(--green-100);
--header-success-title-color: var(--color-text);
--header-success-status-code-background: var(--green-500);
--header-success-status-code-color: var(--white);
--header-success-status-text-color: var(--green-600);
--header-warning-background: var(--yellow-50);
--header-warning-border-color: var(--yellow-300);
--header-warning-box-shadow: inset 0 0 0 1px var(--yellow-100);
--header-warning-title-color: var(--color-text);
--header-warning-status-code-background: var(--yellow-200);
--header-warning-status-code-color: var(--yellow-700);
--header-warning-status-text-color: var(--color-warning);
--header-error-background: var(--red-100);
--header-error-border-color: var(--red-500);
--header-error-box-shadow: inset 0 0 0 1px var(--red-100);
--header-error-title-color: var(--color-text);
--header-error-status-code-background: transparent;
--header-error-status-code-color: var(--red-500);
--header-error-status-text-color: var(--red-400);
--color-success: #4f805d;
--color-warning: var(--yellow-700);
--color-error: var(--red-600);
--h2-border-color: var(--gray-200);
--heading-code-background: var(--gray-100);
--form-input-border-color: var(--gray-300);
--button-background: var(--gray-100);
--button-border-color: var(--gray-300);
--button-box-shadow: 0 1px 0 0 var(--gray-300);
--button-color: var(--gray-800);
--button-active-background: var(--gray-200);
--badge-background: var(--gray-200);
--badge-color: var(--gray-600);
--badge-shadow: none;
--selected-badge-background: var(--gray-200);
--selected-badge-color: var(--gray-600);
--selected-badge-shadow: inset 0 0 0 1px var(--gray-300);
--badge-light-background: var(--gray-100);
--badge-light-color: var(--gray-500);
--badge-success-background: var(--green-100);
--badge-success-color: var(--green-700);
--badge-success-shadow: none;
--badge-warning-background: var(--yellow-200);
--badge-warning-color: var(--yellow-700);
--badge-warning-shadow: none;
--selected-badge-warning-background: var(--yellow-200);
--selected-badge-warning-color: var(--yellow-700);
--selected-badge-warning-shadow: inset 0 0 0 1px var(--yellow-500);
--badge-danger-background: var(--red-100);
--badge-danger-color: var(--red-700);
--badge-danger-shadow: none;
--selected-badge-danger-background: var(--red-100);
--selected-badge-danger-color: var(--red-700);
--selected-badge-danger-shadow: inset 0 0 0 1px var(--red-200);
--sidebar-shadow: inset 0 0 0 1px var(--menu-border-color), 0 0 0 3px var(--gray-50), 0 0 0 5px var(--page-background);
--menu-border-color: var(--gray-300);
--menu-color: var(--gray-700);
--menu-disabled-color: var(--gray-400);
--menu-icon-color: var(--gray-500);
--menu-icon-disabled-color: var(--gray-200);
--menu-active-color: var(--color-link);
--menu-active-marker-background: var(--color-link);
--menu-active-background: var(--gray-100);
--tab-background: #f0f0f0;
--tab-border-color: var(--gray-200);
--tab-active-border-color: var(--gray-300);
--tab-color: #444;
--tab-active-background: var(--page-background);
--tab-active-color: var(--color-text);
--tab-disabled-background: #f5f5f5;
--tab-disabled-color: #999;
--code-block-background: var(--gray-50);
--metric-value-background: var(--page-background);
--metric-border-color: var(--gray-300);
--metric-value-color: inherit;
--metric-unit-color: #999;
--metric-label-background: #e0e0e0;
--metric-label-color: inherit;
--metric-icon-green-color: var(--color-success);
--metric-icon-red-color: var(--red-600);
--trace-selected-background: #F7E5A1;
--table-border-color: var(--gray-300);
--table-background: var(--page-background);
--table-header: var(--gray-100);
--table-header-border-color: var(--gray-300);
--info-background: #ddf;
--tree-active-background: var(--gray-200);
--exception-title-color: var(--base-2);
--shadow: 0px 0px 1px rgba(128, 128, 128, .2);
--border: 1px solid #e0e0e0;
--background-error: var(--color-error);
--terminal-bg: var(--gray-800);
--terminal-border-color: var(--gray-600);
--terminal-warning-color: var(--yellow-300);
--terminal-warning-bg: var(--yellow-300);
--terminal-error-color: #fb6a89;
--terminal-error-bg: #fb6a89;
--highlight-variable: #e36209;
--highlight-string: #22863a;
--highlight-comment: #6a737d;
--highlight-keyword: #d73a49;
--highlight-constant: #1750eb;
--highlight-error: var(--red-600);
/* legacy variables kept for backward-compatibility purposes */
--font-sans-serif: var(--font-family-system);
--table-border: var(--table-border-color);
--highlight-default: #222222;
--highlight-selected-line: rgba(255, 255, 153, 0.5);
--base-0: #fff;
--base-1: #f5f5f5;
--base-2: #e0e0e0;
--base-3: #ccc;
--base-4: #666;
--base-5: #444;
--base-6: #222;
--card-label-background: var(--gray-200);
--card-label-color: var(--gray-800);
}
.theme-dark {
--page-background: var(--gray-800);
--page-grid-dot-color: var(--gray-700);
--page-color: var(--gray-100);
--color-text: var(--gray-100);
--color-muted: var(--gray-400);
--color-link: #93C5FD;
--color-success: var(--green-200);
--color-warning: var(--yellow-300);
--color-error: #ff7b72;
--success-background: #1dc9a433;
--header-background: var(--gray-700);
--header-border-color: var(--gray-500);
--header-status-request-method-color: #ffffff99;
--header-metadata-key: #ffffff99;
--header-metadata-value: #ffffffbb;
--header-success-background: #1dc9a433;
--header-success-border-color: #1dc9a4;
--header-success-box-shadow: none;
--header-success-title-color: #36e2bd;
--header-success-status-code-background: #1dc9a4;
--header-success-status-code-color: var(--page-background);
--header-success-status-text-color: #1dc9a4;
--header-warning-background: #f97a1f33;
--header-warning-border-color: var(--yellow-500);
--header-warning-box-shadow: none;
--header-warning-title-color: #FCDE83;
--header-warning-status-code-background: var(--yellow-200);
--header-warning-status-code-color: var(--page-background);
--header-warning-status-text-color: var(--color-warning);
--header-error-background: #c91d424d;
--header-error-border-color: var(--red-500);
--header-error-box-shadow: none;
--header-error-title-color: #F9D2DB;
--header-error-status-code-background: transparent;
--header-error-status-code-color: var(--red-300);
--header-error-status-text-color: var(--red-200);
--h2-border-color: var(--gray-500);
--heading-code-background: var(--gray-600);
--form-input-border-color: var(--gray-400);
--button-background: var(--gray-300);
--button-border-color: var(--gray-500);
--button-box-shadow: 0 1px 0 0 var(--gray-500);
--button-color: var(--gray-800);
--button-active-background: var(--gray-400);
--badge-background: rgba(221, 221, 221, 0.2);
--badge-color: var(--gray-300);
--badge-shadow: none;
--selected-badge-background: #555;
--selected-badge-color: #ddd;
--selected-badge-shadow: none;
--badge-light-background: var(--gray-700);
--badge-light-color: var(--gray-300);
--badge-success-background: #1dc9a420;
--badge-success-color: #36e2bd;
--badge-success-shadow: inset 0 0 0 1px #36e2bd4d;
--badge-warning-background: #f97a1f33;
--badge-warning-color: #FCDE83;
--badge-warning-shadow: inset 0 0 0 1px #e6af0580;
--selected-badge-warning-background: var(--yellow-300);
--selected-badge-warning-color: var(--yellow-700);
--selected-badge-warning-shadow: inset 0 0 0 1px var(--yellow-600);
--badge-danger-background: #E1244B20;
--badge-danger-color: var(--red-300);
--badge-danger-shadow: inset 0 0 0 1px #e1244Bd0;
--selected-badge-danger-background: var(--red-600);
--selected-badge-danger-color: var(--red-100);
--selected-badge-danger-shadow: none;
--sidebar-shadow: inset 0 0 0 1px var(--menu-border-color), 0 0 0 5px var(--page-background);
--menu-border-color: var(--gray-500);
--menu-color: var(--gray-300);
--menu-disabled-color: var(--gray-500);
--menu-icon-color: var(--gray-400);
--menu-icon-disabled-color: var(--gray-600);
--menu-active-color: var(--gray-800);
--menu-active-marker-background: transparent;
--menu-active-background: var(--gray-300);
--tab-background: var(--gray-700);
--tab-border-color: var(--gray-500);
--tab-active-border-color: var(--gray-900);
--tab-color: var(--color-text);
--tab-active-background: var(--gray-300);
--tab-active-color: var(--gray-800);
--tab-disabled-background: var(--page-background);
--tab-disabled-color: var(--gray-400);
--code-block-background: var(--gray-900);
--metric-value-background: var(--page-background);
--metric-border-color: var(--gray-500);
--metric-value-color: inherit;
--metric-unit-color: #999;
--metric-label-background: #777;
--metric-label-color: #e0e0e0;
--metric-icon-green-color: #7ee787;
--metric-icon-red-color: #ff7b72;
--trace-selected-background: #71663acc;
--table-border-color: var(--gray-600);
--table-background: var(--page-background);
--table-header: var(--gray-700);
--table-header-border-color: var(--gray-600);
--info-background: rgba(79, 148, 195, 0.5);
--tree-active-background: var(--metric-label-background);
--exception-title-color: var(--base-2);
--shadow: 0px 0px 1px rgba(32, 32, 32, .2);
--border: 1px solid #666;
--background-error: #b0413e;
--terminal-bg: var(--gray-800);
--terminal-border-color: var(--gray-600);
--terminal-warning-color: var(--yellow-400);
--terminal-warning-bg: var(--yellow-500);
--terminal-error-color: var(--red-400);
--terminal-error-bg: var(--red-400);
--highlight-variable: #ffa657;
--highlight-string: #7ee787;
--highlight-comment: #8b949e;
--highlight-keyword: #ff7b72;
--highlight-constant: #54aeff;
--highlight-error: var(--red-400);
/* legacy variables kept for backward-compatibility purposes */
--highlight-default: var(--base-6);
--highlight-selected-line: rgba(14, 14, 14, 0.5);
--base-0: #2e3136;
--base-1: #444;
--base-2: #666;
--base-3: #666;
--base-4: #666;
--base-5: #e0e0e0;
--base-6: #f5f5f5;
--card-label-background: var(--tab-active-background);
--card-label-color: var(--tab-active-color);
}
{# Webfonts
========================================================================= #}
@font-face {
font-family: 'JetBrainsMono';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src:
local('JetBrainsMono'),
local('JetBrains Mono'),
url('{{ url('_profiler_font', {fontName: 'JetBrainsMono'}) }}') format('woff2');
}
{# Basic styles
========================================================================= #}
html {
/* this avoids "jumps" when scrolling between pages with and without scroll bars */
overflow-y: scroll;
}
html, body {
height: 100%;
width: 100%;
}
body {
background-attachment: fixed;
background-color: var(--page-background);
background-image: radial-gradient(var(--page-grid-dot-color) 1px, transparent 0);
background-size: 15px 15px;
color: var(--page-color);
font-family: var(--font-family-system);
font-size: var(--font-size-body);
line-height: 1.4;
}
h2, h3, h4 {
font-weight: 500;
margin: 1.5em 0 .5em;
}
h2 + h3,
h3 + h4 {
margin-top: 1em;
}
h2 {
font-size: 21px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 16px;
}
h2 span, h3 span, h4 span,
h2 small, h3 small, h4 small {
color: var(--color-muted);
}
summary {
display: block;
}
li {
margin-bottom: 10px;
}
p {
font-size: 16px;
margin-bottom: 1em;
}
a {
color: var(--color-link);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a.link-inverse {
text-decoration: underline;
}
a.link-inverse:hover {
text-decoration: none;
}
a:active,
a:hover {
outline: 0;
}
a.stretched-link:after {
background: transparent;
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
pointer-events: auto;
}
h2 a,
h3 a,
h4 a {
text-decoration: underline;
}
h2 a:hover,
h3 a:hover,
h4 a:hover {
text-decoration: none;
}
abbr {
border-bottom: 1px dotted var(--base-5);
cursor: help;
}
code, pre {
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace);
font-variant-ligatures: var(--font-variant-ligatures-monospace);
}
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
color: inherit;
font-weight: inherit;
font-family: inherit;
font-size: inherit;
background: var(--heading-code-background);
border-radius: 4px;
padding: 0 3px;
word-break: break-word;
}
input, select {
background-color: var(--page-background);
border: 0;
border-radius: 4px;
box-shadow: inset 0 0 0 1px var(--form-input-border-color);
color: var(--color-text);
padding: 5px 6px;
}
input[type="radio"], input[type="checkbox"] {
box-shadow: none;
}
time[data-render-as-date],
time[data-render-as-time] {
white-space: nowrap;
}
/* Used to hide elements added for accessibility reasons (the !important modifier is needed here) */
.visually-hidden {
border: 0 !important;
clip: rect(0, 0, 0, 0) !important;
height: 1px !important;
margin: -1px !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important;
white-space: nowrap !important;
}
{# Buttons (the colors of this element don't change based on the selected theme)
------------------------------------------------------------------------- #}
.btn {
background: var(--button-background);
border-radius: 6px;
border: 1px solid var(--button-border-color);
box-shadow: var(--button-box-shadow);
color: var(--button-color);
cursor: pointer;
display: inline-block;
font-size: var(--font-size-body);
font-weight: 500;
line-height: 20px;
padding: 5px 15px;
white-space: nowrap;
}
.btn:hover {
text-decoration: none;
}
.btn:active {
background: var(--button-active-background);
box-shadow: none;
transform: translateY(1px);
}
.btn-sm {
font-size: 12px;
line-height: 20px;
padding: 3px 12px;
}
.btn-sm svg {
height: 16px;
width: 16px;
vertical-align: middle;
}
.btn-link, .btn-link:active {
border-color: transparent;
box-shadow: none;
color: var(--color-link);
text-decoration: none;
background-color: transparent;
border: 0;
padding: 0;
cursor: pointer;
}
.btn-link:hover {
text-decoration: underline;
}
{# Tables
------------------------------------------------------------------------- #}
table, tr, th, td {
border-collapse: collapse;
line-height: 1.5;
vertical-align: top;
}
table {
background: var(--page-background);
border-radius: 6px;
margin: 1em 0;
overflow: hidden;
width: 100%;
box-shadow: 0 0 0 1px var(--table-border-color), 0 0 0 5px var(--page-background);
}
table + table {
margin-top: 20px;
}
table th, table td {
padding: 8px 10px;
}
table th {
font-weight: bold;
text-align: left;
vertical-align: top;
}
table thead th {
background-color: var(--table-header);
border-bottom: 1px solid var(--table-header-border-color);
vertical-align: bottom;
}
table thead th.key {
width: 19%;
}
table thead.small th {
font-size: 12px;
padding: 4px 10px;
}
table tbody th,
table tbody td {
border: 1px solid var(--table-border-color);
border-width: 1px 0;
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace);
font-variant-ligatures: var(--font-variant-ligatures-monospace);
}
table tbody th.font-normal,
table tbody td.font-normal {
font-size: var(--font-size-body);
}
table tbody tr:last-of-type th,
table tbody tr:last-of-type td {
border-bottom: 0;
}
table tbody div {
margin: .25em 0;
}
table tbody ul {
margin: 0;
padding: 0 0 0 1em;
}
table thead th.num-col,
table tbody td.num-col {
text-align: center;
}
div.table-with-search-field {
position: relative;
}
div.table-with-search-field label.table-search-field-label {
display: none;
}
div.table-with-search-field input.table-search-field-input {
position: absolute;
right: 5px;
top: 5px;
max-height: 27px; /* needed for Safari */
}
div.table-with-search-field .no-results-message {
background: var(--page-background);
border: solid var(--table-border-color);
border-width: 0 1px 1px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
font-size: var(--table-font-size);
margin-top: -1em;
padding: 15px 10px;
}
{# Utility classes
========================================================================= #}
.block {
display: block;
}
.full-width {
width: 100%;
}
.hidden {
display: none;
}
.nowrap {
white-space: pre;
}
.prewrap {
white-space: pre-wrap;
}
.newline {
display: block;
}
.break-long-words {
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
hyphenate-character: '';
}
.text-small {
font-size: 12px !important;
}
.text-muted {
color: var(--color-muted);
}
.text-danger {
color: var(--color-error);
}
.text-bold {
font-weight: bold;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
.font-normal {
font-family: var(--font-family-system);
font-size: var(--font-size-body);
}
.help {
color: var(--color-muted);
font-size: var(--font-size-body);
margin: .5em 0;
}
.empty {
background-color: var(--page-background);
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23e5e5e5' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
border-radius: 6px;
box-shadow: 0 0 0 5px var(--page-background);
color: var(--color-muted);
margin: 1em 0;
padding: .5em 2em;
text-align: center;
}
.theme-dark .empty {
background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23737373' stroke-width='4' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}
.empty p {
font-size: var(--font-size-body);
max-width: 60ch;
margin: 1em auto;
text-align: center;
}
.empty.empty-panel {
background: transparent;
color: var(--color-muted);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
height: 400px;
margin: 45px auto;
max-width: 800px;
}
.empty.empty-panel p {
background: var(--page-background);
padding: 5px 10px;
}
.label {
background-color: var(--badge-background);
border-radius: 4px;
box-shadow: var(--badge-shadow);
color: #FAFAFA;
display: inline-block;
font-size: 12px;
font-weight: bold;
padding: 3px 7px;
white-space: nowrap;
}
.label.same-width {
min-width: 70px;
text-align: center;
}
.label.status-success { background: var(--badge-success-background); box-shadow: var(--badge-success-shadow); color: var(--badge-success-color); }
.label.status-warning { background: var(--badge-warning-background); box-shadow: var(--badge-warning-shadow); color: var(--badge-warning-color); }
.label.status-error { background: var(--badge-danger-background); box-shadow: var(--badge-danger-shadow); color: var(--badge-danger-color); }
{# Metrics
------------------------------------------------------------------------- #}
.metrics {
align-items: flex-start;
display: flex;
margin: 1em 0;
flex-wrap: wrap;
}
.metrics .metric {
margin: 0 1em 1em 0;
}
.metric-group, .metric {
background: var(--metric-value-background);
box-shadow: inset 0 0 0 1px var(--metric-border-color), 0 0 0 5px var(--page-background);
border-radius: 6px;
color: var(--metric-value-color);
display: inline-flex;
flex-direction: column-reverse;
min-width: 60px;
padding: 10px 15px;
text-align: center;
}
.metric-group {
align-items: stretch;
flex-direction: row;
padding: 10px 0;
}
.metric-group .metric {
background: transparent;
border: none;
border-radius: 0;
box-shadow: none;
justify-content: flex-end;
margin: 0;
min-height: auto;
padding: 0 15px;
}
.metric-group .metric + .metric {
border-left: 1px solid var(--table-border-color);
}
.metric .value {
display: block;
font-size: 24px;
font-variant: tabular-nums;
}
.metric .value-is-icon {
color: var(--gray-400);
}
.theme-dark .metric .value-is-icon {
color: var(--gray-200);
}
.metric .value-is-icon svg {
height: 32px;
width: 32px;
}
.metric .value-shows-no-color {
filter: grayscale(1);
}
.theme-dark .metric .value-shows-no-color {
filter: invert(1) grayscale(1);
}
.theme-light .metric .value-shows-no-color,
.theme-light .metric .value-shows-no-color {
opacity: 0.4;
}
.metric svg[data-icon-name="icon-tabler-check"],
.metric svg[data-icon-name="icon-tabler-x"] {
stroke-width: 5px;
height: 25px;
width: 25px;
transform: translateY(5px);
}
.metric svg[data-icon-name="icon-tabler-check"] {
color: var(--metric-icon-green-color);
}
.metric svg[data-icon-name="icon-tabler-x"] {
color: var(--metric-icon-red-color);
}
.metric .unit {
color: var(--metric-unit-color);
font-size: 18px;
margin-left: -4px;
}
.metric .label {
background: transparent;
color: var(--color-link);
display: block;
font-size: 12px;
padding: 0;
}
.metrics-horizontal .metric {
min-height: 0;
min-width: 0;
}
.metrics-horizontal .metric .value,
.metrics-horizontal .metric .label {
display: inline;
padding: 2px 6px;
}
.metrics-horizontal .metric .label {
display: inline-block;
padding: 6px;
}
.metrics-horizontal .metric .value {
font-size: 16px;
}
.metrics-horizontal .metric .value svg {
max-height: 14px;
line-height: 10px;
margin: 0;
padding-left: 4px;
vertical-align: middle;
}
.metric-divider {
display: inline-flex;
margin: 0 10px;
min-height: 1px; {# required to apply 'margin' to an empty 'div' #}
}
{# Cards
------------------------------------------------------------------------- #}
.card {
background: var(--page-background);
border-radius: 6px;
box-shadow: inset 0 0 0 1px var(--form-input-border-color), 0 0 0 5px var(--page-background);
margin: 1em 0;
padding: 10px;
overflow-y: auto;
}
.card-block + .card-block {
border-top: 1px solid var(--form-input-border-color);
padding-top: 10px;
}
.card *:first-child,
.card-block *:first-child {
margin-top: 0;
}
{# Status
------------------------------------------------------------------------- #}
.status-success {
background: var(--success-background);
}
.status-warning {
background: var(--badge-warning-background);
color: var(--badge-warning-color);
}
.status-error {
background: rgba(176, 65, 62, 0.2);
}
.status-success td,
.status-warning td,
.status-error td {
background: transparent;
}
tr.status-error td,
tr.status-warning td {
border-bottom: 1px solid var(--base-2);
border-top: 1px solid var(--base-2);
}
.status-warning .colored {
color: var(--color-warning);
}
.status-error .colored {
color: var(--color-error);
}
{# Icons
========================================================================= #}
.sf-icon {
vertical-align: middle;
background-repeat: no-repeat;
background-size: contain;
width: 16px;
height: 16px;
display: inline-block;
}
.sf-icon svg {
width: 16px;
height: 16px;
}
.sf-icon.sf-medium,
.sf-icon.sf-medium svg {
width: 24px;
height: 24px;
}
.sf-icon.sf-large,
.sf-icon.sf-large svg {
width: 32px;
height: 32px;
}
{# Layout
========================================================================= #}
.container {
margin: 0 5px;
max-width: 98%;
}
@media (min-width: 992px) {
.container { margin: 0 15px; }
}
@media (min-width: 1200px) {
.container { margin: 0 auto; max-width: 1200px; }
}
#header {
flex: 0 0 auto;
}
#header .container {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#content {
height: 100%;
}
#main {
display: flex;
align-items: flex-start;
flex-direction: row;
}
#sidebar {
border-radius: 4px;
flex: 0 0 220px;
}
#collector-wrapper {
flex: 0 1 100%;
min-width: 0;
}
#collector-wrapper h2 {
box-shadow: inset 0 -1px 0 var(--page-background), 0 1px 0 var(--h2-border-color), 0 4px 0 var(--page-background);
padding-bottom: 5px;
}
#collector-content {
margin: 0 0 15px 0;
padding: 0 0 15px 15px;
}
@media (min-width: 768px) {
#collector-content {
margin: 0 0 30px 0;
padding: 0 0 15px 30px;
}
}
#main #collector-content > h2:first-of-type {
box-shadow: inset 0 -1px 0 var(--page-background), 0 2px 0 var(--h2-border-color), 0 5px 0 var(--page-background);
font-size: 24px;
margin: 5px 0 30px;
}
#main #collector-content > h2:first-of-type a {
text-decoration: none;
}
#main #collector-content > h2:first-of-type a:hover {
text-decoration: underline;
}
{# Header
========================================================================= #}
#header {
align-items: center;
display: flex;
justify-content: space-between;
overflow: hidden;
padding: 10px 0;
}
#header h1 {
align-items: center;
background: var(--page-background);
box-shadow: 0 0 0 5px var(--page-background);
color: var(--gray-600);
display: flex;
font-weight: 500;
font-size: 18px;
margin: 0;
}
#header h1 a {
display: flex;
color: inherit;
}
.theme-dark #header h1 {
color: var(--gray-200);
}
#header h1 svg {
height: 28px;
width: 28px;
margin-right: 6px;
}
#header .search {
margin-right: 2px;
}
#header .search input {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-icon-name='icon-tabler-search' width='21' height='21' viewBox='0 0 24 24' stroke='%23737373' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Ccircle cx='10' cy='10' r='7'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 16px;
background-position: 5px;
box-shadow: inset 0 0 0 1px var(--form-input-border-color), 0 0 0 3px var(--page-background);
padding: 5px 8px 5px 30px;
width: 215px;
}
.theme-dark #header .search input {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-icon-name='icon-tabler-search' width='21' height='21' viewBox='0 0 24 24' stroke='%23a3a3a3' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'%3E%3C/path%3E%3Ccircle cx='10' cy='10' r='7'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E");
}
{# Summary
========================================================================= #}
#summary {
box-shadow: 0 0 0 5px var(--page-background);
margin: 0 0 15px;
background: var(--page-background);
color: var(--color-text);
}
#summary .status {
background: var(--header-background);
border-radius: 6px;
color: var(--header-metadata-value);
padding: calc(15px + var(--summary-status-border-width)) 15px 15px;
position: relative;
}
#summary .status:before {
background: var(--header-border-color);
border-radius: 3px 3px 0 0;
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: var(--summary-status-border-width);
}
#summary .status-compact {
padding: 13px 15px 10px;
position: relative;
}
#summary .status-compact.status-compact-forward {
padding: 10px 15px;
}
#summary .status + .status {
margin-top: 10px;
}
#summary h2 {
display: flex;
align-items: flex-start;
}
#summary h2,
#summary h2 a {
display: flex;
font-size: 24px;
line-height: 1.25;
margin: 0;
text-decoration: none;
word-break: break-all;
}
#summary h2 a:hover {
text-decoration: underline;
}
#summary .status .metadata .icon-referer {
color: var(--color-link);
display: inline-block;
height: 21px;
width: 21px;
vertical-align: middle;
}
#summary .status .metadata .icon-referer svg {
height: 21px;
width: 21px;
}
#summary .status .metadata a.referer {
color: var(--color-link);
}
#summary .status .metadata a.referer:hover {
text-decoration: underline;
}
#summary .status-compact {
font-size: 13px;
margin: 0 0 10px;
}
#summary .status-compact .status-request-method {
border-width: 1px;
font-size: 12px;
font-weight: bold;
margin: 0 2px;
padding: 1px 2px;
white-space: nowrap;
}
#summary .status-compact .icon {
display: inline-block;
transform: translateY(2px);
vertical-align: bottom;
}
#summary .status-compact .icon,
#summary .status-compact .icon svg {
height: 21px;
width: 21px;
}
#summary .status-compact .icon svg {
color: var(--gray-500);
}
.theme-dark #summary .status-compact .icon svg {
color: var(--gray-300);
}
#summary .status-compact .icon.icon-redirect svg,
#summary .status-compact .icon.icon-forward svg {
stroke-width: 2;
}
#summary .status-compact .icon.icon-redirect svg {
transform: rotate(90deg) translateX(3px);
}
#summary .status-compact.status-warning .icon svg {
color: var(--yellow-600);
}
.theme-dark #summary .status-compact.status-warning .icon svg {
color: var(--yellow-400);
}
#summary .status-response-status-code {
background: var(--gray-600);
border-radius: 4px;
color: var(--white);
display: inline-block;
font-size: 12px;
font-weight: bold;
margin-right: 2px;
padding: 1px 3px;
}
#summary .status-response-status-text {
font-weight: bold;
}
#summary .status-success {
background: var(--header-success-background);
box-shadow: var(--header-success-box-shadow);
}
#summary .status-success:before {
background: var(--header-success-border-color);
}
#summary .status-success h2 a { color: var(--header-success-title-color); }
#summary .status-success .status-response-status-code { background: var(--header-success-status-code-background); color: var(--header-success-status-code-color); }
#summary .status-success .status-response-status-text { color: var(--header-success-status-text-color); }
#summary .status-warning {
background: var(--header-warning-background);
box-shadow: var(--header-warning-box-shadow);
}
#summary .status-warning:before {
background: var(--header-warning-border-color);
}
#summary .status-warning h2 a { color: var(--header-warning-title-color); }
#summary .status-warning .status-response-status-code,
#summary .summary-status-redirect .status-response-status-code { background: var(--header-warning-status-code-background); color: var(--header-warning-status-code-color); }
#summary .status-warning .status-response-status-text { color: var(--header-warning-status-text-color); }
#summary .status-error {
background: var(--header-error-background);
box-shadow: var(--header-error-box-shadow);
}
#summary .status-error:before {
background: var(--header-error-border-color);
}
#summary .status-error h2 a { color: var(--header-error-title-color); }
#summary .status-error .status-response-status-code { background: var(--header-error-status-code-background); color: var(--header-error-status-code-color); }
#summary .status-error .status-response-status-text { color: var(--header-error-status-text-color); }
#summary .status-request-method {
border: 1px solid var(--header-status-request-method-color);
border-radius: 5px;
color: var(--header-status-request-method-color);
display: inline-block;
font-size: 16px;
line-height: 1;
margin-right: 6px;
padding: 2px 4px;
text-align: center;
white-space: nowrap;
}
#summary .status:not(.status-compact) .status-request-method {
transform: translateY(5px);
}
#summary .status-error-details {
align-items: center;
display: flex;
font-size: 13px;
line-height: 1;
margin: 0 0 10px;
}
#summary .status-error-details .icon {
display: inline-block;
}
#summary .status-error-details .icon svg {
border-radius: 50%;
box-shadow: inset 0 0 0 2px var(--red-200);
color: var(--red-500);
fill: var(--red-50);
stroke-width: 3px;
height: 24px;
width: 24px;
}
.theme-dark #summary .status-error-details .icon svg {
box-shadow: inset 0 0 0 2px var(--red-800);
color: var(--red-200);
fill: var(--red-700);
}
#summary .status-error-details .icon svg circle {
stroke-width: 2px;
}
#summary .status-error-details .status-response-status-code {
font-size: 15px;
font-weight: bold;
letter-spacing: -0.5px;
line-height: 1;
padding: 5px 8px;
text-transform: uppercase;
}
#summary .status-error-details .status-response-status-text {
color: var(--header-error-status-text-color);
font-weight: normal;
}
#summary dl.metadata {
margin: 10px 0 0;
}
#summary dl.metadata dt,
#summary dl.metadata dd {
display: inline-block;
font-size: 13px;
}
#summary dl.metadata dt {
color: var(--header-metadata-key);
}
#summary dl.metadata dt {
font-weight: bold;
}
#summary dl.metadata dt:not(:empty):after {
content: ':';
}
#summary dl.metadata dd,
#summary dl.metadata dd a {
color: var(--header-metadata-value);
}
#summary dl.metadata dd {
margin: 0 1.5em 0 0;
}
#summary .terminal {
--header-status-request-method-color: var(--gray-400);
--header-metadata-key: var(--gray-400);
--header-metadata-value: var(--gray-300);
background: var(--terminal-bg);
border: solid var(--terminal-border-color);
border-width: 30px 4px 4px 4px;
border-radius: 3px 3px 0 0;
box-shadow: none;
color: var(--gray-100);
padding: 10px 15px;
position: relative;
}
#summary .terminal .status-request-method {
font-size: 13px;
transform: translateY(7px) !important;
margin-right: 10px;
}
#summary .terminal.status-success .status-command {
color: var(--gray-100);
}
#summary .terminal.status-success .status-response-status-code {
margin-right: 1.5em;
text-transform: uppercase;
}
#summary .terminal.status-warning,
#summary .terminal.status-warning .status-response-status-text {
color: var(--terminal-warning-color);
}
#summary .terminal.status-warning .status-response-status-code {
background: var(--terminal-warning-bg);
color: var(--black);
margin-right: 1.5em;
padding: 1px 5px;
text-transform: uppercase;
}
#summary .terminal.status-warning .status-command,
#summary .terminal.status-warning .status-response-status-text {
color: var(--terminal-warning-color);
}
#summary .terminal.status-error .status-command,
#summary .terminal.status-error .status-response-status-text {
color: var(--terminal-error-color);
}
#summary .terminal.status-error .status-response-status-code {
background: var(--terminal-error-bg);
color: var(--black);
margin-right: 1.5em;
padding: 1px 5px;
text-transform: uppercase;
}
#summary .terminal.status-error,
#summary .terminal.status-error .status-response-status-text {
color: var(--terminal-error-color);
}
.macos #summary .terminal::before {
background-color: rgba(255, 255, 255, 0.3);
border-radius: 50%;
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 20px 0 0 2px rgba(255, 255, 255, 0.3), 40px 0 0 2px rgba(255, 255, 255, 0.3);
content: '';
display: block;
height: 7px;
left: 8px;
position: absolute;
top: -18px;
width: 7px;
}
.windows #summary .terminal::before {
background-color: transparent;
background-image:
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(255, 255, 255, 0.3)" d="M464 352H48c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48v-32c0-26.5-21.5-48-48-48z"></path></svg>'),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(255, 255, 255, 0.3)" d="M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"></path></svg>'),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(255, 255, 255, 0.3)" d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"></path></svg>');
background-repeat: no-repeat;
background-position: right 80px top 5px, right 44px top 8px, right 8px top 8px;
background-size: 14px, 14px, 14px;
content: '';
display: block;
height: 30px;
position: absolute;
top: -30px;
width: 100%;
}
.linux #summary .terminal::before {
background-color: transparent;
background-image:
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(255, 255, 255, 0.3)" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"></path></svg>'),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(255, 255, 255, 0.3)" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zM124 296c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h264c6.6 0 12 5.4 12 12v56c0 6.6-5.4 12-12 12H124z"></path></svg>'),
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="rgba(255, 255, 255, 0.3)" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm96 328c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16v160z"></path></svg>');
background-repeat: no-repeat;
background-position: left 8px top 8px, left 28px top 8px, left 48px top 8px;
background-size: 14px, 14px, 14px;
content: '';
display: block;
height: 30px;
position: absolute;
top: -30px;
width: 100%;
}
{# Sidebar
========================================================================= #}
#sidebar {
margin-bottom: 30px;
position: sticky;
top: 20px;
width: 220px;
z-index: 9999;
}
#sidebar-contents {
background: var(--page-background);
border-radius: 6px;
box-shadow: var(--sidebar-shadow);
color: var(--gray-500);
margin: 0;
}
{# Sidebar Shortcuts
------------------------------------------------------------------------- #}
#sidebar #sidebar-shortcuts {
color: var(--gray-500);
padding: 5px 8px;
}
#sidebar #sidebar-shortcuts .sf-tabs .tab-navigation {
margin: 5px 0 15px;
}
#sidebar #sidebar-shortcuts .shortcuts {
display: flex;
align-items: center;
justify-content: space-between;
}
#sidebar #sidebar-shortcuts .shortcuts .btn-link {
color: var(--color-muted);
display: flex;
align-items: center;
font-size: 13px;
padding: 5px 7px;
}
#sidebar #sidebar-shortcuts .btn-link:hover {
background: var(--menu-active-background);
color: var(--menu-active-color);
text-decoration: none;
}
#sidebar-shortcuts .shortcuts svg {
height: 16px;
width: 16px;
margin-right: 4px;
}
#sidebar #sidebar-shortcuts form {
padding: 5px 7px;
}
{# Sidebar Search (the colors of this element don't change based on the selected theme)
------------------------------------------------------------------------- #}
#sidebar-search {
padding: 5px 0;
}
#sidebar-search .form-group-row {
display: flex;
justify-content: space-between;
padding-top: 10px;
}
#sidebar-search .form-group-row .form-group {
padding-top: 0;
}
#sidebar-search .form-group {
padding-top: 10px;
}
#sidebar-search .form-group:first-child {
padding-top: 0;
}
#sidebar-search .form-group label {
color: var(--color-muted);
display: block;
font-size: 12px;
font-weight: bold;
margin-bottom: 3px;
}
#sidebar-search .form-group input,
#sidebar-search .form-group select {
font-size: 13px;
}
#sidebar-search select#method {
width: 11ch;
}
#sidebar-search input#status_code {
width: 8ch;
}
#sidebar-search input#ip,
#sidebar-search input#url {
width: calc(100% - 12px);
}
#sidebar-search .form-group-row-search-button {
align-items: flex-end;
}
{# Sidebar Menu
------------------------------------------------------------------------- #}
#menu-profiler {
border-top: 1px solid var(--menu-border-color);
list-style-type: none;
margin: 0;
padding: 7px;
display: flex;
flex-direction: column;
}
#menu-profiler li {
margin-bottom: 0;
position: relative;
}
#menu-profiler li:has(span.disabled) {
order: 1;
}
#menu-profiler li + li {
margin-top: 4px;
}
#menu-profiler li a:hover {
text-decoration: none;
}
#menu-profiler li a .label {
background: transparent;
border-radius: 4px;
color: var(--menu-color);
display: flex;
align-items: center;
padding: 5px 7px;
overflow: hidden;
}
#menu-profiler li a .label .icon {
color: var(--menu-icon-color);
display: flex;
margin-right: 8px;
text-align: center;
}
#menu-profiler .label .icon img,
#menu-profiler .label .icon svg {
height: 24px;
max-width: 24px;
}
#menu-profiler li a .label strong {
flex: 1;
font-size: var(--font-size-body);
font-weight: 500;
}
#menu-profiler li a .label.disabled {
color: var(--menu-disabled-color);
font-weight: normal;
}
#menu-profiler li a .label.disabled .icon {
color: var(--menu-icon-disabled-color);
}
#menu-profiler li a .label.disabled strong {
font-weight: normal;
}
#menu-profiler li.selected::before {
background: var(--menu-active-marker-background);
border-radius: 6px;
content: '';
position: absolute;
top: calc(50% - 14px);
left: -8px;
width: 4px;
height: 28px;
}
#menu-profiler li.selected a .label,
#menu-profiler:hover li.selected a:hover .label,
#menu-profiler li a:hover .label {
background: var(--menu-active-background);
}
#menu-profiler li.selected a .label,
#menu-profiler li a:hover .label {
color: var(--menu-active-color);
}
#menu-profiler li.selected a .icon svg,
#menu-profiler li a:hover .icon svg,
#menu-profiler li.selected a .disabled .icon svg,
#menu-profiler li a:hover .disabled .icon svg {
color: var(--menu-active-color);
}
#menu-profiler li a .count {
background: var(--selected-badge-background);
border-radius: 4px;
box-shadow: var(--selected-badge-shadow);
color: var(--selected-badge-color);
display: inline-block;
font-weight: bold;
line-height: 1;
min-width: 10px;
padding: 3px 6px;
text-align: center;
white-space: nowrap;
}
#menu-profiler li a span.count span {
font-size: 12px;
}
#menu-profiler li a span.count span + span::before {
content: " / ";
color: #AAA;
}
#menu-profiler .label-status-warning .count {
background: var(--selected-badge-warning-background);
color: var(--selected-badge-warning-color);
box-shadow: var(--selected-badge-warning-shadow);
}
#menu-profiler .label-status-error .count {
background: var(--selected-badge-danger-background);
color: var(--selected-badge-danger-color);
box-shadow: var(--selected-badge-danger-shadow);
}
{# Tabbed navigation
========================================================================= #}
.tab-navigation {
background-color: var(--tab-background);
border-radius: 6px;
box-shadow: inset 0 0 0 1px var(--tab-border-color), 0 0 0 5px var(--page-background);
display: inline-flex;
flex-wrap: wrap;
margin: 0 0 15px;
padding: 0;
user-select: none;
-webkit-user-select: none;
}
.sf-tabs-sm .tab-navigation {
box-shadow: inset 0 0 0 1px var(--tab-border-color), 0 0 0 4px var(--page-background);
margin: 0 0 10px;
}
.tab-navigation .tab-control {
background: transparent;
color: inherit;
border: 0;
box-shadow: none;
transition: box-shadow .05s ease-in, background-color .05s ease-in;
cursor: pointer;
font-size: 14px;
font-weight: 500;
line-height: 1.4;
margin: 0;
padding: 4px 14px;
position: relative;
text-align: center;
z-index: 1;
}
.tab-navigation .tab-control a {
color: var(--page-color);
text-decoration: none;
}
.tab-navigation .tab-control.active a {
color: var(--tab-active-color);
}
.sf-tabs-sm .tab-navigation .tab-control {
font-size: 13px;
padding: 2.5px 10px;
}
.tab-navigation .tab-control:before {
background: var(--tab-border-color);
bottom: 15%;
content: "";
left: 0;
position: absolute;
top: 15%;
width: 1px;
}
.tab-navigation .tab-control:first-child:before,
.tab-navigation .tab-control.active + .tab-control:before,
.tab-navigation .tab-control.active:before {
width: 0;
}
.tab-navigation .tab-control .badge {
background: var(--selected-badge-background);
box-shadow: var(--selected-badge-shadow);
color: var(--selected-badge-color);
display: inline-block;
font-size: 12px;
font-weight: bold;
line-height: 1;
margin-left: 8px;
min-width: 10px;
padding: 2px 6px;
text-align: center;
white-space: nowrap;
}
.tab-navigation .tab-control.disabled {
color: var(--tab-disabled-color);
}
.tab-navigation .tab-control.active {
background-color: var(--tab-active-background);
border-radius: 6px;
box-shadow: inset 0 0 0 1.5px var(--tab-active-border-color);
color: var(--tab-active-color);
position: relative;
z-index: 1;
}
.theme-dark .tab-navigation li.active {
box-shadow: inset 0 0 0 1px var(--tab-border-color);
}
.tab-content > *:first-child {
margin-top: 0;
}
.tab-navigation .tab-control .badge.status-warning {
background: var(--selected-badge-warning-background);
box-shadow: var(--selected-badge-warning-shadow);
color: var(--selected-badge-warning-color);
}
.tab-navigation .tab-control .badge.status-error {
background: var(--selected-badge-danger-background);
box-shadow: var(--selected-badge-danger-shadow);
color: var(--selected-badge-danger-color);
}
.sf-tabs .tab:not(:first-child) { display: none; }
{# Toggles
========================================================================= #}
.sf-toggle-content {
-moz-transition: display .25s ease;
-webkit-transition: display .25s ease;
transition: display 3.25s ease;
}
.sf-toggle-content.sf-toggle-hidden {
display: none;
}
.sf-toggle-content.sf-toggle-visible {
display: block;
}
{# Badges
========================================================================= #}
.badge {
background: var(--badge-background);
border-radius: 4px;
color: var(--badge-color);
font-size: 12px;
font-weight: bold;
padding: 1px 4px;
}
.badge-success {
background: var(--badge-success-background);
color: var(--badge-success-color);
}
.badge-warning {
background: var(--badge-warning-background);
color: var(--badge-warning-color);
}
.badge-danger {
background: var(--badge-danger-background);
color: var(--badge-danger-color);
}
{# Dumped contents (used in many different panels)
========================================================================= #}
pre.sf-dump, pre.sf-dump .sf-dump-default {
white-space: pre-wrap;
z-index: 1000 !important;
}
#collector-content .sf-dump {
margin-bottom: 2em;
}
#collector-content pre.sf-dump,
#collector-content .sf-dump code,
#collector-content .sf-dump samp {
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace);
font-variant-ligatures: var(--font-variant-ligatures-monospace);
}
#collector-content .sf-dump a {
cursor: pointer;
}
#collector-content .sf-dump pre.sf-dump,
#collector-content .sf-dump .trace {
border: var(--border);
padding: 10px;
margin: 0.5em 0;
overflow: auto;
}
#collector-content pre.sf-dump,
#collector-content .sf-dump-default {
background: none;
}
#collector-content .sf-dump-ellipsis { max-width: 100em; }
#collector-content .sf-dump {
margin: 0;
padding: 0;
line-height: 1.4;
}
#collector-content .dump-inline .sf-dump {
display: inline;
white-space: normal;
font-size: var(--font-size-monospace);
line-height: inherit;
}
#collector-content .dump-inline .sf-dump:after {
display: none;
}
#collector-content .sf-dump .trace {
font-size: 12px;
}
#collector-content .sf-dump .trace li {
margin-bottom: 0;
padding: 0;
}
#collector-content pre.sf-dump, #collector-content .sf-dump code, #collector-content .sf-dump samp {
font-size: var(--font-size-monospace);
font-weight: normal;
}
#collector-content .sf-dump pre.sf-dump,
#collector-content .sf-dump .trace {
background: var(--page-background);
}
#collector-content pre.sf-dump,
#collector-content .sf-dump-default {
color: var(--color-text);
}
#collector-content .sf-dump samp {
line-height: 1.7;
}
body.theme-light #collector-content .sf-dump-expanded { color: var(--color-text); }
body.theme-light #collector-content .sf-dump-str { color: var(--highlight-string); }
body.theme-light #collector-content .sf-dump-private,
body.theme-light #collector-content .sf-dump-protected,
body.theme-light #collector-content .sf-dump-public { color: var(--color-text); }
body.theme-light #collector-content .sf-dump-note { color: #e36209; }
body.theme-light #collector-content .sf-dump-meta { color: #6f42c1; }
body.theme-light #collector-content .sf-dump-key { color: #067d17; }
body.theme-light #collector-content .sf-dump-num,
body.theme-light #collector-content .sf-dump-const { color: var(--highlight-constant); }
body.theme-light #collector-content .sf-dump-ref { color: #6E6E6E; }
body.theme-light #collector-content .sf-dump-ellipsis { color: var(--gray-600); max-width: 100em; }
body.theme-light #collector-content .sf-dump-ellipsis-path { max-width: 5em; }
body.theme-light #collector-content .sf-dump .trace li.selected {
background: rgba(255, 255, 153, 0.5);
}
body.theme-dark #collector-content .sf-dump-expanded { color: var(--color-text); }
body.theme-dark #collector-content .sf-dump-str { color: var(--highlight-string); }
body.theme-dark #collector-content .sf-dump-private,
body.theme-dark #collector-content .sf-dump-protected,
body.theme-dark #collector-content .sf-dump-public { color: var(--color-text); }
body.theme-dark #collector-content .sf-dump-note { color: #ffa657; }
body.theme-dark #collector-content .sf-dump-meta { color: #d2a8ff; }
body.theme-dark #collector-content .sf-dump-key { color: #a5d6ff; }
body.theme-dark #collector-content .sf-dump-num,
body.theme-dark #collector-content .sf-dump-const { color: var(--highlight-constant); }
body.theme-dark #collector-content .sf-dump-ref { color: var(--gray-400); }
body.theme-dark #collector-content .sf-dump-ellipsis { color: var(--gray-300); max-width: 100em; }
body.theme-dark #collector-content .sf-dump-ellipsis-path { max-width: 5em; }
body.theme-dark #collector-content .sf-dump .trace li.selected {
background: rgba(255, 255, 153, 0.5);
}
{# Doctrine panel
========================================================================= #}
.sql-runnable {
background: var(--base-1);
margin: .5em 0;
padding: 1em;
}
.sql-explain {
overflow-x: auto;
max-width: 888px;
}
.width-full .sql-explain {
max-width: unset;
}
.sql-explain table td, .sql-explain table tr {
word-break: normal;
}
.queries-table pre {
margin: 0;
white-space: pre-wrap;
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
{# Small screens
========================================================================= #}
.visible-small {
display: none;
}
.hidden-small {
display: inherit;
}
@media (max-width: 768px) {
#summary .status {
padding: calc(10px + var(--summary-status-border-width)) 10px 10px;
}
#sidebar {
flex-basis: 50px;
overflow-x: hidden;
transition: flex-basis 200ms ease-out;
}
#sidebar:hover, #sidebar.expanded {
flex-basis: 220px;
}
#sidebar-search {
display: none;
}
#sidebar:hover #sidebar-search.sf-toggle-visible, #sidebar.expanded #sidebar-search.sf-toggle-visible {
display: block;
}
#sidebar .module {
display: none;
}
#sidebar:hover .module, #sidebar.expanded .module {
display: block;
}
#sidebar:not(:hover):not(.expanded) .label .count {
border-radius: 50%;
border: 1px solid #eee;
height: 8px;
min-width: 0;
padding: 0;
right: 4px;
text-indent: -9999px;
top: 50%;
width: 8px;
}
.visible-small {
display: inherit;
}
.hidden-small {
display: none;
}
.btn-sm svg {
margin-left: 2px;
}
}
{# Config Options
========================================================================= #}
body.width-full .container {
margin: 0 5px;
max-width: 100%;
}
@media (min-width: 992px) {
body.width-full .container { margin: 0 15px; }
}
@media (min-width: 1200px) {
body.width-full .container { margin: 0 30px; }
}