diff options
| -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 | ||||
| -rw-r--r-- | views/default/layout/objects/gallery.php | 2 | ||||
| -rw-r--r-- | views/default/layout/objects/list.php | 4 | 
6 files changed, 50 insertions, 73 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; diff --git a/views/default/layout/objects/gallery.php b/views/default/layout/objects/gallery.php index 29534a450..4135de9df 100644 --- a/views/default/layout/objects/gallery.php +++ b/views/default/layout/objects/gallery.php @@ -3,6 +3,8 @@   * Gallery view   *   * @uses $vars['items'] + * + * @todo not complete - number of columns   */  $items = $vars['items']; diff --git a/views/default/layout/objects/list.php b/views/default/layout/objects/list.php index 0ab3d5482..6d12c5e55 100644 --- a/views/default/layout/objects/list.php +++ b/views/default/layout/objects/list.php @@ -31,10 +31,6 @@ if (isset($vars['list_class'])) {  	$list_class = "{$vars['list_class']} $list_class";  } -if (elgg_in_context('gallery')) { -	$list_class = "$list_class elgg-gallery"; -} -  $item_class = 'elgg-list-item';  if (isset($vars['item_class'])) {  	$item_class = "{$vars['item_class']} $item_class"; | 
