bootstrap 5 code block improvements, closes #1314
This commit is contained in:
parent
08aa10a4b7
commit
efb04d868d
2 changed files with 13 additions and 3 deletions
|
@ -56,10 +56,20 @@
|
||||||
transition: background-color 0.75s ease-out;
|
transition: background-color 0.75s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
|
[data-bs-theme=light] pre, [data-bs-theme=light] .card {
|
||||||
|
background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
|
||||||
|
color: revert !important;
|
||||||
list-style-type: decimal !important;
|
list-style-type: decimal !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-bs-theme=dark] li.L1, [data-bs-theme=dark] li.L3, [data-bs-theme=dark] li.L5,
|
||||||
|
[data-bs-theme=dark] li.L7, [data-bs-theme=dark] li.L9 {
|
||||||
|
background-color: var(--bs-gray-dark) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.text-right button {
|
.text-right button {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
|
@ -426,8 +426,8 @@ endif;
|
||||||
<article class="row">
|
<article class="row">
|
||||||
<div id="placeholder" class="col-md-12 hidden"><?php echo I18n::_('+++ no paste text +++'); ?></div>
|
<div id="placeholder" class="col-md-12 hidden"><?php echo I18n::_('+++ no paste text +++'); ?></div>
|
||||||
<div id="attachmentPreview" class="col-md-12 text-center hidden"></div>
|
<div id="attachmentPreview" class="col-md-12 text-center hidden"></div>
|
||||||
<div id="prettymessage" class="col-md-12 hidden">
|
<div id="prettymessage" class="card col-md-12 hidden">
|
||||||
<pre id="prettyprint" class="col-md-12 prettyprint linenums:1"></pre>
|
<pre id="prettyprint" class="card-body col-md-12 prettyprint linenums:1"></pre>
|
||||||
</div>
|
</div>
|
||||||
<div id="plaintext" class="col-md-12 hidden"></div>
|
<div id="plaintext" class="col-md-12 hidden"></div>
|
||||||
<p class="col-md-12"><textarea id="message" name="message" cols="80" rows="25" class="form-control hidden"></textarea></p>
|
<p class="col-md-12"><textarea id="message" name="message" cols="80" rows="25" class="form-control hidden"></textarea></p>
|
||||||
|
|
Loading…
Reference in a new issue