thelounge/client/css/style.css

1666 lines
28 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");
}
2015-04-14 21:13:38 +02:00
@font-face {
font-family: "FontAwesome";
src: url("../fonts/fontawesome-webfont.eot?v=4.6.3");
src: url("../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3") format("embedded-opentype"), url("../fonts/fontawesome-webfont.woff2?v=4.6.3") format("woff2"), url("../fonts/fontawesome-webfont.woff?v=4.6.3") format("woff"), url("../fonts/fontawesome-webfont.ttf?v=4.6.3") format("truetype"), url("../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular") format("svg");
font-weight: normal;
font-style: normal;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
html,
body {
height: 100%;
}
2014-08-15 15:52:14 +02:00
body {
2014-09-10 17:56:19 +02:00
background: #455164;
2014-08-15 15:52:14 +02:00
color: #222;
font: 16px Lato, sans-serif;
margin: 0;
}
2014-08-15 15:52:14 +02:00
a {
2014-08-15 23:33:22 +02:00
transition: opacity .2s;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
a:hover {
text-decoration: none;
opacity: .8;
}
2014-08-15 15:52:14 +02:00
h1,
h2 {
font: inherit;
line-height: inherit;
margin: 0;
}
h1.title {
margin-bottom: 10px;
}
2014-08-15 15:52:14 +02:00
input {
outline: 0;
}
button {
2014-08-15 15:52:14 +02:00
border: none;
background: none;
margin: 0;
outline: none;
padding: 0;
}
2014-08-15 15:52:14 +02:00
.btn {
border: 2px solid #84ce88;
border-radius: 3px;
color: #84ce88;
display: inline-block;
font-size: 12px;
font-weight: bold;
2014-08-15 15:52:14 +02:00
letter-spacing: 1px;
margin-bottom: 10px;
padding: 9px 17px;
text-transform: uppercase;
transition: background .2s, border-color .2s, color .2s;
word-spacing: 3px;
}
2014-08-15 15:52:14 +02:00
.btn:disabled,
.btn:hover {
background: #84ce88;
color: #fff;
}
2014-08-15 15:52:14 +02:00
.btn:active {
box-shadow: none;
opacity: .8;
}
2014-08-15 15:52:14 +02:00
.btn:disabled {
opacity: .6;
}
2014-08-15 15:52:14 +02:00
.container {
margin: 80px auto;
max-width: 480px;
2014-08-15 15:52:14 +02:00
overflow: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding: 0 30px;
}
2014-08-15 15:52:14 +02:00
::-moz-placeholder {
2014-09-10 17:56:19 +02:00
color: rgba(0, 0, 0, .35);
2014-08-15 15:52:14 +02:00
opacity: 1;
}
2014-08-15 15:52:14 +02:00
::-webkit-input-placeholder {
2014-09-10 17:56:19 +02:00
color: rgba(0, 0, 0, .35);
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
:-ms-input-placeholder {
2014-09-10 17:56:19 +02:00
color: rgba(0, 0, 0, .35) !important;
2014-08-15 15:52:14 +02:00
}
/* Icons */
#viewport .lt:before,
#viewport .rt:before,
#chat button.menu:before,
#sidebar .chan:before,
#chat .title:before,
#footer .icon,
#chat .count:before,
#settings #play:before,
#form #submit:before,
#chat .invite .from:before,
#chat .join .from:before,
#chat .kick .from:before,
#chat .part .from:before,
#chat .quit .from:before,
#chat .topic .from:before,
#chat .mode .from:before,
#chat .ctcp .from:before,
#chat .whois .from:before,
#chat .nick .from:before,
#chat .action .from:before,
.context-menu-item:before {
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit; /* Can't have font-size inherit on line above, so need to override */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#viewport .lt:before { content: "\f0c9"; /* http://fontawesome.io/icon/bars/ */ }
#viewport .rt:before { content: "\f0c0"; /* http://fontawesome.io/icon/users/ */ }
#chat button.menu:before { content: "\f142"; /* http://fontawesome.io/icon/ellipsis-v/ */ }
.context-menu-user:before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ }
.context-menu-chan:before { content: "\f0f6"; /* http://fontawesome.io/icon/file-text-o/ */ }
.context-menu-close:before { content: "\f00d"; /* http://fontawesome.io/icon/times/ */ }
#sidebar .chan.lobby:before,
#chat .lobby .title:before { content: "\f0a0"; /* http://fontawesome.io/icon/hdd-o/ */ }
#sidebar .chan.query:before,
#chat .query .title:before { content: "\f0e6"; /* http://fontawesome.io/icon/comments-o/ */ }
#sidebar .chan.channel:before,
#chat .channel .title:before { content: "\f0f6"; /* http://fontawesome.io/icon/file-text-o/ */ }
#footer .sign-in:before { content: "\f023"; /* http://fontawesome.io/icon/lock/ */ }
#footer .connect:before { content: "\f067"; /* http://fontawesome.io/icon/plus/ */ }
#footer .settings:before { content: "\f013"; /* http://fontawesome.io/icon/cog/ */ }
#footer .sign-out:before { content: "\f011"; /* http://fontawesome.io/icon/power-off/ */ }
#form #submit:before { content: "\f1d8"; /* http://fontawesome.io/icon/paper-plane/ */ }
#chat .invite .from:before {
content: "\f003"; /* http://fontawesome.io/icon/envelope-o/ */
color: #2ecc40;
}
#chat .part .from:before,
#chat .quit .from:before {
content: "\f08b"; /* http://fontawesome.io/icon/sign-out/ */
color: #ff4136;
display: inline-block;
transform: rotate(180deg);
}
#chat .topic .from:before {
content: "\f0a1"; /* http://fontawesome.io/icon/bullhorn/ */
color: #2ecc40;
}
#chat .mode .from:before {
content: "\f05a"; /* http://fontawesome.io/icon/info-circle/ */
color: #2ecc40;
}
#chat .ctcp .from:before {
content: "\f0f6"; /* http://fontawesome.io/icon/file-text-o/ */
}
#chat .whois .from:before {
content: "\f007"; /* http://fontawesome.io/icon/user/ */
color: #2ecc40;
}
#chat .nick .from:before {
content: "\f007"; /* http://fontawesome.io/icon/user/ */
color: #2ecc40;
}
#chat .join .from:before {
content: "\f090"; /* http://fontawesome.io/icon/sign-in/ */
color: #2ecc40;
}
#chat .kick .from:before {
content: "\f05e"; /* http://fontawesome.io/icon/ban/ */
color: #ff4136;
}
#chat .action .from:before {
content: "\f005"; /* http://fontawesome.io/icon/star/ */
}
#chat .count:before {
color: #cfcfcf;
content: "\f002"; /* http://fontawesome.io/icon/search/ */
position: absolute;
right: 18px;
font-size: 14px;
line-height: 50px;
}
#settings #play:before {
content: "\f028"; /* http://fontawesome.io/icon/volume-up/ */
margin-right: 9px;
}
/* End icons */
2014-08-15 15:52:14 +02:00
#wrap {
height: 100%;
overflow: hidden;
}
2014-08-15 15:52:14 +02:00
#viewport {
height: 100%;
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
2014-08-15 15:52:14 +02:00
-webkit-perspective: 1000;
perspective: 1000;
2014-08-15 15:52:14 +02:00
}
2014-09-10 23:43:56 +02:00
#viewport .lt,
2016-03-19 19:20:11 +01:00
#viewport .rt,
#chat button.menu {
2014-09-10 23:43:56 +02:00
color: #ccc;
display: none;
float: left;
font-size: 14px;
line-height: 1;
2014-09-10 23:43:56 +02:00
height: 36px;
margin: 6px 12px 0 -12px;
width: 36px;
}
#viewport .lt {
position: relative;
}
/* Notification dot on the top right corner of the menu icon */
#viewport .lt:after {
content: "";
position: absolute;
top: 9px;
right: 7px;
background-color: #e74c3c;
width: 10px;
height: 10px;
border-radius: 50%;
border: 2px solid white;
opacity: 0;
transition: opacity .2s;
}
#viewport .lt.notified:after {
opacity: 1;
}
#viewport .rt-tooltip {
float: right;
}
2014-09-10 23:43:56 +02:00
#viewport .rt {
2014-10-10 21:21:40 +02:00
display: block;
2016-03-19 19:20:11 +01:00
margin: 6px -12px 0 0;
}
#chat button.menu {
display: block;
float: right;
margin: 6px -8px 0 12px;
2014-09-10 23:43:56 +02:00
}
2014-10-10 21:21:40 +02:00
#viewport.rt #chat .sidebar {
-webkit-transform: translate3d(180px, 0, 0);
transform: translate3d(180px, 0, 0);
2014-10-10 21:21:40 +02:00
}
2014-08-15 15:52:14 +02:00
#sidebar {
2014-09-20 01:56:38 +02:00
bottom: 52px;
2014-08-15 15:52:14 +02:00
left: 0;
overflow: auto;
overflow-x: hidden;
2014-08-15 15:52:14 +02:00
-webkit-overflow-scrolling: touch;
position: absolute;
top: 0;
width: 220px;
}
2014-08-15 15:52:14 +02:00
#sidebar button,
#sidebar .chan,
2014-08-15 15:52:14 +02:00
#sidebar .sign-out {
border: 1px solid transparent;
border-radius: 2px;
2014-08-29 22:54:11 +02:00
color: #99a2b4;
cursor: pointer;
2014-08-15 15:52:14 +02:00
font-size: 14px;
}
2014-08-15 15:52:14 +02:00
#sidebar button:hover,
#sidebar .chan:hover,
2014-08-15 15:52:14 +02:00
#sidebar .active {
color: #fff;
}
2014-08-15 15:52:14 +02:00
#sidebar .networks {
2014-09-24 01:05:07 +02:00
padding: 20px 30px 0;
2014-09-20 01:12:17 +02:00
}
2014-09-20 01:12:17 +02:00
#sidebar .networks:empty {
padding: 0;
2014-08-15 15:52:14 +02:00
}
2014-09-24 01:05:07 +02:00
#sidebar .network,
#sidebar .network-placeholder {
margin-bottom: 30px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#sidebar .empty {
2014-09-10 17:56:19 +02:00
color: #9ca5b4;
2014-08-15 15:52:14 +02:00
line-height: 1.6;
font-size: 12px;
margin-top: 20px;
padding: 20px 40px;
text-align: center;
}
2014-09-24 01:05:07 +02:00
#sidebar .chan,
#sidebar .chan-placeholder {
2014-08-15 15:52:14 +02:00
display: block;
margin: 1px -10px;
2016-02-21 02:28:45 +01:00
padding: 6px 10px 8px 36px;
2014-08-15 15:52:14 +02:00
position: relative;
text-align: left;
2014-09-24 01:05:07 +02:00
transition: color .2s;
2014-08-29 22:54:11 +02:00
width: 180px;
2014-08-15 15:52:14 +02:00
}
2014-09-24 01:05:07 +02:00
#sidebar .chan-placeholder {
padding-bottom: 10px;
}
2014-08-15 15:52:14 +02:00
#sidebar .chan:first-child {
color: #84ce88;
font-size: 15px;
font-weight: bold;
}
2014-08-15 15:52:14 +02:00
#sidebar .chan:first-child:hover,
#sidebar .chan:first-child.active {
color: #c0f8c3;
}
2014-08-29 22:54:11 +02:00
#sidebar .chan:before,
#chat .title:before {
2014-09-30 20:00:23 +02:00
float: left;
margin-top: 3px;
margin-right: 12px;
text-align: center;
2014-08-29 22:54:11 +02:00
}
2016-02-21 02:28:45 +01:00
#sidebar .chan:before {
position: absolute;
top: 4px;
left: 10px;
}
2014-08-29 22:54:11 +02:00
#chat .title:before {
2014-09-30 20:00:23 +02:00
margin-top: 17px;
2014-08-29 22:54:11 +02:00
}
2016-02-21 02:28:45 +01:00
#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: " ";
}
2014-08-15 15:52:14 +02:00
#sidebar .badge {
background: rgba(255, 255, 255, .06);
border-radius: 3px;
color: #afb6c0;
font-size: 10px;
margin-top: 1px;
2016-02-21 02:28:45 +01:00
margin-right: -5px;
margin-left: 5px;
2014-08-15 15:52:14 +02:00
padding: 3px 6px;
2016-02-21 02:28:45 +01:00
float: right;
transition: opacity .2s, background-color .2s, color .2s;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#sidebar .badge.highlight {
background: #fff;
color: #49505a;
}
#sidebar .chan.active .badge,
2014-08-15 15:52:14 +02:00
#sidebar .badge:empty {
2016-02-19 19:09:50 +01:00
opacity: 0;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#sidebar .close {
border-radius: 3px;
2014-09-20 01:56:38 +02:00
margin-right: 5px;
visibility: hidden;
2014-08-15 15:52:14 +02:00
opacity: 0;
position: absolute;
2016-02-21 02:28:45 +01:00
z-index: 2;
2014-08-15 15:52:14 +02:00
right: 0;
transition: opacity .2s, background-color .2s;
2016-02-15 11:03:37 +01:00
}
#sidebar .close:before {
font-size: 18px;
font-weight: normal;
2016-02-15 11:03:37 +01:00
display: inline-block;
line-height: 18px;
2014-08-15 15:52:14 +02:00
width: 18px;
2016-02-15 11:03:37 +01:00
height: 18px;
text-align: center;
content: "×";
color: #fff;
2014-08-15 15:52:14 +02:00
}
2016-02-15 11:03:37 +01:00
#sidebar .chan.active .close {
visibility: visible;
opacity: .4;
}
#sidebar .chan.active .close:hover {
2014-08-15 15:52:14 +02:00
background-color: rgba(0, 0, 0, .1);
opacity: 1;
2014-08-15 15:52:14 +02:00
}
2014-09-20 01:12:17 +02:00
#sidebar .tse-scrollbar {
top: 2px;
right: 3px;
}
2016-02-12 12:34:10 +01:00
#sidebar,
#footer {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2014-08-15 15:52:14 +02:00
#footer {
2014-09-20 01:12:17 +02:00
background: rgba(0, 0, 0, .06);
border-radius: 2px;
bottom: 4px;
height: 45px;
2014-09-20 01:12:17 +02:00
left: 5px;
font-size: 14px;
line-height: 45px;
2014-09-20 01:12:17 +02:00
position: absolute;
2014-08-15 15:52:14 +02:00
text-align: center;
2014-09-20 01:12:17 +02:00
width: 210px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#footer button.active {
2014-09-20 01:12:17 +02:00
color: #fff;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#footer .icon {
2014-09-10 17:56:19 +02:00
color: #9ca5b4;
2014-08-15 15:52:14 +02:00
display: inline-block;
line-height: 34px;
padding: 0 12px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
.signed-out #footer .sign-in {
display: inline-block;
}
2014-08-15 15:52:14 +02:00
.signed-out #footer .connect,
.signed-out #footer .sign-out {
display: none;
}
2014-08-15 15:52:14 +02:00
.public #footer .sign-in,
.public #footer .sign-out {
display: none;
}
2014-08-15 15:52:14 +02:00
#footer .sign-in {
display: none;
}
2014-08-15 15:52:14 +02:00
#main {
bottom: 4px;
left: 220px;
position: absolute;
right: 5px;
top: 4px;
display: flex;
flex-direction: column;
2014-08-15 15:52:14 +02:00
}
.signed-out #main {
left: 5px;
}
2014-08-15 15:52:14 +02:00
#header {
display: none;
height: 40px;
position: absolute;
top: 0;
width: 100%;
}
#windows label {
font-size: 14px;
}
2014-08-15 15:52:14 +02:00
#windows .input {
border: 1px solid #cdd3da;
2014-08-16 02:05:37 +02:00
border-radius: 2px;
2014-08-15 15:52:14 +02:00
color: #222;
font-size: 14px;
margin: 2px 0;
margin-bottom: 10px;
2014-08-15 15:52:14 +02:00
outline: 0;
padding: 8px 10px;
transition: border-color .2s;
width: 100%;
}
#windows select.input {
height: 35px;
}
#user-specified-css-input {
resize: vertical;
}
2014-08-15 15:52:14 +02:00
#windows .input:hover,
#windows .input:focus {
border-color: #79838c;
}
2016-07-06 01:23:46 +02:00
#windows .window:before {
2014-08-15 15:52:14 +02:00
background: #f4f4f4;
background-image: linear-gradient(#f4f4f4, #ececec);
border-bottom: 1px solid #d7d7d7;
content: " ";
display: block;
height: 10px;
position: relative;
z-index: 10;
}
2014-08-15 15:52:14 +02:00
#windows .window {
background: #fff;
border-radius: 2px;
2014-08-15 15:52:14 +02:00
bottom: 0;
display: none;
left: 0;
position: absolute;
right: 0;
top: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
2014-08-15 15:52:14 +02:00
#windows .window h1 {
font-size: 36px;
2014-08-15 15:52:14 +02:00
}
2014-09-10 17:56:19 +02:00
#windows .window h2 {
border-bottom: 1px solid #eee;
color: #7f8c8d;
font-size: 22px;
margin: 30px 0 10px;
padding-bottom: 7px;
}
2014-08-15 15:52:14 +02:00
#windows .active {
display: block;
}
#windows .header {
2014-08-15 15:52:14 +02:00
border-bottom: 1px solid #e7e7e7;
line-height: 48px;
2014-08-15 15:52:14 +02:00
height: 48px;
padding: 0 20px;
overflow: hidden;
2014-08-15 15:52:14 +02:00
}
#windows .header .title {
font-size: 14px;
2014-08-15 15:52:14 +02:00
}
#windows .header .topic {
2014-08-15 15:52:14 +02:00
color: #777;
margin-left: 8px;
2016-03-22 17:04:34 +01:00
word-break: break-all;
2014-08-15 15:52:14 +02:00
}
#windows .window .header {
display: none;
}
2016-07-06 01:23:46 +02:00
#chat-container,
#chat .chan {
position: absolute;
top: 0;
2016-07-06 01:23:46 +02:00
right: 0;
bottom: 0;
left: 0;
}
#windows #chat-container.active {
display: flex;
flex-direction: column;
}
#chat {
position: relative;
overflow: hidden;
flex: 1;
}
#chat .chan {
display: none;
}
#chat .chan.active {
display: block;
}
#windows .header .topic,
.messages .msg,
.sidebar {
2015-04-16 10:07:13 +02:00
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
line-height: 1.4;
}
2016-07-06 01:23:46 +02:00
#windows #chat .header {
display: block;
}
2014-08-15 15:52:14 +02:00
#chat .chat,
#chat .sidebar {
2016-07-06 01:23:46 +02:00
top: 48px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#chat .chat {
bottom: 0;
left: 0;
overflow: auto;
-webkit-overflow-scrolling: touch;
position: absolute;
right: 180px;
}
#viewport.rt .chat {
right: 0;
}
2014-08-15 15:52:14 +02:00
#chat .sidebar {
background: #fff;
border-left: 1px solid #e7e7e7;
bottom: 0;
position: absolute;
right: 0;
width: 180px;
2014-10-10 21:21:40 +02:00
transition: all .4s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
2014-10-10 21:21:40 +02:00
-webkit-perspective: 1000;
perspective: 1000;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#chat .lobby .chat,
#chat .query .chat {
right: 0;
}
2014-08-15 15:52:14 +02:00
#chat .lobby .sidebar,
#chat .query .sidebar {
display: none;
}
2014-08-15 15:52:14 +02:00
#chat .show-more {
2014-09-28 23:51:24 +02:00
display: none;
padding: 10px;
2016-05-13 12:23:05 +02:00
padding-bottom: 0;
2014-08-15 15:52:14 +02:00
width: 100%;
}
2014-09-28 23:51:24 +02:00
#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-size: 12px;
2014-09-28 23:51:24 +02:00
height: 34px;
line-height: 0;
width: 100%;
}
2014-09-28 23:51:24 +02:00
#chat .show-more-button:hover {
2014-09-19 22:24:11 +02:00
opacity: 1;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#chat .messages {
display: table;
table-layout: fixed;
2014-08-15 15:52:14 +02:00
width: 100%;
2016-02-28 00:22:52 +01:00
padding: 10px 0;
}
#chat .msg {
2016-07-04 23:57:49 +02:00
word-wrap: break-word;
word-break: break-word; /* Webkit-specific */
2014-08-15 15:52:14 +02:00
}
2016-07-04 23:57:49 +02:00
#chat .unread-marker {
position: relative;
text-align: center;
opacity: .5;
margin: 0 10px;
z-index: 0;
font-weight: bold;
font-size: 12px;
2014-08-15 15:52:14 +02:00
}
2016-07-04 23:57:49 +02:00
#chat .unread-marker:before {
position: absolute;
z-index: -1;
content: "";
left: 0;
right: 0;
top: 50%;
border-top: 1px solid #e74c3c;
}
#chat .unread-marker-text:before {
content: "New messages";
background-color: white;
color: #e74c3c;
padding: 0 10px;
2016-05-13 12:23:05 +02:00
}
#chat .unread-marker:last-child {
display: none;
2014-08-15 15:52:14 +02:00
}
2016-03-05 23:20:45 +01:00
.inline-channel {
cursor: pointer;
}
2016-03-05 23:20:45 +01:00
.inline-channel:hover {
opacity: .6;
}
2014-08-15 15:52:14 +02:00
#chat .time,
#chat .from,
#chat .text {
display: table-cell;
2014-09-26 01:51:53 +02:00
padding: 2px 0;
2014-08-16 21:49:28 +02:00
vertical-align: top;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#chat .time {
2014-09-26 01:51:53 +02:00
color: #ddd;
2014-08-15 15:52:14 +02:00
text-align: right;
max-width: 46px;
2014-08-15 15:52:14 +02:00
min-width: 46px;
}
2014-08-15 15:52:14 +02:00
#chat .from {
border-right: 1px solid #f6f6f6;
color: #b1c3ce;
padding-right: 10px;
text-align: right;
2016-07-04 23:57:49 +02:00
max-width: 134px;
2014-08-15 15:52:14 +02:00
min-width: 134px;
}
#loading a,
2014-09-30 20:00:23 +02:00
#chat a {
2014-10-10 19:39:57 +02:00
color: #50a656;
2014-08-15 15:52:14 +02:00
}
/* Nicknames */
#chat .user {
cursor: pointer;
color: #50a656;
}
#chat .user:hover {
opacity: .6;
}
#chat.colored-nicks .user.color-1 { color: #1396cf; }
#chat.colored-nicks .user.color-2 { color: #ffcf89; }
#chat.colored-nicks .user.color-3 { color: #00dc5f; }
#chat.colored-nicks .user.color-4 { color: #ff5bc8; }
#chat.colored-nicks .user.color-5 { color: #ff0e1b; }
#chat.colored-nicks .user.color-6 { color: #000094; }
#chat.colored-nicks .user.color-7 { color: #006441; }
#chat.colored-nicks .user.color-8 { color: #00566e; }
#chat.colored-nicks .user.color-9 { color: #ff0078; }
#chat.colored-nicks .user.color-10 { color: #15d5a3; }
#chat.colored-nicks .user.color-11 { color: #006b3b; }
#chat.colored-nicks .user.color-12 { color: #00c5ba; }
#chat.colored-nicks .user.color-13 { color: #00465b; }
#chat.colored-nicks .user.color-14 { color: #ffafce; }
#chat.colored-nicks .user.color-15 { color: #ff3b12; }
#chat.colored-nicks .user.color-16 { color: #16cc6a; }
#chat.colored-nicks .user.color-17 { color: #ff0072; }
#chat.colored-nicks .user.color-18 { color: #ff5877; }
#chat.colored-nicks .user.color-19 { color: #ff1753; }
#chat.colored-nicks .user.color-20 { color: #007a56; }
#chat.colored-nicks .user.color-21 { color: #095092; }
#chat.colored-nicks .user.color-22 { color: #000bde; }
#chat.colored-nicks .user.color-23 { color: #00bca9; }
#chat.colored-nicks .user.color-24 { color: #00367d; }
#chat.colored-nicks .user.color-25 { color: #009ec4; }
#chat.colored-nicks .user.color-26 { color: #006119; }
#chat.colored-nicks .user.color-27 { color: #008bb8; }
#chat.colored-nicks .user.color-28 { color: #469c00; }
#chat.colored-nicks .user.color-29 { color: #ff0f95; }
#chat.colored-nicks .user.color-30 { color: #ff7615; }
#chat.colored-nicks .user.color-31 { color: #ff4846; }
#chat.colored-nicks .user.color-32 { color: #ff199b; }
2014-08-15 15:52:14 +02:00
#chat .text {
padding-left: 10px;
padding-right: 6px;
}
2014-09-14 20:49:42 +02:00
#chat .self .text {
color: #999;
}
#chat .msg.motd .text,
#chat .msg.message .text,
#chat .msg.action .action-text,
#chat .msg.notice .text {
white-space: pre-wrap;
overflow: hidden;
}
#chat.hide-join .join,
#chat.hide-mode .mode,
#chat.hide-motd .motd,
#chat.hide-nick .nick,
#chat.hide-part .part,
2014-09-26 01:55:19 +02:00
#chat.hide-quit .quit {
2014-09-10 22:08:32 +02:00
display: none !important;
}
2016-02-12 12:24:13 +01:00
#chat .join .text,
#chat .kick .text,
#chat .mode .text,
#chat .nick .text,
#chat .part .text,
2016-03-06 05:52:05 +01:00
#chat .quit .text,
#chat .topic .text,
#chat .topic_set_by .text {
color: #999;
}
#chat .action .from,
2016-01-23 15:39:54 +01:00
#chat .action .text,
#chat .action .user {
color: #f39c12;
2016-01-23 15:39:54 +01:00
}
2016-01-23 15:39:54 +01:00
#chat .notice .time,
#chat .notice .text,
#chat .chan .notice .user {
color: #0074d9 !important;
2016-01-23 15:39:54 +01:00
}
2016-01-23 15:39:54 +01:00
#chat .notice .user:before {
content: "Notice: ";
2014-08-15 15:52:14 +02:00
}
2016-01-23 15:39:54 +01:00
#chat .error,
#chat .error .from,
#chat .channel .highlight .from,
#chat .channel .highlight .text,
#chat .channel .highlight .user {
color: #f00;
}
#chat .unhandled .from {
color: #eee;
}
#chat .msg.toggle .time {
visibility: hidden;
}
2014-09-27 21:17:05 +02:00
#chat .toggle-button {
2014-09-27 22:39:14 +02:00
background: #f5f5f5;
2014-09-27 21:17:05 +02:00
border-radius: 2px;
display: inline-block;
color: #666;
height: 1em;
line-height: 0;
padding: 0 6px;
2014-09-27 21:17:05 +02:00
}
2014-09-27 21:17:05 +02:00
#chat .toggle-content {
background: #f5f5f5;
border-radius: 2px;
display: none;
color: #222;
font-size: 12px;
max-width: 100%;
2014-09-27 21:17:05 +02:00
padding: 6px 8px;
margin-top: 2px;
}
2014-09-27 22:39:14 +02:00
#chat .toggle-content a {
color: inherit;
2014-09-27 21:17:05 +02:00
}
2014-09-27 21:17:05 +02:00
#chat .toggle-content img {
max-width: 100%;
2016-01-20 17:16:27 +01:00
max-height: 250px;
2014-09-27 22:39:14 +02:00
display: block;
margin: 2px 0;
}
#chat .toggle-content .thumb {
max-height: 110px;
max-width: 210px;
}
2014-09-27 22:39:14 +02:00
#chat .toggle-content .head {
font-weight: bold;
}
2014-09-27 22:39:14 +02:00
#chat .toggle-content .body {
color: #999;
2014-12-12 00:48:43 +01:00
max-width: 460px;
word-break: normal;
word-wrap: break-word;
2014-09-27 22:39:14 +02:00
}
2014-09-27 22:39:14 +02:00
#chat .toggle-content.show {
display: inline-block !important;
2014-08-16 21:49:28 +02:00
}
2014-08-15 15:52:14 +02:00
#chat .count {
2014-09-10 17:56:19 +02:00
background: #fafafa;
2014-08-15 15:52:14 +02:00
height: 48px;
left: 0;
position: absolute;
right: 0;
top: 0;
}
2014-08-15 15:52:14 +02:00
#chat .search {
color: #222;
border: 0;
background: none;
font: inherit;
outline: 0;
padding: 18px 16px;
position: relative;
width: 100%;
}
2014-08-15 15:52:14 +02:00
#chat .names {
bottom: 0;
overflow: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
2014-10-04 21:47:27 +02:00
padding-bottom: 10px;
2014-08-15 15:52:14 +02:00
position: absolute;
top: 48px;
width: 100%;
}
#chat .names .user {
2014-08-15 15:52:14 +02:00
display: block;
2014-08-19 01:54:14 +02:00
line-height: 1.6;
2014-10-04 21:47:27 +02:00
padding: 0 16px;
2014-08-15 15:52:14 +02:00
}
2014-10-04 21:47:27 +02:00
#chat .user-mode:before {
content: "";
border-bottom: 1px solid #eee;
display: block;
line-height: 1.6;
padding: 12px 16px 10px;
margin-bottom: 10px;
}
2014-10-04 21:47:27 +02:00
#chat .user-mode.owner:before {
content: "Owners";
}
2014-10-04 21:47:27 +02:00
#chat .user-mode.admin:before {
content: "Administrators";
}
2014-10-04 21:47:27 +02:00
#chat .user-mode.op:before {
content: "Operators";
}
#chat .user-mode.half-op:before {
content: "Half-Operators";
}
2014-10-04 21:47:27 +02:00
#chat .user-mode.voice:before {
content: "Voiced";
}
2014-10-04 21:47:27 +02:00
#chat .user-mode.normal:before {
content: "Users";
}
#loading {
font-size: 14px;
z-index: 1;
}
#loading p {
2014-08-15 15:52:14 +02:00
margin-top: 10px;
}
#loading-slow {
display: none;
}
#sign-in label {
display: block;
margin-top: 10px;
2014-08-15 15:52:14 +02:00
}
2014-09-15 23:13:03 +02:00
#sign-in .remember {
float: left;
font-size: 14px;
margin-top: 12px;
}
2014-09-15 23:13:03 +02:00
#sign-in .remember input {
float: left;
margin: 3px 10px 0 0;
}
2014-08-15 15:52:14 +02:00
#sign-in .btn {
margin-top: 25px;
}
2014-08-15 15:52:14 +02:00
#sign-in .error {
color: #e74c3c;
margin-top: 1em;
}
2014-08-15 15:52:14 +02:00
#connect label {
display: block;
margin-top: 11px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#connect .port:before {
content: ":";
margin: 9px 0 0 -17px;
2014-08-15 15:52:14 +02:00
position: absolute;
}
2014-09-10 17:56:19 +02:00
#connect .tls {
float: left;
font-size: 14px;
margin-top: 6px;
2014-09-10 17:56:19 +02:00
}
2014-09-10 17:56:19 +02:00
#connect .tls input {
float: left;
margin: 3px 10px 0 0;
}
2014-08-15 15:52:14 +02:00
#connect .btn {
2014-09-10 17:56:19 +02:00
float: left;
margin-top: 30px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#settings .opt {
display: block;
2014-09-30 22:20:36 +02:00
padding: 5px 0 10px 1px;
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#settings .opt input {
float: left;
margin: 4px 10px 0 0;
}
2014-08-15 15:52:14 +02:00
#settings .about,
#settings #play {
color: #7f8c8d;
}
2014-08-16 02:05:37 +02:00
#settings .about small {
margin-left: 2px;
}
#settings #play {
font-size: 14px;
transition: opacity .2s;
}
2014-08-15 15:52:14 +02:00
#settings #play:hover {
opacity: .8;
}
2014-08-15 15:52:14 +02:00
#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;
}
2014-08-15 15:52:14 +02:00
#form {
2014-09-27 02:21:14 +02:00
background: #eee;
border-top: 1px solid #ddd;
flex: 0 0 auto;
2016-07-06 01:23:46 +02:00
padding: 5px;
2014-08-15 15:52:14 +02:00
}
2016-07-06 01:23:46 +02:00
#windows #form .input {
2015-04-16 10:07:13 +02:00
font: 12px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
border: 1px solid #ddd;
border-radius: 2px;
2016-07-06 01:23:46 +02:00
margin: 0;
padding: 0;
background: white;
display: flex;
align-items: flex-end;
2014-09-21 17:21:26 +02:00
}
2014-09-26 01:51:53 +02:00
#form #nick {
background: #f6f6f6;
2014-09-27 02:21:14 +02:00
color: #666;
2014-09-26 01:51:53 +02:00
font: inherit;
font-size: 11px;
margin: 4px;
2014-09-26 01:51:53 +02:00
line-height: 26px;
height: 24px;
2014-09-27 02:21:14 +02:00
padding: 0 9px;
2014-09-26 01:51:53 +02:00
border-radius: 1px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
flex: 0 0 auto;
2014-09-26 01:51:53 +02:00
}
#form #nick:empty {
visibility: hidden;
}
#form #nick:after {
content: ":";
}
2014-09-26 01:51:53 +02:00
#form #input {
background: transparent;
border: none;
2014-09-26 01:51:53 +02:00
font: inherit;
2016-07-15 08:42:47 +02:00
min-height: 18px; /* Required when computing input height at char deletion */
height: 18px;
max-height: 90px;
line-height: 1.5;
2014-09-26 01:51:53 +02:00
outline: none;
margin: 5px;
padding: 0;
resize: none;
flex: 1 0 auto;
align-self: center;
2014-09-26 01:51:53 +02:00
}
2014-08-15 15:52:14 +02:00
#form #submit {
2016-03-11 07:44:09 +01:00
color: #9ca5b4;
font-size: 14px;
height: 32px;
transition: opacity .2s;
width: 32px;
flex: 0 0 auto;
2016-03-11 07:44:09 +01:00
}
#form #submit:hover {
opacity: .6;
2014-08-15 15:52:14 +02:00
}
2016-02-12 12:34:10 +01:00
#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;
2016-02-12 12:34:10 +01:00
}
.context-menu-divider {
height: 1px;
margin: 6px 0;
background-color: rgba(0, 0, 0, .1);
2016-02-12 12:34:10 +01:00
}
.context-menu-item {
cursor: pointer;
display: block;
padding: 4px 8px;
2016-02-12 12:34:10 +01:00
color: #333;
margin-top: 6px;
margin-bottom: 6px;
2016-02-12 12:34:10 +01:00
}
.context-menu-item:hover {
background-color: #f6f6f6;
}
.context-menu-item:before {
width: 20px;
display: inline-block;
}
/**
* 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: 12px Lato;
line-height: 1.2;
color: #fff;
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: #222;
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: #fff;
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: #222;
}
.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: #222;
}
.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: #222;
}
.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: #222;
}
/* End tooltips */
2014-10-11 01:11:57 +02:00
/**
2014-12-11 04:35:17 +01:00
* IRC Message Styling
* https://github.com/megawac/irc-style-parser
* Colours are credit to http://clrs.cc/
*/
.irc-fg0 { color: #fff; }
2014-12-11 04:35:17 +01:00
.irc-fg1 { color: #000; }
2014-12-11 04:35:17 +01:00
.irc-fg2 { color: #001f3f; }
2014-12-11 04:35:17 +01:00
.irc-fg3 { color: #2ecc40; }
2014-12-11 04:35:17 +01:00
.irc-fg4 { color: #ff4136; }
2014-12-11 04:35:17 +01:00
.irc-fg5 { color: #85144b; }
2014-12-11 04:35:17 +01:00
.irc-fg6 { color: #b10dc9; }
2014-12-11 04:35:17 +01:00
.irc-fg7 { color: #ff851b; }
2014-12-11 04:35:17 +01:00
.irc-fg8 { color: #ffdc00; }
2014-12-11 04:35:17 +01:00
.irc-fg9 { color: #01ff70; }
2014-12-11 04:35:17 +01:00
.irc-fg10 { color: #39cccc; }
2014-12-11 04:35:17 +01:00
.irc-fg11 { color: #7fdbff; }
2014-12-11 04:35:17 +01:00
.irc-fg12 { color: #0074d9; }
2014-12-11 04:35:17 +01:00
.irc-fg13 { color: #f012be; }
2014-12-11 04:35:17 +01:00
.irc-fg14 { color: #aaa; }
2014-12-11 04:35:17 +01:00
.irc-fg15 { color: #ddd; }
2014-12-11 04:35:17 +01:00
.irc-bg0 { background: #fff; }
2014-12-11 04:35:17 +01:00
.irc-bg1 { background: #000; }
2014-12-11 04:35:17 +01:00
.irc-bg2 { background: #001f3f; }
2014-12-11 04:35:17 +01:00
.irc-bg3 { background: #2ecc40; }
2014-12-11 04:35:17 +01:00
.irc-bg4 { background: #ff4136; }
2014-12-11 04:35:17 +01:00
.irc-bg5 { background: #85144b; }
2014-12-11 04:35:17 +01:00
.irc-bg6 { background: #b10dc9; }
2014-12-11 04:35:17 +01:00
.irc-bg7 { background: #ff851b; }
2014-12-11 04:35:17 +01:00
.irc-bg8 { background: #ffdc00; }
2014-12-11 04:35:17 +01:00
.irc-bg9 { background: #01ff70; }
2014-12-11 04:35:17 +01:00
.irc-bg10 { background: #39cccc; }
2014-12-11 04:35:17 +01:00
.irc-bg11 { background: #7fdbff; }
2014-12-11 04:35:17 +01:00
.irc-bg12 { background: #0074d9; }
2014-12-11 04:35:17 +01:00
.irc-bg13 { background: #f012be; }
2014-12-11 04:35:17 +01:00
.irc-bg14 { background: #aaa; }
2014-12-11 04:35:17 +01:00
.irc-bg15 { background: #ddd; }
2014-10-11 01:11:57 +02:00
.irc-bold {
font-weight: bold;
}
.irc-underline {
text-decoration: underline;
}
.irc-italic {
font-style: italic;
}
2014-08-15 15:52:14 +02:00
@media (max-width: 768px) {
.container {
margin-top: 60px !important;
}
2014-08-15 15:52:14 +02:00
#viewport.lt {
-webkit-transform: translate3d(220px, 0, 0);
transform: translate3d(220px, 0, 0);
2014-08-15 15:52:14 +02:00
}
2014-08-15 23:33:22 +02:00
#viewport.rt #chat .sidebar {
2014-08-16 02:05:37 +02:00
-webkit-transform: translate3d(-180px, 0, 0);
transform: translate3d(-180px, 0, 0);
2014-08-15 15:52:14 +02:00
}
2014-08-15 15:52:14 +02:00
#sidebar {
left: -220px;
}
2014-09-20 01:12:17 +02:00
#footer {
left: -215px;
width: 215px;
}
2014-08-15 15:52:14 +02:00
#sidebar .empty:before {
margin-top: 0;
}
2014-08-15 15:52:14 +02:00
#main {
left: 5px;
right: 5px;
}
2014-08-15 15:52:14 +02:00
#chat .chat {
right: 0;
}
2014-09-10 23:43:56 +02:00
#viewport .lt,
#viewport .channel .rt {
2014-08-15 15:52:14 +02:00
display: block;
}
#windows .window .header {
display: block;
}
2014-08-15 15:52:14 +02:00
#chat .sidebar {
right: -180px;
}
2014-08-29 22:54:11 +02:00
#chat .title:before {
display: none;
}
2014-08-15 15:52:14 +02:00
}
@media (max-width: 479px) {
2014-09-10 17:56:19 +02:00
.container {
margin: 40px 0 !important;
}
#connect .tls {
margin: 20px 0;
}
#windows .input {
margin-bottom: 2px;
2014-09-10 17:56:19 +02:00
}
2014-08-15 15:52:14 +02:00
#chat .messages {
display: block;
padding: 5px 10px;
}
2014-08-15 15:52:14 +02:00
#chat .msg {
display: block;
padding: 2px 0;
}
#chat .time,
2014-08-15 15:52:14 +02:00
#chat .from,
#chat .text {
border: 0;
display: inline;
padding: 0;
}
2016-05-13 12:23:05 +02:00
2016-07-04 23:57:49 +02:00
#chat .unread-marker {
margin: 0;
2016-05-13 12:23:05 +02:00
}
2014-08-15 15:52:14 +02:00
}
2014-09-15 19:41:23 +02:00
2016-01-18 18:49:23 +01:00
::-webkit-scrollbar {
width: 8px;
background-color: rgba(0, 0, 0, 0);
2016-01-18 18:49:23 +01:00
}
2016-01-18 18:49:23 +01:00
::-webkit-scrollbar:hover {
background-color: rgba(0, 0, 0, .09);
2016-01-18 18:49:23 +01:00
}
2016-01-18 18:49:23 +01:00
::-webkit-scrollbar-thumb:vertical {
background: rgba(0, 0, 0, .5);
2016-01-18 18:49:23 +01:00
border-radius: 100px;
}
::-webkit-scrollbar-thumb:vertical:active {
background: rgba(0, 0, 0, .6);
}