attention bar: cleanup stylesheets
This commit is contained in:
parent
260415fb5f
commit
dc40c2c845
@ -432,3 +432,24 @@ table.mod.config-editor input[type="text"] {
|
|||||||
text-indent: 0px;
|
text-indent: 0px;
|
||||||
background: inherit;
|
background: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#attention_bar {
|
||||||
|
height: 1.5em;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#attention_bar_form {
|
||||||
|
display: none;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
#attention_bar_input {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
#attention_bar:hover {
|
||||||
|
background-color: #fff;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
{% if config.attention_bar %}
|
{% if config.attention_bar %}
|
||||||
<div id="attention_bar" style="height: 1.5em; width: 100%; padding: 0; margin: 0; text-align: center; display: block;></div>
|
<div id="attention_bar"></div>
|
||||||
<form method="post" action="/attentionbar.php" id="attention_bar_form" style="display: none; padding: 0; margin: 0;">
|
<form method="post" action="{{ config.root }}attentionbar.php" id="attention_bar_form">
|
||||||
<input id="attention_bar_input" name="text" style="width: 100%; padding: 0; margin: 0; text-align: center;" value="" type="text">
|
<input id="attention_bar_input" name="text" value="" type="text">
|
||||||
</form>
|
</form>
|
||||||
<style>
|
|
||||||
#attention_bar:hover { background-color: #fff; opacity: 0.8; }
|
|
||||||
</style>
|
|
||||||
<script type="text/javascript" src="/js/attention-bar.js"></script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user