vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar.css.twig line 1

Open in your IDE?
  1. {# when updating any of these colors, do the same in profiler.css.twig #}
  2. {% set colors = { 'success': '#4F805D', 'warning': '#A46A1F', 'error': '#B0413E' } %}
  3. .sf-minitoolbar {
  4.     background-color: #222;
  5.     border-top-left-radius: 4px;
  6.     bottom: 0;
  7.     box-sizing: border-box;
  8.     display: none;
  9.     height: 36px;
  10.     padding: 6px;
  11.     position: fixed;
  12.     right: 0;
  13.     z-index: 99999;
  14. }
  15. .sf-minitoolbar button {
  16.     background-color: transparent;
  17.     padding: 0;
  18.     border: none;
  19. }
  20. .sf-minitoolbar svg,
  21. .sf-minitoolbar img {
  22.     max-height: 24px;
  23.     max-width: 24px;
  24.     display: inline;
  25. }
  26. .sf-toolbar-clearer {
  27.     clear: both;
  28.     height: 36px;
  29. }
  30. .sf-display-none {
  31.     display: none;
  32. }
  33. .sf-toolbarreset * {
  34.     box-sizing: content-box;
  35.     vertical-align: baseline;
  36.     letter-spacing: normal;
  37.     width: auto;
  38. }
  39. .sf-toolbarreset {
  40.     background-color: #222;
  41.     bottom: 0;
  42.     box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  43.     color: #EEE;
  44.     font: 11px Arial, sans-serif;
  45.     left: 0;
  46.     margin: 0;
  47.     padding: 0 36px 0 0;
  48.     position: fixed;
  49.     right: 0;
  50.     text-align: left;
  51.     text-transform: none;
  52.     z-index: 99999;
  53.     direction: ltr;
  54.     /* neutralize the aliasing defined by external CSS styles */
  55.     -webkit-font-smoothing: subpixel-antialiased;
  56.     -moz-osx-font-smoothing: auto;
  57. }
  58. .sf-toolbarreset abbr {
  59.     border: dashed #777;
  60.     border-width: 0 0 1px;
  61. }
  62. .sf-toolbarreset svg,
  63. .sf-toolbarreset img {
  64.     height: 20px;
  65.     width: 20px;
  66.     display: inline-block;
  67. }
  68. .sf-toolbarreset .sf-cancel-button {
  69.     color: #444;
  70. }
  71. .sf-toolbarreset .hide-button {
  72.     background: #444;
  73.     display: block;
  74.     position: absolute;
  75.     top: 0;
  76.     right: 0;
  77.     width: 36px;
  78.     height: 36px;
  79.     cursor: pointer;
  80.     text-align: center;
  81.     border: none;
  82.     margin: 0;
  83.     padding: 0;
  84. }
  85. .sf-toolbarreset .hide-button svg {
  86.     max-height: 18px;
  87.     margin-top: 1px;
  88. }
  89. .sf-toolbar-block {
  90.     cursor: default;
  91.     display: block;
  92.     float: left;
  93.     height: 36px;
  94.     margin-right: 0;
  95.     white-space: nowrap;
  96.     max-width: 15%;
  97. }
  98. .sf-toolbar-block > a,
  99. .sf-toolbar-block > a:hover {
  100.     display: block;
  101.     text-decoration: none;
  102.     background-color: transparent;
  103.     color: inherit;
  104. }
  105. .sf-toolbar-block span {
  106.     display: inline-block;
  107. }
  108. .sf-toolbar-block .sf-toolbar-value {
  109.     color: #F5F5F5;
  110.     font-size: 13px;
  111.     line-height: 36px;
  112.     padding: 0;
  113. }
  114. .sf-toolbar-block .sf-toolbar-label,
  115. .sf-toolbar-block .sf-toolbar-class-separator {
  116.     color: #AAA;
  117.     font-size: 12px;
  118. }
  119. .sf-toolbar-block .sf-toolbar-info {
  120.     border-collapse: collapse;
  121.     display: table;
  122.     z-index: 100000;
  123. }
  124. .sf-toolbar-block hr {
  125.     border-top: 1px solid #777;
  126.     margin: 4px 0;
  127.     padding-top: 4px;
  128. }
  129. .sf-toolbar-block .sf-toolbar-info-piece {
  130.     /* this 'border-bottom' trick is needed because 'margin-bottom' doesn't work for table rows */
  131.     border-bottom: solid transparent 3px;
  132.     display: table-row;
  133. }
  134. .sf-toolbar-block .sf-toolbar-info-piece-additional,
  135. .sf-toolbar-block .sf-toolbar-info-piece-additional-detail {
  136.     display: none;
  137. }
  138. .sf-toolbar-block .sf-toolbar-info-group {
  139.     margin-bottom: 4px;
  140.     padding-bottom: 2px;
  141.     border-bottom: 1px solid #333333;
  142. }
  143. .sf-toolbar-block .sf-toolbar-info-group:last-child {
  144.     margin-bottom: 0;
  145.     padding-bottom: 0;
  146.     border-bottom: none;
  147. }
  148. .sf-toolbar-block .sf-toolbar-info-piece .sf-toolbar-status {
  149.     padding: 2px 5px;
  150.     margin-bottom: 0;
  151. }
  152. .sf-toolbar-block .sf-toolbar-info-piece .sf-toolbar-status + .sf-toolbar-status {
  153.     margin-left: 4px;
  154. }
  155. .sf-toolbar-block .sf-toolbar-info-piece:last-child {
  156.     margin-bottom: 0;
  157. }
  158. div.sf-toolbar .sf-toolbar-block .sf-toolbar-info-piece a {
  159.     color: #99CDD8;
  160.     text-decoration: underline;
  161. }
  162. div.sf-toolbar .sf-toolbar-block a:hover {
  163.     text-decoration: none;
  164. }
  165. .sf-toolbar-block .sf-toolbar-info-piece b {
  166.     color: #AAA;
  167.     display: table-cell;
  168.     font-size: 11px;
  169.     padding: 4px 8px 4px 0;
  170. }
  171. .sf-toolbar-block:not(.sf-toolbar-block-dump) .sf-toolbar-info-piece span {
  172.     color: #F5F5F5;
  173. }
  174. .sf-toolbar-block .sf-toolbar-info-piece span {
  175.     font-size: 12px;
  176. }
  177. .sf-toolbar-block .sf-toolbar-info {
  178.     background-color: #444;
  179.     bottom: 36px;
  180.     color: #F5F5F5;
  181.     display: none;
  182.     padding: 9px 0;
  183.     position: absolute;
  184. }
  185. .sf-toolbar-block .sf-toolbar-info:empty {
  186.     visibility: hidden;
  187. }
  188. .sf-toolbar-block .sf-toolbar-status {
  189.     display: inline-block;
  190.     color: #FFF;
  191.     background-color: #666;
  192.     padding: 3px 6px;
  193.     margin-bottom: 2px;
  194.     vertical-align: middle;
  195.     min-width: 15px;
  196.     min-height: 13px;
  197.     text-align: center;
  198. }
  199. .sf-toolbar-block .sf-toolbar-status-green {
  200.     background-color: {{ colors.success|raw }};
  201. }
  202. .sf-toolbar-block .sf-toolbar-status-red {
  203.     background-color: {{ colors.error|raw }};
  204. }
  205. .sf-toolbar-block .sf-toolbar-status-yellow {
  206.     background-color: {{ colors.warning|raw }};
  207. }
  208. .sf-toolbar-block.sf-toolbar-status-green {
  209.     background-color: {{ colors.success|raw }};
  210.     color: #FFF;
  211. }
  212. .sf-toolbar-block.sf-toolbar-status-red {
  213.     background-color: {{ colors.error|raw }};
  214.     color: #FFF;
  215. }
  216. .sf-toolbar-block.sf-toolbar-status-yellow {
  217.     background-color: {{ colors.warning|raw }};
  218.     color: #FFF;
  219. }
  220. .sf-toolbar-block-request .sf-toolbar-status {
  221.     color: #FFF;
  222.     display: inline-block;
  223.     font-size: 14px;
  224.     height: 36px;
  225.     line-height: 36px;
  226.     padding: 0 10px;
  227. }
  228. .sf-toolbar-block-request .sf-toolbar-info-piece a {
  229.     background-color: transparent;
  230.     text-decoration: none;
  231. }
  232. .sf-toolbar-block-request .sf-toolbar-info-piece a:hover {
  233.     text-decoration: underline;
  234. }
  235. .sf-toolbar-block-request .sf-toolbar-redirection-status {
  236.     font-weight: normal;
  237.     padding: 2px 4px;
  238.     line-height: 18px;
  239. }
  240. .sf-toolbar-block-request .sf-toolbar-info-piece span.sf-toolbar-redirection-method {
  241.     font-size: 12px;
  242.     height: 17px;
  243.     line-height: 17px;
  244.     margin-right: 5px;
  245. }
  246. .sf-toolbar-block-ajax .sf-toolbar-icon {
  247.     cursor: pointer;
  248. }
  249. .sf-toolbar-status-green .sf-toolbar-label,
  250. .sf-toolbar-status-yellow .sf-toolbar-label,
  251. .sf-toolbar-status-red .sf-toolbar-label {
  252.     color: #FFF;
  253. }
  254. .sf-toolbar-status-green svg path,
  255. .sf-toolbar-status-green svg .sf-svg-path,
  256. .sf-toolbar-status-red svg path,
  257. .sf-toolbar-status-red svg .sf-svg-path,
  258. .sf-toolbar-status-yellow svg path,
  259. .sf-toolbar-status-yellow svg .sf-svg-path {
  260.     fill: #FFF;
  261. }
  262. .sf-toolbar-block-config svg path,
  263. .sf-toolbar-block-config svg .sf-svg-path {
  264.     fill: #FFF;
  265. }
  266. .sf-toolbar-block .sf-toolbar-icon {
  267.     display: block;
  268.     height: 36px;
  269.     padding: 0 7px;
  270.     overflow: hidden;
  271.     text-overflow: ellipsis;
  272. }
  273. .sf-toolbar-block-request .sf-toolbar-icon {
  274.     padding-left: 0;
  275.     padding-right: 0;
  276. }
  277. .sf-toolbar-block .sf-toolbar-icon img,
  278. .sf-toolbar-block .sf-toolbar-icon svg {
  279.     border-width: 0;
  280.     position: relative;
  281.     top: 8px;
  282.     vertical-align: baseline;
  283. }
  284. .sf-toolbar-block .sf-toolbar-icon img + span,
  285. .sf-toolbar-block .sf-toolbar-icon svg + span {
  286.     margin-left: 4px;
  287. }
  288. .sf-toolbar-block-config .sf-toolbar-icon .sf-toolbar-value {
  289.     margin-left: 4px;
  290. }
  291. .sf-toolbar-block:hover,
  292. .sf-toolbar-block.hover {
  293.     position: relative;
  294. }
  295. .sf-toolbar-block:hover .sf-toolbar-icon,
  296. .sf-toolbar-block.hover .sf-toolbar-icon {
  297.     background-color: #444;
  298.     position: relative;
  299.     z-index: 10002;
  300. }
  301. .sf-toolbar-block-ajax.hover .sf-toolbar-info {
  302.     z-index: 10001;
  303. }
  304. .sf-toolbar-block:hover .sf-toolbar-info,
  305. .sf-toolbar-block.hover .sf-toolbar-info {
  306.     display: block;
  307.     padding: 10px;
  308.     max-width: 480px;
  309.     max-height: 480px;
  310.     word-wrap: break-word;
  311.     overflow: hidden;
  312.     overflow-y: auto;
  313. }
  314. .sf-toolbar-info-piece b.sf-toolbar-ajax-info {
  315.     color: #F5F5F5;
  316. }
  317. .sf-toolbar-ajax-requests {
  318.     table-layout: auto;
  319.     width: 100%;
  320. }
  321. .sf-toolbar-ajax-requests td {
  322.     background-color: #444;
  323.     border-bottom: 1px solid #777;
  324.     color: #F5F5F5;
  325.     font-size: 12px;
  326.     padding: 4px;
  327. }
  328. .sf-toolbar-ajax-requests tr:last-child td {
  329.     border-bottom: 0;
  330. }
  331. .sf-toolbar-ajax-requests th {
  332.     background-color: #222;
  333.     border-bottom: 0;
  334.     color: #AAA;
  335.     font-size: 11px;
  336.     padding: 4px;
  337. }
  338. .sf-ajax-request-url {
  339.     max-width: 250px;
  340.     line-height: 9px;
  341.     overflow: hidden;
  342.     text-overflow: ellipsis;
  343. }
  344. .sf-toolbar-ajax-requests .sf-ajax-request-url a {
  345.     text-decoration: none;
  346. }
  347. .sf-toolbar-ajax-requests .sf-ajax-request-url a:hover {
  348.     text-decoration: underline;
  349. }
  350. .sf-ajax-request-duration {
  351.     text-align: right;
  352. }
  353. .sf-ajax-request-loading {
  354.     animation: sf-blink .5s ease-in-out infinite;
  355. }
  356. @keyframes sf-blink {
  357.     0% { background: #222; }
  358.     50% { background: #444; }
  359.     100% { background: #222; }
  360. }
  361. .sf-toolbar-block.sf-toolbar-block-dump .sf-toolbar-info {
  362.     max-width: none;
  363.     width: 100%;
  364.     position: fixed;
  365.     box-sizing: border-box;
  366.     left: 0;
  367. }
  368. .sf-toolbar-block-dump pre.sf-dump {
  369.     background-color: #222;
  370.     border-color: #777;
  371.     border-radius: 0;
  372.     margin: 6px 0 12px 0;
  373. }
  374. .sf-toolbar-block-dump pre.sf-dump:last-child {
  375.     margin-bottom: 0;
  376. }
  377. .sf-toolbar-block-dump pre.sf-dump .sf-dump-search-wrapper {
  378.     margin-bottom: 5px;
  379. }
  380. .sf-toolbar-block-dump pre.sf-dump span.sf-dump-search-count {
  381.     color: #333;
  382.     font-size: 12px;
  383. }
  384. .sf-toolbar-block-dump .sf-toolbar-info-piece {
  385.     display: block;
  386. }
  387. .sf-toolbar-block-dump .sf-toolbar-info-piece .sf-toolbar-file-line {
  388.     color: #AAA;
  389.     margin-left: 4px;
  390. }
  391. .sf-toolbar-block-dump .sf-toolbar-info img {
  392.     display: none;
  393. }
  394. /* Responsive Design */
  395. .sf-toolbar-icon .sf-toolbar-label,
  396. .sf-toolbar-icon .sf-toolbar-value {
  397.     display: none;
  398. }
  399. .sf-toolbar-block-config .sf-toolbar-icon .sf-toolbar-label {
  400.     display: inline-block;
  401. }
  402. /* Legacy Design - these styles are maintained to make old panels look
  403.    a bit better on the new toolbar */
  404. .sf-toolbar-block .sf-toolbar-info-piece-additional-detail {
  405.     color: #AAA;
  406.     font-size: 12px;
  407. }
  408. .sf-toolbar-status-green .sf-toolbar-info-piece-additional-detail,
  409. .sf-toolbar-status-yellow .sf-toolbar-info-piece-additional-detail,
  410. .sf-toolbar-status-red .sf-toolbar-info-piece-additional-detail {
  411.     color: #FFF;
  412. }
  413. @media (min-width: 768px) {
  414.     .sf-toolbar-icon .sf-toolbar-label,
  415.     .sf-toolbar-icon .sf-toolbar-value {
  416.         display: inline;
  417.     }
  418.     .sf-toolbar-block .sf-toolbar-icon img,
  419.     .sf-toolbar-block .sf-toolbar-icon svg {
  420.         top: 6px;
  421.     }
  422.     .sf-toolbar-block-time .sf-toolbar-icon svg,
  423.     .sf-toolbar-block-memory .sf-toolbar-icon svg {
  424.         display: none;
  425.     }
  426.     .sf-toolbar-block-time .sf-toolbar-icon svg + span,
  427.     .sf-toolbar-block-memory .sf-toolbar-icon svg + span {
  428.         margin-left: 0;
  429.     }
  430.     .sf-toolbar-block .sf-toolbar-icon {
  431.         padding: 0 10px;
  432.     }
  433.     .sf-toolbar-block-time .sf-toolbar-icon {
  434.         padding-right: 5px;
  435.     }
  436.     .sf-toolbar-block-memory .sf-toolbar-icon {
  437.         padding-left: 5px;
  438.     }
  439.     .sf-toolbar-block-request .sf-toolbar-icon {
  440.         padding-left: 0;
  441.         padding-right: 0;
  442.     }
  443.     .sf-toolbar-block-request .sf-toolbar-label {
  444.         margin-left: 5px;
  445.     }
  446.     .sf-toolbar-block-request .sf-toolbar-status + svg {
  447.         margin-left: 5px;
  448.     }
  449.     .sf-toolbar-block-request .sf-toolbar-icon svg + .sf-toolbar-label {
  450.         margin-left: 0;
  451.      }
  452.     .sf-toolbar-block-request .sf-toolbar-label + .sf-toolbar-value {
  453.         margin-right: 10px;
  454.     }
  455.     .sf-toolbar-block-request:hover .sf-toolbar-info {
  456.         max-width: none;
  457.     }
  458.     .sf-toolbar-block .sf-toolbar-info-piece b {
  459.         font-size: 12px;
  460.     }
  461.     .sf-toolbar-block .sf-toolbar-info-piece span {
  462.         font-size: 13px;
  463.     }
  464.     .sf-toolbar-block-right {
  465.         float: right;
  466.         margin-left: 0;
  467.         margin-right: 0;
  468.     }
  469. }
  470. @media (min-width: 1024px) {
  471.     .sf-toolbar-block .sf-toolbar-info-piece-additional,
  472.     .sf-toolbar-block .sf-toolbar-info-piece-additional-detail {
  473.         display: inline;
  474.     }
  475.     .sf-toolbar-block .sf-toolbar-info-piece-additional:empty,
  476.     .sf-toolbar-block .sf-toolbar-info-piece-additional-detail:empty {
  477.         display: none;
  478.     }
  479. }
  480. /***** Error Toolbar *****/
  481. .sf-error-toolbar .sf-toolbarreset {
  482.     background: #222;
  483.     color: #f5f5f5;
  484.     font: 13px/36px Arial, sans-serif;
  485.     height: 36px;
  486.     padding: 0 15px;
  487.     text-align: left;
  488. }
  489. .sf-error-toolbar .sf-toolbarreset svg {
  490.     height: auto;
  491. }
  492. .sf-error-toolbar .sf-toolbarreset a {
  493.     color: #99cdd8;
  494.     margin-left: 5px;
  495.     text-decoration: underline;
  496. }
  497. .sf-error-toolbar .sf-toolbarreset a:hover {
  498.     text-decoration: none;
  499. }
  500. .sf-error-toolbar .sf-toolbarreset .sf-toolbar-icon {
  501.     float: left;
  502.     padding: 5px 0;
  503.     margin-right: 10px;
  504. }
  505. .sf-full-stack {
  506.     left: 0px;
  507.     font-size: 12px;
  508. }
  509. /***** Media query print: Do not print the Toolbar. *****/
  510. @media print {
  511.     .sf-toolbar {
  512.         display: none !important;
  513.     }
  514. }