@import 'variables';

.blog-icon {
  background-image: url('assets/images/blog_platforms.png');
  background-repeat: no-repeat;
  background-size: 340px 32px;
  display: inline-block;
  height: 32px;
  margin-right: 10px;
  max-width: 34px;
  min-width: 34px;
  width: 34px;
}

.blog-icon--github {
  background-position: 0 0;
}

.blog-icon--blogger {
  background-position: -34px 0;
}

.blog-icon--dropbox {
  background-position: -68px 0;
}

.blog-icon--tumblr {
  background-position: -102px 0;
}

.blog-icon--wordpress {
  background-position: -136px 0;
}

.blog-icon--zendesk {
  background-position: -170px 0;
}

.blog-entry {
  line-height: 40px;

  md-input-container {
    margin: 0;
    width: 100%;
  }

  .blog-icon {
    margin-top: 2px;
  }
}

.blog-entry__name {
  font-size: 18px;
  font-weight: 300;

  body &[disabled] {
    color: $text-color;
  }
}

.blog-entry__status {
  min-width: 70px;
  text-align: center;
}

.blog-entry__status-text {
  background-color: #009448;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  padding: 0 6px;
}

.blog-entry__status--error .blog-entry__status-text {
  background-color: #ea5621;
}

.blog-post-entry {
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  margin-bottom: 25px;
  padding-bottom: 25px;
}

.blog-post-entry__info {
  color: rgba(0, 0, 0, 0.54);
  font-size: 12.5px;
  overflow: hidden;
  padding-right: 10px;
  white-space: nowrap;
  width: 100%;

  b {
    padding-left: 10px;
  }
}

.blog-entry__button,
.blog-post-entry__button {
  font-size: 28px;
  max-width: 36px;
  min-width: 36px;
  padding: 5px 0;

  &[disabled] {
    opacity: 0.5;
  }
}

.blog-post-form__options {
  margin-top: 30px;
}

.blog-post-form__label {
  color: rgba(0, 0, 0, 0.54);
  display: block;
  font-size: 12.5px;
  margin-bottom: -20px;
  padding: 2px;
}
