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