comments-ts/src/scss/app.scss
@import "./variables";
@import "./mixins";

#comments {

font-family: $base-font-family;
color: #333;

@import "./normalize";
@import "./base";

@import "./buttons";
button.stripped {
  //letter-spacing: 2px;
  padding: 0;
  margin: 0;
}

@import "./lists";
@import "./forms";

textarea.error,
input[type="text"].error {
    border: $default-border-width solid $error-color !important;
}

.ib {
  display: inline-block;
}
.ib.error {
  border-bottom: $default-border-width solid $error-color;
}

div.inline {
  margin-top: 0.3em;
  position: relative;
  > input[type="text"] {
    width: 54%;
    margin: 0;
    display: inline-block;
    vertical-align: top;
  }
  > button {
    position: absolute;
    right: 0;
    width: 45%;
    margin: 0;
    vertical-align: top;
  }
  > div.ib {
    font-size: 0.9em;
    max-width: 55%;
    margin-bottom: 1.3em;
    word-wrap: break-word;
  }
}

.msg {
  display: none;
  position: relative;
  background-color: $success-bg-color;
  color: $success-color;
  padding: 1em 0.3em 0.3em 0.3em;
  > b {
    position: absolute;
    padding: 0.02em 0.3em;
    right: 0;
    top: 0;
    cursor: pointer;
    font-size: 0.9rem;
  }
}
.msg.error {
  display: block;
  background-color: $error-bg-color;
  color: $error-color;
  margin-bottom: 0.5em;
}

> div.controls {
  margin: 0.5em 0 0 0;
  > button {
    color: $medium-gray;
  }
  > button.outlined {
    font-size: 0.9em;
    padding: 0 0.4em;
    margin: 0 0.15em 0 0;
    color: lighten($primary-color, 15%);
    border-color: lighten($primary-color, 10%);
    &:hover {
      color: $primary-color;
      border-color: $primary-color;
    }
  }
  > span {
    color: $medium-gray;
  }
  > span.count {
    color: $hard-gray;
    font-weight: bold;
    font-size: 1.1em;

    + span { font-size: 0.9em; }
  }
}
div.legend {
  float: right;
  margin-top: 0.4em;
  font-size: 0.95em;
  > button {
    color: $alt-color;
  }
  > button.stripped {
    font-style: italic;
  }
}
span.symbol {
  color: $medium-gray;
  font-weight: bold;
  font-size: 1.1em;
  cursor: default;
  padding-left: 0.25em;
}
.btns {
  > button {
    font-size: 0.85em;
    vertical-align: top;
    color: $medium-gray;
  }
  > button.outlined {
    border-color: $medium-gray;
    padding: 0 0.5em;
    margin: 0 0 0.5em 0;
    color: $medium-gray;
    &:hover, &:active, &:focus {
      border-color: $medium-gray;
    }
  }
  > button.stripped {
    margin: 0 0 0.5em 0;
    color: $medium-gray;
  }
}

.name {
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 0.1em;
   > p {
     display: inline;
     word-wrap: break-word;
   }
   img {
     margin: 0 0.5em 0 0;
     padding: 0;
     height: 2.5em;
     width: 2.5em;
   }
   a {
    vertical-align: top;
   }
}
.timeago {
  cursor: default;
}

div.comment {
  padding: 0.8em 0 0 0.1em;
  margin: 0 0 0 0;
  //border-bottom: 1px solid $soft-gray;
  > button {
    color: $hard-gray;
  }
  > button.outlined {
    font-size: 0.85em;
    padding: 0.25rem 0.5rem;
    border-color: $soft-gray;
    
    /*&:hover {
      color: #fff !important;
      background-color: $primary-color;
    }*/
  }
  > button.stripped {
    display: block;
    margin: 0 0 0.5em -0.1em;
    font-size: 0.8em;
  }
  > dd {
    margin-top: -2.4em;
  }
}

div.comment.collapsed {
  > div, > button, > dd {
    display: none;
  }
}

dd > div.comment {
  //border-top: 1px solid $soft-gray;
  margin-left: 0.3em;
}

dl {
  margin: 0;
  > div.comment {
    border-bottom: 1px solid $soft-gray;
  }
}

.hide {
  display: none;
}

div.ta {
  position: relative;
  margin: 0 0 0.3em 0;
}
div.preview {
  border-left: 3px solid $primary-color;
  padding-left: 0.5em;
}

div.v-btns {
  position: absolute;
  > button {
    display: block;
    line-height: 1rem;
    background: transparent;
    margin: 0 0 0.5em 0;
    font-weight: bold;
    color: $primary-color;
    padding: 0 0.2em !important;
    cursor: pointer;
    font-size: 0.9rem;
    &:focus, &:hover {
      background-color: $primary-color;
      color: #fff;
    }
  }
}

div.v-btns.top { top: 0; right: 0; }
div.v-btns.bottom { top: 8.3rem; right: 0; }

.reply-form {
  + button {
    display: none;
  }
}

} // end #comments
