# HG changeset patch # User Christophe Lincoln # Date 1301503022 -7200 # Node ID c750cc8467b8f13cfe3ff7cc2dbe0399dfe4b7da # Parent 79558e58003f5647ac7cd42585351bb41b2aa9d4 css: improve activity box diff -r 79558e58003f -r c750cc8467b8 slitaz.css --- a/slitaz.css Wed Mar 30 18:34:18 2011 +0200 +++ b/slitaz.css Wed Mar 30 18:37:02 2011 +0200 @@ -188,25 +188,17 @@ /* Activity Box */ .activity { - height: 120px; - overflow: hidden; margin: 0 0 20px; background: #eaeaea; - padding: 5px 2px 25px; + padding: 5px 2px 0; border: 1px solid #ddd; } -.activity div { height: 75px; overflow: hidden; - padding: 0px 10px 10px; background: #fff; margin-top: 5px; } +.activity div { padding: 5px 10px; background: #fff; margin-top: 5px; } .activity p { margin: 0; padding: 5px 10px; font-weight: bold; } .activity a { text-decoration: none; } .activity ul { list-style-type: none; margin: 4px 0; padding: 0 4px; line-height: 150%; } .activity span { color: #666; font-size: 11px; font-weight: normal; } -.activity, .activity div { - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} .activity_more { text-align: right; } .activity_more a { font-weight: normal; color: #000; padding: 0 4px; } .activity_more a:hover { text-decoration: underline; } @@ -229,7 +221,8 @@ /* Round corner */ -#block_nav, pre, .box, .searchbox, .button a, #twitter { +#block_nav, pre, .box, .searchbox, .button a, #twitter, .activity, +.activity div { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;