From b6ee5d82f52c957d53373dae7908b2919d523c19 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 6 Nov 2011 12:49:03 +0000 Subject: [PATCH] CSS resizing changes --- client/css/default.css | 9 ++++++++- client/img/scroll_handle.png | Bin 0 -> 215 bytes client/js/front.js | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 client/img/scroll_handle.png diff --git a/client/css/default.css b/client/css/default.css index ad20624..3b7662d 100644 --- a/client/css/default.css +++ b/client/css/default.css @@ -44,7 +44,7 @@ body, html { } #kiwi .windowlist ul, #kiwi .utilityviewlist ul { overflow: hidden; - margin-right: 200px; + margin-right: 50px; white-space: nowrap; display:block; /*height: 35px;*/ @@ -117,6 +117,12 @@ background-image: -moz-linear-gradient( #kiwi .userlist ul li .userbox { margin:0px 5px 5px 5px; font-size:.9em; } #kiwi .userlist ul li .userbox a { display:block; text-decoration:none; border-bottom: 1px dashed #aaa; } +#nicklist_resize { + position:absolute; cursor:w-resize; width:5px; + background: url(/img/scroll_handle.png) no-repeat; + background-position: center; +} + #kiwi .cur_topic { font-family:Verdana, Geneva, sans-serif; font-size:.85em; @@ -145,6 +151,7 @@ background-image: -moz-linear-gradient( position: absolute; top:92px; left:0px; right: 110px; bottom:30px; + outline: none; } #kiwi .panel { overflow-y:scroll; height:100%; } #panel1 { float:left; width:100%;} diff --git a/client/img/scroll_handle.png b/client/img/scroll_handle.png new file mode 100644 index 0000000000000000000000000000000000000000..a196e65e8287fa4e5c837071bfa76b660c1d5090 GIT binary patch literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^tUxTn0VEg_`c|+5DVB6cUq=Rpjs4tz5ovY3H^TM&d9>r>(<0tK0pyxmQcQFGsLJO>%d;OXk;vd$@?2>=abGY|j( literal 0 HcmV?d00001 diff --git a/client/js/front.js b/client/js/front.js index ba56bfc..e5ab3e7 100644 --- a/client/js/front.js +++ b/client/js/front.js @@ -86,7 +86,7 @@ kiwi.front = { $(window).resize(kiwi.front.ui.doLayoutSize); // Add the resizer for the userlist - $('
').appendTo('#kiwi'); + $('
').appendTo('#kiwi'); $('#nicklist_resize').draggable({axis: "x", drag: function () { var t = $(this), ul = $('#kiwi .userlist'), -- 2.25.1