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
2013-05-26 18:58:13 +02:00

301 lines
4.4 KiB
CSS

/*
* Page itself
*/
body {
margin: 0;
padding: 0;
background: #347db0 url(img/chromesoul-logo.png) no-repeat 10px 10px;
}
/*
* Top menu
*/
#user-status {
position: fixed;
right: 155px;
top: 10px;
margin: 0;
padding: 0;
width: 150px;
}
#settings-btn {
position: fixed;
right: 222px;
top: 10px;
margin: 0;
padding: 0;
}
.clickable {
cursor: pointer;
}
/*
* Contact list
*/
#contact-lst-wrapper {
position: fixed;
right: 0;
top: 0;
margin: 0;
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;
}
#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;
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;
}
#contact-lst > li > span {
padding-left: 5px;
}
.remove {
float: right;
font-family: sans-serif;
font-size: 12px;
cursor: pointer;
}
/*
* Main content
*/
#main-ctn {
position: absolute;
top: 135px;
left: 0px;
padding: 10px;
width: calc(100% - 230px);
height: calc(100% - 155px);
width: -webkit-calc(100% - 230px);
height: -webkit-calc(100% - 155px);
}
#main-ctn > * {
padding: 10px;
background-color: #e4e4e4;
}
#chat-pannel {
margin: 0;
padding: 0;
background-color: #347db0;
height: 100%;
}
/*
* 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;
}
/*
* Tabs
*/
#tab-lst {
margin: 0;
padding: 0;
list-style: none;
}
#tab-lst > li {
display: inline-block;
margin: 0;
padding: 2px 0px 2px 20px;
color: #f3f3f3;
cursor: pointer;
background-color: #6c9ec0;
border-bottom: 1px solid #347db0;
border-left: 1px solid #347db0;
}
#tab-lst > li > span {
display: inline-block;
margin-right: 15px;
}
#tab-lst > li > span::selection {
background: transparent;
}
#tab-lst > li.tab-current {
color: #347db0;
background-color: #f3f3f3;
}
#tab-lst > li.tab-active {
color: #c43434;
}
.close-tab {
float: right;
margin: 3px 3px 0 0;
cursor: pointer;
}
/*
* Chat
*/
#tab-body-wrapper {
margin: 0px 1px;
padding: 0;
height: calc(100% - 20px);
height: -webkit-calc(100% - 20px);
}
.tab-body {
height: calc(100% - 35px);
height: -webkit-calc(100% - 35px);
}
.chat-log {
margin: 0;
/* height: 268px; */
height: 100%;
overflow-y: scroll;
font-family: monospace;
background-color: #e4e4e4;
}
.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;
}
.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 {
padding-right: 10px;
}
.chat-input {
padding: 5px;
outline-style: none;
border-style: none;
width: 100%;
height: 20px;
margin: 5px 0 0 0;
background-color: #e4e4e4;
}
.chat-input:focus {
outline-style: none;
border-style: none;
}
/*
* Scrollbar
*/
::-webkit-scrollbar {
width: 10px;
height: 10px;
background-color: transparent;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-track-piece {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
height: 40px;
background-color: #347db0;
border: 1px solid #e4e4e4;
}
::-webkit-resizer {
height: 30px;
}