Skip to content
Snippets Groups Projects
Forked from Illuna-Minetest / vanilla-bootstrap
415 commits behind the upstream repository.
discussion.less 1.95 KiB
//
// # Discussion
//
// No styleguide reference.

.Item {
  &:extend(.clearfix all);

  .Title {
    &,
    a {
      font-size: @font-size-base + 1px;
      font-weight: 500;
      line-height: @line-height-computed;
      color: @text-color;
    }
  }

  .Username {
    font-weight: 500;
    color: @text-color;
  }

  .Meta {
    font-size: @font-size-small;
    line-height: @line-height-computed;
    &:extend(.text-muted);

    &,
    a {
      &:extend(.text-muted);
    }
  }

  .Author .PhotoWrap {
    float: left;
    padding-right: @padding-base-horizontal;
  }

  .AuthorInfo {
    &:extend(.text-muted);
  }

  .Options {
    float: right;
  }
}

.Item-Header {
  &:extend(.clearfix all);

  .PhotoWrap {
    float: left;

    img {

    }
  }
}

.Item.Category {
  .CategoryName {
    margin: 0;
    font-size: @font-size-base;
    line-height: @line-height-base;
  }
}

.Item.Activity,
.Item.ActivityComment {
  &:hover {
    background-color: @list-group-bg;
  }
}

.PageTitle {
  .Options {
    float: right;
  }
}

// Discussion Forms
// -----------------------------------------------------------------------------

.MessageForm {
  position: relative;
  margin: 0;
  margin-left: 64px;
  border-radius: @list-group-border-radius;
  &:extend(.panel);
  &:extend(.panel-default);

  // Reset nested forms
  .Item & {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;

    .Form-Body {
      padding: 0;
    }
  }

  .PhotoWrap {
    position: absolute;
    top: -1px;
    left: -65px;
  }

  .Form-Header {
    .Username {
      display: none;
    }
  }

  .Form-Body {
    &:extend(.panel-body);
  }

  .H {
    display: none;
  }

  .Buttons {
    margin: 15px -15px -15px;
    text-align: right;
    &:extend(.panel-footer);

    .Back {
      display: none;
      float: left;
      line-height: @input-height-base;
    }

    @media (min-width: @screen-sm-min) {
      .Back {
        display: block;
      }
    }
  }
}