Remove dedicated close button next to user button
This commit is contained in:
parent
461f83603a
commit
73930688cc
@ -603,29 +603,6 @@ button,
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
#windows .header .right {
|
||||
float: right;
|
||||
margin-right: -10px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
#windows .header .button {
|
||||
background: #f4f4f4;
|
||||
background-image: linear-gradient(#f4f4f4, #ececec);
|
||||
border: 1px solid #d7d7d7;
|
||||
border-bottom-color: #b7b7b7;
|
||||
border-radius: 2px;
|
||||
color: #555;
|
||||
font: 12px Lato, sans-serif;
|
||||
height: 25px;
|
||||
line-height: 0;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#windows .header .button:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#windows .window .header {
|
||||
display: none;
|
||||
}
|
||||
|
@ -738,15 +738,6 @@ $(function() {
|
||||
});
|
||||
});
|
||||
|
||||
chat.on("click", ".close", function() {
|
||||
var id = $(this)
|
||||
.closest(".chan")
|
||||
.data("id");
|
||||
sidebar.find(".chan[data-id='" + id + "']")
|
||||
.find(".close")
|
||||
.click();
|
||||
});
|
||||
|
||||
chat.on("msg", ".messages", function(e, target, msg) {
|
||||
var button = sidebar.find(".chan[data-target='" + target + "']");
|
||||
var isQuery = button.hasClass("query");
|
||||
|
@ -132,15 +132,13 @@ QUIT #d0907d
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
#chat .show-more-button,
|
||||
#windows .header .button {
|
||||
#chat .show-more-button {
|
||||
background: #2e3642;
|
||||
border-color: #242a33;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#chat .show-more-button:hover,
|
||||
#windows .header .button:hover {
|
||||
#chat .show-more-button:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
@ -162,15 +162,13 @@ body {
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
#chat .show-more-button,
|
||||
#windows .header .button {
|
||||
#chat .show-more-button {
|
||||
background: #434443;
|
||||
border-color: #101010;
|
||||
color: #dcdccc;
|
||||
}
|
||||
|
||||
#chat .show-more-button:hover,
|
||||
#windows .header .button:hover {
|
||||
#chat .show-more-button:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
@ -5,19 +5,6 @@
|
||||
{{#equal type "channel"}}
|
||||
<button class="rt"></button>
|
||||
{{/equal}}
|
||||
<div class="right">
|
||||
<button class="button close">
|
||||
{{#equal type "lobby"}}
|
||||
Disconnect
|
||||
{{else}}
|
||||
{{#equal type "query"}}
|
||||
Close
|
||||
{{else}}
|
||||
Leave
|
||||
{{/equal}}
|
||||
{{/equal}}
|
||||
</button>
|
||||
</div>
|
||||
<span class="title">{{name}}</span>
|
||||
<span class="topic">{{{parse topic}}}</span>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user