Sha256: e8199309b45a406e3929fad78291f1a4417848219fced3dde3942677c62a858d

Contents?: true

Size: 732 Bytes

Versions: 6

Compression:

Stored size: 732 Bytes

Contents

@use "sass:math";

@import "../tokens/spacing";

@mixin pb_message {
  display: flex;
  justify-content: flex-start;

  .content_wrapper {
    width: 100%;
    font-size: $font_base - 1;

    .pull-left {
      margin-left: $space-xs;
    }

    [class^=pb_flex_] {
      width: 100%;
    }

    .message_text {
      margin: 0 0 math.div($space-xs, 2);
    }

    .message_title {
      font-size: $font_small;
    }
  }

  &[class*=_avatar] {
    .content_wrapper {
      margin-left: $space-xs;
    }
  }

  .pb_message_body {
    font-size: 15px;
  }

  .message_timestamp {
    display: none;
  }

  &:hover {
    .message_timestamp {
      display: block;
    }

    .message_humanized_time {
      display: none;
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-14.11.0 app/pb_kits/playbook/pb_message/_message_mixins.scss
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_message/_message_mixins.scss
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_message/_message_mixins.scss
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_message/_message_mixins.scss
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_message/_message_mixins.scss
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_message/_message_mixins.scss