From 3e06100df817427b9d517bcf8b177f30f254b843 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Fri, 25 Feb 2011 22:38:10 +0000 Subject: Using shorthand in css to scrunch it a bit git-svn-id: http://code.elgg.org/elgg/trunk@8478 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/components.php | 16 +++++------- views/default/css/elements/misc.php | 27 ++++++++++---------- views/default/css/elements/navigation.php | 41 +++++++++++-------------------- 3 files changed, 35 insertions(+), 49 deletions(-) diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php index 9ab48b12b..50eff516f 100644 --- a/views/default/css/elements/components.php +++ b/views/default/css/elements/components.php @@ -217,10 +217,8 @@ float: right; font-size: 85%; padding: 1px 7px; - -moz-border-radius-topleft: 5px; - -moz-border-radius-topright: 5px; - -webkit-border-top-left-radius: 5px; - -webkit-border-top-right-radius: 5px; + -moz-border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; } @@ -229,14 +227,12 @@ border-top: none; } .elgg-river-comments li:first-child { - -moz-border-radius-topleft: 5px; - -webkit-border-top-left-radius: 5px; + -moz-border-radius: 5px 0 0; + -webkit-border-radius: 5px 0 0; } .elgg-river-comments li:last-child { - -moz-border-radius-bottomleft: 5px; - -moz-border-radius-bottomright: 5px; - -webkit-border-bottom-right-radius: 5px; - -webkit-border-bottom-left-radius: 5px; + -moz-border-radius-bottomleft: 0 0 5px 5px; + -webkit-border-radius: 0 0 5px 5px; } .elgg-river-comments li { background-color: #EEEEEE; diff --git a/views/default/css/elements/misc.php b/views/default/css/elements/misc.php index d0c97169d..abcbb894a 100644 --- a/views/default/css/elements/misc.php +++ b/views/default/css/elements/misc.php @@ -38,23 +38,24 @@ *************************************** */ #friends_collections_accordian li { - color: #666666; + color: #666666; } #friends_collections_accordian li h2 { - -moz-border-radius: 8px 8px 8px 8px; - background: none repeat scroll 0 0 #4690D6; - color: white; - cursor: pointer; - font-size: 1.2em; - margin: 10px 0; - padding: 4px 2px 4px 6px; + -moz-border-radius: 8px; + -webkit-border-radius: 8px; + background: none repeat scroll 0 0 #4690D6; + color: white; + cursor: pointer; + font-size: 1.2em; + margin: 10px 0; + padding: 4px 2px 4px 6px; } #friends_collections_accordian .friends_collections_controls { - float: right; - font-size: 70%; + float: right; + font-size: 70%; } #friends_collections_accordian .friends-picker { - background: none repeat scroll 0 0 white; - display: none; - padding: 0; + background: none repeat scroll 0 0 white; + display: none; + padding: 0; } diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index 003faeac5..6e59ad6a8 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -54,13 +54,11 @@ .elgg-tabs li { float: left; border: 2px solid #cccccc; - border-bottom-width: 0; + border-bottom: 0; background: #eeeeee; margin: 0 0 0 10px; - -moz-border-radius-topleft: 5px; - -moz-border-radius-topright: 5px; - -webkit-border-top-left-radius: 5px; - -webkit-border-top-right-radius: 5px; + -moz-border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; } .elgg-tabs a { text-decoration: none; @@ -182,12 +180,10 @@ .elgg-menu-site .elgg-more:hover a { background: white; color: #555555; - -webkit-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); -moz-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; + -webkit-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); + -moz-border-radius: 4px 4px 0 0; + -webkit-border-radius: 4px 4px 0 0; } .elgg-menu-site .elgg-more { overflow: hidden; @@ -201,15 +197,12 @@ .elgg-menu-site .elgg-more ul { z-index: 7000; min-width: 150px; - border-left: 1px solid #999999; - border-right: 1px solid #999999; - border-bottom: 1px solid #999999; - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25); + border: 1px solid #999999; + border-top: 0; + -moz-border-radius: 0 0 4px 4px; + -webkit-border-radius: 0 0 4px 4px; -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25); + -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25); } .elgg-menu-site .elgg-more ul li { float: none; @@ -228,10 +221,8 @@ } .elgg-menu-site .elgg-more ul li:last-child a, .elgg-menu-site .elgg-more ul li:last-child a:hover { - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; + -moz-border-radius: 0 0 4px 4px; + -webkit-border-radius: 0 0 4px 4px; } /* *************************************** @@ -278,10 +269,8 @@ z-index: 10000; width: 165px; - border-top: solid 1px #E5E5E5; - border-left: solid 1px #E5E5E5; - border-right: solid 1px #999999; - border-bottom: solid 1px #999999; + border: solid 1px; + border-color: #E5E5E5 #999 #999 #E5E5E5; background-color: #FFFFFF; -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.50); -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.50); -- cgit v1.2.3