css: Apply font formatting to the text, not the high-level div
This makes it possible for plugins to add new items without them rendering centered, at a ridiculous size, or at an awkward location.
This commit is contained in:
parent
27dab35827
commit
92b295193f
2 changed files with 18 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
||||||
#editorloadingbox {
|
#editorloadingbox {
|
||||||
|
width: 100%;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
.editorloadingbox-message {
|
||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
padding-bottom: 100px;
|
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 30px;
|
|
||||||
z-index: 100;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#editorloadingbox input{
|
#editorloadingbox input{
|
||||||
|
|
|
@ -92,12 +92,22 @@
|
||||||
|
|
||||||
<div id="editorloadingbox">
|
<div id="editorloadingbox">
|
||||||
<div id="permissionDenied">
|
<div id="permissionDenied">
|
||||||
<p data-l10n-id="pad.permissionDenied">You do not have permission to access this pad</p>
|
<p data-l10n-id="pad.permissionDenied" class="editorloadingbox-message">
|
||||||
|
You do not have permission to access this pad
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<% e.begin_block("loading"); %>
|
<% e.begin_block("loading"); %>
|
||||||
<p data-l10n-id="pad.loading" id="loading">Loading...</p>
|
<p data-l10n-id="pad.loading" id="loading" class="editorloadingbox-message">
|
||||||
|
Loading...
|
||||||
|
</p>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
<noscript><strong>Sorry, you have to enable Javascript in order to use this.</strong></noscript>
|
<noscript>
|
||||||
|
<p class="editorloadingbox-message">
|
||||||
|
<strong>
|
||||||
|
Sorry, you have to enable Javascript in order to use this.
|
||||||
|
</strong>
|
||||||
|
</p>
|
||||||
|
</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue