}
-#kiwi .toolbar #tabs { margin-right: 200px; }
+#kiwi .toolbar .tabs { margin-right: 200px; }
#kiwi .toolbar .panellist {
overflow: hidden;
display:block;
/**
* Topic bar
*/
-#kiwi #topic { position:relative; height:2em; }
-#kiwi #topic div {
+#kiwi .toolbar .topic { position:relative; height:2em; }
+#kiwi .toolbar .topic div {
position:absolute;
top:0; bottom:0; left:0; right:0;
overflow: hidden;
-#kiwi.theme_relaxed #topic { background-color:#1B1B1B; padding-bottom:2px; }
-#kiwi.theme_relaxed #topic div {
+#kiwi.theme_relaxed .toolbar .topic { background-color:#1B1B1B; padding-bottom:2px; }
+#kiwi.theme_relaxed .toolbar .topic div {
padding: 0.2em 1em;
text-align: center;
box-shadow: none;
outline: none;
white-space: nowrap;
}
-#kiwi.theme_relaxed #topic:hover div {
+#kiwi.theme_relaxed .toolbar .topic:hover div {
min-height:1.5em;
white-space:pre-wrap; word-wrap:break-word;
overflow:visible;
#kiwi.theme_relaxed .toolbar .app_tools { width:200px; padding-left:10px; color:#D4D4D4; }
-#kiwi.theme_relaxed.narrow .toolbar #tabs { margin-right:0; }
+#kiwi.theme_relaxed.narrow .toolbar .tabs { margin-right:0; }
#kiwi.theme_relaxed.narrow .toolbar .app_tools { width:auto; }
#kiwi.theme_relaxed .toolbar .app_tools ul li {
font-size:26px;
#kiwi.theme_relaxed.chanlist_treeview .toolbar { position:static; }
#kiwi.theme_relaxed.chanlist_treeview .toolbar .app_tools { float:none; }
#kiwi.theme_relaxed.chanlist_treeview .toolbar > div { margin-left:160px; }
-#kiwi.theme_relaxed.chanlist_treeview .toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
-#kiwi.theme_relaxed.chanlist_treeview #tabs ul li { display:block; float:none; }
-#kiwi.theme_relaxed.chanlist_treeview #tabs ul li .activity { position:absolute; right:5px; }
-#kiwi.theme_relaxed.chanlist_treeview #tabs ul li.active {
+#kiwi.theme_relaxed.chanlist_treeview .toolbar .tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
+#kiwi.theme_relaxed.chanlist_treeview .tabs ul li { display:block; float:none; }
+#kiwi.theme_relaxed.chanlist_treeview .tabs ul li .activity { position:absolute; right:5px; }
+#kiwi.theme_relaxed.chanlist_treeview .tabs ul li.active {
margin-right:0;
border-right-width:0;
border-bottom-right-radius:0;
background-color: #eee;
}
-#kiwi.theme_mini .toolbar #tabs { margin-right:0 !important; }
+#kiwi.theme_mini .toolbar .tabs { margin-right:0 !important; }
#kiwi.theme_mini .toolbar .panellist .alert_highlight { font-weight:bold; }
#kiwi.theme_mini .toolbar .panellist .alert_activity { font-weight:normal; }
#kiwi.theme_mini .toolbar .panellist .alert_action { font-weight:normal; }
-#kiwi.theme_mini #topic { display:none; }
-#kiwi.theme_mini #topic div {
+#kiwi.theme_mini .toolbar .topic { display:none; }
+#kiwi.theme_mini .toolbar .topic div {
top:2; bottom:2px; left:0; width:100%;
padding: 0.2em 1em;
text-align: center;
padding-left:0.5em;
}
-#kiwi.theme_cli #topic { background:#111111; height:2em; border-bottom:1px solid #444444; border-top:1px solid #444444; }
-#kiwi.theme_cli #topic div {
+#kiwi.theme_cli .toolbar .topic { background:#111111; height:2em; border-bottom:1px solid #444444; border-top:1px solid #444444; }
+#kiwi.theme_cli .toolbar .topic div {
width:100%; height: 1.5em;
padding: 0.2em 1em;
text-align: center;
overflow: hidden;
white-space: nowrap;
}
-#kiwi.theme_cli #topic:hover div {
+#kiwi.theme_cli .toolbar .topic:hover div {
min-height:1.5em;
white-space:pre-wrap; word-wrap:break-word;
overflow:visible;
#kiwi.theme_cli.chanlist_treeview .toolbar { position:static; }
#kiwi.theme_cli.chanlist_treeview .toolbar .app_tools { float:none; }
#kiwi.theme_cli.chanlist_treeview .toolbar > div { }
-#kiwi.theme_cli.chanlist_treeview .toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:200px; background:#1B1B1B; overflow-y:auto; }
-#kiwi.theme_cli.chanlist_treeview #tabs ul li { display:block; float:none; }
-#kiwi.theme_cli.chanlist_treeview #tabs ul li .activity { float:right; }
-#kiwi.theme_cli.chanlist_treeview #tabs ul li.active { padding-left:1em; }
+#kiwi.theme_cli.chanlist_treeview .toolbar .tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:200px; background:#1B1B1B; overflow-y:auto; }
+#kiwi.theme_cli.chanlist_treeview .tabs ul li { display:block; float:none; }
+#kiwi.theme_cli.chanlist_treeview .tabs ul li .activity { float:right; }
+#kiwi.theme_cli.chanlist_treeview .tabs ul li.active { padding-left:1em; }
#kiwi.theme_cli .ui_menu {
background-color: #eee;
}
-#kiwi.theme_basic .toolbar #tabs { margin-right:0 !important; }
+#kiwi.theme_basic .toolbar .tabs { margin-right:0 !important; }
#kiwi.theme_basic .toolbar .panellist .alert_highlight { font-weight:bold; color:red; }
#kiwi.theme_basic .toolbar .panellist .alert_activity { font-weight:normal; color:green; }
#kiwi.theme_basic .toolbar .panellist .alert_action { font-weight:normal; color:green; }
-#kiwi.theme_basic #topic { }
-#kiwi.theme_basic #topic div {
+#kiwi.theme_basic .toolbar .topic { }
+#kiwi.theme_basic .toolbar .topic div {
top:2; bottom:2px; left:0; width:100%;
padding: 0.2em 1em;
text-align: center;
overflow: hidden;
outline: none;
}
-#kiwi.theme_basic #topic:hover div {
+#kiwi.theme_basic .toolbar .topic:hover div {
min-height:1.5em;
white-space:pre-wrap; word-wrap:break-word;
overflow:visible;
#kiwi.theme_basic.chanlist_treeview .toolbar { position:static; }
#kiwi.theme_basic.chanlist_treeview .toolbar .app_tools { float:none; }
#kiwi.theme_basic.chanlist_treeview .toolbar > div { margin-left:160px; }
-#kiwi.theme_basic.chanlist_treeview .toolbar #tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
-#kiwi.theme_basic.chanlist_treeview #tabs ul li { display:block; float:none; }
-#kiwi.theme_basic.chanlist_treeview #tabs ul li .activity { float:right; }
-#kiwi.theme_basic.chanlist_treeview #tabs ul li.active {
+#kiwi.theme_basic.chanlist_treeview .toolbar .tabs { position:absolute; left:0px; bottom:0px; top:0px; margin:0; width:160px; background:#1B1B1B; overflow-y:auto; }
+#kiwi.theme_basic.chanlist_treeview .tabs ul li { display:block; float:none; }
+#kiwi.theme_basic.chanlist_treeview .tabs ul li .activity { float:right; }
+#kiwi.theme_basic.chanlist_treeview .tabs ul li.active {
margin-right:0;
border-right-width:0;
border-bottom-right-radius:0;
this.model.on('add', this.networkAdded, this);\r
this.model.on('remove', this.networkRemoved, this);\r
\r
- this.$el.appendTo($('#kiwi #tabs'));\r
+ this.$el.appendTo($('#kiwi .tabs'));\r
},\r
\r
networkAdded: function(network) {\r
\r
case (ev.keyCode === 219 && meta): // [ + meta\r
// Find all the tab elements and get the index of the active tab\r
- var $tabs = $('#kiwi #tabs').find('li[class!=connection]');\r
+ var $tabs = $('#kiwi .tabs').find('li[class!=connection]');\r
var cur_tab_ind = (function() {\r
for (var idx=0; idx<$tabs.length; idx++){\r
if ($($tabs[idx]).hasClass('active'))\r
\r
case (ev.keyCode === 221 && meta): // ] + meta\r
// Find all the tab elements and get the index of the active tab\r
- var $tabs = $('#kiwi #tabs').find('li[class!=connection]');\r
+ var $tabs = $('#kiwi .tabs').find('li[class!=connection]');\r
var cur_tab_ind = (function() {\r
for (var idx=0; idx<$tabs.length; idx++){\r
if ($($tabs[idx]).hasClass('active'))\r
\r
// If we have channel tabs on the side, adjust the height\r
if (el_kiwi.hasClass('chanlist_treeview')) {\r
- $('#tabs', el_kiwi).css(css_heights);\r
+ this.$el.find('.tabs', el_kiwi).css(css_heights);\r
}\r
\r
// Determine if we have a narrow window (mobile/tablet/or even small desktop window)\r