Skip to content

Instantly share code, notes, and snippets.

@giobyte8
Created August 16, 2015 06:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giobyte8/145869082e4bc9c7b32e to your computer and use it in GitHub Desktop.
Save giobyte8/145869082e4bc9c7b32e to your computer and use it in GitHub Desktop.
Parte 4 | Creando un sistema de chat sobre NodeJS con Foundation
/**
* Chat SS Styles
*
* @author : DiganmeGiovanni | https://twitter.com/DiganmeGiovanni
* @Updated at: Aug 16, 2015;
*/
@import url(http://fonts.googleapis.com/css?family=Roboto:400,700);
/* ====================================================== //
// == HTML Styles
// ===================================================== */
body {
background: #ECF0F1;
font-family: 'Roboto', Helvetica;
height: 100%;
}
/* ====================================================== //
// == Custom classes Styles
// ===================================================== */
.height-messages {
border-bottom: 3px solid #16A085;
height: -webkit-calc(100% - 10% - 45px);
height: -moz-calc(100% - 10% - 45px);
height: calc(100% - 10% - 45px);
min-height: -webkit-calc(100% - 10% - 45px);
min-height: -moz-calc(100% - 10% - 45px);
min-height: calc(100% - 10% - 45px);
overflow: auto;
margin-bottom: 10px;
}
.height10 {
height: 10%;
max-height: 10%;
min-height: 10%;
}
.height100 {
height: 100%;
max-height: 100%;
min-height: 100%;
}
.messages {
background: #FFF;
}
.message {
margin-top: 15px;
}
.message-body {
color: #111;
margin-top: 5px;
}
.message-date {
font-size: 0.875em;
}
.message-title {
color: #D35400;
font-size: 1.1em;
font-weight: bold;
}
.online-user {
padding-bottom: 7px;
padding-top: 7px;
}
.online-users {
background: #FFF;
border-right: 2px solid #2980B9;
}
.online-users-aside {
padding-left: 20px;
}
.online-userslist {
color: #2C3E50;
}
.user-image {
border: 2px solid #1ABC9C;
border-radius: 50%;
width: 50px;
height: 50px;
}
.tab-bar {
background: #16A085;
color: #FFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment