thelounge/client/css/style.css

1249 lines
24 KiB
CSS
Raw Normal View History

@font-face {
font-family: 'Lato';
font-weight: 400;
font-style: normal;
src: url('fonts/Lato-regular/Lato-regular.eot');
src: url('fonts/Lato-regular/Lato-regular.eot?#iefix') format('embedded-opentype'),
local('Lato Regular'),
local('Lato-regular'),
url('fonts/Lato-regular/Lato-regular.woff2') format('woff2'),
url('fonts/Lato-regular/Lato-regular.woff') format('woff'),
url('fonts/Lato-regular/Lato-regular.ttf') format('truetype'),
url('fonts/Lato-regular/Lato-regular.svg#Lato') format('svg');
}
@font-face {
font-family: 'Lato';
font-weight: 700;
font-style: normal;
src: url('fonts/Lato-700/Lato-700.eot');
src: url('fonts/Lato-700/Lato-700.eot?#iefix') format('embedded-opentype'),
local('Lato Bold'),
local('Lato-700'),
url('fonts/Lato-700/Lato-700.woff2') format('woff2'),
url('fonts/Lato-700/Lato-700.woff') format('woff'),
url('fonts/Lato-700/Lato-700.ttf') format('truetype'),
url('fonts/Lato-700/Lato-700.svg#Lato') format('svg');
}
@font-face {
font-family: 'Open Sans';
font-weight: 300;
font-style: normal;
src: url('fonts/Open-Sans-300/Open-Sans-300.eot');
src: url('fonts/Open-Sans-300/Open-Sans-300.eot?#iefix') format('embedded-opentype'),
local('Open Sans Light'),
local('Open-Sans-300'),
url('fonts/Open-Sans-300/Open-Sans-300.woff2') format('woff2'),
url('fonts/Open-Sans-300/Open-Sans-300.woff') format('woff'),
url('fonts/Open-Sans-300/Open-Sans-300.ttf') format('truetype'),
url('fonts/Open-Sans-300/Open-Sans-300.svg#OpenSans') format('svg');
}
@font-face {
font-family: 'Open Sans';
font-weight: 400;
font-style: normal;
src: url('fonts/Open-Sans-regular/Open-Sans-regular.eot');
src: url('fonts/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'),
local('Open Sans'),
local('Open-Sans-regular'),
url('fonts/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'),
url('fonts/Open-Sans-regular/Open-Sans-regular.woff') format('woff'),
url('fonts/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'),
url('fonts/Open-Sans-regular/Open-Sans-regular.svg#OpenSans') format('svg');
}
@font-face {
font-family: 'Open Sans';
font-weight: 700;
font-style: normal;
src: url('fonts/Open-Sans-700/Open-Sans-700.eot');
src: url('fonts/Open-Sans-700/Open-Sans-700.eot?#iefix') format('embedded-opentype'),
local('Open Sans Bold'),
local('Open-Sans-700'),
url('fonts/Open-Sans-700/Open-Sans-700.woff2') format('woff2'),
url('fonts/Open-Sans-700/Open-Sans-700.woff') format('woff'),
url('fonts/Open-Sans-700/Open-Sans-700.ttf') format('truetype'),
url('fonts/Open-Sans-700/Open-Sans-700.svg#OpenSans') format('svg');
}
2015-04-14 19:13:38 +00:00
@font-face {
font-family: FontAwesome;
2014-08-29 20:54:11 +00:00
src: url("fonts/fontawesome.svg") format("svg"), url("fonts/fontawesome.woff") format("woff");
2014-08-15 13:52:14 +00:00
}
html,
body {
height: 100%;
}
body {
background: #505d70;
2014-09-10 15:56:19 +00:00
background: #455164;
2014-08-15 13:52:14 +00:00
color: #222;
font: 16px Lato, sans-serif;
margin: 0;
}
a {
2014-08-15 21:33:22 +00:00
transition: opacity .2s;
2014-08-15 13:52:14 +00:00
}
a:hover {
text-decoration: none;
opacity: .8;
}
h1,
h2 {
font: inherit;
line-height: inherit;
margin: 0;
}
input {
outline: 0;
}
2016-01-24 09:12:41 +00:00
button, .user {
2014-08-15 13:52:14 +00:00
border: none;
background: none;
margin: 0;
outline: none;
padding: 0;
}
2014-11-18 22:50:55 +00:00
.web-app-mode {
padding-top: 20px;
}
2014-08-15 13:52:14 +00:00
.tooltip-inner {
background: #fff;
border-radius: 2px;
color: #262c36;
}
.tooltip.top .tooltip-arrow {
border-top-color: #fff;
}
.btn {
border: 2px solid #84d1ff;
border: 2px solid #84ce88;
border-radius: 3px;
color: #84d1ff;
color: #84ce88;
display: inline-block;
font: bold 12px Lato, sans-serif;
2014-08-15 13:52:14 +00:00
letter-spacing: 1px;
margin-bottom: 10px;
padding: 9px 17px;
text-transform: uppercase;
transition: background .2s, border-color .2s, color .2s;
word-spacing: 3px;
}
.btn:disabled,
.btn:hover {
background: #84d1ff;
background: #84ce88;
color: #fff;
}
.btn:active {
box-shadow: none;
opacity: .8;
}
.btn:disabled {
opacity: .6;
}
.container {
margin: 80px auto;
max-width: 480px;
2014-08-15 13:52:14 +00:00
overflow: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 0 30px;
}
::-moz-placeholder {
2014-09-10 15:56:19 +00:00
color: rgba(0, 0, 0, .35);
2014-08-15 13:52:14 +00:00
opacity: 1;
}
::-webkit-input-placeholder {
2014-09-10 15:56:19 +00:00
color: rgba(0, 0, 0, .35);
2014-08-15 13:52:14 +00:00
}
:-ms-input-placeholder {
2014-09-10 15:56:19 +00:00
color: rgba(0, 0, 0, .35) !important;
2014-08-15 13:52:14 +00:00
}
#wrap {
height: 100%;
overflow: hidden;
}
#viewport {
height: 100%;
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-perspective: 1000;
perspective: 1000;
}
2014-09-10 21:43:56 +00:00
#viewport .lt,
#viewport .rt {
color: #ccc;
display: none;
float: left;
line-height: 40px;
height: 36px;
margin: 6px 12px 0 -12px;
width: 36px;
}
#viewport .lt:before {
font: 14px FontAwesome;
2014-09-10 21:43:56 +00:00
content: "\f0c9";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#viewport .rt:before {
font: 14px FontAwesome;
content: "\f0c0";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2014-09-10 21:43:56 +00:00
}
#viewport .rt {
2014-10-10 19:21:40 +00:00
display: block;
2014-09-10 21:43:56 +00:00
float: right;
margin: 6px -12px 0 12px;
}
2014-10-10 19:21:40 +00:00
#viewport.rt #chat .sidebar {
-webkit-transform: translate3d(180px, 0, 0);
transform: translate3d(180px, 0, 0);
}
2014-08-15 13:52:14 +00:00
#sidebar {
2014-09-19 23:56:38 +00:00
bottom: 52px;
2014-08-15 13:52:14 +00:00
left: 0;
overflow: hidden;
2014-09-23 23:05:07 +00:00
/*overflow-y: auto;*/
2014-08-15 13:52:14 +00:00
-webkit-overflow-scrolling: touch;
position: absolute;
top: 0;
width: 220px;
}
#sidebar button,
#sidebar .chan,
2014-08-15 13:52:14 +00:00
#sidebar .sign-out {
border: 1px solid transparent;
border-radius: 2px;
2014-08-29 20:54:11 +00:00
color: #99a2b4;
cursor: pointer;
2014-08-15 13:52:14 +00:00
font-size: 14px;
}
#sidebar button:hover,
#sidebar .chan:hover,
2014-08-15 13:52:14 +00:00
#sidebar .active {
color: #fff;
}
#sidebar .networks {
min-height: 100%;
2014-09-23 23:05:07 +00:00
padding: 20px 30px 0;
2014-09-19 23:12:17 +00:00
}
#sidebar .networks:empty {
padding: 0;
2014-08-15 13:52:14 +00:00
}
2014-09-23 23:05:07 +00:00
#sidebar .network,
#sidebar .network-placeholder {
margin-bottom: 30px;
2014-08-15 13:52:14 +00:00
}
#sidebar .empty {
2014-09-10 15:56:19 +00:00
color: #9ca5b4;
2014-08-15 13:52:14 +00:00
line-height: 1.6;
font-size: 12px;
margin-top: 20px;
padding: 20px 40px;
text-align: center;
}
2014-09-23 23:05:07 +00:00
#sidebar .chan,
#sidebar .chan-placeholder {
2014-08-15 13:52:14 +00:00
display: block;
margin: 1px -10px;
padding: 6px 10px 8px;
position: relative;
text-align: left;
2014-09-23 23:05:07 +00:00
transition: color .2s;
2014-08-29 20:54:11 +00:00
width: 180px;
2014-08-15 13:52:14 +00:00
}
2014-09-23 23:05:07 +00:00
#sidebar .chan-placeholder {
padding-bottom: 10px;
}
2014-08-15 13:52:14 +00:00
#sidebar .chan:first-child {
color: #84ce88;
font-size: 15px;
font-weight: bold;
}
#sidebar .chan:first-child:hover,
#sidebar .chan:first-child.active {
color: #c0f8c3;
}
2014-08-29 20:54:11 +00:00
#sidebar .chan:before,
#chat .title:before {
font: 14px FontAwesome;
2014-09-30 18:00:23 +00:00
float: left;
margin-top: 3px;
margin-right: 12px;
width: 14px;
text-align: center;
2014-08-29 20:54:11 +00:00
}
#chat .title:before {
2014-09-30 18:00:23 +00:00
margin-top: 17px;
2014-08-29 20:54:11 +00:00
}
#sidebar .chan.lobby:before,
#chat .lobby .title:before {
2014-09-30 18:00:23 +00:00
content: "\f0a0";
2014-08-29 20:54:11 +00:00
}
#sidebar .chan.query:before,
#chat .query .title:before {
2014-09-30 18:00:23 +00:00
content: "\f0e6";
2014-08-29 20:54:11 +00:00
}
#sidebar .chan.channel:before,
#chat .channel .title:before {
2014-09-30 18:00:23 +00:00
content: "\f0f6";
2014-08-29 20:54:11 +00:00
}
2014-08-15 13:52:14 +00:00
#sidebar .chan:hover .badge {
opacity: 0;
}
#sidebar .chan:hover .close {
opacity: .2;
}
#sidebar .badge {
background: rgba(255, 255, 255, .06);
border-radius: 3px;
color: #afb6c0;
font-size: 10px;
margin-top: 1px;
padding: 3px 6px;
position: absolute;
2014-09-19 23:56:38 +00:00
right: 5px;
2014-08-15 13:52:14 +00:00
transition: all .2s;
}
#sidebar .badge.highlight {
background: #fff;
color: #49505a;
}
#sidebar .badge:empty {
display: none;
}
#sidebar .close {
background: no-repeat url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogPGc+DQogIDx0aXRsZT5MYXllciAxPC90aXRsZT4NCiAgPHBhdGggZmlsbD0iI2ZmZmZmZiIgaWQ9InN2Z18xIiBkPSJtMTIuODcyLDEuNTYyYzAuMTk1MDAxLDAuMTk0IDAuMTk1MDAxLDAuNTEzIDAsMC43MDdsLTMuODg5LDMuODkxYy0wLjE5MywwLjE5NCAtMC4xOTMsMC41MTMgMCwwLjcwOGwzLjg4NywzLjg5MmMwLjE5NSwwLjE5NCAwLjE5NSwwLjUxMyAwLDAuNzA3bC0xLjQxNTk5OSwxLjQxM2MtMC4xOTMwMDEsMC4xOTQgLTAuNTEyLDAuMTk0IC0wLjcwNzAwMSwwbC0zLjg4NSwtMy44OTJjLTAuMTk0LC0wLjE5NCAtMC41MTMsLTAuMTk0IC0wLjcwNywwbC0zLjg4OSwzLjg4OWMtMC4xOTQsMC4xOTUgLTAuNTEzLDAuMTk1IC0wLjcwNywwbC0xLjQxNCwtMS40MTU5OTljLTAuMTk0LC0wLjE5MzAwMSAtMC4xOTQsLTAuNTEyIDAsLTAuNzA3MDAxbDMuODksLTMuODg5YzAuMTk0LC0wLjE5NCAwLjE5NCwtMC41MTMgMCwtMC43MDhsLTMuODg3LC0zLjg5MWMtMC4xOTQsLTAuMTk1IC0wLjE5NCwtMC41MTMgMCwtMC43MDdsMS40MTUsLTEuNDE0YzAuMTk0LC0wLjE5NCAwLjUxMywtMC4xOTQgMC43MDcsMGwzLjg4NSwzLjg5MWMwLjE5NCwwLjE5NSAwLjUxMywwLjE5NSAwLjcwNywwLjAwMWwzLjg4OCwtMy44OWMwLjE5NSwtMC4xOTMgMC41MTQsLTAuMTkzIDAuNzA3LDBsMS40MTUsMS40MTV6Ii8+DQogPC9nPg0KPC9zdmc+);
background-size: 50%;
background-position: 5px 6px;
border-radius: 3px;
height: 18px;
margin-top: 1px;
2014-09-19 23:56:38 +00:00
margin-right: 5px;
2014-08-15 13:52:14 +00:00
opacity: 0;
position: absolute;
right: 0;
transition: all .2s;
width: 18px;
}
#sidebar .close:hover {
background-color: rgba(0, 0, 0, .1);
opacity: .7 !important;
}
2014-09-19 23:12:17 +00:00
#sidebar .tse-scrollbar {
top: 2px;
right: 3px;
}
2014-08-15 13:52:14 +00:00
#footer {
2014-09-19 23:12:17 +00:00
background: rgba(0, 0, 0, .06);
border-radius: 2px;
bottom: 4px;
2014-09-19 23:56:38 +00:00
height: 48px;
2014-09-19 23:12:17 +00:00
left: 5px;
2014-09-19 23:56:38 +00:00
line-height: 48px;
2014-09-19 23:12:17 +00:00
position: absolute;
2014-08-15 13:52:14 +00:00
text-align: center;
2014-09-19 23:12:17 +00:00
width: 210px;
2014-08-15 13:52:14 +00:00
}
#footer button {
border: 0;
}
#footer button.active {
2014-09-19 23:12:17 +00:00
color: #fff;
2014-08-15 13:52:14 +00:00
}
#footer .icon {
2014-09-10 15:56:19 +00:00
color: #9ca5b4;
2014-08-15 13:52:14 +00:00
display: inline-block;
font: 14px FontAwesome;
2014-08-15 13:52:14 +00:00
line-height: 34px;
padding: 0px 12px;
}
.signed-out #footer .sign-in {
display: inline-block;
}
.signed-out #footer .connect,
.signed-out #footer .sign-out {
display: none;
}
.public #footer .sign-in,
.public #footer .sign-out {
display: none;
}
#footer .sign-in {
display: none;
}
#footer .sign-in:before {
2014-09-10 15:56:19 +00:00
content: "\f023";
2014-08-15 13:52:14 +00:00
}
#footer .connect:before {
2014-09-10 15:56:19 +00:00
content: "\f067";
2014-08-15 13:52:14 +00:00
}
#footer .settings:before {
2014-09-10 15:56:19 +00:00
content: "\f013";
2014-08-15 13:52:14 +00:00
}
#footer .sign-out:before {
2014-08-29 20:54:11 +00:00
content: "\f13e";
2014-08-15 13:52:14 +00:00
}
#main {
background: #fff;
border-radius: 2px;
bottom: 4px;
left: 220px;
overflow: hidden;
position: absolute;
right: 5px;
top: 4px;
}
#header {
display: none;
height: 40px;
position: absolute;
top: 0;
width: 100%;
}
#windows {
bottom: 48px;
position: absolute;
top: 0px;
width: 100%;
}
#windows label {
font-size: 14px;
}
2014-08-15 13:52:14 +00:00
#windows .input {
border: 1px solid #cdd3da;
2014-08-16 00:05:37 +00:00
border-radius: 2px;
2014-08-15 13:52:14 +00:00
color: #222;
font-size: 14px;
margin: 2px 0;
margin-bottom: 10px;
2014-08-15 13:52:14 +00:00
outline: 0;
padding: 8px 10px;
transition: border-color .2s;
-webkit-appearance: none;
width: 100%;
}
#windows .input:hover,
#windows .input:focus {
border-color: #79838c;
}
#windows .window:before,
#windows .chan:before {
background: #f4f4f4;
background-image: linear-gradient(#f4f4f4, #ececec);
border-bottom: 1px solid #d7d7d7;
content: " ";
display: block;
height: 10px;
position: relative;
z-index: 10;
}
#windows .chan,
#windows .window {
background: #fff;
bottom: 0;
display: none;
left: 0;
position: absolute;
right: 0;
top: 0;
}
#windows .window {
bottom: -44px !important;
2014-08-15 13:52:14 +00:00
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
#windows .window h1 {
font: 36px Lato;
}
2014-09-10 15:56:19 +00:00
#windows .window h2 {
border-bottom: 1px solid #eee;
color: #7f8c8d;
font-size: 22px;
margin: 30px 0 10px;
padding-bottom: 7px;
}
2014-08-15 13:52:14 +00:00
#windows .active {
display: block;
}
#windows .header {
2014-08-15 13:52:14 +00:00
border-bottom: 1px solid #e7e7e7;
2014-09-13 01:16:29 +00:00
line-height: 50px !important;
2014-08-15 13:52:14 +00:00
height: 48px;
padding: 0 20px;
overflow: hidden;
2014-08-15 13:52:14 +00:00
}
#windows .header .title {
2014-09-28 21:51:24 +00:00
font: 14px Lato;
2014-08-15 13:52:14 +00:00
}
#windows .header .topic {
2014-08-15 13:52:14 +00:00
color: #777;
margin-left: 8px;
}
2014-09-21 15:59:50 +00:00
#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;
}
2014-09-28 21:51:24 +00:00
#windows .header .button:hover {
opacity: 1;
}
#windows .window .header {
display: none;
}
#chat {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}
#chat,
#windows .header {
2015-04-16 08:07:13 +00:00
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
line-height: 1.4;
}
2016-01-24 09:12:41 +00:00
#chat button:hover, .user:hover {
opacity: .6;
}
2014-08-15 13:52:14 +00:00
#chat .chat,
#chat .sidebar {
top: 58px;
}
#chat .chat {
bottom: 0;
left: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
position: absolute;
right: 180px;
}
#viewport.rt .chat {
right: 0;
}
2014-08-15 13:52:14 +00:00
#chat .sidebar {
background: #fff;
border-left: 1px solid #e7e7e7;
bottom: 0;
position: absolute;
right: 0;
width: 180px;
2014-10-10 19:21:40 +00:00
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-perspective: 1000;
perspective: 1000;
2014-08-15 13:52:14 +00:00
}
#chat .lobby .chat,
#chat .query .chat {
right: 0;
}
#chat .lobby .sidebar,
#chat .query .sidebar {
display: none;
}
#chat .show-more {
2014-09-28 21:51:24 +00:00
display: none;
padding: 10px;
2014-08-15 13:52:14 +00:00
position: absolute;
width: 100%;
}
2014-09-28 21:51:24 +00:00
#chat .show-more.show + .messages .msg:first-child {
padding-top: 47px !important;
}
#chat .show-more.show + .messages .msg:first-child > span {
padding-top: 52px !important;
}
#chat .show-more-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: 34px;
line-height: 0;
width: 100%;
}
#chat .show-more-button:hover {
2014-09-19 20:24:11 +00:00
opacity: 1;
2014-08-15 13:52:14 +00:00
}
#chat .messages {
display: table;
width: 100%;
}
#chat .msg {
display: table-row;
word-wrap: break-word;
}
#chat .msg:first-child > span {
padding-top: 10px;
}
#chat .msg:last-child {
height: 100%;
}
#chat .msg:last-child .text {
padding-bottom: 10px;
}
#chat .msg .inline-channel {
cursor: pointer;
}
#chat .msg .inline-channel:hover {
opacity: .6;
}
2014-08-15 13:52:14 +00:00
#chat .time,
#chat .from,
#chat .text {
display: table-cell;
2014-09-25 23:51:53 +00:00
padding: 2px 0;
2014-08-16 19:49:28 +00:00
vertical-align: top;
2014-08-15 13:52:14 +00:00
}
#chat .time {
2014-09-25 23:51:53 +00:00
color: #ddd;
2014-08-15 13:52:14 +00:00
text-align: right;
width: 46px;
min-width: 46px;
}
#chat .from {
border-right: 1px solid #f6f6f6;
color: #b1c3ce;
padding-right: 10px;
text-align: right;
width: 134px;
min-width: 134px;
}
2014-09-30 18:00:23 +00:00
#chat a {
2014-08-15 13:52:14 +00:00
color: #84ce88;
2014-10-10 17:39:57 +00:00
color: #50a656;
2014-08-15 13:52:14 +00:00
}
2016-01-24 09:12:41 +00:00
#chat.no-colors .from .user,
#chat.no-colors .sidebar .user {
2014-10-10 17:39:57 +00:00
color: #50a656 !important;
2014-09-30 18:00:23 +00:00
}
2014-08-15 13:52:14 +00:00
#chat .text {
padding-left: 10px;
padding-right: 6px;
}
2014-09-27 22:01:28 +00:00
#chat .wrap,
2014-08-15 13:52:14 +00:00
#chat .text a {
2014-09-27 22:01:28 +00:00
font-style: normal;
2014-08-15 13:52:14 +00:00
word-break: break-all;
2014-09-27 22:08:21 +00:00
word-wrap: break-word;
2015-12-12 19:11:47 +00:00
display: inline-block;
2014-08-15 13:52:14 +00:00
}
2014-09-14 18:49:42 +00:00
#chat .self .text {
color: #999;
}
2014-08-15 13:52:14 +00:00
#chat .error,
#chat .error .from,
#chat .highlight,
#chat .highlight .from {
color: #f00;
}
2014-09-10 20:08:32 +00:00
#chat.hide-join .join span,
2014-09-11 17:24:32 +00:00
#chat.hide-mode .mode span,
#chat.hide-motd .motd span,
2014-09-10 20:08:32 +00:00
#chat.hide-nick .nick span,
#chat.hide-part .part span,
2014-09-25 23:55:19 +00:00
#chat.hide-quit .quit {
2014-09-10 20:08:32 +00:00
display: none !important;
}
2016-01-23 14:39:54 +00:00
#chat .join .from:before {
font-family: FontAwesome;
content: "\f090";
color: #2ECC40;
}
#chat .kick .from:before {
font-family: FontAwesome;
content: "\f05e";
color: #FF4136;
}
#chat .part .from:before,
#chat .quit .from:before {
2016-01-27 00:49:41 +00:00
font-family: FontAwesome;
2016-01-23 14:39:54 +00:00
content: "\f08b";
color: #FF4136;
2016-01-27 00:49:41 +00:00
display: inline-block;
transform: rotate(180deg);
2016-01-23 14:39:54 +00:00
}
#chat .topic .from:before {
font-family: FontAwesome;
content: "\f0a1";
color: #2ECC40;
}
#chat .mode .from:before {
font-family: FontAwesome;
content: "\f05a";
color: #2ECC40;
}
#chat .nick .from:before {
font-family: FontAwesome;
content: "\f007";
color: #2ECC40;
}
#chat .action .text,
#chat .action .user {
color: #F39C12;
}
#chat .action .from:before {
font-family: FontAwesome;
content: "\f005";
color: #F39C12;
}
#chat .notice .time,
#chat .notice .text,
#chat .chan .notice .user {
color: #0074D9 !important;
}
#chat .notice .user:before {
content: "Notice: ";
2014-08-15 13:52:14 +00:00
}
2016-01-23 14:39:54 +00:00
2014-09-27 19:17:05 +00:00
#chat .toggle-button {
2014-09-27 20:39:14 +00:00
background: #f5f5f5;
2014-09-27 19:17:05 +00:00
border-radius: 2px;
display: inline-block;
color: #666;
height: 1em;
line-height: 0px;
padding: 0px 6px;
}
#chat .toggle-content {
background: #f5f5f5;
border-radius: 2px;
display: none;
color: #222;
font: 12px Lato;
max-width: 100%;
2014-09-27 19:17:05 +00:00
padding: 6px 8px;
margin-top: 2px;
}
2014-09-27 20:39:14 +00:00
#chat .toggle-content a {
color: inherit;
2014-09-27 19:17:05 +00:00
}
#chat .toggle-content img {
max-width: 100%;
2016-01-20 16:16:27 +00:00
max-height: 250px;
2014-09-27 20:39:14 +00:00
display: block;
margin: 2px 0;
}
#chat .toggle-content .thumb {
max-height: 110px;
max-width: 210px;
}
2014-09-27 20:39:14 +00:00
#chat .toggle-content .head {
font-weight: bold;
}
#chat .toggle-content .body {
color: #999;
2014-12-11 23:48:43 +00:00
max-width: 460px;
word-break: normal;
word-wrap: break-word;
2014-09-27 20:39:14 +00:00
}
#chat .toggle-content.show {
display: inline-block !important;
2014-08-16 19:49:28 +00:00
}
2014-08-15 13:52:14 +00:00
#chat .count {
2014-09-10 15:56:19 +00:00
background: #fafafa;
2014-08-15 13:52:14 +00:00
height: 48px;
left: 0;
position: absolute;
right: 0;
top: 0;
}
#chat .count:before {
2014-09-10 15:56:19 +00:00
color: #cfcfcf;
font: 14px FontAwesome;
2014-08-29 20:54:11 +00:00
content: "\f002";
2014-08-15 13:52:14 +00:00
position: absolute;
right: 18px;
line-height: 50px;
transition: color .2s;
z-index: 0;
}
#chat .search {
color: #222;
border: 0;
background: none;
font: inherit;
outline: 0;
padding: 18px 16px;
position: relative;
width: 100%;
}
#chat .names {
bottom: 0;
overflow: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
2014-10-04 19:47:27 +00:00
padding-bottom: 10px;
2014-08-15 13:52:14 +00:00
position: absolute;
top: 48px;
width: 100%;
}
#chat .names button {
display: block;
2014-08-18 23:54:14 +00:00
line-height: 1.6;
2014-10-04 19:47:27 +00:00
padding: 0 16px;
2014-08-15 13:52:14 +00:00
}
2014-09-30 18:00:23 +00:00
#chat .names .inner {
width: 300px;
}
2014-10-04 19:47:27 +00:00
#chat .user-mode:before {
content: "";
border-bottom: 1px solid #eee;
display: block;
line-height: 1.6;
padding: 12px 16px 10px;
margin-bottom: 10px;
}
#chat .user-mode.owner:before {
content: "Owners";
}
#chat .user-mode.admin:before {
content: "Administrators";
}
#chat .user-mode.op:before {
content: "Operators";
}
#chat .user-mode.half-op:before {
content: "Half-Operators";
}
2014-10-04 19:47:27 +00:00
#chat .user-mode.voice:before {
content: "Voiced";
}
#chat .user-mode.normal:before {
content: "Users";
}
2014-08-15 13:52:14 +00:00
#sign-in label {
display: block;
margin-top: 10px;
}
#sign-in .title {
margin-bottom: 10px;
}
2014-09-15 21:13:03 +00:00
#sign-in .remember {
float: left;
font-size: 14px;
margin-top: 12px;
}
#sign-in .remember input {
float: left;
margin: 3px 10px 0 0;
}
2014-08-15 13:52:14 +00:00
#sign-in .btn {
margin-top: 25px;
}
#sign-in .error {
color: #e74c3c;
margin-top: 1em;
}
#sign-in .container {
margin-top: 120px;
}
2014-08-15 13:52:14 +00:00
#connect label {
display: block;
margin-top: 11px;
2014-08-15 13:52:14 +00:00
}
#connect .title {
margin-bottom: 10px;
}
#connect .port:before {
content: ":";
margin: 9px 0 0 -17px;
2014-08-15 13:52:14 +00:00
position: absolute;
}
2014-09-10 15:56:19 +00:00
#connect .tls {
float: left;
font-size: 14px;
margin-top: 6px;
2014-09-10 15:56:19 +00:00
}
#connect .tls input {
float: left;
margin: 3px 10px 0 0;
}
2014-08-15 13:52:14 +00:00
#connect .btn {
2014-09-10 15:56:19 +00:00
float: left;
margin-top: 30px;
2014-08-15 13:52:14 +00:00
}
#settings .title {
margin-bottom: -10px;
}
#settings .opt {
display: block;
2014-09-30 20:20:36 +00:00
padding: 5px 0 10px 1px;
2014-08-15 13:52:14 +00:00
}
#settings .opt input {
float: left;
margin: 4px 10px 0 0;
}
#settings .about,
#settings #play {
color: #7f8c8d;
}
2014-08-16 00:05:37 +00:00
#settings .about small {
margin-left: 2px;
}
2014-08-15 13:52:14 +00:00
#settings #play:hover {
opacity: .8;
}
#settings #play:before {
2014-08-29 20:54:11 +00:00
content: "\f028";
font: 14px FontAwesome;
2014-08-15 13:52:14 +00:00
margin-right: 9px;
}
#settings .about {
font-size: 14px;
padding-top: 2px;
line-height: 1.8;
}
#form {
background: #e4eaee;
2014-09-27 00:21:14 +00:00
background: #eee;
2014-08-15 13:52:14 +00:00
border-top: 1px solid #cfdae1;
2014-09-27 00:21:14 +00:00
border-top: 1px solid #ddd;
2014-08-15 13:52:14 +00:00
bottom: 0;
height: 48px;
left: 0;
position: absolute;
right: 0px;
}
#form .inner {
bottom: 7px;
left: 7px;
position: absolute;
right: 7px;
top: 6px;
}
2014-09-21 15:21:26 +00:00
#form .input {
2015-04-16 08:07:13 +00:00
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
2014-09-21 15:21:26 +00:00
left: 0;
height: 34px;
2014-09-27 00:21:14 +00:00
margin-right: 64px;
2014-09-21 15:21:26 +00:00
position: relative;
}
2014-09-25 23:51:53 +00:00
#form #nick {
background: #f6f6f6;
2014-09-27 00:21:14 +00:00
color: #666;
2014-09-25 23:51:53 +00:00
position: absolute;
font: inherit;
font-size: 11px;
margin: 5px;
line-height: 26px;
height: 24px;
2014-09-27 00:21:14 +00:00
padding: 0 9px;
2014-09-25 23:51:53 +00:00
border-radius: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#form #input {
border: 1px solid #cfdae1;
2014-09-27 00:21:14 +00:00
border: 1px solid #ddd;
2014-09-25 23:51:53 +00:00
font: inherit;
border-radius: 2px;
height: 100%;
outline: none;
padding: 0 10px;
-webkit-appearance: none;
width: 100%;
}
2014-08-15 13:52:14 +00:00
#form #submit {
2014-09-21 15:21:26 +00:00
background: #f4f4f4;
background-image: linear-gradient(#f4f4f4, #ececec);
border: 1px solid #d7d7d7;
border-bottom-color: #b7b7b7;
border-radius: 2px;
font: 12px Lato, sans-serif;
color: #555;
height: 34px;
2014-08-15 13:52:14 +00:00
position: absolute;
2014-09-21 15:21:26 +00:00
right: 0;
transition: opacity .3s;
2014-09-27 00:21:14 +00:00
width: 58px;
2014-08-15 13:52:14 +00:00
}
2014-10-10 23:11:57 +00:00
/**
2014-12-11 03:35:17 +00:00
* IRC Message Styling
* https://github.com/megawac/irc-style-parser
* Colours are credit to http://clrs.cc/
*/
.irc-fg0 { color: #fff; }
.irc-fg1 { color: #000; }
.irc-fg2 { color: #001f3f; }
.irc-fg3 { color: #2ecc40; }
.irc-fg4 { color: #ff4136; }
.irc-fg5 { color: #85144b; }
.irc-fg6 { color: #b10dc9; }
.irc-fg7 { color: #ff851b; }
.irc-fg8 { color: #ffdc00; }
.irc-fg9 { color: #01ff70; }
.irc-fg10 { color: #39cccc; }
.irc-fg11 { color: #7fdbff; }
.irc-fg12 { color: #0074d9; }
.irc-fg13 { color: #f012be; }
.irc-fg14 { color: #aaa; }
.irc-fg15 { color: #ddd; }
.irc-bg0 { background: #fff; }
.irc-bg1 { background: #000; }
.irc-bg2 { background: #001f3f; }
.irc-bg3 { background: #2ecc40; }
.irc-bg4 { background: #ff4136; }
.irc-bg5 { background: #85144b; }
.irc-bg6 { background: #b10dc9; }
.irc-bg7 { background: #ff851b; }
.irc-bg8 { background: #ffdc00; }
.irc-bg9 { background: #01ff70; }
.irc-bg10 { background: #39cccc; }
.irc-bg11 { background: #7fdbff; }
.irc-bg12 { background: #0074d9; }
.irc-bg13 { background: #f012be; }
.irc-bg14 { background: #aaa; }
.irc-bg15 { background: #ddd; }
2014-10-10 23:11:57 +00:00
.irc-bold {
font-weight: bold;
}
.irc-underline {
text-decoration: underline;
}
.irc-italic {
font-style:italic
}
2014-09-19 23:12:17 +00:00
/**
* TrackpadScrollEmulator
* Version: 1.0.6
* Author: Jonathan Nicol @f6design
* https://github.com/jnicol/trackpad-scroll-emulator
*/
.tse-scrollable {
position: relative;
overflow: hidden;
}
.tse-scrollable .tse-scroll-content {
overflow: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
.tse-scrollable .tse-scroll-content::-webkit-scrollbar {
width: 0;
height: 0;
}
.tse-scrollbar {
z-index: 99;
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 11px;
}
.tse-scrollbar .drag-handle {
position: absolute;
right: 2px;
border-radius: 2px;
min-height: 10px;
width: 6px;
opacity: 0.1;
transition: opacity 0.2s linear;
background: #000;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
}
.tse-scrollbar:hover .drag-handle {
opacity: 0.25;
transition: opacity 0 linear;
}
.tse-scrollbar .drag-handle.visible {
opacity: 0.2;
}
.scrollbar-width-tester::-webkit-scrollbar {
width: 0;
height: 0;
}
2014-08-15 13:52:14 +00:00
@media (max-width: 768px) {
.container {
margin-top: 60px !important;
}
2014-08-15 13:52:14 +00:00
#viewport.lt {
-webkit-transform: translate3d(220px, 0, 0);
transform: translate3d(220px, 0, 0);
}
2014-08-15 21:33:22 +00:00
#viewport.rt #chat .sidebar {
2014-08-16 00:05:37 +00:00
-webkit-transform: translate3d(-180px, 0, 0);
transform: translate3d(-180px, 0, 0);
2014-08-15 13:52:14 +00:00
}
#sidebar {
left: -220px;
}
2014-09-19 23:12:17 +00:00
#footer {
left: -215px;
width: 215px;
}
2014-09-25 10:05:24 +00:00
#sidebar .close {
display: none;
}
#sidebar .chan:hover .badge {
opacity: 1;
}
2014-08-15 13:52:14 +00:00
#sidebar .empty:before {
margin-top: 0;
}
#main {
left: 5px;
right: 5px;
}
#chat .chat {
right: 0;
}
2014-09-10 21:43:56 +00:00
#viewport .lt,
#viewport .channel .rt {
2014-08-15 13:52:14 +00:00
display: block;
}
2014-09-21 15:59:50 +00:00
#viewport .rt {
margin-left: 18px;
}
#windows .window .header {
display: block;
}
2014-08-15 13:52:14 +00:00
#chat .sidebar {
right: -180px;
}
2014-08-29 20:54:11 +00:00
#chat .title:before {
display: none;
}
2014-08-15 13:52:14 +00:00
}
@media (max-width: 479px) {
2014-09-10 15:56:19 +00:00
.container {
margin: 40px 0 !important;
}
#connect .tls {
margin: 20px 0;
}
#windows .input {
margin-bottom: 2px;
2014-09-10 15:56:19 +00:00
}
2014-08-15 13:52:14 +00:00
#chat .messages {
display: block;
padding: 5px 10px;
}
#chat .msg {
display: block;
padding: 2px 0;
}
#chat .msg:last-child {
height: auto;
}
#chat .from,
#chat .text {
background: none;
border: 0;
display: inline;
padding: 0;
}
#chat .time {
display: none;
}
2014-09-25 23:55:19 +00:00
#chat.hide-join .join,
#chat.hide-mode .mode,
#chat.hide-motd .motd,
#chat.hide-nick .nick,
#chat.hide-part .part,
#chat.hide-quit .quit {
display: none !important;
}
2014-08-15 13:52:14 +00:00
}
2014-09-15 17:41:23 +00:00
@media print {
* {
position: relative !important;
overflow: visible !important;
}
body {
background: #fff;
}
.lt,
.rt,
.window:before,
.chan:before,
.title:before {
display: none !important;
}
.sidebar,
#form,
#sidebar {
display: none;
}
#windows .header {
border-bottom: 0;
padding-left: 10px;
}
#main {
left: 0;
}
#chat {
font-size: 11px;
}
#chat .chat {
bottom: 0;
left: 0;
top: 0;
right: 0;
}
#chat .messages {
display: block;
padding: 5px 10px;
}
#chat .msg {
display: block;
padding: 2px 0;
}
#chat .msg:last-child {
height: auto;
}
#chat .from,
#chat .text,
#chat .time {
background: none;
border: 0;
display: inline;
padding: 0;
}
}
2016-01-18 17:49:23 +00:00
::-webkit-scrollbar {
width: 8px;
background-color: rgba(0,0,0,0);
}
::-webkit-scrollbar:hover {
background-color: rgba(0, 0, 0, 0.09);
}
::-webkit-scrollbar-thumb:vertical {
background: rgba(0,0,0,0.5);
border-radius: 100px;
}