aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/components.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/css/elements/components.php')
-rw-r--r--views/default/css/elements/components.php148
1 files changed, 71 insertions, 77 deletions
diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php
index b51c15f21..7fe535d57 100644
--- a/views/default/css/elements/components.php
+++ b/views/default/css/elements/components.php
@@ -7,37 +7,9 @@
* @package Elgg.Core
* @subpackage UI
*/
-/**
- * elgg-body fills the space available to it.
- * It uses hidden text to expand itself. The combination of auto width, overflow
- * hidden, and the hidden text creates this effect.
- *
- * This allows us to float fixed width divs to either side of an .elgg-body div
- * without having to specify the body div's width.
- *
- * @todo check what happens with long <pre> tags or large images
- * @todo Move this to its own file -- it is very complicated and should not have to be overridden.
- */
?>
/* ***************************************
- Body
-*************************************** */
-.elgg-body {
- width: auto;
- word-wrap: break-word;
- overflow: hidden;
-}
-.elgg-body:after {
- display: block;
- visibility: hidden;
- height: 0 !important;
- line-height: 0;
- font-size: xx-large;
- content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
-}
-
-/* ***************************************
Image Block
*************************************** */
.elgg-image-block {
@@ -64,10 +36,10 @@
border-bottom: 1px dotted #CCCCCC;
}
-.elgg-list-item .elgg-subtext {
+.elgg-item .elgg-subtext {
margin-bottom: 5px;
}
-.elgg-list-content {
+.elgg-item .elgg-content {
margin: 10px 5px;
}
@@ -82,37 +54,44 @@
.elgg-gallery td {
padding: 5px;
}
-.elgg-gallery-fluid li {
+.elgg-gallery-fluid > li {
float: left;
}
+.elgg-gallery-users > li {
+ margin: 0 2px;
+}
/* ***************************************
Tables
*************************************** */
.elgg-table {
width: 100%;
- border-top: 1px solid #cccccc;
+ border-top: 1px solid #ccc;
}
.elgg-table td, .elgg-table th {
padding: 4px 8px;
- border: 1px solid #cccccc;
+ border: 1px solid #ccc;
}
.elgg-table th {
- background-color: #dddddd;
+ background-color: #ddd;
}
.elgg-table tr:nth-child(odd), .elgg-table tr.odd {
- background-color: #ffffff;
+ background-color: #fff;
}
.elgg-table tr:nth-child(even), .elgg-table tr.even {
background-color: #f0f0f0;
}
.elgg-table-alt {
width: 100%;
- border-top: 1px solid #cccccc;
+ border-top: 1px solid #ccc;
+}
+.elgg-table-alt th {
+ background-color: #eee;
+ font-weight: bold;
}
-.elgg-table-alt td {
+.elgg-table-alt td, .elgg-table-alt th {
padding: 2px 4px 2px 4px;
- border-bottom: 1px solid #cccccc;
+ border-bottom: 1px solid #ccc;
}
.elgg-table-alt td:first-child {
width: 200px;
@@ -127,11 +106,6 @@
.elgg-owner-block {
margin-bottom: 20px;
}
-.elgg-menu-owner-block li {
- float: left;
- width: 50%;
- font-size: 90%;
-}
/* ***************************************
Messages
@@ -143,10 +117,14 @@
padding: 3px 10px;
cursor: pointer;
opacity: 0.9;
+
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
+
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
+ border-radius: 8px;
}
.elgg-state-success {
background-color: black;
@@ -161,11 +139,11 @@
/* ***************************************
River
*************************************** */
-.elgg-river {
- border-top: 1px solid #CCCCCC;
+.elgg-list-river {
+ border-top: 1px solid #CCC;
}
-.elgg-river > li {
- border-bottom: 1px solid #CCCCCC;
+.elgg-list-river > li {
+ border-bottom: 1px solid #CCC;
}
.elgg-river-item {
padding: 7px 0;
@@ -174,21 +152,23 @@
margin-right: 20px;
}
.elgg-river-timestamp {
- color: #666666;
+ color: #666;
font-size: 85%;
font-style: italic;
line-height: 1.2em;
}
+
+.elgg-river-attachments,
+.elgg-river-message,
.elgg-river-content {
- border-left: 1px solid #CCCCCC;
+ border-left: 1px solid #CCC;
font-size: 85%;
line-height: 1.5em;
margin: 8px 0 5px 0;
padding-left: 5px;
}
-
-<?php //@todo location-dependent styles ?>
-.elgg-river-content .elgg-avatar {
+.elgg-river-attachments .elgg-avatar,
+.elgg-river-attachments .elgg-icon {
float: left;
}
.elgg-river-layout .elgg-input-dropdown {
@@ -196,35 +176,38 @@
margin: 10px 0;
}
-<?php //@todo do we need another elgg-tabs extension? ?>
.elgg-river-comments-tab {
display: block;
- background-color: #EEEEEE;
+ background-color: #EEE;
color: #4690D6;
margin-top: 5px;
width: auto;
float: right;
font-size: 85%;
padding: 1px 7px;
- -moz-border-radius: 5px 5px 0 0;
+
-webkit-border-radius: 5px 5px 0 0;
+ -moz-border-radius: 5px 5px 0 0;
+ border-radius: 5px 5px 0 0;
}
-<?php //@todo lists.php ?>
+<?php //@todo components.php ?>
.elgg-river-comments {
margin: 0;
border-top: none;
}
.elgg-river-comments li:first-child {
- -moz-border-radius: 5px 0 0;
-webkit-border-radius: 5px 0 0;
+ -moz-border-radius: 5px 0 0;
+ border-radius: 5px 0 0;
}
.elgg-river-comments li:last-child {
- -moz-border-radius-bottomleft: 0 0 5px 5px;
-webkit-border-radius: 0 0 5px 5px;
+ -moz-border-radius-bottomleft: 0 0 5px 5px;
+ border-radius-bottomleft: 0 0 5px 5px;
}
.elgg-river-comments li {
- background-color: #EEEEEE;
+ background-color: #EEE;
border-bottom: none;
padding: 4px;
margin-bottom: 2px;
@@ -233,9 +216,12 @@
padding: 0;
}
.elgg-river-more {
- background-color: #EEEEEE;
- -moz-border-radius: 5px;
+ background-color: #EEE;
+
-webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+
padding: 2px 4px;
font-size: 85%;
margin-bottom: 2px;
@@ -243,11 +229,13 @@
<?php //@todo location-dependent styles ?>
.elgg-river-item form {
- background-color: #EEEEEE;
- padding: 4px 4px;
+ background-color: #EEE;
+ padding: 4px;
+
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
- display: none;
+ border-radius: 5px;
+
height: 30px;
}
.elgg-river-item input[type=text] {
@@ -256,35 +244,41 @@
.elgg-river-item input[type=submit] {
margin: 0 0 0 10px;
}
-.elgg-river-item > .elgg-image-alt a {
- font-size: 90%;
- float: right;
- clear: both;
+
+
+/* **************************************
+ Comments (from elgg_view_comments)
+************************************** */
+.elgg-comments {
+ margin-top: 25px;
+}
+.elgg-comments > form {
+ margin-top: 15px;
}
/* ***************************************
- Likes
+ Image-related
*************************************** */
-.elgg-likes-list {
- width: 345px;
- position: absolute;
+.elgg-photo {
+ border: 1px solid #ccc;
+ padding: 3px;
+ background-color: white;
}
/* ***************************************
Tags
*************************************** */
.elgg-tags {
- display: inline;
font-size: 85%;
}
-.elgg-tags li {
- display: inline;
+.elgg-tags > li {
+ float:left;
margin-right: 5px;
}
-.elgg-tags li:after {
+.elgg-tags li.elgg-tag:after {
content: ",";
}
-.elgg-tags li:last-child:after {
+.elgg-tags li.elgg-tag:last-child:after {
content: "";
}
.elgg-tagcloud {