Improve styling of notice boxes to match new sidebar styling
This commit is contained in:
parent
be585d1403
commit
66caf92bd9
4 changed files with 13 additions and 31 deletions
|
@ -121,16 +121,18 @@ h2 {
|
||||||
* donation drives.
|
* donation drives.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.notice {
|
.sidebar-notice {
|
||||||
width: 170px;
|
padding: 0px 5px 0.1px 5px;
|
||||||
margin: 5px;
|
border-top: 1px solid #ccc;
|
||||||
padding: 5px;
|
margin-top: 4px;
|
||||||
border: 1px solid #ccc;
|
margin-bottom: -4px;
|
||||||
background: #ea0;
|
background: #ea0;
|
||||||
line-height: 20px;
|
font-size: 13px;
|
||||||
font-size: 14px;
|
line-height: 17px;
|
||||||
border-radius: 5px;
|
|
||||||
-moz-border-radius: 5px;
|
p {
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for the menu displayed in the left sidebar */
|
/* Rules for the menu displayed in the left sidebar */
|
||||||
|
|
|
@ -6,16 +6,6 @@ html body {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Rules for notice boxes shown in the left sidebar when important, but
|
|
||||||
* non-critical information needs to be conveyed such as notices about
|
|
||||||
* donation drives.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.notice {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Rules for the menu displayed in the left sidebar */
|
/* Rules for the menu displayed in the left sidebar */
|
||||||
|
|
||||||
.left_menu {
|
.left_menu {
|
||||||
|
|
|
@ -6,16 +6,6 @@ html body {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Rules for notice boxes shown in the left sidebar when important, but
|
|
||||||
* non-critical information needs to be conveyed such as notices about
|
|
||||||
* donation drives.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.notice {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Rules for the menu displayed in the left sidebar */
|
/* Rules for the menu displayed in the left sidebar */
|
||||||
|
|
||||||
.left_menu {
|
.left_menu {
|
||||||
|
|
|
@ -96,8 +96,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if false %>
|
<% if false %>
|
||||||
<div id="donate" class="notice">
|
<div class="sidebar-notice">
|
||||||
<%= raw t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %>
|
<p><%= raw t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue