hardlounge/client/css/style.css
2016-03-30 22:26:23 +03:00

1728 lines
26 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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");
}
@font-face {
font-family: FontAwesome;
src: url("fonts/fontawesome.svg") format("svg"), url("fonts/fontawesome.woff") format("woff");
}
html,
body {
height: 100%;
}
body {
background: #455164;
color: #222;
font: 16px Lato, sans-serif;
margin: 0;
}
a {
transition: opacity .2s;
}
a:hover {
text-decoration: none;
opacity: .8;
}
h1,
h2 {
font: inherit;
line-height: inherit;
margin: 0;
}
input {
outline: 0;
}
button,
.user {
border: none;
background: none;
margin: 0;
outline: none;
padding: 0;
}
.web-app-mode {
padding-top: 20px;
}
.btn {
border: 2px solid #84ce88;
border-radius: 3px;
color: #84ce88;
display: inline-block;
font: bold 12px Lato, sans-serif;
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: #84ce88;
color: #fff;
}
.btn:active {
box-shadow: none;
opacity: .8;
}
.btn:disabled {
opacity: .6;
}
.container {
margin: 80px auto;
max-width: 480px;
overflow: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 0 30px;
}
::-moz-placeholder {
color: rgba(0, 0, 0, .35);
opacity: 1;
}
::-webkit-input-placeholder {
color: rgba(0, 0, 0, .35);
}
:-ms-input-placeholder {
color: rgba(0, 0, 0, .35) !important;
}
#wrap {
height: 100%;
overflow: hidden;
}
#viewport {
height: 100%;
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-perspective: 1000;
perspective: 1000;
}
#viewport .lt,
#viewport .rt,
#chat button.menu {
color: #ccc;
display: none;
float: left;
line-height: 40px;
height: 36px;
margin: 6px 12px 0 -12px;
width: 36px;
}
#viewport .lt:before {
font: 14px FontAwesome;
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;
}
#chat button.menu:before {
font: 14px FontAwesome;
content: "\f142";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#viewport .rt {
display: block;
float: right;
margin: 6px -12px 0 0;
}
#chat button.menu {
display: block;
float: right;
margin: 6px -8px 0 12px;
}
#viewport.rt #chat .sidebar {
-webkit-transform: translate3d(180px, 0, 0);
transform: translate3d(180px, 0, 0);
}
#sidebar {
bottom: 52px;
left: 0;
overflow: hidden;
-webkit-overflow-scrolling: touch;
position: absolute;
top: 0;
width: 220px;
}
#sidebar button,
#sidebar .chan,
#sidebar .sign-out {
border: 1px solid transparent;
border-radius: 2px;
color: #99a2b4;
cursor: pointer;
font-size: 14px;
}
#sidebar button:hover,
#sidebar .chan:hover,
#sidebar .active {
color: #fff;
}
#sidebar .networks {
min-height: 100%;
padding: 20px 30px 0;
}
#sidebar .networks:empty {
padding: 0;
}
#sidebar .network,
#sidebar .network-placeholder {
margin-bottom: 30px;
}
#sidebar .empty {
color: #9ca5b4;
line-height: 1.6;
font-size: 12px;
margin-top: 20px;
padding: 20px 40px;
text-align: center;
}
#sidebar .chan,
#sidebar .chan-placeholder {
display: block;
margin: 1px -10px;
padding: 6px 10px 8px 36px;
position: relative;
text-align: left;
transition: color .2s;
width: 180px;
}
#sidebar .chan-placeholder {
padding-bottom: 10px;
}
#sidebar .chan:first-child {
color: #84ce88;
font-size: 15px;
font-weight: bold;
}
#sidebar .chan:first-child:hover,
#sidebar .chan:first-child.active {
color: #c0f8c3;
}
#sidebar .chan:before,
#chat .title:before {
font: 14px FontAwesome;
float: left;
margin-top: 3px;
margin-right: 12px;
width: 14px;
text-align: center;
}
#sidebar .chan:before {
position: absolute;
top: 4px;
left: 10px;
}
#chat .title:before {
margin-top: 17px;
}
#sidebar .chan.lobby:before,
#chat .lobby .title:before {
content: "\f0a0";
}
#sidebar .chan.query:before,
#chat .query .title:before {
content: "\f0e6";
}
#sidebar .chan.channel:before,
#chat .channel .title:before {
content: "\f0f6";
}
#sidebar .chan .name {
position: relative;
z-index: 0;
display: block;
overflow: hidden;
white-space: nowrap;
margin-right: 5px;
}
#sidebar .chan .name:after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 20px;
background: linear-gradient(to right, rgba(69, 81, 100, 0) 0%, rgba(69, 81, 100, 1) 100%);
content: " ";
}
#sidebar .badge {
background: rgba(255, 255, 255, .06);
border-radius: 3px;
color: #afb6c0;
font-size: 10px;
margin-top: 1px;
margin-right: -5px;
margin-left: 5px;
padding: 3px 6px;
float: right;
transition: opacity .2s, background-color .2s, color .2s;
}
#sidebar .badge.highlight {
background: #fff;
color: #49505a;
}
#sidebar .chan.active .badge,
#sidebar .badge:empty {
opacity: 0;
}
#sidebar .close {
border-radius: 3px;
margin-right: 5px;
visibility: hidden;
opacity: 0;
position: absolute;
z-index: 2;
right: 0;
transition: opacity .2s, background-color .2s;
}
#sidebar .close:before {
font-size: 18px;
font-weight: normal;
display: inline-block;
line-height: 18px;
width: 18px;
height: 18px;
text-align: center;
content: "×";
color: #fff;
}
#sidebar .chan.active .close {
visibility: visible;
opacity: .4;
}
#sidebar .chan.active .close:hover {
background-color: rgba(0, 0, 0, .1);
opacity: 1;
}
#sidebar .tse-scrollbar {
top: 2px;
right: 3px;
}
#sidebar,
#footer {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#footer {
background: rgba(0, 0, 0, .06);
border-radius: 2px;
bottom: 4px;
height: 48px;
left: 5px;
line-height: 48px;
position: absolute;
text-align: center;
width: 210px;
}
#footer button {
border: 0;
}
#footer button.active {
color: #fff;
}
#footer .icon {
color: #9ca5b4;
display: inline-block;
font: 14px FontAwesome;
line-height: 34px;
padding: 0 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 {
content: "\f023";
}
#footer .connect:before {
content: "\f067";
}
#footer .settings:before {
content: "\f013";
}
#footer .sign-out:before {
content: "\f011";
}
#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: 0;
width: 100%;
}
#windows label {
font-size: 14px;
}
#windows .input {
border: 1px solid #cdd3da;
border-radius: 2px;
color: #222;
font-size: 14px;
margin: 2px 0;
margin-bottom: 10px;
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;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
#windows .window h1 {
font: 36px Lato;
}
#windows .window h2 {
border-bottom: 1px solid #eee;
color: #7f8c8d;
font-size: 22px;
margin: 30px 0 10px;
padding-bottom: 7px;
}
#windows .active {
display: block;
}
#windows .header {
border-bottom: 1px solid #e7e7e7;
line-height: 50px !important;
height: 48px;
padding: 0 20px;
overflow: hidden;
}
#windows .header .title {
font: 14px Lato;
}
#windows .header .topic {
color: #777;
margin-left: 8px;
word-break: break-all;
}
#windows .window .header {
display: none;
}
#chat {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
}
#chat,
#windows .header {
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
line-height: 1.4;
}
#chat button:hover,
.user:hover {
opacity: .6;
}
#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;
}
#chat .sidebar {
background: #fff;
border-left: 1px solid #e7e7e7;
bottom: 0;
position: absolute;
right: 0;
width: 180px;
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-perspective: 1000;
perspective: 1000;
}
#chat .lobby .chat,
#chat .query .chat {
right: 0;
}
#chat .lobby .sidebar,
#chat .query .sidebar {
display: none;
}
#chat .show-more {
display: none;
padding: 10px;
width: 100%;
}
#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 {
opacity: 1;
}
#chat .messages {
display: table;
table-layout: fixed;
width: 100%;
padding: 10px 0;
}
#chat .msg {
display: table-row;
word-wrap: break-word;
}
.inline-channel {
cursor: pointer;
}
.inline-channel:hover {
opacity: .6;
}
#chat .time,
#chat .from,
#chat .text {
display: table-cell;
padding: 2px 0;
vertical-align: top;
}
#chat .time {
color: #ddd;
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;
}
#chat a {
color: #50a656;
}
#chat.no-colors .from .user,
#chat.no-colors .sidebar .user {
color: #50a656 !important;
}
#chat .text {
padding-left: 10px;
padding-right: 6px;
}
#chat .self .text {
color: #999;
}
#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;
}
#chat .invite .from:before {
font-family: FontAwesome;
content: "\f003";
color: #2ecc40;
}
#chat .join .text,
#chat .kick .text,
#chat .mode .text,
#chat .nick .text,
#chat .part .text,
#chat .quit .text,
#chat .topic .text {
color: #999;
}
#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 {
font-family: FontAwesome;
content: "\f08b";
color: #ff4136;
display: inline-block;
transform: rotate(180deg);
}
#chat .topic .from:before {
font-family: FontAwesome;
content: "\f0a1";
color: #2ecc40;
}
#chat .mode .from:before {
font-family: FontAwesome;
content: "\f05a";
color: #2ecc40;
}
#chat .whois .from:before {
font-family: FontAwesome;
content: "\f007";
color: #2ecc40;
}
#chat .nick .from:before {
font-family: FontAwesome;
content: "\f007";
color: #2ecc40;
}
#chat .action .from,
#chat .action .text,
#chat .action .user {
color: #f39c12;
}
#chat .action .from:before {
font-family: FontAwesome;
content: "\f005";
}
#chat .notice .time,
#chat .notice .text,
#chat .chan .notice .user {
color: #0074d9 !important;
}
#chat .notice .user:before {
content: "Notice: ";
}
#chat .error,
#chat .error .from,
#chat .highlight .from,
#chat .highlight .text,
#chat .highlight .user {
color: #f00;
}
#chat .toggle-button {
background: #f5f5f5;
border-radius: 2px;
display: inline-block;
color: #666;
height: 1em;
line-height: 0;
padding: 0 6px;
}
#chat .toggle-content {
background: #f5f5f5;
border-radius: 2px;
display: none;
color: #222;
font: 12px Lato;
max-width: 100%;
padding: 6px 8px;
margin-top: 2px;
}
#chat .toggle-content a {
color: inherit;
}
#chat .toggle-content img {
max-width: 100%;
max-height: 250px;
display: block;
margin: 2px 0;
}
#chat .toggle-content .thumb {
max-height: 110px;
max-width: 210px;
}
#chat .toggle-content .head {
font-weight: bold;
}
#chat .toggle-content .body {
color: #999;
max-width: 460px;
word-break: normal;
word-wrap: break-word;
}
#chat .toggle-content.show {
display: inline-block !important;
}
#chat .count {
background: #fafafa;
height: 48px;
left: 0;
position: absolute;
right: 0;
top: 0;
}
#chat .count:before {
color: #cfcfcf;
font: 14px FontAwesome;
content: "\f002";
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;
padding-bottom: 10px;
position: absolute;
top: 48px;
width: 100%;
}
#chat .names button {
display: block;
line-height: 1.6;
padding: 0 16px;
}
#chat .names .inner {
width: 300px;
}
#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";
}
#chat .user-mode.voice:before {
content: "Voiced";
}
#chat .user-mode.normal:before {
content: "Users";
}
#sign-in label {
display: block;
margin-top: 10px;
}
#sign-in .title {
margin-bottom: 10px;
}
#sign-in .remember {
float: left;
font-size: 14px;
margin-top: 12px;
}
#sign-in .remember input {
float: left;
margin: 3px 10px 0 0;
}
#sign-in .btn {
margin-top: 25px;
}
#sign-in .error {
color: #e74c3c;
margin-top: 1em;
}
#sign-in .container {
margin-top: 120px;
}
#connect label {
display: block;
margin-top: 11px;
}
#connect .title {
margin-bottom: 10px;
}
#connect .port:before {
content: ":";
margin: 9px 0 0 -17px;
position: absolute;
}
#connect .tls {
float: left;
font-size: 14px;
margin-top: 6px;
}
#connect .tls input {
float: left;
margin: 3px 10px 0 0;
}
#connect .btn {
float: left;
margin-top: 30px;
}
#settings .title {
margin-bottom: -10px;
}
#settings .opt {
display: block;
padding: 5px 0 10px 1px;
}
#settings .opt input {
float: left;
margin: 4px 10px 0 0;
}
#settings .about,
#settings #play {
color: #7f8c8d;
}
#settings .about small {
margin-left: 2px;
}
#settings #play:hover {
opacity: .8;
}
#settings #play:before {
content: "\f028";
font: 14px FontAwesome;
margin-right: 9px;
}
#settings .about {
font-size: 14px;
padding-top: 2px;
line-height: 1.8;
}
#settings #change-password .error,
#settings #change-password .success {
margin-bottom: 1em;
}
#settings #change-password .error {
color: #e74c3c;
}
#settings #change-password .success {
color: #2ecc40;
}
#settings .error {
color: #e74c3c;
margin-top: .2em;
}
#form {
background: #eee;
border-top: 1px solid #ddd;
bottom: 0;
height: 48px;
left: 0;
position: absolute;
right: 0;
}
#form .inner {
bottom: 7px;
left: 7px;
position: absolute;
right: 7px;
top: 6px;
}
#form .input {
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
left: 0;
height: 34px;
position: relative;
}
#form #nick {
background: #f6f6f6;
color: #666;
position: absolute;
font: inherit;
font-size: 11px;
margin: 5px;
line-height: 26px;
height: 24px;
padding: 0 9px;
border-radius: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#form #input {
border: 1px solid #ddd;
font: inherit;
border-radius: 2px;
height: 100%;
outline: none;
padding: 0 34px 0 10px;
-webkit-appearance: none;
width: 100%;
}
#form #submit {
color: #9ca5b4;
height: 34px;
line-height: 34px;
position: absolute;
right: 0;
transition: opacity .3s;
width: 34px;
}
#form #submit:before {
font: 14px FontAwesome;
content: "\f1d8";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#form #submit:hover {
opacity: .6;
}
#context-menu-container {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
background: transparent;
}
#context-menu {
position: absolute;
list-style: none;
margin: 0;
padding: 0;
min-width: 160px;
font-size: 14px;
background-color: #fff;
box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
border: 1px solid rgba(0, 0, 0, .15);
border-radius: 2px;
}
.context-menu-divider {
height: 1px;
margin: 6px 0;
background-color: rgba(0, 0, 0, .1);
}
.context-menu-item {
cursor: pointer;
display: block;
padding: 4px 8px;
color: #333;
margin-top: 6px;
margin-bottom: 6px;
}
.context-menu-item:hover {
background-color: #f6f6f6;
}
.context-menu-item:before {
font-family: FontAwesome;
width: 20px;
display: inline-block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.context-menu-user:before {
content: "\f007";
}
.context-menu-chan:before {
content: "\f0f6";
}
.context-menu-close:before {
content: "\f00d";
}
/**
* Tooltips
* See http://primercss.io/tooltips/
*/
.tooltipped {
position: relative;
}
.tooltipped:after {
position: absolute;
z-index: 1000000;
display: inline-block;
visibility: hidden;
opacity: 0;
padding: 5px 8px;
font-size: 12px;
line-height: 1.2;
color: #262c36;
text-align: center;
text-decoration: none;
text-shadow: none;
text-transform: none;
letter-spacing: normal;
word-wrap: break-word;
white-space: pre;
pointer-events: none;
content: attr(aria-label);
background: #fff;
border-radius: 3px;
-webkit-font-smoothing: subpixel-antialiased;
transition: .2s;
}
.tooltipped:before {
position: absolute;
z-index: 1000001;
display: inline-block;
visibility: hidden;
opacity: 0;
width: 0;
height: 0;
color: #262c36;
pointer-events: none;
content: "";
border: 5px solid transparent;
transition: .2s;
}
.tooltipped:hover:before,
.tooltipped:hover:after,
.tooltipped:active:before,
.tooltipped:active:after,
.tooltipped:focus:before,
.tooltipped:focus:after {
visibility: visible;
opacity: 1;
text-decoration: none;
}
.tooltipped-s:after,
.tooltipped-se:after,
.tooltipped-sw:after {
top: 100%;
right: 50%;
margin-top: 5px;
}
.tooltipped-s:before,
.tooltipped-se:before,
.tooltipped-sw:before {
top: auto;
right: 50%;
bottom: -5px;
margin-right: -5px;
border-bottom-color: #fff;
}
.tooltipped-se:after {
right: auto;
left: 50%;
margin-left: -15px;
}
.tooltipped-sw:after {
margin-right: -15px;
}
.tooltipped-n:after,
.tooltipped-ne:after,
.tooltipped-nw:after {
right: 50%;
bottom: 100%;
margin-bottom: 5px;
}
.tooltipped-n:before,
.tooltipped-ne:before,
.tooltipped-nw:before {
top: -5px;
right: 50%;
bottom: auto;
margin-right: -5px;
border-top-color: #fff;
}
.tooltipped-ne:after {
right: auto;
left: 50%;
margin-left: -15px;
}
.tooltipped-nw:after {
margin-right: -15px;
}
.tooltipped-s:after,
.tooltipped-n:after {
-webkit-transform: translateX(50%);
-ms-transform: translateX(50%);
transform: translateX(50%);
}
.tooltipped-w:after {
right: 100%;
bottom: 50%;
margin-right: 5px;
-webkit-transform: translateY(50%);
-ms-transform: translateY(50%);
transform: translateY(50%);
}
.tooltipped-w:before {
top: 50%;
bottom: 50%;
left: -5px;
margin-top: -5px;
border-left-color: #fff;
}
.tooltipped-e:after {
bottom: 50%;
left: 100%;
margin-left: 5px;
-webkit-transform: translateY(50%);
-ms-transform: translateY(50%);
transform: translateY(50%);
}
.tooltipped-e:before {
top: 50%;
right: -5px;
bottom: 50%;
margin-top: -5px;
border-right-color: #fff;
}
/**
* 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; }
.irc-bold {
font-weight: bold;
}
.irc-underline {
text-decoration: underline;
}
.irc-italic {
font-style: italic;
}
/**
* 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: .1;
transition: opacity .2s linear;
background: #000;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
}
.tse-scrollbar:hover .drag-handle {
opacity: .25;
transition: opacity 0 linear;
}
.tse-scrollbar .drag-handle.visible {
opacity: .2;
}
.scrollbar-width-tester::-webkit-scrollbar {
width: 0;
height: 0;
}
@media (max-width: 768px) {
.container {
margin-top: 60px !important;
}
#viewport.lt {
-webkit-transform: translate3d(220px, 0, 0);
transform: translate3d(220px, 0, 0);
}
#viewport.rt #chat .sidebar {
-webkit-transform: translate3d(-180px, 0, 0);
transform: translate3d(-180px, 0, 0);
}
#sidebar {
left: -220px;
}
#footer {
left: -215px;
width: 215px;
}
#sidebar .empty:before {
margin-top: 0;
}
#main {
left: 5px;
right: 5px;
}
#chat .chat {
right: 0;
}
#viewport .lt,
#viewport .channel .rt {
display: block;
}
#windows .window .header {
display: block;
}
#chat .sidebar {
right: -180px;
}
#chat .title:before {
display: none;
}
}
@media (max-width: 479px) {
.container {
margin: 40px 0 !important;
}
#connect .tls {
margin: 20px 0;
}
#windows .input {
margin-bottom: 2px;
}
#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;
}
}
@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;
}
}
::-webkit-scrollbar {
width: 8px;
background-color: rgba(0, 0, 0, 0);
}
::-webkit-scrollbar:hover {
background-color: rgba(0, 0, 0, .09);
}
::-webkit-scrollbar-thumb:vertical {
background: rgba(0, 0, 0, .5);
border-radius: 100px;
}