mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 20:18:52 +02:00
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
@@ -1,79 +1,79 @@
|
||||
{# Mixins
|
||||
========================================================================= #}
|
||||
{% set mixins = {
|
||||
'break_long_words': '-ms-word-break: break-all; word-break: break-all; word-break: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto;',
|
||||
'monospace_font': 'font-family: monospace; font-size: 13px; font-size-adjust: 0.5;',
|
||||
'sans_serif_font': 'font-family: Helvetica, Arial, sans-serif;',
|
||||
'subtle_border_and_shadow': 'background: #FFF; border: 1px solid #E0E0E0; box-shadow: 0px 0px 1px rgba(128, 128, 128, .2);'
|
||||
} %}
|
||||
#header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
{# Normalization
|
||||
(normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css)
|
||||
========================================================================= #}
|
||||
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}
|
||||
|
||||
{# Basic styles
|
||||
========================================================================= #}
|
||||
html, body {
|
||||
height: 100%;
|
||||
#source {
|
||||
background: var(--page-background);
|
||||
border: 1px solid var(--menu-border-color);
|
||||
box-shadow: 0 0 0 5px var(--page-background);
|
||||
border-radius: 6px;
|
||||
margin: 0 30px 45px 0;
|
||||
max-width: 960px;
|
||||
padding: 15px 20px;
|
||||
}
|
||||
.width-full #source {
|
||||
max-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
body {
|
||||
background-color: #F9F9F9;
|
||||
color: #aaa;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
{{ mixins.sans_serif_font|raw }}
|
||||
font-size: 14px;
|
||||
line-height: 1.4;
|
||||
|
||||
#source code {
|
||||
font-size: 15px;
|
||||
}
|
||||
.header {
|
||||
background-color: #222;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
#source .source-file-name {
|
||||
border-bottom: 1px solid var(--table-border-color);
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
margin: 0 0 15px 0;
|
||||
padding: 0 0 15px;
|
||||
}
|
||||
.header h1 {
|
||||
color: #FFF;
|
||||
font-weight: normal;
|
||||
font-size: 21px;
|
||||
#source .source-file-name small {
|
||||
color: var(--color-muted);
|
||||
}
|
||||
|
||||
#source .source-content {
|
||||
overflow-x: auto;
|
||||
}
|
||||
#source .source-content ol {
|
||||
margin: 0;
|
||||
padding: 10px 10px 8px;
|
||||
}
|
||||
#source .source-content ol li {
|
||||
margin: 0 0 2px 0;
|
||||
padding-left: 5px;
|
||||
}
|
||||
#source .source-content ol li::marker {
|
||||
color: var(--color-muted);
|
||||
font-family: var(--font-family-monospace);
|
||||
padding-right: 5px;
|
||||
}
|
||||
#source .source-content li.selected {
|
||||
background: var(--yellow-100);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.theme-dark #source .source-content li.selected {
|
||||
background: var(--gray-600);
|
||||
}
|
||||
#source .source-content li.selected::marker {
|
||||
color: var(--color-text);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#source span[style="color: #FF8000"] { color: var(--highlight-comment) !important; }
|
||||
#source span[style="color: #007700"] { color: var(--highlight-keyword) !important; }
|
||||
#source span[style="color: #0000BB"] { color: var(--color-text) !important; }
|
||||
#source span[style="color: #DD0000"] { color: var(--highlight-string) !important; }
|
||||
|
||||
.file-metadata dt {
|
||||
color: var(--header-metadata-key);
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
}
|
||||
.file-metadata dd {
|
||||
color: var(--header-metadata-value);
|
||||
margin: 5px 0 20px;
|
||||
|
||||
/* needed to break the long file paths */
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
a.doc {
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
margin: auto;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
a.doc:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 10px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.source {
|
||||
margin-top: 41px;
|
||||
}
|
||||
|
||||
.source li code {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.source li.selected {
|
||||
background: rgba(255, 255, 153, 0.5);
|
||||
}
|
||||
|
||||
.anchor {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
top: -7em;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user