I just installed an AWC Chatbox. And I like it. The issue is as follows: http://prntscr.com/5zz2ew I have edited only the chatbox name which was easy to do in the JS. However, I don't like that blue at all. Nor the the name I gave it in Red. I wanna know where I can edit these things. Also I wanna make the font bigger because it's very small as you can see. The JS included a link to the CSS code below. I tried pasting it in the CSS Stylesheet and saving it but it keeps disappearing it doesn't stay there. So if anyone can help me I'll appreciate it.
- Code:
/* AvacWeb Chat CSS (Second Revision: AWC 1.9+) */
/* -------------------------
* MAIN AVACWEB CHAT ELEMENTS
* -------------------------
*/
#avacweb_chat { /* the box that holds the chat */
position: fixed;
bottom: 40px;
right: 10px;
height: 70%;
width: 75%;
z-index: 99998;
}
#avacweb_chat.custom_placement {
position: relative;
height: 400px;
min-width: 700px;
bottom: initial;
top: initial;
z-index: inherit;
}
#avacweb_chat iframe {
height: 100%;
width: 100%;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border: 1px solid #64A4F7;
z-index: 99999;
}
#avacweb_chat_button { /* The button that opens the chat */
position: fixed;
right: 5px;
font-size: 1.3em;
font-weight: bold;
z-index: 99999;
bottom: 0px;
background: #9DBCF1;
box-shadow: inset 0 10px 10px #BBD1F8;
-moz-box-shadow: inset 0 10px 10px #BBD1F8;
-webkit-box-shadow: inset 0 10px 10px #BBD1F8;
color: #385F99;
border: 1px solid #6DA1C4;
padding: 3px 50px;
text-align: center;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
#avacweb_chat_button:hover {
border: 1px solid #13457A!important;
}
#avacweb_chat_button.newmsg { /* Design of the button light up when new messages are entered */
background: #FFA500;
box-shadow: inset 0 10px 10px #F0D443;
-moz-box-shadow: inset 0 10px 10px #F0D443;
-webkit-box-shadow: inset 0 10px 10px #F0D443;
color: #FFF;
text-shadow: 0 1px #555;
border: 1px solid #C5946D;
}
#achat_tabs { /* The box that holds the tabs */
background: #EEE;
border-bottom: 1px solid #CCC;
position: absolute;
z-index: 999;
padding: 0;
margin: 0;
margin-left: 181px;
}
.achat_tab { /* Design of the actual tabs */
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius:0;
margin: 0;
border: none;
border-right: 1px solid #FFF;
padding: 3px 17px;
color: #2D68D1;
font-weight: bold;
display: inline-block;
background: #C8D8EB;
text-shadow: 0 1px #EEE;
cursor: pointer;
box-shadow: inset 0 5px 5px #DFE9FA;
-moz-box-shadow: inset 0 5px 5px #DFE9FA;
-webkit-box-shadow: inset 0 5px 5px #DFE9FA;
}
/* ---------------------
* SMALLER ELEMENTS WITHIN AWC
* ---------------------
*/
#achat_login { /* Red log in box when user is logged out */
background: #F09F9F;
border: 1px solid #ECAFAF;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
box-shadow: 0 10px 15px #F5CDCD inset;
-moz-box-shadow: 0 10px 15px #F5CDCD inset;
-webkit-box-shadow: 0 10px 15px #F5CDCD inset;
color: #CE3737;
font-size: 1.5em;
font-weight: 700;
margin: 10px auto;
width: 90%;
padding: 5px 0;
text-shadow: 0 1px #F3E1E1;
text-align: center;
}
#achat_header { /* The header that holds the reading, archives and logout button */
float: right;
margin: 3px 5px;
}
.achat_button { /* The grey-style button found through out AWC */
display: inline-block;
padding: 3px 12px;
border: 1px solid #AAA;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: inset 0 5px 10px #EEE;
-moz-box-shadow: inset 0 5px 10px #EEE;
-webkit-box-shadow: inset 0 5px 10px #EEE;
background: #DDD;
color: #777;
text-shadow: 0 1px #EEE;
cursor: pointer;
margin: 0 3px;
font-size: 1em;
}
.achat_button:hover {
color: #444;
border: 1px solid #888;
}
.achat_row { /* Each message row in the chatbox */
border-bottom: 1px solid #DDD;
border-top: 1px solid #FFF;
padding: 5px 2px;
}
#achat_user_prefs, #achat_smilies, #achat_colors, #achat_popup { /*The pop up boxes that display user options, smilies, colors */
position: absolute;
bottom: 45px;
background: #DDD;
padding: 10px;
border: 1px solid #BBB;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
font-weight: bold;
text-shadow: 0 1px white;
box-shadow: 3px 3px 10px #888, inset 0 20px 20px #EEE;
max-height: 250px;
overflow: auto;
left: 5%;
}
#achat_popup {
text-align: center;
left: 20%;
}
.achat_user_setting { /* User options in the small box. */
margin: 3px 0;
border: 1px solid #CCC;
padding: 2px 5px;
width: 150px;
}
.achat_user_setting input {
float: right;
}
.achat_pm_prepend { /* The small bit that says 'Private messsage:' at the start of PM's */
font-weight: bold;
font-style: italic;
font-size: 0.8em;
margin-right: 5px;
}
#achat_contextmenu { /* The drop down menu when right-click a user name */
background: #EEE;
position: absolute;
z-index: 9999;
border: 1px solid #CCC;
}
#achat_contextmenu p { /* The options within the dropdown menu */
padding: 3px 5px;
border-bottom: 1px solid #CCC;
cursor: pointer;
}
#achat_contextmenu p:hover {
background: #DDD;
box-shadow: inset 0 5px 10px white;
-moz-box-shadow: inset 0 5px 10px white;
-webkit-box-shadow: inset 0 5px 10px white;
}
#achat_contextmenu p.contexthead {
background: #CCC;
padding: 5px;
color: #555;
font-size: 1.1em;
font-weight: bold;
box-shadow: inset #DDD 0 10px 15px;
-moz-box-shadow: inset #DDD 0 10px 15px;
-webkit-box-shadow: inset #DDD 0 10px 15px;
text-shadow: 0 1px white;
cursor: default;
}
#achat_contextmenu .contexthead img {
float: right;
cursor: pointer;
}
#achat_dimensions { /* Positions the resize/move buttons */
width: 80px;
height: 30px;
position: absolute;
}
#achat_dimensions:hover span {
opacity: 0.5;
-moz-opacity: 0.5;
-webkit-opacity: 0.5;
filter: alpha(opacity=50);
}
#achat_dimensions span { /* Design of the resize and drag buttons */
opacity: 0;
-moz-opacity: 0;
-webkit-opacity: 0;
filter: alpha(opacity=0);
display: block;
height: 20px;
width: 20px;
float: left;
margin-left: 5px;
margin-top: 2px;
background-color: #EEE;
padding: 2px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
background-repeat: no-repeat;
background-position: center center;
}
#achat_dimensions span:hover {
opacity: 0.8;
-moz-opacity: 0.8;
-webkit-opacity: 0.8;
filter: alpha(opacity=80);
}
#achat_resizer { background-image: url(http://i14.servimg.com/u/f14/17/20/25/96/resize10.gif); }
#achat_mover { background-image: url(http://i14.servimg.com/u/f14/17/20/25/96/move_i10.jpg); }
.achat_tab .delete_tab { /* The delete button on tabs */
position: absolute;
font-family: sans;
padding: 0 2px;
display: none;
margin: -7px 7px;
color: #E71919;
text-shadow: none;
font-weight: bold;
font-size: 18px;
}
.out-of-date-chat, .achat-admin-alert { /* Design of out of date message */
color: red;
float: right;
font-size: 0.9em;
}
span.merged-msg + span.merged-msg { /* Spacing between merged messages */
padding-left: 5px;
margin-left: 5px;
border-left: 1px solid #BBB;
}
/* -----------------------
* ELEMENT TWEEKS FOR SETTINGS
* -----------------------
*/
#achat_header .achat_button { /* Tweeks the header buttons to sit neatly */
margin: 0 3px;
}
#achat_tabs.newest_first { /* Moves the tabs to the bottom when newest first activated */
bottom: 30px;
}
#achat_tabs + #chatbox {
top: 55px;
}
#achat_tabs + #chatbox.newest_first { /* This adjusts the position of messages when viewing them "newest first" */
top: 30px;
bottom: 55px;
}
.achat_button.reading { /* Changes the reading button when in reading mode */
color: red;
}
#achat_smilies, #achat_colors { /* Tweeks the width of the colors and smilies box to look neat */
max-width: 96%;
margin: 0 2%;
}
#achat_colors td {
cursor: crosshair;
padding: 5px;
border: 1px solid #FFF;
}
.a_chat_pm, table.a_chat_pm, .a_chat_tab {
display: none!important;
}
.achat_tab.selected { /* Changes the design of the tab when its selected */
background: #5C8AFF;
color: #FFF;
text-shadow: 0 1px #222;
box-shadow: inset 0 5px 5px #669CF8;
-moz-box-shadow: inset 0 5px 5px #669CF8;
-webkit-box-shadow: inset 0 5px 5px #669CF8;
}
.achat_tab:hover .delete_tab {
display: inline;
}
.achat_tab.new {
background: #F0D096;
}
#achat_smilies p.center, #achat_smilies input[type="submit"] {
display: none;
}
#chatbox_messenger_form .achat_button {
float: right;
}
/* ENLARGE MESSAGE */
body.enlarge #chatbox_messenger_form {
position: absolute;
bottom: 0px;
right: 0px;
width: 100%;
background: #DDD;
}
body.enlarge #message {
width: 90%;
height: 60px;
}
body.enlarge #chatbox {
bottom:70px;
}
#achat_enlarger {
height: 15px;
width: 11px;
float: right;
cursor: pointer;
}
#achat_enlarger.down {
background: url(http://2img.net/i/fa/m/arrows_down1.gif) no-repeat;
}
#achat_enlarger.up {
background: url(http://2img.net/i/fa/m/arrows_up1.gif) no-repeat;
}
/* ------------------
* RE_DESIGN OF EXISTING ELEMENTS
* ---------------------
*/
#chatbox_messenger_form {
float: right;
text-align: right;
width: 50%;
color: white;
margin: 0;
}
#message {
width: 60%;
padding: 3px 5px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
box-shadow: inset 0 3px 5px #CCC;
-moz-box-shadow: inset 0 3px 5px #CCC;
-webkit-box-shadow: inset 0 3px 5px #CCC;
border: 1px solid #888;
}
#chatbox_main_options {
display: none;
}
.date-and-time {
float: right;
margin: 0 3px;
}
#chatbox_header, #chatbox_footer {
background: #0076B1;
box-shadow: inset 0 10px 10px #2787EE;
-moz-box-shadow: inset 0 10px 10px #2787EE;
-webkit-box-shadow: inset 0 10px 10px #2787EE;
text-shadow: 0 1px blue;
font-weight: bold;
}
#chatbox_footer {
padding: 4px 0;
}
#chatbox_members .member-title {
background-color: #CADCEB;
background-image: none;
color: #105289;
margin: 3px;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border: 1px solid #AAD8F7;
box-shadow: inset 0 10px 10px #E2EEF8;
-moz-box-shadow: inset 0 10px 10px #E2EEF8;
-webkit-box-shadow: inset 0 10px 10px #E2EEF8;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 12px;
padding: .5em .25em;
text-align: center;
text-shadow: 0 1px white;
}
.chatbox {
background-color: #ECF3F7;
}
/* --------------------
* RESPONSIVE ADJUSTMENTS
* ---------------------
*/
@media screen and (max-width:800px) {
#chatbox_footer .achat_button, #chatbox_header .achat_button {
padding: 1px 3px;
margin: 0 2px!important;
font-size: 0.9em;
}
#chatbox_messenger_form {
width: 60%;
}
.chatbox-title {
width: auto;
}
#avacweb_chat {
width: 90%;
}
}
@media screen and (max-width:680px) {
.chatbox-title {
font-size: 1em;
}
#achat_dimensions, #chatbox_footer > .achat_button { /* no longer give users the option to resize */
display: none;
}
#avacweb_chat {
width: 95%!important;
}
#chatbox_members {
width: 140px;
}
#chatbox {
left: 140px;
}
body > #achat_tabs {
margin-left: 140px!important;
}
#chatbox_messenger_form {
width: 75%;
}
}
@media screen and (max-width:450px) {
.chatbox-title, #chatbox_members, .date-and-time {
display: none;
}
#chatbox_messenger_form {
width: 100%;
float: none;
text-align: center;
color: rgba(0, 0, 0, 0.0); /* hopefully hiding that annoying text */
text-shadow: none;
}
#message {
width: 90%;
}
#message + .achat_button {
width: 50%;
font-size: 1.2em;
padding: 3px;
}
#chatbox {
left: 0;
}
body > #achat_tabs {
margin-left: 0px!important;
}
}
/* ----------------------
* MOBILE ADJUSTMENTS
* ----------------------
*/
#avacweb_chat.mobile {
width: 100%;
height: 100%;
bottom: 0px;
left: 0px;
right: 0px;
}
#avacweb_chat_button.mobile {
font-size: 5em;
}
body.mobile {
font-size: 35px;
}
body.mobile #achat_tabs {
margin-left: 0px!important;
position: relative;
}
body.mobile #chatbox_messenger_form {
width: 100%;
float: none;
text-align: center;
text-shadow: none;
}
body.mobile #achat_tabs + #chatbox {
left: 0px;
top: 0;
bottom: 0;
height: 400px;
overflow: auto;
line-height: inherit;
position: relative;
}
body.mobile #message {
width: 96%;
font-size: 35px;
}
body.mobile #message + .achat_button {
width: 60%;
font-size: 1.2em;
padding: 3px;
border-radius: 2px;
}
body.mobile .chatbox-title, body.mobile #chatbox_members, body.mobile .date-and-time, #avacweb_chat.mobile #achat_dimensions, body.mobile #chatbox_footer > .achat_button {
display: none;
}
body.mobile #achat_header {
float: none;
width: 100%;
text-align: center;
font-size: 45px;
}
body.mobile #chatbox_header, body.mobile #chatbox_footer {
height: auto;
padding: 5px;
background: #105289;
margin: 0;
}