xtras/mathuaerknedam 218:0320dab5692d: SO3: set a min-width on t...
commits at adium.im
commits at adium.im
Thu Nov 12 04:02:11 UTC 2009
details: http://hg.adium.im/xtras/mathuaerknedam/rev/0320dab5692d
revision: 218:0320dab5692d
author: mathuaerknedam
date: Wed Nov 11 22:02:04 2009 -0600
SO3: set a min-width on the header and topic.
diffs (66 lines):
diff -r 417ca37bc27c -r 0320dab5692d Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css Tue Nov 10 22:49:24 2009 -0600
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css Wed Nov 11 22:02:04 2009 -0600
@@ -1,10 +1,6 @@
@charset "utf-8";
-#header
-{
-}
-
-#x-wrap
+#x-header #x-wrap
{
position: fixed;
top: 8px;
@@ -24,6 +20,7 @@
font-size: 11px;
line-height: 11px;
-webkit-transition: top .4s linear;
+ min-width: 7em;
}
#x-header img.x-icon[src*="incoming_icon.png"],
diff -r 417ca37bc27c -r 0320dab5692d Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Topic.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Topic.css Tue Nov 10 22:49:24 2009 -0600
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Topic.css Wed Nov 11 22:02:04 2009 -0600
@@ -1,10 +1,6 @@
@charset "utf-8";
-#x-topic
-{
-}
-
-#x-wrap
+#x-topic #x-wrap
{
padding-top: 6px;
padding-bottom: 6px;
@@ -21,6 +17,7 @@
-webkit-border-radius: 5px;
-webkit-box-shadow: 0px 4px 16px rgba(0, 0, 0, .75), 8px -8px 8px rgba(255, 255, 255, 1), -8px -8px 8px rgba(255, 255, 255, 1), -8px 16px 16px rgba(248, 248, 248, 1), 8px 16px 16px rgba(248, 248, 248, 1);
-webkit-transition: top .4s linear;
+ min-width: 7em;
}
@@ -29,7 +26,7 @@
opacity: 0;
}
-#topicEdit
+#x-topic #topicEdit
{
padding-left: 8px;
padding-right: 8px;
diff -r 417ca37bc27c -r 0320dab5692d Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/todo.txt
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/todo.txt Tue Nov 10 22:49:24 2009 -0600
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/todo.txt Wed Nov 11 22:02:04 2009 -0600
@@ -1,7 +1,6 @@
Header/Topic
!# better handling of header when no icon is available? Maybe reclaim space or something else? should classic use placeholder? should others?
!# improve header/topic hiding -100px is inadequate for large topics
- !# The topic and header probably need a min-width too.
# modularize the css?
# The min-width for indented bubbles should be less than non-indented ones. Ideally, everything would be min-width some em value, but the indentations are by px. I can't calculate indents for em+px. Last I checked, indent by em didn't work because icons are a fixed size and scaling them didn't work well. using px for min-width wouldn't scale well for larger font sizes, but maybe people with large fonts dont' have small windows?
More information about the commits
mailing list