diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-25 12:40:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-25 12:40:02 +0000 |
commit | 2a81ce2acb9548220d02d47394158712d395ad34 (patch) | |
tree | b5068b2a018b4c8fc387b0597f77d5fd34af6e29 /views/default/css | |
parent | 561c160ed8db7f418cc5ae34e04b959be5066442 (diff) | |
download | elgg-2a81ce2acb9548220d02d47394158712d395ad34.tar.gz elgg-2a81ce2acb9548220d02d47394158712d395ad34.tar.bz2 |
light clean-up of the css
git-svn-id: http://code.elgg.org/elgg/trunk@7929 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css')
-rw-r--r-- | views/default/css/elements/chrome.php | 13 | ||||
-rw-r--r-- | views/default/css/elements/core.php | 53 | ||||
-rw-r--r-- | views/default/css/elements/icons.php | 42 | ||||
-rw-r--r-- | views/default/css/elements/navigation.php | 9 |
4 files changed, 48 insertions, 69 deletions
diff --git a/views/default/css/elements/chrome.php b/views/default/css/elements/chrome.php index ef66fe9c8..9031f4408 100644 --- a/views/default/css/elements/chrome.php +++ b/views/default/css/elements/chrome.php @@ -77,12 +77,6 @@ h2 { padding-bottom:5px; } -<?php //@todo deprecated ?> -.listing .icon { float: left; margin-right: 10px; } -.listing .icon img { width: auto } -.listing .info { display: table-cell; } - - .link { cursor:pointer; @@ -100,13 +94,6 @@ h2 { -moz-border-radius: 8px; } -<?php //@todo deprecated ?> -.margin-none { - margin:0; -} -.margin-top { - margin-top:10px; -} <?php //@todo lists.php ?> .elgg-tags { diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php index 319fd4c5b..b86af351b 100644 --- a/views/default/css/elements/core.php +++ b/views/default/css/elements/core.php @@ -34,9 +34,6 @@ .elgg-list > li { border-bottom: 1px dotted #CCCCCC; } -.elgg-gallery, .elgg-gallery > li { - border: none; -} .elgg-list-metadata { float: right; margin-left: 15px; @@ -63,6 +60,12 @@ margin: 10px 5px; } /* *************************************** + Gallery +*************************************** */ +.elgg-gallery { + border: none; +} +/* *************************************** Modules *************************************** */ @@ -257,47 +260,3 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover { .elgg-system-message p { margin:0; } - -<?php //@todo move to icons.php ?> -/* *************************************** - AVATAR ICONS -*************************************** */ -.elgg-user-icon { - position:relative; -} -.elgg-user-icon.tiny, -img.tiny { - width:25px; - height:25px; - /* remove the border-radius if you don't want rounded avatars in supported browsers */ - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - -moz-background-clip: border; - - -o-background-size: 25px; - -webkit-background-size: 25px; - -khtml-background-size: 25px; - -moz-background-size: 25px; -} -.elgg-user-icon.small, -img.small { - width:40px; - height:40px; - /* remove the border-radius if you don't want rounded avatars in supported browsers */ - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - -moz-background-clip: border; - - -o-background-size: 40px; - -webkit-background-size: 40px; - -khtml-background-size: 40px; - -moz-background-size: 40px; -} -img.large { - width:200px; - height:200px; -} -img.medium { - width:100px; - height:100px; -}
\ No newline at end of file diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index b847bfadc..b8e6b20f0 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -77,3 +77,45 @@ background-position: left center; } +/* *************************************** + AVATAR ICONS +*************************************** */ +.elgg-user-icon { + position:relative; +} +.elgg-user-icon.tiny, +img.tiny { + width:25px; + height:25px; + /* remove the border-radius if you don't want rounded avatars in supported browsers */ + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -moz-background-clip: border; + + -o-background-size: 25px; + -webkit-background-size: 25px; + -khtml-background-size: 25px; + -moz-background-size: 25px; +} +.elgg-user-icon.small, +img.small { + width:40px; + height:40px; + /* remove the border-radius if you don't want rounded avatars in supported browsers */ + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -moz-background-clip: border; + + -o-background-size: 40px; + -webkit-background-size: 40px; + -khtml-background-size: 40px; + -moz-background-size: 40px; +} +img.large { + width:200px; + height:200px; +} +img.medium { + width:100px; + height:100px; +}
\ No newline at end of file diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index a4688111d..dae6b58be 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -50,19 +50,10 @@ *************************************** */ .elgg-tabs { margin-bottom:5px; - padding: 0; border-bottom: 2px solid #cccccc; display:table; width:100%; } - -<?php //@todo reset rules like this should no longer be needed? ?> -.elgg-tabs ul { - list-style: none; - padding: 0; - margin: 0; -} - .elgg-tabs li { float: left; border: 2px solid #cccccc; |