summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-20 18:32:24 +0100
committerSarven Capadisli <csarven@status.net>2010-01-20 18:32:24 +0100
commitb87c80e0a903119e97484333445c8944607a6b0d (patch)
tree9501dcafc5424bec705d44e485b31b5ccb116a7f
parentb0be2da0ca11f0d077e82fc7efe5781cea4d84bf (diff)
Updated notice item view where a) notice text no longer wraps around
(under author's photo) b) supplemental notice content and options will start right under notice text.
-rw-r--r--plugins/MobileProfile/mp-screen.css12
-rw-r--r--theme/base/css/display.css22
2 files changed, 30 insertions, 4 deletions
diff --git a/plugins/MobileProfile/mp-screen.css b/plugins/MobileProfile/mp-screen.css
index 472fbb001..76071352d 100644
--- a/plugins/MobileProfile/mp-screen.css
+++ b/plugins/MobileProfile/mp-screen.css
@@ -176,8 +176,18 @@ margin-bottom:0;
.profile {
padding-top:4px;
padding-bottom:4px;
+min-height:65px;
}
-.notice div.entry-content {
+#content .notice .entry-title {
+float:left;
+width:100%;
+margin-left:0;
+}
+#content .notice .author .photo {
+position:static;
+float:left;
+}
+#content .notice div.entry-content {
margin-left:0;
width:75%;
max-width:100%;
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index fbf3b6a5b..84e9426c7 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -1012,6 +1012,16 @@ float:left;
#shownotice .vcard .photo {
margin-bottom:4px;
}
+#content .notice .author .photo {
+position:absolute;
+top:11px;
+left:0;
+float:none;
+}
+#content .notice .entry-title {
+margin-left:59px;
+}
+
.vcard .url {
text-decoration:none;
}
@@ -1020,13 +1030,19 @@ text-decoration:underline;
}
.notice .entry-title {
-float:left;
-width:100%;
overflow:hidden;
}
.notice .entry-title.ov {
overflow:visible;
}
+#showstream .notice .entry-title,
+#showstream .notice div.entry-content {
+margin-left:0;
+}
+#shownotice .notice .entry-title,
+#shownotice .notice div.entry-content {
+margin-left:110px;
+}
#shownotice .notice .entry-title {
font-size:2.2em;
}
@@ -1056,7 +1072,6 @@ max-width:70%;
}
#showstream .notice div.entry-content,
#shownotice .notice div.entry-content {
-margin-left:0;
max-width:79%;
}
@@ -1120,6 +1135,7 @@ position:relative;
font-size:0.95em;
width:113px;
float:right;
+margin-top:3px;
margin-right:4px;
}