bug #29539 [WebProfilerBundle][TwigBundle] CSS fixes (ro0NL)

This PR was merged into the 4.2 branch.

Discussion
----------

[WebProfilerBundle][TwigBundle] CSS fixes

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

5e59d7fe54 [WebProfilerBundle][TwigBundle] CSS fixes
This commit is contained in:
Fabien Potencier 2018-12-10 04:30:40 +01:00
commit dcd0f2953d
2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
{# This file is based on WebProfilerBundle/Resources/views/Profiler/profiler.css.twig.
If you make any change in this file, verify the same change is needed in the other file. #}
:root {
--font-sans-serif: 'Helvetica, Arial, sans-serif';
--font-sans-serif: Helvetica, Arial, sans-serif;
--page-background: #f9f9f9;
--color-text: #222;
/* when updating any of these colors, do the same in toolbar.css.twig */

View File

@ -6,7 +6,7 @@
*{-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box}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}
:root {
--font-sans-serif: 'Helvetica, Arial, sans-serif';
--font-sans-serif: Helvetica, Arial, sans-serif;
--page-background: #f9f9f9;
--color-text: #222;
--color-muted: #999;
@ -42,7 +42,7 @@
.theme-dark {
--page-background: #36393e;
--color-text: #e0e0e0;
--color-muted: #999;
--color-muted: #777;
--tab-background: #555;
--tab-color: #ccc;
--tab-active-background: #888;
@ -59,7 +59,6 @@
--table-header: #555;
--shadow: 0px 0px 1px rgba(32, 32, 32, .2);
--border: 1px solid #666;
--color-muted: #777;
--base-0: #2e3136;
--base-1: #444;
--base-2: #666;
@ -80,7 +79,7 @@ body {
color: var(--base-6);
display: flex;
flex-direction: column;
font_family: var(--font-sans-serif);
font-family: var(--font-sans-serif);
font-size: 14px;
line-height: 1.4;
}
@ -157,7 +156,7 @@ code, pre {
{# Buttons (the colors of this element don't change based on the selected theme)
------------------------------------------------------------------------- #}
button {
font_family: var(--font-sans-serif);
font-family: var(--font-sans-serif);
}
.btn {
background: #777;
@ -296,7 +295,7 @@ table tbody td.num-col {
text-align: center;
}
.font-normal {
font_family: var(--font-sans-serif);
font-family: var(--font-sans-serif);
font-size: 14px;
}
.help {
@ -1158,7 +1157,7 @@ pre.sf-dump, pre.sf-dump .sf-dump-default {
{# Search Results page
========================================================================= #}
#search-results td {
font_family: var(--font-sans-serif);
font-family: var(--font-sans-serif);
vertical-align: middle;
}