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.pull/4579/head
parent
27dab35827
commit
92b295193f
|
@ -1,13 +1,13 @@
|
|||
#editorloadingbox {
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.editorloadingbox-message {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 100px;
|
||||
font-size: 2.5em;
|
||||
color: #aaa;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
#editorloadingbox input{
|
||||
|
|
|
@ -92,12 +92,22 @@
|
|||
|
||||
<div id="editorloadingbox">
|
||||
<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>
|
||||
<% 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(); %>
|
||||
<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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue