Update css files to confront stylelint rules

This commit is contained in:
Pavel Djundik 2016-02-17 20:38:42 +02:00
parent 4be80ed029
commit ad6b4e8939
5 changed files with 532 additions and 271 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,75 +9,79 @@ GitHub: https://github.com/aynik
*/ */
@font-face { @font-face {
font-family: Inconsolata-g; font-family: Inconsolata-g;
src: url("fonts/inconsolatag.woff") format("woff"), url("fonts/inconsolatag.ttf") format("ttf"); src: url("fonts/inconsolatag.woff") format("woff"), url("fonts/inconsolatag.ttf") format("ttf");
} }
body { body {
background: #000; background: #000;
font: 16px Inconsolata-g, monospace; font: 16px Inconsolata-g, monospace;
} }
a, #chat a { a,
color: #00FF0E; #chat a {
color: #00ff0e;
} }
a:hover, #chat a:hover { a:hover,
color: #3EFF48; #chat a:hover {
color: #3eff48;
} }
#windows .window h2 { #windows .window h2 {
color: #666; color: #666;
font: regular 14px Leto, sans-serif; font: regular 14px Leto, sans-serif;
border-bottom: none; border-bottom: none;
} }
#main { #main {
right: 0px; right: 0;
bottom: 0px; bottom: 0;
top: 0px; top: 0;
border-radius: 0px; border-radius: 0;
} }
.container { .container {
margin: 40px auto; margin: 40px auto;
} }
#sign-in label { #sign-in label {
font: 14px Lato, sans-serif; font: 14px Lato, sans-serif;
color: #666; color: #666;
} }
#sign-in label input { #sign-in label input {
margin-top: 10px !important; margin-top: 10px !important;
font: 14px Inconsolata-g, monospace; font: 14px Inconsolata-g, monospace;
} }
.btn { .btn {
border-color: #00FF0E; border-color: #00ff0e;
color: #00FF0E; color: #00ff0e;
} }
.btn:disabled, .btn:hover { .btn:disabled,
background: #00FF0E; .btn:hover {
background: #00ff0e;
} }
#windows .window:before, #windows .chan:before { #windows .window:before,
content: none; #windows .chan:before {
content: none;
} }
#settings .opt { #settings .opt {
line-height: 20px; line-height: 20px;
font-size: 12px; font-size: 12px;
} }
#sign-in .remember { #sign-in .remember {
font: 12px Inconsolata-g, monospace; font: 12px Inconsolata-g, monospace;
line-height: 30px; line-height: 30px;
} }
#sidebar .chan:first-child { #sidebar .chan:first-child {
color: #00FF0E; color: #00ff0e;
} }
#sidebar button, #sidebar button,
@ -86,39 +90,40 @@ a:hover, #chat a:hover {
#chat .time, #chat .time,
#chat .count:before, #chat .count:before,
#sidebar .empty { #sidebar .empty {
color: #666; color: #666;
} }
#sidebar .active { #sidebar .active {
color: #fff; color: #fff;
} }
#chat, #chat,
#windows .header { #windows .header {
font: 12px Inconsolata-g, monospace; font: 12px Inconsolata-g, monospace;
line-height: 1.8; line-height: 1.8;
} }
#chat .chat, #chat .chat,
#chat .sidebar { #chat .sidebar {
top: 48px; top: 48px;
} }
#chat.no-colors .from button, #chat.no-colors .sidebar button { #chat.no-colors .from button,
color: #000 !important; #chat.no-colors .sidebar button {
font-weight: bold color: #000 !important;
font-weight: bold;
} }
#form .input { #form .input {
font: 12px Inconsolata-g, monospace; font: 12px Inconsolata-g, monospace;
} }
#footer .icon { #footer .icon {
color: #666; color: #666;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
#main { #main {
left: 0px; left: 0;
} }
} }

View File

@ -3,4 +3,5 @@
*/ */
body { body {
margin: 0;
} }

View File

@ -22,7 +22,7 @@ QUIT #d0907d
#chat .sidebar, #chat .sidebar,
#windows .chan, #windows .chan,
#windows .window { #windows .window {
background: #333c4a; background: #333c4a;
} }
#main #chat, #main #chat,
@ -30,168 +30,174 @@ QUIT #d0907d
#form .input, #form .input,
#chat, #chat,
#windows .header { #windows .header {
font-family: 'Open Sans', sans-serif !important; font-family: "Open Sans", sans-serif !important;
font-size: 13px; font-size: 13px;
} }
#settings, #sign-in, #connect { #settings,
color: #cccccc; #sign-in,
#connect {
color: #ccc;
} }
#chat .count { #chat .count {
background-color: #2e3642; background-color: #2e3642;
} }
#chat .search { #chat .search {
color: #cccccc; color: #ccc;
padding: 15px 16px; padding: 15px 16px;
} }
#chat .search::-webkit-input-placeholder { #chat .search::-webkit-input-placeholder {
color: #99a2b4; color: #99a2b4;
opacity: 0.5; opacity: .5;
} }
/* Borders */ /* Borders */
#chat .from, #windows .header, #chat .from,
#windows .header,
#chat .user-mode:before, #chat .user-mode:before,
#chat .sidebar { #chat .sidebar {
border-color: #2a323d; border-color: #2a323d;
} }
/* Attach chat to window borders */ /* Attach chat to window borders */
#windows .window:before, #windows .chan:before { #windows .window:before,
display: none; #windows .chan:before {
display: none;
} }
#footer { #footer {
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 220px; width: 220px;
} }
#main { #main {
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 0; border-radius: 0;
} }
#chat .chat, #chat .sidebar { #chat .chat,
top: 48px; #chat .sidebar {
top: 48px;
} }
/* User list */ /* User list */
#chat .user-mode { #chat .user-mode {
color: #fefefe; color: #fefefe;
} }
/* Nicknames */ /* Nicknames */
#chat.no-colors .from button, #chat.no-colors .from button,
#chat.no-colors .sidebar button { #chat.no-colors .sidebar button {
color: #b0bacf !important; color: #b0bacf !important;
} }
#chat.no-colors .from button:hover, #chat.no-colors .from button:hover,
#chat.no-colors .sidebar button:hover { #chat.no-colors .sidebar button:hover {
color: #fefefe !important; color: #fefefe !important;
} }
#chat a { #chat a {
color: #428bca; color: #428bca;
} }
#chat button:hover { #chat button:hover {
opacity: 1; opacity: 1;
} }
/* Message form */ /* Message form */
#form { #form {
background: #2a323d; background: #2a323d;
border-color: #242a33; border-color: #242a33;
} }
#form #input { #form #input {
background-color: #2e3642; background-color: #2e3642;
border-color: #242a33; border-color: #242a33;
color: #cccccc; color: #ccc;
} }
#form #nick { #form #nick {
background: #242a33; background: #242a33;
color: #CCC; color: #ccc;
} }
/* Buttons */ /* Buttons */
#chat .show-more-button, #chat .show-more-button,
#form #submit, #form #submit,
#windows .header .button { #windows .header .button {
background: #2e3642; background: #2e3642;
border-color: #242a33; border-color: #242a33;
color: #CCC; color: #ccc;
} }
#chat .show-more-button:hover, #chat .show-more-button:hover,
#form #submit:hover, #form #submit:hover,
#windows .header .button:hover { #windows .header .button:hover {
color: #FFF; color: #fff;
} }
#chat .header { #chat .header {
color: #99a2b4; color: #99a2b4;
} }
/* Setup text colors */ /* Setup text colors */
#chat .msg { #chat .msg {
color: #f3f3f3; color: #f3f3f3;
} }
#chat .message { #chat .message {
color: #fefefe; color: #fefefe;
} }
#chat .self .text { #chat .self .text {
color: #99a2b4; color: #99a2b4;
} }
#chat .error, #chat .error,
#chat .error .from, #chat .error .from,
#chat .highlight, #chat .highlight,
#chat .highlight .from { #chat .highlight .from {
color: #f92772; color: #f92772;
} }
#chat .highlight:not(.self) { #chat .highlight:not(.self) {
font-size: 1.2em; font-size: 1.2em;
} }
#chat .msg.quit .time, #chat .msg.quit .time,
#chat .msg.quit .from button { #chat .msg.quit .from button {
color: #d0907d !important; color: #d0907d !important;
} }
#chat .msg.topic { #chat .msg.topic {
color: #fefefe; color: #fefefe;
} }
#chat .msg.join .time, #chat .msg.join .time,
#chat .msg.join .from button { #chat .msg.join .from button {
color: #84ce88 !important; color: #84ce88 !important;
} }
/* Embeds */ /* Embeds */
#chat .toggle-content, #chat .toggle-content,
#chat .toggle-button { #chat .toggle-button {
background: #242a33; background: #242a33;
color: #f3f3f3; color: #f3f3f3;
} }
#chat .toggle-content img { #chat .toggle-content img {
float: left; float: left;
margin-right: 0.5em; margin-right: .5em;
} }
#chat .toggle-content .body { #chat .toggle-content .body {
color: #99a2b4; color: #99a2b4;
} }
@media (max-width: 768px) { @media (max-width: 768px) {

View File

@ -26,7 +26,7 @@ body {
#chat .sidebar, #chat .sidebar,
#windows .chan, #windows .chan,
#windows .window { #windows .window {
background: #3f3f3f; background: #3f3f3f;
} }
#main #chat, #main #chat,
@ -34,181 +34,192 @@ body {
#form .input, #form .input,
#chat, #chat,
#windows .header { #windows .header {
font-family: 'Open Sans', sans-serif !important; font-family: "Open Sans", sans-serif !important;
font-size: 13px; font-size: 13px;
} }
#settings, #sign-in, #connect { #settings,
color: #dcdccc; #sign-in,
#connect {
color: #dcdccc;
} }
#settings, #sign-in, #connect .title { #settings,
color: #88b090; #sign-in,
#connect .title {
color: #88b090;
} }
#settings, #sign-in, #connect .opt { #settings,
color: #dcdccc; #sign-in,
#connect .opt {
color: #dcdccc;
} }
#sidebar { #sidebar {
background: #2b2b2b; background: #2b2b2b;
bottom: 48px; bottom: 48px;
} }
#footer { #footer {
background: #33332f; background: #33332f;
border-top: 1px solid #000; border-top: 1px solid #000;
} }
#chat .count { #chat .count {
background-color: #434443; background-color: #434443;
} }
#chat .search { #chat .search {
color: #88b090; color: #88b090;
padding: 15px 16px; padding: 15px 16px;
} }
#chat .search::-webkit-input-placeholder { #chat .search::-webkit-input-placeholder {
color: #d2d39b; color: #d2d39b;
opacity: 0.5; opacity: .5;
} }
/* Borders */ /* Borders */
#chat .from, #windows .header, #chat .from,
#windows .header,
#chat .user-mode:before, #chat .user-mode:before,
#chat .sidebar { #chat .sidebar {
border-color: #333333; border-color: #333;
} }
/* Attach chat to window borders */ /* Attach chat to window borders */
#windows .window:before, #windows .chan:before { #windows .window:before,
display: none; #windows .chan:before {
display: none;
} }
#footer { #footer {
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 220px; width: 220px;
} }
#main { #main {
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
border-radius: 0; border-radius: 0;
} }
#chat .chat, #chat .sidebar { #chat .chat,
top: 48px; #chat .sidebar {
top: 48px;
} }
/* User list */ /* User list */
#chat .user-mode { #chat .user-mode {
color: #dcdccc; color: #dcdccc;
} }
/* Nicknames */ /* Nicknames */
#chat.no-colors .from button, #chat.no-colors .from button,
#chat.no-colors .sidebar button { #chat.no-colors .sidebar button {
color: #bc8cbc !important; color: #bc8cbc !important;
} }
#chat.no-colors .from button:hover, #chat.no-colors .from button:hover,
#chat.no-colors .sidebar button:hover { #chat.no-colors .sidebar button:hover {
color: #dcdccc !important; color: #dcdccc !important;
} }
#chat a { #chat a {
color: #8c8cbc; color: #8c8cbc;
} }
#chat button:hover { #chat button:hover {
opacity: 1; opacity: 1;
} }
/* Message form */ /* Message form */
#form { #form {
background: #333333; background: #333;
border-color: #101010; border-color: #101010;
} }
#form #input { #form #input {
background-color: #434443; background-color: #434443;
border-color: #101010; border-color: #101010;
color: #dcdccc; color: #dcdccc;
} }
#form #nick { #form #nick {
background: #101010; background: #101010;
color: #dcdccc; color: #dcdccc;
} }
/* Buttons */ /* Buttons */
#chat .show-more-button, #chat .show-more-button,
#form #submit, #form #submit,
#windows .header .button { #windows .header .button {
background: #434443; background: #434443;
border-color: #101010; border-color: #101010;
color: #dcdccc; color: #dcdccc;
} }
#chat .show-more-button:hover, #chat .show-more-button:hover,
#form #submit:hover, #form #submit:hover,
#windows .header .button:hover { #windows .header .button:hover {
color: #FFF; color: #fff;
} }
#chat .header { #chat .header {
color: #d2d39b; color: #d2d39b;
} }
/* Setup text colors */ /* Setup text colors */
#chat .msg { #chat .msg {
color: #ffcfaf; color: #ffcfaf;
} }
#chat .message { #chat .message {
color: #dcdccc; color: #dcdccc;
} }
#chat .self .text { #chat .self .text {
color: #d2d39b; color: #d2d39b;
} }
#chat .error, #chat .error,
#chat .error .from, #chat .error .from,
#chat .highlight, #chat .highlight,
#chat .highlight .from { #chat .highlight .from {
color: #bc6c4c; color: #bc6c4c;
} }
#chat .msg.quit .time, #chat .msg.quit .time,
#chat .msg.quit .from button { #chat .msg.quit .from button {
color: #bc6c9c !important; color: #bc6c9c !important;
} }
#chat .msg.topic { #chat .msg.topic {
color: #dcdccc; color: #dcdccc;
} }
#chat .msg.join .time, #chat .msg.join .time,
#chat .msg.join .from button { #chat .msg.join .from button {
color: #8cd0d3 !important; color: #8cd0d3 !important;
} }
/* Embeds */ /* Embeds */
#chat .toggle-content, #chat .toggle-content,
#chat .toggle-button { #chat .toggle-button {
background: #93b3a3; background: #93b3a3;
color: #dcdccc; color: #dcdccc;
} }
#chat .toggle-content img { #chat .toggle-content img {
float: left; float: left;
margin-right: 0.5em; margin-right: .5em;
} }
#chat .toggle-content .body { #chat .toggle-content .body {
color: #d2d39b; color: #d2d39b;
} }
@media (max-width: 768px) { @media (max-width: 768px) {