dispatch/client/src/css/style.css

302 lines
3.9 KiB
CSS
Raw Normal View History

2015-01-17 01:37:21 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
2015-01-17 01:37:21 +00:00
}
body {
font-family: Ubuntu Mono, monospace;
background: #f0f0f0;
2015-01-17 01:37:21 +00:00
}
input {
font: 16px Ubuntu Mono, monospace;
border: none;
outline: none;
}
button {
font: 16px Montserrat, sans-serif;
border: none;
outline: none;
cursor: pointer;
}
2015-01-17 01:37:21 +00:00
p {
line-height: 1.5;
}
2015-02-16 20:53:01 +00:00
i[class^="icon-"]:before, i[class*=" icon-"]:before {
margin: 0;
}
2015-01-17 01:37:21 +00:00
.tablist {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 200px;
2015-01-17 01:37:21 +00:00
overflow: auto;
background: #222;
color: #FFF;
font-family: Montserrat, sans-serif;
2015-01-17 01:37:21 +00:00
}
.tablist p {
padding: 3px 15px;
2015-01-17 01:37:21 +00:00
cursor: pointer;
}
.tablist p:hover {
background: #111;
}
.tablist p.selected {
padding-left: 10px;
border-left: 5px solid #6BB758;
}
.tab-server {
color: #AAA;
margin-top: 15px !important;
}
.button-connect {
width: 100%;
height: 50px;
background: #6BB758;
color: #FFF;
}
.button-connect:hover {
background: #7BBF6A;
}
.button-connect:active {
background: #6BB758;
}
.side-buttons {
position: fixed;
bottom: 0;
height: 50px;
width: 200px;
text-align: center;
}
.side-buttons i {
color: #999;
margin: 5px;
line-height: 40px;
width: 40px;
cursor: pointer;
font-size: 20px;
}
.side-buttons i:hover {
color: #FFF;
2015-01-17 01:37:21 +00:00
}
.connect {
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 200px;
right: 0;
bottom: 0;
}
.connect-form h1 {
font: 32px Montserrat, sans-serif;
margin-bottom: 15px;
text-align: center;
}
.connect-form input {
display: block;
margin: 5px 0px;
padding: 10px;
border: none;
}
.connect-form input[type="submit"],
.connect-form input[type="text"] {
width: 200px;
}
.connect-form input[type="submit"] {
height: 50px;
font-family: Montserrat, sans-serif;
background: #6BB758;
color: #FFF;
cursor: pointer;
}
.connect-form input[type="submit"]:hover {
background: #7BBF6A;
}
.connect-form input[type="submit"]:active {
background: #6BB758;
}
.connect-form input[type="checkbox"] {
display: inline-block;
margin-right: 5px;
vertical-align: middle;
}
.connect-form i {
float: right;
cursor: pointer;
color: #999;
padding: 10px 5px;
font-size: 24px;
}
.connect-form i:hover {
color: #000;
}
.connect-form label {
display: inline-block;
padding: 10px 0;
color: #333;
}
.chat-title-bar {
font-family: Montserrat, sans-serif;
2015-01-17 01:37:21 +00:00
position: fixed;
left: 200px;
top: 0;
right: 0;
height: 50px;
padding: 0 15px;
line-height: 50px;
border-bottom: 1px solid #DDD;
}
.chat-title-bar div {
position: absolute;
left: 0;
right: 100px;
white-space: nowrap;
overflow: hidden;
}
.chat-title {
margin-left: 15px;
font-size: 28px;
}
.chat-topic {
display: none;
font: 16px Ubuntu Mono, monospace;
line-height: 50px;
vertical-align: top;
color: #222;
margin-left: 15px;
}
.chat-usercount {
font-size: 20px;
float: right;
}
.messagebox {
position: fixed;
left: 200px;
top: 50px;
bottom: 50px;
right: 200px;
/*padding: 15px;*/
2015-01-17 01:37:21 +00:00
z-index: 1;
}
.messagebox > div {
padding: 10px 15px;
overflow: auto !important;
}
.message {
white-space: nowrap;
/*margin-bottom: 5px;
2015-01-30 01:34:28 +00:00
padding-left: 55px;
text-indent: -55px;*/
}
.message span {
/*margin-right: 15px;*/
}
.message-info {
color: #999;
}
2015-02-03 23:55:41 +00:00
.message-action {
color: #FF6698;
2015-02-03 23:55:41 +00:00
}
.message-time {
color: #999;
}
.message-sender {
font-weight: 700;
color: #6BB758;
}
.message-input-wrap {
position: fixed;
left: 200px;
bottom: 0px;
right: 0;
height: 50px;
z-index: 1;
}
.message-input {
width: 100%;
height: 100%;
padding: 15px;
border-top: 1px solid #DDD;
}
2015-01-17 01:37:21 +00:00
.userlist {
position: fixed;
top: 50px;
bottom: 50px;
2015-01-17 01:37:21 +00:00
right: 0;
width: 200px;
border-left: 1px solid #DDD;
2015-02-05 01:14:24 +00:00
}
.userlist > div {
padding: 10px 0px;
2015-01-30 01:34:28 +00:00
}
.userlist p {
padding: 0px 15px;
cursor: pointer;
}
.userlist p:hover {
background: #DDD;
}
.list {
position: fixed;
left: 200px;
top: 0;
width: 300px;
}
.list > div {
overflow: auto !important;
}
.list p:nth-child(even) {
background: #AAA;
2015-01-17 01:37:21 +00:00
}