Skip to content

Instantly share code, notes, and snippets.

@Tug
Last active August 29, 2015 14:21
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 Tug/776be4316da0b4cdb39b to your computer and use it in GitHub Desktop.
Save Tug/776be4316da0b4cdb39b to your computer and use it in GitHub Desktop.
Nirror chat default CSS
.nirror-box {
position: fixed;
text-align: left;
bottom: 0;
width: 300px;
padding: 0;
background-color: #ffffff;
box-shadow: rgba(0,0,0,0.5) 0 2px 6px;
z-index: 10000;
font-family: arial, sans-serif !important;
}
.nirror-expand-button {
cursor: pointer;
background: transparent;
border: 0;
float: right;
font-size: 20px;
font-weight: bold;
line-height: 20px;
color: #ffffff;
opacity: .8;
margin: 0 5px;
}
.nirror-visible-bar {
padding: 4px 8px 4px 6px;
margin-left: -1px;
margin-right: -1px;
height: 35px;
color: white;
cursor: pointer;
background-color: #3b3b41;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 16px;
line-height: 26px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
overflow: hidden;
}
.nirror-options-bar {
padding: 4px;
height: 25px;
width: 100%;
color: #797979 !important;
background-color: #f5f5f5;
cursor: pointer;
font-size: 12px !important;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-bottom: 1px solid #c5c5c5;
text-align: center;
}
.nirror-options-button {
float: right;
margin-top: -2px;
padding: 1px 5px;
border: 1px solid #c5c5c5;
}
.nirror-messages {
min-height: 170px;
max-height: 220px;
background-color: white;
list-style: none;
font-size: 13px !important;
margin: 0 0 2px 0;
padding: 10px;
overflow-y: auto;
color: black;
}
.nirror-inputBox {
background-color: #f5f5f5;
padding: 4px;
border-top: 1px solid #E8E8E8;
}
.nirror-inputText {
width: 100%;
min-height: 50px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
height: 20px;
padding: 2px 4px;
line-height: 20px;
background-color: #ffffff;
border: 1px solid #cccccc;
font-size: 13px !important;
overflow-y: hidden;
overflow-x: auto;
resize: none;
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
margin: 0;
}
.nirror-nickname {
font-weight: bold;
}
.nirror-message {
padding: 5px 0;
}
.nirror-message:before, .nirror-message:after {
display: table;
content: "";
line-height: 0;
}
.nirror-message:after {
clear: both;
}
.nirror-message > img {
display: block;
float: left;
height: 40px;
margin-bottom: -40px;
width: 40px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
max-width: 100%;
vertical-align: middle;
border: 0;
}
.nirror-message > div {
display: block;
float: left;
font-size: 12px;
margin-top: -3px;
padding-left: 50px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.nirror-message > div > a {
color: #0088cc;
text-decoration: none;
}
.nirror-message > div > div {
background: rgba(0, 0, 0, 0.04);
font-size: 13px;
padding: 7px 12px 9px 12px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.nirror-message > div > div:before {
border-bottom: 6px solid transparent;
border-right: 6px solid rgba(0, 0, 0, 0.04);
border-top: 6px solid transparent;
content: "";
display: block;
height: 0;
margin: 0 0 -12px -18px;
position: relative;
width: 0;
}
.nirror-message > div > span {
color: #bbb;
}
.nirror-pull-right {
float: right;
}
.nirror-notify {
background-color: #67c2ef !important;
}
.nirror-message-system {
color: red;
}
.nirror-page {
min-height: 200px;
max-height: 300px;
background-color: white;
color: black;
}
.nirror-page-identification {
padding: 10px;
}
.nirror-form-identify {
margin: 20px 15px 10px 15px;
}
.nirror-form-identify .nirror-actions {
margin-top: 15px;
}
.nirror-right {
text-align: right;
}
.nirror-input {
display: inline-block;
width: 100%;
height: 30px;
font-family: Arial;
font-size: 14px;
color: #303030;
padding: 4px 6px;
margin-bottom: 10px;
font-weight: normal;
line-height: 20px;
vertical-align: middle;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
background-color: #ffffff;
border: 1px solid #cccccc;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
.nirror-textarea {
display: inline-block;
width: 100%;
height: 67px;
font-family: Arial;
font-size: 14px !important;
color: #303030;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 2px 4px;
line-height: 20px;
background-color: #ffffff;
border: 1px solid #cccccc;
resize: none;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin: 0;
}
.nirror-label {
display: block;
margin-bottom: 5px;
font-size: 14px;
font-weight: normal;
line-height: 20px;
cursor: pointer;
}
.nirror-btn {
display: inline-block;
padding: 4px 12px;
margin-bottom: 0;
font-size: 14px;
line-height: 20px;
color: #333333;
text-align: center;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
vertical-align: middle;
cursor: pointer;
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #bbbbbb;
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-bottom-color: #a2a2a2;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.nirror-bubble {
position: fixed;
bottom: 0;
width: 260px;
padding: 15px;
margin: 1em 0 3em;
border: 5px solid #3B3B41;
color: #333;
background: #EAEAEA;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.nirror-bubble:before {
content: "";
position: absolute;
bottom: -20px;
left: 40px;
border-width: 20px 20px 0;
border-style: solid;
border-color: #3B3B41 transparent;
display: block;
width: 0;
}
.nirror-bubble:after {
content: "";
position: absolute;
bottom: -13px;
left: 47px;
border-width: 13px 13px 0;
border-style: solid;
border-color: #EAEAEA transparent;
display: block;
width: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment