add background color to widgets

This commit is contained in:
marijus 2014-08-26 22:35:00 +02:00
parent 592be71626
commit c703d83350
4 changed files with 9 additions and 31 deletions

View File

@ -31,5 +31,5 @@ section {
width: 100%; width: 100%;
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
padding: 65px 10px 200px 10px; padding: 65px 7px 200px 7px;
} }

View File

@ -2,12 +2,14 @@
/* Easiest way to indent the widget body - indent the entire widget and then shift the header label back to the left */ /* Easiest way to indent the widget body - indent the entire widget and then shift the header label back to the left */
.widget { .widget {
margin-left: 10px; margin-bottom: 10px;
padding: 0 8px 8px 8px; padding: 10px 10px 10px 20px;
} }
.widget h3 { .widget h3 {
margin-left: -10px; margin-left: -10px;
margin-top: 0px;
margin-bottom: 10px;
} }
/* suggest */ /* suggest */
@ -109,34 +111,10 @@
/* group */ /* group */
#group-sidebar { #sidebar-group-list {
margin-bottom: 10px; margin-bottom: 10px;
} }
#sidebar-new-group {
margin-bottom: 10px;
}
#sidebar-group-list .icon, #sidebar-group-list .iconspacer {
display: inline-block;
height: 12px;
width: 12px;
}
.sidebar-group-name {
display: block;
width: 170px;
overflow: hidden;
}
#sidebar-group-ul {
margin-bottom: 10px;
}
#sidebar-group-list li {
margin-top: 3px;
}
.sidebar-group-li input { .sidebar-group-li input {
float: right; float: right;
} }

View File

@ -2118,6 +2118,7 @@ img.mail-list-sender-photo {
/* widgets */ /* widgets */
.widget { .widget {
background-color: $comment_item_colour;
border-bottom: 1px solid $widget_brdrcolour; border-bottom: 1px solid $widget_brdrcolour;
-moz-border-radius: $radiuspx; -moz-border-radius: $radiuspx;
-webkit-border-radius: $radiuspx; -webkit-border-radius: $radiuspx;
@ -2408,7 +2409,6 @@ blockquote {
background-image: linear-gradient(to bottom, $advperm_gradientcol 0px, $advperm_bgcolour 100%); background-image: linear-gradient(to bottom, $advperm_gradientcol 0px, $advperm_bgcolour 100%);
} }
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
aside#region_1 { aside#region_1 {
background: rgba(0, 0, 0, .1); background: rgba(0, 0, 0, .1);

View File

@ -140,7 +140,7 @@ if(! $a->install) {
if (! $selected_active_deco) if (! $selected_active_deco)
$selected_active_deco = "none"; $selected_active_deco = "none";
if (! $widget_brdrcolour) if (! $widget_brdrcolour)
$widget_brdrcolour = "#eec"; $widget_brdrcolour = "rgba(238,238,238,0.8)";
if (! $blockquote_colour) if (! $blockquote_colour)
$blockquote_colour = "#000"; $blockquote_colour = "#000";
if (! $blockquote_bgcolour) if (! $blockquote_bgcolour)