exception.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. /* This file is based on WebProfilerBundle/Resources/views/Profiler/profiler.css.twig.
  2. If you make any change in this file, verify the same change is needed in the other file. */
  3. :root {
  4. --font-sans-serif: Helvetica, Arial, sans-serif;
  5. --page-background: #f9f9f9;
  6. --color-text: #222;
  7. /* when updating any of these colors, do the same in toolbar.css.twig */
  8. --color-success: #4f805d;
  9. --color-warning: #a46a1f;
  10. --color-error: #b0413e;
  11. --color-muted: #999;
  12. --tab-background: #fff;
  13. --tab-color: #444;
  14. --tab-active-background: #666;
  15. --tab-active-color: #fafafa;
  16. --tab-disabled-background: #f5f5f5;
  17. --tab-disabled-color: #999;
  18. --metric-value-background: #fff;
  19. --metric-value-color: inherit;
  20. --metric-unit-color: #999;
  21. --metric-label-background: #e0e0e0;
  22. --metric-label-color: inherit;
  23. --table-border: #e0e0e0;
  24. --table-background: #fff;
  25. --table-header: #e0e0e0;
  26. --trace-selected-background: #F7E5A1;
  27. --tree-active-background: #F7E5A1;
  28. --exception-title-color: var(--base-2);
  29. --shadow: 0px 0px 1px rgba(128, 128, 128, .2);
  30. --border: 1px solid #e0e0e0;
  31. --background-error: var(--color-error);
  32. --highlight-comment: #969896;
  33. --highlight-default: #222222;
  34. --highlight-keyword: #a71d5d;
  35. --highlight-string: #183691;
  36. --base-0: #fff;
  37. --base-1: #f5f5f5;
  38. --base-2: #e0e0e0;
  39. --base-3: #ccc;
  40. --base-4: #666;
  41. --base-5: #444;
  42. --base-6: #222;
  43. }
  44. .theme-dark {
  45. --page-background: #36393e;
  46. --color-text: #e0e0e0;
  47. --color-muted: #777;
  48. --color-error: #d43934;
  49. --tab-background: #555;
  50. --tab-color: #ccc;
  51. --tab-active-background: #888;
  52. --tab-active-color: #fafafa;
  53. --tab-disabled-background: var(--page-background);
  54. --tab-disabled-color: #777;
  55. --metric-value-background: #555;
  56. --metric-value-color: inherit;
  57. --metric-unit-color: #999;
  58. --metric-label-background: #777;
  59. --metric-label-color: #e0e0e0;
  60. --trace-selected-background: #71663acc;
  61. --table-border: #444;
  62. --table-background: #333;
  63. --table-header: #555;
  64. --info-background: rgba(79, 148, 195, 0.5);
  65. --tree-active-background: var(--metric-label-background);
  66. --exception-title-color: var(--base-2);
  67. --shadow: 0px 0px 1px rgba(32, 32, 32, .2);
  68. --border: 1px solid #666;
  69. --background-error: #b0413e;
  70. --highlight-comment: #dedede;
  71. --highlight-default: var(--base-6);
  72. --highlight-keyword: #ff413c;
  73. --highlight-string: #70a6fd;
  74. --base-0: #2e3136;
  75. --base-1: #444;
  76. --base-2: #666;
  77. --base-3: #666;
  78. --base-4: #666;
  79. --base-5: #e0e0e0;
  80. --base-6: #f5f5f5;
  81. --card-label-background: var(--tab-active-background);
  82. --card-label-color: var(--tab-active-color);
  83. }
  84. html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}
  85. html {
  86. /* always display the vertical scrollbar to avoid jumps when toggling contents */
  87. overflow-y: scroll;
  88. }
  89. body { background-color: var(--page-background); color: var(--base-6); font: 14px/1.4 Helvetica, Arial, sans-serif; padding-bottom: 45px; }
  90. a { cursor: pointer; text-decoration: none; }
  91. a:hover { text-decoration: underline; }
  92. abbr[title] { border-bottom: none; cursor: help; text-decoration: none; }
  93. code, pre { font: 13px/1.5 Consolas, Monaco, Menlo, "Ubuntu Mono", "Liberation Mono", monospace; }
  94. table, tr, th, td { background: var(--base-0); border-collapse: collapse; vertical-align: top; }
  95. table { background: var(--base-0); border: var(--border); box-shadow: 0px 0px 1px rgba(128, 128, 128, .2); margin: 1em 0; width: 100%; }
  96. table th, table td { border: solid var(--base-2); border-width: 1px 0; padding: 8px 10px; }
  97. table th { background-color: var(--base-2); font-weight: bold; text-align: left; }
  98. .m-t-5 { margin-top: 5px; }
  99. .hidden-xs-down { display: none; }
  100. .block { display: block; }
  101. .full-width { width: 100%; }
  102. .hidden { display: none; }
  103. .prewrap { white-space: pre-wrap; }
  104. .nowrap { white-space: nowrap; }
  105. .newline { display: block; }
  106. .break-long-words { word-wrap: break-word; overflow-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; min-width: 0; }
  107. .text-small { font-size: 12px !important; }
  108. .text-muted { color: #999; }
  109. .text-bold { font-weight: bold; }
  110. .empty { border: 4px dashed var(--base-2); color: #999; margin: 1em 0; padding: .5em 2em; }
  111. .status-success { background: rgba(94, 151, 110, 0.3); }
  112. .status-warning { background: rgba(240, 181, 24, 0.3); }
  113. .status-error { background: rgba(176, 65, 62, 0.2); }
  114. .status-success td, .status-warning td, .status-error td { background: transparent; }
  115. tr.status-error td, tr.status-warning td { border-bottom: 1px solid var(--base-2); border-top: 1px solid var(--base-2); }
  116. .status-warning .colored { color: #A46A1F; }
  117. .status-error .colored { color: var(--color-error); }
  118. .sf-toggle { cursor: pointer; }
  119. .sf-toggle-content { -moz-transition: display .25s ease; -webkit-transition: display .25s ease; transition: display .25s ease; }
  120. .sf-toggle-content.sf-toggle-hidden { display: none; }
  121. .sf-toggle-content.sf-toggle-visible { display: block; }
  122. thead.sf-toggle-content.sf-toggle-visible, tbody.sf-toggle-content.sf-toggle-visible { display: table-row-group; }
  123. .sf-toggle-off .icon-close, .sf-toggle-on .icon-open { display: none; }
  124. .sf-toggle-off .icon-open, .sf-toggle-on .icon-close { display: block; }
  125. .tab-navigation { margin: 0 0 1em 0; padding: 0; }
  126. .tab-navigation li { background: var(--tab-background); border: 1px solid var(--table-border); color: var(--tab-color); cursor: pointer; display: inline-block; font-size: 16px; margin: 0 0 0 -1px; padding: .5em .75em; z-index: 1; }
  127. .tab-navigation li .badge { background-color: var(--base-1); color: var(--base-4); display: inline-block; font-size: 14px; font-weight: bold; margin-left: 8px; min-width: 10px; padding: 1px 6px; text-align: center; white-space: nowrap; }
  128. .tab-navigation li.disabled { background: var(--tab-disabled-background); color: var(--tab-disabled-color); }
  129. .tab-navigation li.active { background: var(--tab-active-background); color: var(--tab-active-color); z-index: 1100; }
  130. .tab-navigation li.active .badge { background-color: var(--base-5); color: var(--base-2); }
  131. .tab-content > *:first-child { margin-top: 0; }
  132. .tab-navigation li .badge.status-warning { background: var(--color-warning); color: #FFF; }
  133. .tab-navigation li .badge.status-error { background: var(--background-error); color: #FFF; }
  134. .sf-tabs .tab:not(:first-child) { display: none; }
  135. [data-filters] { position: relative; }
  136. [data-filtered] { cursor: pointer; }
  137. [data-filtered]:after { content: '\00a0\25BE'; }
  138. [data-filtered]:hover .filter-list li { display: inline-flex; }
  139. [class*="filter-hidden-"] { display: none; }
  140. .filter-list { position: absolute; border: var(--border); box-shadow: var(--shadow); margin: 0; padding: 0; display: flex; flex-direction: column; }
  141. .filter-list :after { content: ''; }
  142. .filter-list li {
  143. background: var(--tab-disabled-background);
  144. border-bottom: var(--border);
  145. color: var(--tab-disabled-color);
  146. display: none;
  147. list-style: none;
  148. margin: 0;
  149. padding: 5px 10px;
  150. text-align: left;
  151. font-weight: normal;
  152. }
  153. .filter-list li.active {
  154. background: var(--tab-background);
  155. color: var(--tab-color);
  156. }
  157. .filter-list li.last-active {
  158. background: var(--tab-active-background);
  159. color: var(--tab-active-color);
  160. }
  161. .filter-list-level li { cursor: s-resize; }
  162. .filter-list-level li.active { cursor: n-resize; }
  163. .filter-list-level li.last-active { cursor: default; }
  164. .filter-list-level li.last-active:before { content: '\2714\00a0'; }
  165. .filter-list-choice li:before { content: '\2714\00a0'; color: transparent; }
  166. .filter-list-choice li.active:before { color: unset; }
  167. .container { max-width: 1024px; margin: 0 auto; padding: 0 15px; }
  168. .container::after { content: ""; display: table; clear: both; }
  169. header { background-color: #222; color: rgba(255, 255, 255, 0.75); font-size: 13px; height: 33px; line-height: 33px; padding: 0; }
  170. header .container { display: flex; justify-content: space-between; }
  171. .logo { flex: 1; font-size: 13px; font-weight: normal; margin: 0; padding: 0; }
  172. .logo svg { height: 18px; width: 18px; opacity: .8; vertical-align: -5px; }
  173. .help-link { margin-left: 15px; }
  174. .help-link a { color: inherit; }
  175. .help-link .icon svg { height: 15px; width: 15px; opacity: .7; vertical-align: -2px; }
  176. .help-link a:hover { color: #EEE; text-decoration: none; }
  177. .help-link a:hover svg { opacity: .9; }
  178. .exception-summary { background: var(--background-error); border-bottom: 2px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, .3); flex: 0 0 auto; margin-bottom: 15px; }
  179. .exception-metadata { background: rgba(0, 0, 0, 0.1); padding: 7px 0; }
  180. .exception-metadata .container { display: flex; flex-direction: row; justify-content: space-between; }
  181. .exception-metadata h2, .exception-metadata h2 > a { color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: 400; margin: 0; }
  182. .exception-http small { font-size: 13px; opacity: .7; }
  183. .exception-hierarchy { flex: 1; }
  184. .exception-hierarchy .icon { margin: 0 3px; opacity: .7; }
  185. .exception-hierarchy .icon svg { height: 13px; width: 13px; vertical-align: -2px; }
  186. .exception-without-message .exception-message-wrapper { display: none; }
  187. .exception-message-wrapper .container { display: flex; align-items: flex-start; min-height: 70px; padding: 10px 15px 8px; }
  188. .exception-message { flex-grow: 1; }
  189. .exception-message, .exception-message a { color: #FFF; font-size: 21px; font-weight: 400; margin: 0; }
  190. .exception-message.long { font-size: 18px; }
  191. .exception-message a { border-bottom: 1px solid rgba(255, 255, 255, 0.5); font-size: inherit; text-decoration: none; }
  192. .exception-message a:hover { border-bottom-color: #ffffff; }
  193. .exception-illustration { flex-basis: 111px; flex-shrink: 0; height: 66px; margin-left: 15px; opacity: .7; }
  194. .trace + .trace { margin-top: 30px; }
  195. .trace-head { background-color: var(--base-2); padding: 10px; position: relative; }
  196. .trace-head .trace-class { color: var(--base-6); font-size: 18px; font-weight: bold; line-height: 1.3; margin: 0; position: relative; }
  197. .trace-head .trace-namespace { color: #999; display: block; font-size: 13px; }
  198. .trace-head .icon { position: absolute; right: 0; top: 0; }
  199. .trace-head .icon svg { fill: var(--base-5); height: 24px; width: 24px; }
  200. .trace-details { background: var(--base-0); border: var(--border); box-shadow: 0px 0px 1px rgba(128, 128, 128, .2); margin: 1em 0; table-layout: fixed; }
  201. .trace-message { font-size: 14px; font-weight: normal; margin: .5em 0 0; }
  202. .trace-line { position: relative; padding-top: 8px; padding-bottom: 8px; }
  203. .trace-line + .trace-line { border-top: var(--border); }
  204. .trace-line:hover { background: var(--base-1); }
  205. .trace-line a { color: var(--base-6); }
  206. .trace-line .icon { opacity: .4; position: absolute; left: 10px; top: 11px; }
  207. .trace-line .icon svg { fill: var(--base-5); height: 16px; width: 16px; }
  208. .trace-line-header { padding-left: 36px; padding-right: 10px; }
  209. .trace-file-path, .trace-file-path a { color: var(--base-6); font-size: 13px; }
  210. .trace-class { color: var(--color-error); }
  211. .trace-type { padding: 0 2px; }
  212. .trace-method { color: var(--color-error); font-weight: bold; }
  213. .trace-arguments { color: #777; font-weight: normal; padding-left: 2px; }
  214. .trace-code { background: var(--base-0); font-size: 12px; margin: 10px 10px 2px 10px; padding: 10px; overflow-x: auto; white-space: nowrap; }
  215. .trace-code ol { margin: 0; float: left; }
  216. .trace-code li { color: #969896; margin: 0; padding-left: 10px; float: left; width: 100%; }
  217. .trace-code li + li { margin-top: 5px; }
  218. .trace-code li.selected { background: var(--trace-selected-background); margin-top: 2px; }
  219. .trace-code li code { color: var(--base-6); white-space: nowrap; }
  220. .trace-as-text .stacktrace { line-height: 1.8; margin: 0 0 15px; white-space: pre-wrap; }
  221. @media (min-width: 575px) {
  222. .hidden-xs-down { display: initial; }
  223. .help-link { margin-left: 30px; }
  224. }