mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-24 13:06:20 +00:00
262 lines
3.3 KiB
CSS
262 lines
3.3 KiB
CSS
/* Fix user-agent */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-weight: 400;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
html, body, input {
|
|
font-family:
|
|
"Source Code Pro",
|
|
"HelveticaNeue-Light",
|
|
"Helvetica Neue Light",
|
|
"Helvetica Neue",
|
|
Helvetica,
|
|
Arial,
|
|
"Lucida Grande",
|
|
sans-serif !important;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family:
|
|
"Source Code Pro",
|
|
"HelveticaNeue-Light",
|
|
"Helvetica Neue Light",
|
|
"Helvetica Neue",
|
|
Helvetica,
|
|
Arial,
|
|
"Lucida Grande",
|
|
sans-serif !important;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.modal-content {
|
|
border: 1px solid #666;
|
|
}
|
|
|
|
|
|
input {
|
|
background: black !important;
|
|
color: white !important;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
p {
|
|
margin: 15px 0 15px;
|
|
}
|
|
|
|
/* Typography */
|
|
.bold {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Pages */
|
|
|
|
.pages {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.page {
|
|
height: 100%;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Login Page */
|
|
|
|
.login.page {
|
|
background-color: #000;
|
|
}
|
|
|
|
.login.page .form {
|
|
height: 100px;
|
|
margin-top: -100px;
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
top: 50%;
|
|
width: 100%;
|
|
}
|
|
|
|
.login.page .form .usernameInput {
|
|
background-color: transparent;
|
|
border: none;
|
|
border-bottom: 2px solid #fff;
|
|
outline: none;
|
|
padding-bottom: 15px;
|
|
text-align: center;
|
|
width: 400px;
|
|
}
|
|
|
|
.login.page .title {
|
|
font-size: 200%;
|
|
}
|
|
|
|
.login.page .usernameInput {
|
|
letter-spacing: 3px;
|
|
}
|
|
|
|
.login.page .title, .login.page .usernameInput {
|
|
color: #fff;
|
|
font-weight: 100;
|
|
}
|
|
|
|
/* Chat page */
|
|
|
|
.chat.page {
|
|
display: none;
|
|
}
|
|
|
|
/* Font */
|
|
|
|
.messages {
|
|
font-size: 150%;
|
|
}
|
|
|
|
input {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.log {
|
|
color: gray;
|
|
font-size: 70%;
|
|
margin: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Messages */
|
|
|
|
.chatArea {
|
|
height: 100%;
|
|
padding-bottom: 80px;
|
|
padding-top: 60px;
|
|
}
|
|
|
|
.messages {
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow-y: scroll;
|
|
padding: 10px 20px 10px 20px;
|
|
}
|
|
|
|
.message.typing .messageBody {
|
|
color: gray;
|
|
}
|
|
|
|
.username {
|
|
float: left;
|
|
font-weight: 700;
|
|
overflow: hidden;
|
|
padding-right: 15px;
|
|
text-align: right;
|
|
}
|
|
|
|
/* Input */
|
|
|
|
.inputMessage{
|
|
border: none;
|
|
border-top: 1px solid #282828;
|
|
bottom: 0;
|
|
height: 60px;
|
|
left: 0;
|
|
outline: none;
|
|
padding-left: 10px;
|
|
position: absolute;
|
|
right: 0;
|
|
width: 100%;
|
|
/*Fix for inner shadow on iOS*/
|
|
-webkit-appearance: none;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.chat #input-icons {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
padding: 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
html.no-touchevents .chat #input-icons {
|
|
display: none;
|
|
}
|
|
|
|
.chat #input-icons #send-message-btn {
|
|
font-size: 25px;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.chat #input-icons #send-message-btn.active {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
.participants {
|
|
position: relative;
|
|
top: 16px;
|
|
text-align: center;
|
|
padding: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.navbar {
|
|
/*background: white;*/
|
|
}
|
|
|
|
.navbar-brand {
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
.navbar-brand img {
|
|
width: 37px;
|
|
}
|
|
|
|
#participants-modal ul.users {
|
|
padding: 0px;
|
|
}
|
|
|
|
#participants-modal ul.users li {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#participants-modal ul.users li .you {
|
|
color: #999;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.read-key {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.read-key span.key {
|
|
border-bottom: 1px solid #999;
|
|
}
|
|
|
|
.edit-key {
|
|
display: none;
|
|
}
|