These custom chat widget styles for Mibew matche the 2020 A-B Tech website redesign. The styles are loosly based on the default Mibew chat widget styles with the following changes and additions:
- Assumes Mibew 3.2.6 has already been installed and configured.
- Download and unzip the latest zipfile from master branch on Github
inside a new folder on the server:
mibew/styles/chats/abtech/
. - In the web browser, visit the Chat theme preview page at:
/mibew/operator/style/chat/preview
and select "abtech" from the dropdown to confirm it is properly installed. - Select the theme:
- During transition/testing: leave the
default
theme enabled globally at/mibew/operator/settings
and generate a specific button code at/mibew/operator/button-code
with theabtech
style selected in the "Chat window style" dropdown. - For website re-launch: set the
abtech
theme globally at/mibew/operator/settings
in the "Select a style for your chat windows" option dropdown.
- During transition/testing: leave the
- Update the logo. Set "Company logo" to the value
/mibew/styles/chats/abtech/images/default-logo.svg
on the page/mibew/operator/settings
to load the hi-res version of the A-B Tech logo included with this theme. Note this will affect both the default theme and the new abtech theme. - Continue installation with the A-B Tech Mibew Invitations theme.
For some unknown reason the mibew themes depend on the gulpfile.js provided by Mibew core source code. Unfortunately the versions are fairly outddated, so I opted to package a custom gulpfile.js with this project, allowing us to add more dependencies.
- Upgraded gulpfile to version 4.
- Ported the relevant gulpfile.js tasks from upstream Mibew version 3.2.6.
- Note: the
gulp-handlebars
and npmhandlebars
engine are locked, at version 4.0.x to avoid rendering errors from Mibew version 3.2.6 - Added SCSS and POSTCSS support to gulpfile.
- Removed old ie (6/7) support.
- Overhaul several handlebars templates to match theming DOM and CSS needs.
- Removed all GIF and PNG background images that supported the "shadowed" styles. This theme is more of a flat look and feel.
- Removed "buttons.gif" icon sprite and replaced it with Bootstrap Icons. Icons
are copied from the
node_modules/bootstrap-icons
folder intoicons/
to make them accessible to the stylesheet without committing npm dependencies. - Replaced several PNGs with new SVGs (eg, default-logo.svg).
- Added custom favicon.ico from the A-B Tech 2020 site redesign.
- Added screenshot of the admin ui.
- Ensure both Iframe and PopUp methods are themed and work correctly.