diff options
author | marijus <mario@mariovavti.com> | 2014-08-26 22:35:00 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-08-26 22:35:00 +0200 |
commit | c703d833508a43f559a6031bac8b040070e6b2f9 (patch) | |
tree | aaf3fb1379718aed0a3e284d298129e7891454bc | |
parent | 592be716265b79ab68209838bf879c5d26b60439 (diff) | |
download | volse-hubzilla-c703d833508a43f559a6031bac8b040070e6b2f9.tar.gz volse-hubzilla-c703d833508a43f559a6031bac8b040070e6b2f9.tar.bz2 volse-hubzilla-c703d833508a43f559a6031bac8b040070e6b2f9.zip |
add background color to widgets
-rw-r--r-- | view/css/default.css | 2 | ||||
-rw-r--r-- | view/css/widgets.css | 34 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 2 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 2 |
4 files changed, 9 insertions, 31 deletions
diff --git a/view/css/default.css b/view/css/default.css index d47fdfe80..40d5cfc59 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -31,5 +31,5 @@ section { width: 100%; display: table-cell; vertical-align: top; - padding: 65px 10px 200px 10px; + padding: 65px 7px 200px 7px; } diff --git a/view/css/widgets.css b/view/css/widgets.css index 8607cb562..8bf5a9e97 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -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 */ .widget { - margin-left: 10px; - padding: 0 8px 8px 8px; + margin-bottom: 10px; + padding: 10px 10px 10px 20px; } .widget h3 { margin-left: -10px; + margin-top: 0px; + margin-bottom: 10px; } /* suggest */ @@ -109,34 +111,10 @@ /* group */ -#group-sidebar { - margin-bottom: 10px; -} - -#sidebar-new-group { +#sidebar-group-list { 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 { float: right; } @@ -175,4 +153,4 @@ li:hover .group-edit-icon { .chatroomlist td { padding: 0 5px 0; -}
\ No newline at end of file +} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 478f1efee..c001b3b5f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2118,6 +2118,7 @@ img.mail-list-sender-photo { /* widgets */ .widget { + background-color: $comment_item_colour; border-bottom: 1px solid $widget_brdrcolour; -moz-border-radius: $radiuspx; -webkit-border-radius: $radiuspx; @@ -2408,7 +2409,6 @@ blockquote { background-image: linear-gradient(to bottom, $advperm_gradientcol 0px, $advperm_bgcolour 100%); } - @media screen and (max-width: 767px) { aside#region_1 { background: rgba(0, 0, 0, .1); diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index ee9c6d4d0..4ffdcbef8 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -140,7 +140,7 @@ if(! $a->install) { if (! $selected_active_deco) $selected_active_deco = "none"; if (! $widget_brdrcolour) - $widget_brdrcolour = "#eec"; + $widget_brdrcolour = "rgba(238,238,238,0.8)"; if (! $blockquote_colour) $blockquote_colour = "#000"; if (! $blockquote_bgcolour) |