Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div class="wd_background_container" ng-if="" ng-class="{'hidden-xs hidden-sm': !c.displayOnMobile, wd_fullScreen: c.fullScreen}" ng-click="c.close($event)">
  <div class="panel wd_chatbot" ng-class="{ wd_hidden: !c.expandChat}">
    <div class="panel-heading"> 
      <h2 class="h4 panel-title">${Chat window}</h2>
      <div class="wd_icon_panel">
        <div class="wd_icon" ng-click="c.toggleFullScreen()"><i	class="wd_expComp" ng-class="c.getContrExpIcon()"></i></div>
        <div class="wd_icon" ng-click="c.toggleChat()"><i class="wd_navArrows" ng-class="c.getUpDownIcon()"></i></div>
    <div class="panel-body wd_panel-body">   
      <iframe class="resp-iframe" width="560" height="315" ng-src="{{c.urlChatbot}}" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>
  <div class="wd_chatIcon" ng-if="!c.fullScreen" ng-click="c.toggleChat()">
    <svg width="84" height="84" viewBox="0 0 84 84" fill="none" xmlns="">
      <g filter="url(#filter0_d)">
        <circle cx="42" cy="38" r="32" fill="#FF000F"/>
      <path fill-rule="evenodd" clip-rule="evenodd" d="M29 27C27.8954 27 27 27.8954 27 29V44.7308C27 45.8353 27.8954 46.7308 29 46.7308H33.2069V54L40.4483 46.7308H55C56.1046 46.7308 57 45.8353 57 44.7308V29C57 27.8954 56.1046 27 55 27H29Z" fill="white"/>
        <filter id="filter0_d" x="0" y="0" width="84" height="84" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
          <feFlood flood-opacity="0" result="BackgroundImageFix"/>
          <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/>
          <feOffset dy="4"/>
          <feGaussianBlur stdDeviation="5"/>
          <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
          <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"/>
          <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow" result="shape"/>



  min-width: 425px;
  position: fixed;
  bottom: 0px;
  right: 40px;
  z-index: 300;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  position: fixed;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, .5);
  cursor: pointer;

  width: 80% !important;
  height: 80% !important;


.wd_chatbot {
  z-index: 100000;
  border-radius: 0px;
  border: 0px;
  background-color: $panel-bg;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
  width: 425px;
  height: 65vh;

.panel-heading {
  width: 100%;

  height: 5%;
  background-color: $sp-navbar-divider-color;
  border-bottom: 1px solid $sp-separator;  
  display: flex;
  align-items: center;
  justify-content: space-between;


.wd_chatbot>div:first-child {
  border-color:	$sp-separator;
  h2 {
    font-weight: 500;
    font-family: $cp-font-medium;
    font-size: $widget-header;
    .text-info {
      color: $text-color;

  display: flex;
  align-items: center;

  font-weight: bold;

  font-size: 30px;


.wd_icon:hover {
  color: $btn-text-color-hover;

  width: 100%;
  height: 95%;
  padding: 0px;

  display: none !important;

.resp-iframe {
  width: 100%;
  height: 100%;
  border: 0;

  max-width: 84px;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;