diff --git a/admin/admin_template/default/assets/css/style.css b/admin/admin_template/default/assets/css/style.css index 5cc6d0f4..fa57904d 100644 --- a/admin/admin_template/default/assets/css/style.css +++ b/admin/admin_template/default/assets/css/style.css @@ -2209,13 +2209,34 @@ table { /* Chat ================================ */ + +#pchat-toggle { + background-color: #fff; + border-radius: 50px; + position: absolute; + top: 25px; + color: #282828; + width:30px; + height:30px; + padding-top: 3px; + text-align: center; + vertical-align: middle; + right: 15px; + z-index:4001; +} + +@media only screen and (min-width : 768px) { + #pchat-toggle { + right: 100px; + } +} + .s-chat { z-index:3099; - display: block; position: fixed; bottom: 51px; right: 12px; - text-align: center; + text-align: left; width:275px; background: #fff; padding: 0; @@ -2225,6 +2246,7 @@ table { } .s-chat-header { + text-align: center; border-bottom: solid 1px #333; display: block; background-color: #282828; @@ -2256,20 +2278,45 @@ table { } .s-chat-content label { - padding:10px 0; - font-size: 8px; - text-transform: uppercase; - letter-spacing: 4px; + padding:10px 0; + font-size: 8px; + text-transform: uppercase; + letter-spacing: 4px; } +.s-chat-content #log { + overflow-x: hidden; + overflow-y: auto; + max-height: 200px; + padding:10px; + width: 100%; + border: solid 1px #ddd; + font-size: 12px; +} + +.s-chat-content #log p { + line-height: 1; + padding-bottom:5px; + margin: 0; +} + +/* Chat theme */ +.c1, .c6, .c11, .c16 { color: #3E966E !important; } +.c2, .c7, .c12, .c17 { color: #F36C32 !important; } +.c3, .c8, .c13, .c18 { color: #2A7BCC !important; } +.c4, .c9, .c14, .c19 { color: #7C378A !important; } +.c5, .c10, .c15, .c20 { color: #333333 !important; } + + .s-chat-content textarea, -.s-chat-content input { +#message { width: 100%; border: solid 1px #ddd; - padding:10px; font-size: 12px; + padding:10px; } +.s-chat-content #log, .s-chat-content textarea { min-height: 200px; line-height: 24px; @@ -2282,7 +2329,7 @@ table { } .s-minimize { - bottom: -357px; + bottom: -355px; -webkit-transition: all 150ms ease; transition: all 150ms ease; } diff --git a/admin/admin_template/default/index_template.inc.php b/admin/admin_template/default/index_template.inc.php index c19db65c..157093d9 100755 --- a/admin/admin_template/default/index_template.inc.php +++ b/admin/admin_template/default/index_template.inc.php @@ -128,7 +128,7 @@