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. div.sf-toolbar  .sf-toolbar-block .sf-toolbar-info-piece.sf-toolbar-info-php-ext a {
  178.     text-decoration: none;
  179. }
  180. .sf-toolbar-block .sf-toolbar-info {
  181.     background-color: #444;
  182.     bottom: 36px;
  183.     color: #F5F5F5;
  184.     display: none;
  185.     padding: 9px 0;
  186.     position: absolute;
  187. }
  188. .sf-toolbar-block .sf-toolbar-info:empty {
  189.     visibility: hidden;
  190. }
  191. .sf-toolbar-block .sf-toolbar-status {
  192.     display: inline-block;
  193.     color: #FFF;
  194.     background-color: #666;
  195.     padding: 3px 6px;
  196.     margin-bottom: 2px;
  197.     vertical-align: middle;
  198.     min-width: 15px;
  199.     min-height: 13px;
  200.     text-align: center;
  201. }
  202. .sf-toolbar-block .sf-toolbar-status-green {
  203.     background-color: {{ colors.success|raw }};
  204. }
  205. .sf-toolbar-block .sf-toolbar-status-red {
  206.     background-color: {{ colors.error|raw }};
  207. }
  208. .sf-toolbar-block .sf-toolbar-status-yellow {
  209.     background-color: {{ colors.warning|raw }};
  210. }
  211. .sf-toolbar-block.sf-toolbar-status-green {
  212.     background-color: {{ colors.success|raw }};
  213.     color: #FFF;
  214. }
  215. .sf-toolbar-block.sf-toolbar-status-red {
  216.     background-color: {{ colors.error|raw }};
  217.     color: #FFF;
  218. }
  219. .sf-toolbar-block.sf-toolbar-status-yellow {
  220.     background-color: {{ colors.warning|raw }};
  221.     color: #FFF;
  222. }
  223. .sf-toolbar-block-request .sf-toolbar-status {
  224.     color: #FFF;
  225.     display: inline-block;
  226.     font-size: 14px;
  227.     height: 36px;
  228.     line-height: 36px;
  229.     padding: 0 10px;
  230. }
  231. .sf-toolbar-block-request .sf-toolbar-info-piece a {
  232.     background-color: transparent;
  233.     text-decoration: none;
  234. }
  235. .sf-toolbar-block-request .sf-toolbar-info-piece a:hover {
  236.     text-decoration: underline;
  237. }
  238. .sf-toolbar-block-request .sf-toolbar-redirection-status {
  239.     font-weight: normal;
  240.     padding: 2px 4px;
  241.     line-height: 18px;
  242. }
  243. .sf-toolbar-block-request .sf-toolbar-info-piece span.sf-toolbar-redirection-method {
  244.     font-size: 12px;
  245.     height: 17px;
  246.     line-height: 17px;
  247.     margin-right: 5px;
  248. }
  249. .sf-toolbar-block-ajax .sf-toolbar-icon {
  250.     cursor: pointer;
  251. }
  252. .sf-toolbar-status-green .sf-toolbar-label,
  253. .sf-toolbar-status-yellow .sf-toolbar-label,
  254. .sf-toolbar-status-red .sf-toolbar-label {
  255.     color: #FFF;
  256. }
  257. .sf-toolbar-status-green svg path,
  258. .sf-toolbar-status-green svg .sf-svg-path,
  259. .sf-toolbar-status-red svg path,
  260. .sf-toolbar-status-red svg .sf-svg-path,
  261. .sf-toolbar-status-yellow svg path,
  262. .sf-toolbar-status-yellow svg .sf-svg-path {
  263.     fill: #FFF;
  264. }
  265. .sf-toolbar-block-config svg path,
  266. .sf-toolbar-block-config svg .sf-svg-path {
  267.     fill: #FFF;
  268. }
  269. .sf-toolbar-block .sf-toolbar-icon {
  270.     display: block;
  271.     height: 36px;
  272.     padding: 0 7px;
  273.     overflow: hidden;
  274.     text-overflow: ellipsis;
  275. }
  276. .sf-toolbar-block-request .sf-toolbar-icon {
  277.     padding-left: 0;
  278.     padding-right: 0;
  279. }
  280. .sf-toolbar-block .sf-toolbar-icon img,
  281. .sf-toolbar-block .sf-toolbar-icon svg {
  282.     border-width: 0;
  283.     position: relative;
  284.     top: 8px;
  285.     vertical-align: baseline;
  286. }
  287. .sf-toolbar-block .sf-toolbar-icon img + span,
  288. .sf-toolbar-block .sf-toolbar-icon svg + span {
  289.     margin-left: 4px;
  290. }
  291. .sf-toolbar-block-config .sf-toolbar-icon .sf-toolbar-value {
  292.     margin-left: 4px;
  293. }
  294. .sf-toolbar-block:hover,
  295. .sf-toolbar-block.hover {
  296.     position: relative;
  297. }
  298. .sf-toolbar-block:hover .sf-toolbar-icon,
  299. .sf-toolbar-block.hover .sf-toolbar-icon {
  300.     background-color: #444;
  301.     position: relative;
  302.     z-index: 10002;
  303. }
  304. .sf-toolbar-block-ajax.hover .sf-toolbar-info {
  305.     z-index: 10001;
  306. }
  307. .sf-toolbar-block:hover .sf-toolbar-info,
  308. .sf-toolbar-block.hover .sf-toolbar-info {
  309.     display: block;
  310.     padding: 10px;
  311.     max-width: 525px;
  312.     max-height: 480px;
  313.     word-wrap: break-word;
  314.     overflow: hidden;
  315.     overflow-y: auto;
  316. }
  317. .sf-toolbar-info-piece b.sf-toolbar-ajax-info {
  318.     color: #F5F5F5;
  319. }
  320. .sf-toolbar-ajax-requests {
  321.     table-layout: auto;
  322.     width: 100%;
  323. }
  324. .sf-toolbar-ajax-requests td {
  325.     background-color: #444;
  326.     border-bottom: 1px solid #777;
  327.     color: #F5F5F5;
  328.     font-size: 12px;
  329.     padding: 4px;
  330. }
  331. .sf-toolbar-ajax-requests tr:last-child td {
  332.     border-bottom: 0;
  333. }
  334. .sf-toolbar-ajax-requests th {
  335.     background-color: #222;
  336.     border-bottom: 0;
  337.     color: #AAA;
  338.     font-size: 11px;
  339.     padding: 4px;
  340. }
  341. .sf-ajax-request-url {
  342.     max-width: 250px;
  343.     line-height: 9px;
  344.     overflow: hidden;
  345.     text-overflow: ellipsis;
  346. }
  347. .sf-toolbar-ajax-requests .sf-ajax-request-url a {
  348.     text-decoration: none;
  349. }
  350. .sf-toolbar-ajax-requests .sf-ajax-request-url a:hover {
  351.     text-decoration: underline;
  352. }
  353. .sf-ajax-request-duration {
  354.     text-align: right;
  355. }
  356. .sf-ajax-request-loading {
  357.     animation: sf-blink .5s ease-in-out infinite;
  358. }
  359. @keyframes sf-blink {
  360.     0% { background: #222; }
  361.     50% { background: #444; }
  362.     100% { background: #222; }
  363. }
  364. .sf-toolbar-block.sf-toolbar-block-dump .sf-toolbar-info {
  365.     max-width: none;
  366.     width: 100%;
  367.     position: fixed;
  368.     box-sizing: border-box;
  369.     left: 0;
  370. }
  371. .sf-toolbar-block-dump pre.sf-dump {
  372.     background-color: #222;
  373.     border-color: #777;
  374.     border-radius: 0;
  375.     margin: 6px 0 12px 0;
  376. }
  377. .sf-toolbar-block-dump pre.sf-dump:last-child {
  378.     margin-bottom: 0;
  379. }
  380. .sf-toolbar-block-dump pre.sf-dump .sf-dump-search-wrapper {
  381.     margin-bottom: 5px;
  382. }
  383. .sf-toolbar-block-dump pre.sf-dump span.sf-dump-search-count {
  384.     color: #333;
  385.     font-size: 12px;
  386. }
  387. .sf-toolbar-block-dump .sf-toolbar-info-piece {
  388.     display: block;
  389. }
  390. .sf-toolbar-block-dump .sf-toolbar-info-piece .sf-toolbar-file-line {
  391.     color: #AAA;
  392.     margin-left: 4px;
  393. }
  394. .sf-toolbar-block-dump .sf-toolbar-info img {
  395.     display: none;
  396. }
  397. /* Responsive Design */
  398. .sf-toolbar-icon .sf-toolbar-label,
  399. .sf-toolbar-icon .sf-toolbar-value {
  400.     display: none;
  401. }
  402. .sf-toolbar-block-config .sf-toolbar-icon .sf-toolbar-label {
  403.     display: inline-block;
  404. }
  405. /* Legacy Design - these styles are maintained to make old panels look
  406.    a bit better on the new toolbar */
  407. .sf-toolbar-block .sf-toolbar-info-piece-additional-detail {
  408.     color: #AAA;
  409.     font-size: 12px;
  410. }
  411. .sf-toolbar-status-green .sf-toolbar-info-piece-additional-detail,
  412. .sf-toolbar-status-yellow .sf-toolbar-info-piece-additional-detail,
  413. .sf-toolbar-status-red .sf-toolbar-info-piece-additional-detail {
  414.     color: #FFF;
  415. }
  416. @media (min-width: 768px) {
  417.     .sf-toolbar-icon .sf-toolbar-label,
  418.     .sf-toolbar-icon .sf-toolbar-value {
  419.         display: inline;
  420.     }
  421.     .sf-toolbar-block .sf-toolbar-icon img,
  422.     .sf-toolbar-block .sf-toolbar-icon svg {
  423.         top: 6px;
  424.     }
  425.     .sf-toolbar-block-time .sf-toolbar-icon svg,
  426.     .sf-toolbar-block-memory .sf-toolbar-icon svg {
  427.         display: none;
  428.     }
  429.     .sf-toolbar-block-time .sf-toolbar-icon svg + span,
  430.     .sf-toolbar-block-memory .sf-toolbar-icon svg + span {
  431.         margin-left: 0;
  432.     }
  433.     .sf-toolbar-block .sf-toolbar-icon {
  434.         padding: 0 10px;
  435.     }
  436.     .sf-toolbar-block-time .sf-toolbar-icon {
  437.         padding-right: 5px;
  438.     }
  439.     .sf-toolbar-block-memory .sf-toolbar-icon {
  440.         padding-left: 5px;
  441.     }
  442.     .sf-toolbar-block-request .sf-toolbar-icon {
  443.         padding-left: 0;
  444.         padding-right: 0;
  445.     }
  446.     .sf-toolbar-block-request .sf-toolbar-label {
  447.         margin-left: 5px;
  448.     }
  449.     .sf-toolbar-block-request .sf-toolbar-status + svg {
  450.         margin-left: 5px;
  451.     }
  452.     .sf-toolbar-block-request .sf-toolbar-icon svg + .sf-toolbar-label {
  453.         margin-left: 0;
  454.      }
  455.     .sf-toolbar-block-request .sf-toolbar-label + .sf-toolbar-value {
  456.         margin-right: 10px;
  457.     }
  458.     .sf-toolbar-block-request:hover .sf-toolbar-info {
  459.         max-width: none;
  460.     }
  461.     .sf-toolbar-block .sf-toolbar-info-piece b {
  462.         font-size: 12px;
  463.     }
  464.     .sf-toolbar-block .sf-toolbar-info-piece span {
  465.         font-size: 13px;
  466.     }
  467.     .sf-toolbar-block-right {
  468.         float: right;
  469.         margin-left: 0;
  470.         margin-right: 0;
  471.     }
  472. }
  473. @media (min-width: 1024px) {
  474.     .sf-toolbar-block .sf-toolbar-info-piece-additional,
  475.     .sf-toolbar-block .sf-toolbar-info-piece-additional-detail {
  476.         display: inline;
  477.     }
  478.     .sf-toolbar-block .sf-toolbar-info-piece-additional:empty,
  479.     .sf-toolbar-block .sf-toolbar-info-piece-additional-detail:empty {
  480.         display: none;
  481.     }
  482. }
  483. /***** Error Toolbar *****/
  484. .sf-error-toolbar .sf-toolbarreset {
  485.     background: #222;
  486.     color: #f5f5f5;
  487.     font: 13px/36px Arial, sans-serif;
  488.     height: 36px;
  489.     padding: 0 15px;
  490.     text-align: left;
  491. }
  492. .sf-error-toolbar .sf-toolbarreset svg {
  493.     height: auto;
  494. }
  495. .sf-error-toolbar .sf-toolbarreset a {
  496.     color: #99cdd8;
  497.     margin-left: 5px;
  498.     text-decoration: underline;
  499. }
  500. .sf-error-toolbar .sf-toolbarreset a:hover {
  501.     text-decoration: none;
  502. }
  503. .sf-error-toolbar .sf-toolbarreset .sf-toolbar-icon {
  504.     float: left;
  505.     padding: 5px 0;
  506.     margin-right: 10px;
  507. }
  508. .sf-full-stack {
  509.     left: 0px;
  510.     font-size: 12px;
  511. }
  512. /***** Media query print: Do not print the Toolbar. *****/
  513. @media print {
  514.     .sf-toolbar {
  515.         display: none !important;
  516.     }
  517. }