From 5db8c5bda92aa3a5a2b6cb020e2a0f056894e494 Mon Sep 17 00:00:00 2001 From: 0ip Date: Tue, 28 Feb 2012 21:21:59 +0100 Subject: [PATCH 1/2] properly display number of users when more than 99 are on a pad + added ids + aligned chatlabel --- static/css/pad.css | 29 ++++++++---- static/pad.html | 108 ++++++++++++++++----------------------------- 2 files changed, 58 insertions(+), 79 deletions(-) diff --git a/static/css/pad.css b/static/css/pad.css index 2c86908ae..2b6136656 100644 --- a/static/css/pad.css +++ b/static/css/pad.css @@ -65,6 +65,7 @@ a img { text-decoration: none; color: #ccc; + position: absolute; } #editbar ul li a span @@ -800,12 +801,11 @@ ul#colorpickerswatches li:hover #chatlabel { font-size:13px; - line-height:16px; font-weight:bold; color:#555; text-decoration: none; - position: relative; - bottom: 3px; + margin-right: 3px; + vertical-align: middle; } #chatinput @@ -813,6 +813,7 @@ ul#colorpickerswatches li:hover border: 1px solid #BBBBBB; width: 100%; float:right; + vertical-align: middle; } #chaticon @@ -840,8 +841,7 @@ ul#colorpickerswatches li:hover { color:#555; font-size:9px; - position:relative; - bottom: 2px; + vertical-align: middle; } #titlebar @@ -1062,6 +1062,8 @@ margin-top: 1px; .buttonicon-chat { background-position: 0px -102px; display: inline-block; + vertical-align: middle; + margin: 0 !important; } .buttonicon-showusers { background-position: 0px -183px; @@ -1087,7 +1089,10 @@ width:33px !important; } #online_count{ - color: #999; + color: #888; + font-size: 11px; + line-height: 18px; + position: fixed; } #qr_center { @@ -1214,7 +1219,10 @@ label { padding: 4px 3px; } #users { - right: 4px; + right: 0; + top: 36px; + bottom: 33px; + border-radius: none; } #mycolorpicker { left: -72px; /* #mycolorpicker:width - #users:width */ @@ -1240,7 +1248,7 @@ label { float: right; } #chaticon { - bottom: 0; + bottom: 3px; right: 55px; border-right: none; border-radius: 0; @@ -1292,4 +1300,7 @@ label { .separator { display: none; } -} + #online_count { + line-height: 24px; + } +} \ No newline at end of file diff --git a/static/pad.html b/static/pad.html index c0099d101..30836f81c 100644 --- a/static/pad.html +++ b/static/pad.html @@ -11,94 +11,64 @@ + +
@@ -218,11 +188,9 @@
-
- - Chat -
-
+
+ Chat + 0
@@ -308,4 +276,4 @@ }()); - + \ No newline at end of file From b507f48a341517287eadffe066aa1b20ea761729 Mon Sep 17 00:00:00 2001 From: 0ip Date: Tue, 28 Feb 2012 21:37:10 +0100 Subject: [PATCH 2/2] typos --- static/css/pad.css | 1 - static/pad.html | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/static/css/pad.css b/static/css/pad.css index 2b6136656..fe188e474 100644 --- a/static/css/pad.css +++ b/static/css/pad.css @@ -813,7 +813,6 @@ ul#colorpickerswatches li:hover border: 1px solid #BBBBBB; width: 100%; float:right; - vertical-align: middle; } #chaticon diff --git a/static/pad.html b/static/pad.html index 30836f81c..4c6d4d8cf 100644 --- a/static/pad.html +++ b/static/pad.html @@ -53,13 +53,13 @@