This repository has been archived on 2023-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
chromesoul/chromesoul.css

291 lines
4.2 KiB
CSS
Raw Normal View History

/*
* Page itself
*/
body {
margin: 0;
padding: 0;
background: #347db0 url(img/chromesoul-logo.png) no-repeat 10px 10px;
}
2013-01-24 17:11:43 +01:00
/*
* Top menu
*/
#user-status {
position: fixed;
2013-01-21 17:20:22 +01:00
right: 155px;
top: 10px;
margin: 0;
padding: 0;
width: 150px;
}
#settings-btn {
position: fixed;
right: 222px;
top: 10px;
margin: 0;
padding: 0;
}
2013-01-21 17:20:22 +01:00
.clickable {
cursor: pointer;
}
2013-01-24 17:11:43 +01:00
/*
* Contact list
*/
#contact-lst-wrapper {
2012-11-26 15:32:01 +01:00
position: fixed;
right: 0;
top: 0;
margin: 0;
2012-11-26 15:32:01 +01:00
padding: 0 5px 0 5px;
width: 200px;
height: 100%;
border-left: 1px solid #aaa;
background-color: #e4e4e4;
box-shadow: 0px 0px 10px #666;
overflow-y: scroll;
2012-11-26 15:32:01 +01:00
}
#contact-lst {
margin: 15px 0 0 0;
padding: 0;
list-style: none;
}
#contact-lst > li {
margin: 5px 0 0 0;
padding: 5px 5px 5px 28px;
2012-11-26 15:32:01 +01:00
border: 1px solid #aaa;
background-size: 23px 26px;
background-repeat: no-repeat;
}
#add-contact::-webkit-input-placeholder {
color: rgba(52, 125, 176, 0.42);
}
#add-contact {
padding: 2px;
outline: 0px solid #aaa;
width: 184px;
height: 20px;
margin: 5px 0 0 0;
}
#add-contact, #contact-lst > li {
box-shadow: inset 0px 0px 1px #666;
background-color: #f3f3f3;
border: 1px solid #347db0;
color: #347db0;
font-family: monospace;
2012-11-26 15:32:01 +01:00
}
2013-03-01 17:44:34 +01:00
#contact-lst > li > span {
padding-left: 5px;
}
.remove {
float: right;
font-family: sans-serif;
font-size: 12px;
cursor: pointer;
}
2013-01-24 17:11:43 +01:00
/*
* Main content
*/
#main-ctn {
2013-03-18 13:01:04 +01:00
position: absolute;
top: 135px;
left: 0px;
padding: 10px;
width: calc(100% - 230px);
height: calc(100% - 155px);
2013-03-18 13:16:58 +01:00
width: -webkit-calc(100% - 230px);
height: -webkit-calc(100% - 155px);
2012-11-26 15:32:01 +01:00
}
2013-01-21 16:49:18 +01:00
#main-ctn > * {
padding: 10px;
2013-01-24 17:11:43 +01:00
background-color: #e4e4e4;
}
#chat-pannel {
margin: 0;
padding: 0;
background-color: #347db0;
2013-03-18 13:01:04 +01:00
height: 100%;
2013-01-21 16:49:18 +01:00
}
2013-01-24 17:11:43 +01:00
2013-01-21 16:49:18 +01:00
/*
* Config
*/
#config-pannel > input[type=text], #config-pannel > input[type=password] {
width: 130px;
padding: 5px;
border: 1px solid #347db0;
outline-style: none;
background-color: #f3f3f3;
}
#save {
margin: 0;
padding: 5px;
width: 140px;
height: 30px;
border-style: none;
background-color: #347db0;
color: #f3f3f3;
}
2013-01-24 17:11:43 +01:00
/*
* Tabs
*/
2012-11-14 17:47:12 +01:00
#tab-lst {
margin: 0;
padding: 0;
list-style: none;
}
#tab-lst > li {
display: inline;
margin: 0;
2013-01-24 17:11:43 +01:00
padding: 2px 20px 2px 20px;
color: #f3f3f3;
2012-11-27 23:53:15 +01:00
cursor: pointer;
2013-01-24 17:11:43 +01:00
background-color: #6c9ec0;
border-bottom: 1px solid #347db0;
border-left: 1px solid #347db0;
2012-11-14 17:47:12 +01:00
}
2012-11-15 01:45:45 +01:00
#tab-lst > li > span::selection {
background: transparent;
}
2012-11-14 17:47:12 +01:00
#tab-lst > li.tab-current {
2013-01-24 17:11:43 +01:00
color: #347db0;
background-color: #f3f3f3;
2012-11-14 17:47:12 +01:00
}
#tab-lst > li.tab-active {
2013-01-24 17:15:24 +01:00
color: #c43434;
2012-11-14 17:47:12 +01:00
}
/*
* Chat
*/
2013-01-24 17:11:43 +01:00
#tab-body-wrapper {
margin: 2px 1px;
padding: 0;
2013-03-18 13:01:04 +01:00
height: calc(100% - 20px);
2013-03-18 13:16:58 +01:00
height: -webkit-calc(100% - 20px);
2013-03-18 13:01:04 +01:00
}
.tab-body {
height: calc(100% - 35px);
2013-03-18 13:16:58 +01:00
height: -webkit-calc(100% - 35px);
2013-01-24 17:11:43 +01:00
}
2012-11-14 17:47:12 +01:00
.chat-log {
margin: 0;
2013-03-18 13:01:04 +01:00
/* height: 268px; */
height: 100%;
2012-11-14 17:47:12 +01:00
overflow-y: scroll;
2012-11-27 23:53:15 +01:00
font-family: monospace;
2013-01-24 17:34:51 +01:00
background-color: #e4e4e4;
2013-01-24 17:11:43 +01:00
}
.chat-message {
margin: 0;
padding: 5px;
}
.chat-message:nth-child(even) {
color: #3c3c3c;
background-color: #afafaf;
}
.chat-message:nth-child(odd) {
color: #f3f3f3;
background-color: #6c9ec0;
2012-11-14 17:47:12 +01:00
}
2013-01-24 17:11:43 +01:00
.chat-timestamp {
float: right;
font-size: 0.8em;
}
.chat-message-body {
padding-right: 75px;
}
.chat-timestamp:after {
clear: both;
}
.spk-me, .spk-oth {
}
.chat-input-wrapper {
2013-01-24 17:11:43 +01:00
padding-right: 10px;
}
.chat-input {
2013-01-24 17:11:43 +01:00
padding: 5px;
outline-style: none;
border-style: none;
2012-11-26 15:32:01 +01:00
width: 100%;
height: 20px;
margin: 5px 0 0 0;
2013-01-24 17:34:51 +01:00
background-color: #e4e4e4;
2012-11-26 15:32:01 +01:00
}
.chat-input:focus {
2013-01-24 17:11:43 +01:00
outline-style: none;
border-style: none;
2012-11-15 01:45:45 +01:00
}
/*
* Scrollbar
*/
2012-11-21 21:13:18 +01:00
::-webkit-scrollbar {
width: 10px;
height: 10px;
2013-01-24 17:11:43 +01:00
background-color: transparent;
2012-11-21 21:13:18 +01:00
}
2013-01-24 17:11:43 +01:00
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-track-piece {
background-color: transparent;
2012-11-21 21:13:18 +01:00
}
2012-11-27 10:28:08 +01:00
::-webkit-scrollbar-thumb {
height: 40px;
background-color: #347db0;
2013-01-24 17:17:41 +01:00
border: 1px solid #e4e4e4;
2012-11-27 10:28:08 +01:00
}
2013-01-24 17:11:43 +01:00
::-webkit-resizer {
height: 30px;
}