xtras/mathuaerknedam 207:e26b21346a26: Set a fixed size, positio...
commits at adium.im
commits at adium.im
Tue Nov 10 15:27:20 UTC 2009
details: http://hg.adium.im/xtras/mathuaerknedam/rev/e26b21346a26
revision: 207:e26b21346a26
author: mathuaerknedam
date: Tue Nov 10 09:27:07 2009 -0600
Set a fixed size, position, and font for the header toggle button.
diffs (122 lines):
diff -r 36ffde8ce6c0 -r e26b21346a26 Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css Tue Nov 10 06:30:57 2009 -0600
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css Tue Nov 10 09:27:07 2009 -0600
@@ -169,11 +169,12 @@
position: fixed;
top: 4px;
left: 4px;
- padding: 2px;
+ width: 16px;
+ height: 16px;
z-index: 10;
cursor: default;
- font-size: 20px !important;
- font-family: "Menlo", "AppleGothic";
+ font-size: 21px !important;
+ font-family: "Apple Symbols";
z-index: 999;
cursor: pointer;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
@@ -205,6 +206,9 @@
#x-hide:before
{
content: "\2299";
+ position: fixed;
+ top: 3px;
+ left: 4px;
}
#x-hide:hover:before
@@ -220,6 +224,9 @@
#x-show:before
{
content: "\2299";
+ position: fixed;
+ top: 3px;
+ left: 4px;
}
#x-show:hover:before
@@ -231,3 +238,4 @@
{
content: "\2297";
}
+
diff -r 36ffde8ce6c0 -r e26b21346a26 Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Topic.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Topic.css Tue Nov 10 06:30:57 2009 -0600
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Topic.css Tue Nov 10 09:27:07 2009 -0600
@@ -72,13 +72,14 @@
.x-toggle
{
position: fixed;
- top: 2px;
- left: 3px;
- padding: 2px;
+ top: 4px;
+ left: 4px;
+ width: 16px;
+ height: 16px;
z-index: 10;
cursor: default;
- font-size: 20px !important;
- font-family: "Menlo", "AppleGothic";
+ font-size: 21px !important;
+ font-family: "Apple Symbols";
z-index: 999;
cursor: pointer;
-webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
@@ -110,6 +111,9 @@
#x-hide:before
{
content: "\2299";
+ position: fixed;
+ top: 3px;
+ left: 4px;
}
#x-hide:hover:before
@@ -124,6 +128,9 @@
#x-show:before
{
+ position: fixed;
+ top: 3px;
+ left: 4px;
content: "\2299";
}
diff -r 36ffde8ce6c0 -r e26b21346a26 Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/todo.txt
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/todo.txt Tue Nov 10 06:30:57 2009 -0600
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/todo.txt Tue Nov 10 09:27:07 2009 -0600
@@ -1,6 +1,18 @@
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?
+ # Robby's problem with topic text flowing outside of bubble. Is also didn't maintain it's right margin.
+ # 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?
+
+
+
+
+Future Versions
+
+ !# header/topic need hideIcons/showIcons styling, but requires that show/hide icons keyword works in header
Other
# compact history needs some way to distinguish sender from text besides bold. If the first word is bold, it's hard to tell. For example, in IRC, I've seen "Cappuccino trac: Ticket #119..." where "Cappuccino trac" is bold.
@@ -12,12 +24,6 @@
Javascript
# Fade javascript drops last element with opacity=0. disabled until fixed. Plus, CFM hated it. :)
- # modularize the css
-
-
-Future Versions
-
- !# header/topic need hideIcons/showIcons styling, but requires that show/hide icons keyword works in header
# 2.1 Add special status formatting.
# 2.1 Add File Transfer Requests
More information about the commits
mailing list