Sha256: 45d55369805747677065f5446a683faf37bb009bf12d2f5d01b40afbe3999778

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

.widget {
  background-color: #fff;

  &.chat {
    width: 100%;

    .widget_title {
      overflow: hidden;
      padding: 0;
      line-height: 39px;
      min-width: 150px;

      .toggle_chat {
        background: #77C969;
        color: #fff;
        font-weight: bold;
        font-size: 18px;
        line-height: 39px;
        height: 39px;
        width: 109px;
        border-radius: 4px 0 0 4px;
        text-decoration: none;
        display: block;

        position: fixed;
        top: 150px;
        right: 0;
        z-index: 100;
      }

      h2 {
        overflow: hidden;
      }
    }


    .widget_content {
    }

    &.active {
      width: 330px;
      
      .widget_title {
        text-align: center;

        .toggle_chat {
          background: #52BE3B url(/assets/cabinet/chat_icon_white.png) center center no-repeat;
          background-size: 9px;
          width: 38px;

          &:after {
            border-left: #98DE8D 1px solid;
            content: '';
            display: block;
            width: 1px;
            height: 28px;
            position: absolute;
            top: 50%;
            right: 0;
            margin-top: -14px;
          }
        }

        h2 {
          overflow: hidden;
        }
      }

      .widget_content {
        display: block;
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/assets/stylesheets/cabinet/tablet/widgets/_chat.scss