Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
167 changes: 167 additions & 0 deletions assets/css/chatbox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
/* ----- GRID SYSTEM ----- */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.botpro-col-md-3, .botpro-col-xs-12 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
.botpro-col-xs-12 {
float: left;
width: 100%;
margin-left: -5px;
}

@media (min-width: 992px) {
.botpro-col-md-3 {
float: left;
width: 25%;
}
.botpro-col-md-offset-9 {
margin-left: 75%;
}
}

/* ----- GENERAL CSS ----- */
.botpro-fieldset {
padding: 24px;
border: 0;
margin: 0;
}

.botpro-h4, .botpro-h5 {
line-height: 1.5em;
margin: 0;
}

.botpro-hr {
background: #e9e9e9;
border: 0;
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 1px;
margin: 0;
min-height: 1px;
}

.botpro-input {
border: 0;
color: inherit;
font-family: inherit;
font-size: 100%;
line-height: normal;
margin: 0;
}

.botpro-p { margin: 0; }

.botpro-clearfix { *zoom: 1; } /* For IE 6/7 */
.botpro-clearfix:before, .botpro-clearfix:after {
content: "";
display: table;
}
.botpro-clearfix:after { clear: both; }


/* ----- CHAT CSS ----- */
#botpro-live-chat {
font: 100%/1.5em "Droid Sans", sans-serif;
bottom: 0;
font-size: 12px;
position: fixed;
z-index: 999;
}

#botpro-live-chat header {
background: #293239;
border-radius: 5px 5px 0 0;
color: #fff;
font-weight: bold;
cursor: pointer;
padding: 10px 15px;
}

#botpro-live-chat h4:before {
background: #1a8a34;
border-radius: 50%;
content: "";
display: inline-block;
height: 8px;
margin: 0 8px 0 0;
width: 8px;
}

#botpro-live-chat h4 {
font-size: 12px;
}

#botpro-live-chat h5 {
font-size: 10px;
}

#botpro-live-chat input[type="text"] {
border: 1px solid #ccc;
border-radius: 3px;
padding: 8px;
outline: none;
width: 100%;
}

#botpro-chat-close {
text-decoration: none;
background: #1b2126;
border-radius: 50%;
color: #fff;
display: block;
float: right;
font-size: 10px;
height: 16px;
line-height: 16px;
margin: 2px 0 0 0;
text-align: center;
width: 16px;
}

#botpro-chat {
background: #fff;
border: 1px solid black;
border-top: 0;
border-bottom: 0;
}

#botpro-chat-history {
height: 250px;
padding: 5px 15px;
overflow-y: scroll;
}

.botpro-chat-message {
margin: 15px 0;
word-wrap: break-word;
}

.botpro-bot {
color: #293239;
font-weight: bold;
}

.botpro-user {
color: black;
font-weight: bold;
}

#botpro-status-text {
margin-top: 10px;
margin-bottom: -10px;
color: #b3b3b3;
}
144 changes: 144 additions & 0 deletions assets/css/chatbox2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
/* ----- GRID SYSTEM ----- */
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.botpro-col-md-3, .botpro-col-xs-12 {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
.botpro-col-xs-12 {
float: left;
width: 100%;
margin-left: -5px;
}

@media (min-width: 992px) {
.botpro-col-md-3 {
float: left;
width: 25%;
}
.botpro-col-md-offset-9 {
margin-left: 75%;
}
}

/* ----- GENERAL CSS ----- */
.botpro-fieldset {
padding: 24px;
border: 0;
margin: 0;
}

.botpro-h4, .botpro-h5 {
line-height: 1.5em;
margin: 0;
}

.botpro-hr {
background: #e9e9e9;
border: 0;
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 1px;
margin: 0;
min-height: 1px;
}

.botpro-p { margin: 0; }

.botpro-clearfix { *zoom: 1; } /* For IE 6/7 */
.botpro-clearfix:before, .botpro-clearfix:after {
content: "";
display: table;
}
.botpro-clearfix:after { clear: both; }


/* ----- CHAT CSS ----- */
#botpro-live-chat {
font: 100%/1.5em "Droid Sans", sans-serif;
bottom: 0;
font-size: 12px;
position: fixed;
z-index: 999;
}

#botpro-live-chat header {
background: #293239;
border-radius: 5px 5px 0 0;
color: #fff;
font-weight: bold;
cursor: pointer;
padding: 10px 15px;
}

#botpro-live-chat h4:before {
background: #e60000;
border-radius: 50%;
content: "";
display: inline-block;
height: 8px;
margin: 0 8px 0 0;
width: 8px;
}

#botpro-live-chat h4 {
font-size: 12px;
}

#botpro-live-chat h5 {
font-size: 10px;
}

#botpro-live-chat input[type="text"] {
border: 1px solid #ccc;
border-radius: 3px;
padding: 8px;
outline: none;
width: 100%;
}

#botpro-chat-close {
text-decoration: none;
background: #1b2126;
border-radius: 50%;
color: #fff;
display: block;
float: right;
font-size: 10px;
height: 16px;
line-height: 16px;
margin: 2px 0 0 0;
text-align: center;
width: 16px;
}

#botpro-chat {
background: #fff;
}

#botpro-chat-history {
height: 250px;
padding: 5px 15px;
overflow-y: scroll;
}

.botpro-chat-message {
margin: 15px 0;
word-wrap: break-word;
}

.botpro-bot {
color: #293239;
font-weight: bold;
}
12 changes: 6 additions & 6 deletions assets/css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/styles.css.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions assets/js/chatbox.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(function() {

$('#botpro-live-chat header').on('click', function() {
$('#botpro-chat').slideToggle(300, 'swing');
});

$('#botpro-chat-close').on('click', function(e) {
e.preventDefault();
$('#botpro-live-chat').fadeOut(300);
});

})();
1 change: 0 additions & 1 deletion assets/js/js-cookie.js

This file was deleted.

Loading