Change colors
This commit is contained in:
parent
3e22b6e88a
commit
dd697c4918
@ -703,7 +703,9 @@ button {
|
|||||||
}
|
}
|
||||||
#form {
|
#form {
|
||||||
background: #e4eaee;
|
background: #e4eaee;
|
||||||
|
background: #eee;
|
||||||
border-top: 1px solid #cfdae1;
|
border-top: 1px solid #cfdae1;
|
||||||
|
border-top: 1px solid #ddd;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
left: 0;
|
left: 0;
|
||||||
@ -722,19 +724,19 @@ button {
|
|||||||
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
|
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
margin-right: 60px;
|
margin-right: 64px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
#form #nick {
|
#form #nick {
|
||||||
background: #f6f6f6;
|
background: #f6f6f6;
|
||||||
color: #aaa;
|
color: #666;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
padding: 0 10px;
|
padding: 0 9px;
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
@ -743,6 +745,7 @@ button {
|
|||||||
}
|
}
|
||||||
#form #input {
|
#form #input {
|
||||||
border: 1px solid #cfdae1;
|
border: 1px solid #cfdae1;
|
||||||
|
border: 1px solid #ddd;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -760,14 +763,10 @@ button {
|
|||||||
font: 12px Lato, sans-serif;
|
font: 12px Lato, sans-serif;
|
||||||
color: #555;
|
color: #555;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
opacity: .5;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
transition: opacity .3s;
|
transition: opacity .3s;
|
||||||
width: 54px;
|
width: 58px;
|
||||||
}
|
|
||||||
#form #submit.enabled {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -362,17 +362,12 @@ $(function() {
|
|||||||
clear();
|
clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
submit.removeClass("enabled");
|
|
||||||
socket.emit("input", {
|
socket.emit("input", {
|
||||||
target: chat.data("id"),
|
target: chat.data("id"),
|
||||||
text: text
|
text: text
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
form.on("input", "#input", function() {
|
|
||||||
submit.toggleClass("enabled", $(this).val() != "");
|
|
||||||
});
|
|
||||||
|
|
||||||
chat.on("click", ".messages", focus);
|
chat.on("click", ".messages", focus);
|
||||||
$(window).on("focus", focus);
|
$(window).on("focus", focus);
|
||||||
|
|
||||||
@ -743,7 +738,7 @@ $(function() {
|
|||||||
.html(nick + ":")
|
.html(nick + ":")
|
||||||
.width();
|
.width();
|
||||||
if (width) {
|
if (width) {
|
||||||
width += 34;
|
width += 31;
|
||||||
input.css("padding-left", width);
|
input.css("padding-left", width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "shout",
|
"name": "shout",
|
||||||
"description": "The self-hosted web IRC client",
|
"description": "The self-hosted web IRC client",
|
||||||
"version": "0.37.0",
|
"version": "0.37.1",
|
||||||
"author": "Mattias Erming",
|
"author": "Mattias Erming",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
Reference in New Issue
Block a user