dispatch/client/src/css/style.css

380 lines
5.0 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: Droid Sans Mono, monospace;
background: #f0f0f0;
2015-01-17 01:37:21 +00:00
}
input {
font: 16px Droid Sans 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 {
2015-02-16 21:00:31 +00:00
margin: 0;
2015-02-16 20:53:01 +00:00
}
2015-01-17 01:37:21 +00:00
.tablist {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 200px;
background: #222;
color: #FFF;
font-family: Montserrat, sans-serif;
2015-01-17 01:37:21 +00:00
}
.tab-container {
position: absolute;
top: 50px;
bottom: 50px;
width: 100%;
overflow: auto;
}
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:last-child {
margin-bottom: 10px;
}
2015-01-17 01:37:21 +00:00
.tablist p:hover {
background: #111;
}
.tablist p.selected {
padding-left: 10px;
border-left: 5px solid #6BB758;
}
.tab-server {
color: #999;
margin-top: 10px !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 {
display: inline-block;
color: #999;
width: 50%;
line-height: 50px;
cursor: pointer;
font-size: 20px;
border-top: 1px solid #1D1D1D;
}
.side-buttons i:not(:first-child) {
border-left: 1px solid #1D1D1D;
}
.side-buttons i:hover {
color: #CCC;
background: #1D1D1D;
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-left: 15px;
line-height: 50px;
border-bottom: 1px solid #DDD;
display: flex;
font-size: 20px;
}
.chat-channel .chat-title-bar {
right: 200px;
}
.chat-title-bar i {
padding: 0 15px;
cursor: pointer;
}
.chat-server .icon-search {
display: none;
}
.chat-server .userlist-bar, .chat-private .userlist-bar {
display: none;
}
.button-leave {
border-left: 1px solid #DDD;
}
.button-leave:hover {
background: #DDD;
}
.chat-title {
font-size: 24px;
white-space: nowrap;
}
.chat-topic-wrap {
flex: 1;
position: relative;
margin: 0 15px;
}
.chat-topic {
position: absolute;
width: 100%;
bottom: -4px;
font-size: 16px;
color: #999;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.chat-topic a {
color: #999;
text-decoration: none;
}
.chat-topic a:hover {
text-decoration: underline;
}
.userlist-bar {
position: fixed;
top: 0;
right: 0;
width: 200px;
height: 50px;
border-left: 1px solid #DDD;
border-bottom: 1px solid #DDD;
line-height: 50px;
text-align: center;
padding: 0 15px;
font-family: Montserrat, sans-serif;
}
.userlist-bar i {
margin-right: 3px;
}
.search {
display: none;
position: fixed;
left: 200px;
top: 50px;
bottom: 50px;
right: 200px;
z-index: 2;
background: #f0f0f0;
}
.chat-private .search {
right: 0;
}
.search-input {
width: 100%;
padding: 15px;
border-bottom: 1px solid #DDD;
}
.search-results {
position: absolute;
top: 50px;
bottom: 0;
width: 100%;
overflow: auto;
padding: 10px 15px;
}
.messagebox {
position: fixed;
left: 200px;
top: 50px;
bottom: 50px;
right: 0;
2015-01-17 01:37:21 +00:00
z-index: 1;
}
.chat-channel .messagebox {
right: 200px;
}
.messagebox > div {
padding: 10px 15px;
2015-02-17 00:27:02 +00:00
overflow-y: auto !important;
}
.message {
white-space: nowrap;
}
.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 {
color: #6BB758;
cursor: pointer;
}
.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 {
2015-02-17 00:27:02 +00:00
overflow-y: auto !important;
padding: 10px 0px;
2015-01-30 01:34:28 +00:00
}
.userlist p {
padding: 0px 15px;
cursor: pointer;
}
.userlist p:hover {
background: #DDD;
2015-01-17 01:37:21 +00:00
}