Darken circle loader

Darken circle loader

@import url('components/broadcasts.less');

/**
* Buttons
* ============================================================================
*/

.btn {
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 600;
  padding: 8px 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);

  .transition(all .1s);

  &.disabled,
  &.btn-disabled {
    color: #CED3D6;
    border-color: #E3E5E6;
  }
  &.btn-default, .btn-primary, .btn-danger {
    &:active {
      position: relative;
      top: 2px;
    }
  }
}

/* Button sizes */

.btn-sm {
  font-size: 12px;
  padding: 4px 9px;
}

.btn-lg {
  font-size: 16px;
  padding: 10px 20px;
}

.btn-xs {
  font-size: 85%;
  padding: 4px 10px;
}

/* Button types */

.btn-default {
  color: @gray-dark;
  background: #fff;
  border-color: @gray-lighter;

  &:hover, &:focus, &:active {
    color: @gray-darker;
    background-color: @white-darker;
    border-color: @gray-light;
  }
}

.open > .dropdown-toggle.btn-default, .open > .dropdown-toggle.btn-default:hover, .open > .dropdown-toggle.btn-default:active {
  background: @white-darker;
  box-shadow: inset 0 1px 1px rgba(0,0,0, .05);
}

.btn-primary {
  color: #ffffff;
  background-color: @blue;
  border-color: darken(@blue, 15);
  text-shadow: 0 -1px 0 rgba(0,0,0, .15);

  &:hover, &:focus, &:active {
    background-color: darken(@blue, 5);
    border-color: darken(@blue, 18);
  }
}

.btn-danger {
  background: #fff;
  color: darken(@red, 15);
  border-color: @red;
  box-shadow: none;

  &:hover, &:focus, &:active {
    background: #fff;
    color: darken(@red, 15);
    border-color: darken(@red, 20);
  }
}

.btn-group .btn + .btn {
  margin-left: -1px;
}

.btn-group .btn + .dropdown {
  .btn {
    margin-left: -1px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 0 3px 3px 0;
  }
}

.btn-group.open .dropdown-toggle {
  box-shadow: none;
}

// Disabled buttons

.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active, .btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active,
  .btn-primary.btn-disabled, .btn-primary.btn-disabled:hover {
  color: @gray-light;
  border-color: @gray-lightest;
  background: #fff;
  opacity: 1;
  text-shadow: none;
}

/* Button icons */

.btn {
  .icon-bookmark {
    position: relative;
    top: 2px;
    margin-right: -1px;
    margin-left: -1px;
  }

  .icon-ellipsis {
    position: relative;
    top: 2px;
  }

  .icon-checkmark, .icon-trash, .icon-pause {
    position: relative;
    top: 1px;
    margin-right: -1px;
  }

  .icon-play {
    font-size: 14px;
    position: relative;
    top: 2px;
    left: -2px;
    width: 0;
    margin-right: -6px;
  }
}

/* Small button icons */

.btn-sm {
  .icon-arrow-down, .icon-arrow-right, .icon-arrow-left {
    font-size: 14px !important;
    top: 2px;
  }
}

// btn-group

.btn-group {
  .btn:active {
    position: static;
  }
  .btn code {
    background: transparent;
    color: inherit;
    padding: 0;
  }
  .btn {
    position: relative;
    z-index: 1 !important;
  }

  .btn.active {
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
    background: @blue;
    border-color: darken(@blue, 15);
    z-index: 2 !important;
    &:hover {
      color: #fff;
    }
  }
}

/* Justified button group */

.btn-group-justified {
  display: block;

  .btn {
    height: 38px;
    background: #fff;
    border-color: @gray-lighter;
    color: @gray-dark;
    font-weight: 400;

    &.active {
      font-weight: bold;
      text-shadow: 0 -1px 0 rgba(0,0,0, .15);

      &:hover {
        background: @blue-dark;
        border-color: darken(@blue-dark, 20);
      }
    }

    &:hover {
      color: @gray-darker;
      background: @white-dark;
    }

    &:active {
      top: 0;
      box-shadow: inset 0 1px 1px rgba(0,0,0, .06);
      text-shadow: 0 -1px 0 rgba(0,0,0, .15);
    }
  }
  .btn-middle {
    border-left: 0;
    border-right: 0;
    position: relative;
    &:before, &:after {
      display: block;
      content: "";
      position: absolute;
      top: -1px;
      bottom: -1px;
      width: 1px;
      background: transparent;
    }
    &:after {
      left: -1px;
    }
    &:before {
      right: -1px;
    }

    &.active {
      &:after, &:before {
        background: darken(@blue, 20);
      }
    }
  }
}

/**
* Tables
* ============================================================================
*/

table.table {
  table-layout: auto;
  margin-bottom: 20px;
  border: 1px solid @trim;
  border-radius: 3px;
  border-spacing: 0;
  border-collapse: separate !important;
  background: #fff;

  td, th {
    border: 0 !important;
    vertical-align: middle !important;
    padding: 15px 20px !important;
    line-height: 1 !important;
  }

  th {
    font-weight: 600 !important;
  }

  tr {
    th:first-child {
      border-top-left-radius: 4px;
    }
    th:last-child {
      border-top-right-radius: 4px;
    }

    &:first-child {
      > td {
        border-top: 0 !important;
      }
    }
  }

  th {
    border: none !important;
    border-bottom: 1px solid @trim !important;
  }

  td {
    border-top: 1px solid lighten(@trim, 8) !important;
  }

  .squash {
    width: 1%;
  }

  h5 {
    font-weight: 600;
    font-size: 15px;
    margin: 0;

    a {
      color: @gray-dark;
      &:hover, &:active {
        color: darken(@gray-dark, 20);
      }
    }
  }

  .table-user-info {
    position: relative;
    padding-left: 65px !important;
    line-height: 1.2 !important;
    font-size: 13px;

    h5 {
      margin-bottom: 4px;
    }

    .avatar {
      .square(36px);
      position: absolute;
      left: 20px;
      top: 18px;
    }
  }

  &.closed {
    display: none;
  }
}

thead + tbody {
  tr:first-child {
    td {
      border: 0 !important;
    }
  }
}

.condition-list, .action-list {
  th, td {
    vertical-align: middle !important;
  }
}

pre.plain {
  background-color: inherit;
  padding: 0;
  border: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

a.external-icon {
  color: inherit;
  font-size: 11px;
  padding: 0 5px;
  color: @gray-light;
  line-height: 1;

  &:hover {
    color: @gray;
  }
}

table.vars {
  margin-bottom: 0;
  border: 0;

  th, td {
    border: none;
    padding: 5px 8px;
    word-break: break-all;
    border: 1px solid #E9EBEC !important;
  }

  td .btn, th .btn {
    white-space: nowrap
  }

  td.values, td.code {
    overflow: hidden;

    > pre {
      background-color: inherit;
      padding: 0;
      border: 0;
      margin-bottom: 0;
    }
  }
}

table.table.vars {
  margin-top: -5px;
  border-radius: 0;

  tr:first-child > td, tr:first-child > th {
    border-top: 0 !important;
  }

  td, th {
    padding: 12px 0 !important;
    border: 0;
    vertical-align: top !important;
    border: 0 !important;
    border-top: 1px solid #f1f2f3 !important;
    border-radius: 0 !important;
  }
  td table {
    border-top: 0;
    margin-top: -12px;
    margin-bottom: -10px;
  }
  thead th,
  thead td {
    background-color: #fff !important;
  }
  tbody > tr:nth-child(odd) > td,
  tbody > tr:nth-child(odd) > th {
    background-color: #fff;
  }
  tbody > tr:nth-child(even) > td,
  tbody > tr:nth-child(even) > th {
    background-color: #fff;
  }
}

table.vars .toggle-expand {
  border-top: 0 !important;
  padding-top: 2px !important;

  .btn {
    background: rgba(0,0,0, .02);
  }
}

table.table.key-value {
  border: none;

  td {
    padding: 0 !important;
    max-width: 500px;
    border: 0 !important;
    vertical-align: top !important;

    pre {
      box-sizing: border-box;
      white-space: pre-wrap;
      margin-top: 2px;
      margin-bottom: 2px;
      word-break: break-word;
      padding: 8px 10px;
      font-size: 12px;
    }
  }

  td.key {
    font-weight: 600;
    font-size: 13px;
    width: 175px;
    max-width: 175px;
    word-wrap: break-word;
    padding: 10px 15px 10px 0 !important;
    line-height: 1.4 !important;
  }
}

table.integrations {
  td, th {
    padding: 20px !important;
  }

  td:first-child {
    position: relative;
    padding-left: 78px !important;
  }

  .integration-icon {
    position: absolute;
    top: 15px;
    left: 16px;
    background: @blue-light;
    .square(48px);
    border-radius: 2px;
    color: #fff;

    &:after {
      display: block;
      font-family: "sentry-simple";
      content: "\e622";
      font-size: 24px;
      .square(48px);
      text-align: center;
      line-height: 48px;
    }
  }

  .auto-tag-browsers,
  .auto-tag-device,
  .auto-tag-interface-types,
  .auto-tag-operating-systems,
  .auto-tag-urls {
    .integration-icon {
      background: @orange;

      &:after {
        content: "\e603";
      }
    }
  }

  h5 {
    font-size: 16px;
    margin-bottom: 8px;

    span {
      color: #BABEC2;
    }
  }

  p {
    color: #979BA0;
    margin: 0;
  }

  a {
    color: #979BA0;
  }
}

.event-list {
  border: 1px solid @trim;
  overflow-x: scroll;
  border-radius: 3px;

  .table {
    border: 0;
    margin-bottom: 0;

    h5 {
      margin-bottom: 0;
      font-size: 16px;

      small {
        margin-top: 5px;
        display: block;
        color: @gray;
      }
    }

    th, td {
      white-space: nowrap;
    }

    .table-user-info {
      padding-left: 54px !important;
      position: relative;

      .avatar {
        top: 50%;
        .square(24px);
        margin-top: -12px;
      }

      p {
        margin-bottom: 0;
      }
    }

    time {
      white-space: nowrap;
    }
  }
}
/**
* Avatar
* ============================================================================
*/

.avatar {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  border-radius: 2px;
}

/**
* Loading Indicator
* ============================================================================
*/

.loading {
  margin: 6em auto;
  position: relative;

  .loading-indicator {
    text-indent: -9999em;
    border-top: 6px solid @white-darker;
    border-right: 6px solid @white-darker;
    border-bottom: 6px solid @white-darker;
    border-left: 6px solid @gray;
    -webkit-animation: loading .5s infinite linear;
    animation: loading .55s infinite linear;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }

  .loading-message {
    margin-top: 20px;
    text-align: center;
  }
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

// mini

.loading.mini {
  margin: 4px 0;
  font-size: 13px;

  .loading-indicator {
    margin: 0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border-width: 2px;
    position: absolute;
    left: 0;
    top: 0;
  }

  .loading-message {
    padding-left: 30px;
    margin-top: 1px;
    display: inline-block;
  }
}

.loading.global {
  .loading.mini();
  padding: 20px 30px;
  font-size: 15px;
  z-index: 100000;
  border-radius: 3px;

  position: fixed;
  bottom: 0;
  right: 20px;
  background: rgba(52, 60, 69, .8);
  color: #fff;

  .transition(.2s bottom ease-in-out);

  .loading-indicator {
    border-color: rgba(255,255, 255, .4);
    border-left-color: rgba(255,255, 255, 1);
    top: 20px;
    left: 24px;
  }

  .loading-message {
    padding-left: 24px;
  }

  .loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 60, 69, .4);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    .transition(opacity .1s linear);
  }

  &.active {
    bottom: 20px;
    .loading-mask {
      visibility: visible;
      opacity: 1;
    }
  }
}

// Loading Gif

.loading.triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  margin-top: -200px;
  margin-left: -250px;

  .loading-indicator {
    border: 0;
    animation: none;
    -webkit-animation: none;
    background-image: url(../images/sentry-loader.gif);
    .square(150px);
    background-size: contain;
  }
}

/**
* Auth providers
* ============================================================================
*/

.auth-options {
  .list-unstyled;
  .clearfix;
  margin-bottom: 0;

  li {
    float: left;
    margin: 0 15px 15px 0;
  }

  .auth-btn {
    padding-left: 33px;
    position: relative;

    .auth-icon {
      position: absolute;
      left: 10px;
      top: 10px;
      display: block;
      .square(16px);
      background-size: cover;
    }

    &.auth-github .auth-icon {
      background-image: url(../images/auth-providers/github.ico);
    }

    &.auth-bitbucket .auth-icon {
      background-image: url(../images/auth-providers/bitbucket.ico);
    }

    &.auth-twitter .auth-icon {
      background-image: url(../images/auth-providers/twitter.ico);
    }

    &.auth-google .auth-icon {
      background-image: url(../images/auth-providers/google.ico);
    }

    &.auth-facebook .auth-icon {
      background-image: url(../images/auth-providers/facebook.ico);
    }
  }
}

/**
* User Nav
* ============================================================================
*/

.user-nav {

  .avatar {
    position: absolute;
    .square(36px);
    left: 10px;
    top: 10px;
  }

  .user-name {
    font-weight: 600;
  }

  .user-details {
    padding-left: 45px;

    ul {
      font-size: 12px;
      .list-unstyled();
      margin-top: -2px;

      li {
        float: left;
        margin-right: 10px;

        &:last-child {
          margin: 0;
        }
      }
    }
  }
}

/**
* Search
* ============================================================================
*/

.search {
  form {
    display: block;
    position: relative;
  }

  .icon-search {
    color: lighten(@gray, 15);
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 14px;
  }

  .search-save-search {
    position: absolute;
    right: 34px;
    top: 12px;
    font-size: 12px;
    padding: 1px 5px 0;
    color: lighten(@gray, 10);
    border-radius: 3px;

    &:focus, &:active {
      position: absolute;
      top: 13px;
    }
  }

  .search-input {
    padding: 8px 24px 8px 37px;
    font-size: 14px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.03);
    .transition(none);

    &:focus {
      border-radius: 3px 3px 0 0;
      border-color: darken(@trim, 6);
    }
  }

  .search-toggle {
    color: #8E8E97;
    position: absolute;
    right: 2px;
    top: -1px;
    padding: 10px;
  }

  &.disabled {
    position: relative;

    .search-input {
      border: 1px solid lighten(@trim, 4);
      background: @white-dark;
      color: @gray-light;
    }

    .icon-search {
      color: @gray-light;
    }

    &:after {
      display: block;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
  }
}

.search-clear-form {
  position: absolute;
  top: 9px;
  right: 10px;
  color: lighten(@gray, 30);

  &:hover {
    color: lighten(@gray, 10);
  }
}

.search-dropdown {
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  border: 1px solid darken(@trim, 6) !important;
  border-radius: 0 0 4px 4px;
  position: absolute;
  top: 37px;
  right: 0;
  left: 0;
  background: #fff;
  z-index: 100;
  overflow: hidden;

  strong { /* highlight */
    font-weight: normal;
    background: lighten(@yellow, 15);
    color: @gray-dark;
  }

  .nav-tabs {
    border-bottom: 1px solid lighten(@trim, 6);
    margin: 0;
    padding-left: 13px;

    li {
      margin-right: 12px;
    }
  }

  .form-group {
    padding: 10px 0;
    border-top: 1px solid #E9EBEC;
    margin: 0;

    &:first-child {
      border-top: 0;
    }
  }
}

.search-autocomplete-list {
  .list-unstyled();
  margin-bottom: 0;

  li {
    position: relative;
    border-top: 1px solid lighten(@trim, 5);
    padding: 12px 14px 12px 40px;
    cursor: pointer;

    .icon {
      position: absolute;
      left: 9px;
      top: 7px;
      color: lighten(@gray-light, 8);
      font-size: 16px;
      width: 24px;
      line-height: 24px;
      text-align: center;

      &.icon-toggle {
        font-size: 14px;
      }

      &.icon-tag {
        top: 8px;
      }

      &.icon-hash {
        font-size: 20px;
        font-weight: bold;
        top: 5px;
      }
    }

    h4 {
      margin: 0;
      font-size: 14px;
      span {
        font-weight: normal;
      }
    }

    p {
      margin: 2px 0 0;
      font-size: 13px;
      color: @gray-light;
    }

    &:first-child {
      border: 0;
    }

    &:hover, &.active {
      background: @white-dark;
      border-color: @trim;

      & + li {
        border-color: @trim;
      }
    }

    .remove-saved-search {
      margin-top: -5px;
      color: lighten(@gray, 30);
      &:hover {
        color: lighten(@gray, 10);
      }

      .icon-trash {
        position: static;
        font-size: 13px;
        color: inherit;
      }
    }
  }
}

/**
* Project Dropdown
* ============================================================================
*/

.project-select > a {
  font-weight: 600;
  color: @gray-darker;
}

.project-dropdown {
  .dropdown-toggle {
    border: 1px solid @gray-lighter;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
    border-radius: 3px;
    height: 20px;
    width: 21px;
    line-height: 21px;
    // text-align: center;
    position: relative;
    top: -2px;

    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;

    &:hover {
      background: @white-darker;
      border-color: @gray-light;
    }

    .icon-arrow-down {
      position: relative;
      top: 0px;
      left: 2px;
      font-size: 15px !important;
      color: @gray;
    }
  }

  .dropdown-menu {
    min-width: 250px;
    max-width: 500px;
    width: auto;
    padding-bottom: 0;
    left: 0;
    .clearfix;
    overflow: auto;
    max-height: 500px;
    white-space: nowrap;

    &:before {
      left: 11px;
    }

    &:after {
      left: 12px;
    }

    .project-filter {
      padding: 0;
      margin-bottom: -1px;

      input {
        .form-control();
        width: 100%;
        border-radius: 3px 3px 0 0;
        font-size: 15px;
        border: 0;
        border-bottom: 1px solid lighten(@trim, 4);
        margin-top: -5px;
        box-shadow: none;
        padding-left: 15px;

        &:focus {
          border-bottom: 1px solid lighten(@trim, 4);
        }
      }
    }

    li {
      position: relative;
      padding: 0 5px 0 15px;

      &:nth-child(2) {
        margin-top: 5px;
      }

      &:last-child {
        margin-bottom: 5px;
      }

      strong {
        font-weight: normal;
        background: lighten(@yellow, 15);
        color: @gray-dark;
      }

      > a {
        .truncate();
        border-radius: 2px;
        padding: 6px 0 6px 6px;
        border-radius: 0;
        line-height: 1;
        margin-left: -6px;
        border-left: 3px solid transparent;

        &:hover {
          background: transparent;
        }

        &.active, &:active {
          color: @gray-dark;

          &:after {
            display: block;
            content: "";
            position: absolute;
            width: 4px;
            left: 0;
            top: 0;
            bottom: 0;
            background: @blue;
          }
        }
      }
    }
  }

  &.open .dropdown-toggle {
    border-color: darken(@blue, 15);
    background-color: @blue;
    .icon-arrow-down {
      color: #fff;
    }
  }
}

/**
* Charts
* ============================================================================
*/

.team-chart {
  margin-bottom: 30px !important;
}

.chart {
  display: block;
  position: relative;
  height: 100%;
  margin-bottom: 20px;

  > .title {
    font-size: 2em;
    text-transform: uppercase;
    position: absolute;
    left: 1px;
    top: 1px;
    color: #dfe3e9;
    .opacity(70);
    background: #fff;
    padding: 5px 8px;
    line-height: 100%;
  }

  > .legend {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    padding-left: 10px;
    height: 100%;
    text-align: left;
    color: @link-color;
    .legendLabel {
      padding: 0 5px;
    }
  }
}

.bar-chart {
  h6 {
    font-weight: 600;
    margin-bottom: 18px;
  }

  figure {
    .clearfix();
    margin-bottom: 20px;
    position: relative;

    a {
      height: 90px;
      position: relative;
      cursor: default;

      span {
        display: block;
        min-height: 2px;
      }
    }
  }
}

.tag-bar {
  .clearfix();
  position: relative;
  display: block;
  line-height: 2.2;
  color: @gray-dark;
  margin-bottom: 4px;
  padding: 0 6px;

  .tag-bar-background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #f6f7f8;
    border-radius: 2px;
  }

  .tag-bar-label {
    float: left;
    position: relative;
    .truncate;
    max-width: 90%;
  }

  .tag-bar-count {
    float: right;
    position: relative;
  }

}

.sparkline {
  position: relative;

  .max-y,
  .min-y {
    display: none;
  }

  a {
    position: relative;
    float: left;
    height: 20px;
    display: block;
    cursor: default;

    &:hover {
      > span {
        background: @blue;
        border-color: transparent;
      }
    }

    > span {
      display: block;
      position: absolute;
      bottom: 0;
      left: 1px;
      right: 1px;
      min-width: 1px;
      height: 0;
      overflow: hidden;
      text-indent: -9999px;
      text-align: left;
      min-height: 1px;

      #gradient > .vertical(lighten(@gray, 10), @gray);
    }
  }

  .chart-marker {
    display: block;
    position: relative;
    float: left;
    width: 0;

    &:hover {
      > span {
        background-color: gray;
        border-color: #fff;
      }
    }

    &.first-seen > span {
      background: @pink;
      left: -13px;
    }

    &.last-seen > span {
      background: @green;
    }

    > span {
      z-index: 2;
      position: absolute;
      bottom: -5px;
      left: -5px;
      border: 2px solid #fff;
      .square(10px);
      background: gray;
      border-radius: 8px;
    }

    &.first-seen > span {
    }
    &.last-seen > span {
    }
  }
}

// Sparkline grid

.innerColumn(@columnSpan: 1) {
  width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 10;
}

// Distribution graph

.distribution-graph {
  position: relative;
  font-size: 13px;
  margin-bottom: 10px;

  h6 {
    position: relative;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    z-index: 5;

    &:before {
      display: none !important;
    }
  }

  .segment {
    height: 16px;
    display: inline-block;
    color: inherit;

    &:hover {
      background: @blue !important;

      .tag-description {
        display: block;
        z-index: 2;
      }
    }

    .tag-description {
      background-color: @white;
      position: absolute;
      text-align: right;
      top: -1px;
      right: 0;
      line-height: 1;
      display: none;
      z-index: 1;
      width: 100%;
    }

    .tag-percentage {
      margin-right: 6px;
      color: @gray-light;
      display: inline-block;
      vertical-align: middle;
    }

    .tag-label {
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 45%;
      vertical-align: middle;
    }

    &:first-child {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;

      .tag-description {
        display: block !important;
      }
    }

    &:last-child {
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
    }

    &:nth-child(1) {
      background-color: rgba(135, 146, 163, 0.2);
    }

    &:nth-child(2) {
      background-color: rgba(135, 146, 163, 0.4);
    }

    &:nth-child(3) {
      background-color: rgba(135, 146, 163, 0.6);
    }

    &:nth-child(4) {
      background-color: rgba(135, 146, 163, 0.8);
    }
  }
}

/**
* Assignee Selector
* ============================================================================
*/

.assignee-selector {
  height: 24px;

  .btn-group {
    height: 24px;

    &.open {
      .dropdown-toggle {
        color: @gray-dark;
      }
    }
  }

  .icon-arrow-down {
    top: 3px;
    right: -2px;
  }

  .avatar {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    position: relative;
    left: -2px;
    top: -1px;
  }

  .dropdown-toggle {
    color: inherit;

    .avatar + span, .icon-user + span {
      display: none;
    }
  }

  .dropdown-menu {
    left: auto;
    right: -14px !important;
    min-width: 180px;
    padding-top: 0;
    padding-bottom: 3px;
    max-width: 250px;
    top: 30px;
    z-index: 100;
    font-size: 13px;

    .form-control {
      border: 0;
      border: 0;
      border-bottom: 1px solid #E9EBEC;
      background: none;
      box-shadow: none;
      padding-bottom: 8px;
      margin-bottom: 6px;
      border-radius: 0;
      font-size: 13px;

      &:focus {
        box-shadow: none;
      }
    }

    ul {
      .list-unstyled();
      max-height: 180px;
      overflow: auto;
      margin: 0;
    }

    li {
      strong {
        font-weight: normal;
        background: lighten(@yellow, 15);
      }

      a {
        padding: 5px 8px;
        display: block;
        padding-left: 33px;
        position: relative;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;

        img {
          margin-right: 5px;
          position: absolute;
          left: 8px;
          top: 4px;
          .square(20px);
        }
      }
    }
  }

  &.unassigned {
    .icon-user {
      margin-right: 3px;
      position: relative;
      top: 3px;
      font-size: 20px;
    }
  }

  .clear-assignee a {
    background: rgba(52, 60, 69, .03);
    border-bottom: 1px solid rgba(52, 60, 69, .06);
    margin-top: -6px;
    margin-bottom: 2px;
    padding: 4px 0 2px 33px !important;

    .icon-circle-cross {
      font-size: 16px;
      position: absolute;
      left: 10px;
      top: 4px;
      opacity: .3;
    }
  }
}

/**
* Settings modal
* ============================================================================
*/

.settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0, .65);
  z-index: 10000;
  overflow: auto;

  .container {
    max-width: 760px;
  }

  .settings-modal-wrap {
    margin-top: 80px;
    margin-bottom: 30px;
    border-radius: 5px;
    background: #fff;
    z-index: 10000;
  }

  .settings-modal-header {
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 5px 5px 0 0;

    h3 {
      margin: 0;
    }
  }

  .settings-modal-body {
    padding: 20px;
  }

  .settings-modal-footer {
    border-top: 1px solid #E9EBEC;
    padding: 15px 20px;
    text-align: right;
  }
}

// Back Arrow

.back-arrow {
  position: absolute;
  left: -25px;
  top: -4px;

  .icon-arrow-left {
    font-size: 28px !important;
    font-weight: bold;
    color: lighten(@gray, 30);
    .transition(color .2s linear);
  }

  &:hover {
    .icon-arrow-left {
      color: lighten(@gray, 20);
    }
  }

  &:active {
    top: -3px
  }
}

/**
* Box
* ============================================================================
*/

.box {
  background: #fff;
  border: 1px solid @trim;
  border-radius: 3px;
  margin: 0 0 20px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);

  .box-header {
    background: @white-dark;
    color: @gray-darker;
    line-height: 1;
    padding: 0 20px;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid @trim;
    padding-top: 9px;
    padding-bottom: 8px;
    position: relative;
    .clearfix;

    &:hover .permalink {
      display: inline-block;
    }

    .permalink {
      font-size: 10px;
      line-height: 27px;
      display: none;
      position: absolute;
      left: -12px;
      top: 11px;
      bottom: 8px;

      .square(23px);
      background: #fff;
      border-radius: 50%;
      line-height: 25px;
      text-align: center;
      box-shadow: 0 0 0 1px @trim;
    }

    &.box-header-borderless {
      border: 0;
      font-size: 15px;
      border-radius: 3px;

      h3 {
        font-weight: 400;
      }
      .btn {
        padding: 0;
        padding-top: 3px;
      }
    }

    a {
      color: @gray-dark;
      &:hover {
        color: @gray-darker;
      }
    }

    h3, h4, h5 {
      font-size: 14px;
      margin: 0;
      font-weight: 600;
      line-height: inherit;
      padding-top: 6px;
      padding-bottom: 5px;
      max-width: 80%;
      line-height: 1.2;

      small {
        color: @gray-dark;
        font-size: 14px;
      }
    }

    .pull-right {
      a, .btn {
        margin-left: 6px;
      }
    }

    .btn-group {
      float: right;
      position: relative;
    }

    .nav-tabs {
      float: right;
      line-height: inherit;

      li {
        margin: 0 0 0 20px;
        font-weight: 400;

        &.active a {
          font-weight: 600;
          border: 0;
          box-shadow: inset 0 -3px 0 @blue;
        }
      }

      a {
        font-weight: 400;
        padding: 0;
        font-size: 14px;
        line-height: inherit;
      }
    }

    .nav-pills {
      position: relative;
      right: -6px;

      a {
        padding: 2px 8px;
        font-size: 12px;
        border-radius: 4px;
      }

      .active {
        a {
          background: @blue;
        }
      }
    }

    .checkbox {
      margin-top: -4px;
    }
  }

  .box-content {
    &.with-padding {
      padding: 20px 20px 0;
    }

    .form-actions {
      padding-left: 20px;
      padding-right: 20px;
      margin-left: -20px;
      margin-right: -20px;
      margin: 0 -20px 20px;
    }

    h1, h2, h3, h4, h5, h6 {
      color: @gray-darker;
    }
  }

  &.empty {
    padding: 20px;
    text-align: center;
  }

  &.box-mini {
    .box-header {
      padding: 10px;
      line-height: normal;
      height: auto;
      font-size: 14px;
    }
    .with-padding {
      padding: 10px 10px 0;
    }
  }
}

/**
 * Global Messages
 * ============================================================================
 */

 .messages-container {
   .alert {
     color: #fff;
     font-weight: bold;
     background: @yellow-light;
     border: 0;

     .close {
       color: rgba(255,255,255, .5);

       &:hover {
         color: rgba(255,255,255, .8);
       }
     }
   }

   .alert-success {
     background: @green-light;
   }

   .alert-info {
     background: @blue-light;
   }

   .alert-error {
     background: @red;
   }
 }

/**
* Alerts
* ============================================================================
*/

.sub-header + .alert, header + .alert {
  margin-top: -31px;
  position: relative;
  z-index: 2;
  border-radius: 0;
}

.alert {
  background: #FFFDF7;
  color: rgba(0,0,0, .7);
  border: 1px solid #E1D697;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0,0,0, .05);

  p:last-child {
    margin: 0;
  }

  .icon {
    float: left;
    margin: 3px 8px 0 3px;
    display: block;
    font-size: 15px;
    opacity: .65;
  }

  .icon-sentry-logo {
    display: block;
  }

  .close {
    font-weight: 600;
    position: absolute;
    top: -6px;
    right: 8px;
    box-shadow: none;
    .transition(color .15s);
    color: rgba(0,0,0, .25);
    background: 0;
    border: 0;
    font-size: 22px;
    float: right;

    &:hover {
      box-shadow: none;
      color: rgba(0,0,0, .5);
    }
  }
  a {
    font-weight: 600;
    color: inherit;
  }

  & + .alert {
    box-shadow: inset 0 1px 0 rgba(0,0,0, .15);
  }

  &.alert-block {
    margin-bottom: 20px;
    border-radius: 3px;
  }
}

.alert-error {
  background: #FDF6F5;
  border-color: #E7C0BC;

  .icon:before {
    content: "\e615";
  }
}

.alert-info {
  background: #F5FAFE;
  border-color: #B5D6ED;

  .icon {
    display: none;
  }
}

.alert-success {
  background: #F8FCF7;
  border-color: #BBD6B3;

  .icon:before {
    content: "\e60a";
  }
}

.active-alerts {
  margin: 15px 25px 0;
  padding: 0 5px;
  li.alert {
    margin-bottom: 5px;
  }
}

/**
* Dropdowns
* ============================================================================
*/

.dropdown-menu {
  top: 32px;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(52, 60, 69, .2), 0 1px 3px rgba(70, 82, 98, .25);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;

  &:after {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    content: "";
    display: block;
    position: absolute;
    top: -8px;
    left: 12px;
    z-index: -1;
  }

  &:before {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid rgba(52, 60, 69, .25);
    content: "";
    display: block;
    position: absolute;
    top: -9px;
    left: 11px;
    z-index: -2;
  }

  &.dropdown-menu-right:after {
    right: 13px;
    left: auto;
  }

  li a {
    .transition(none);
    color: @gray-dark;

    &:hover {
      background: #f7f8f9;
      color: darken(@gray-dark, 10);
    }
  }

  li.active a, li.active a:hover {
    background: @blue;
    color: #fff !important;
  }

  .divider {
    margin: 4px 0;
  }

  .disabled {
    opacity: .4;
    cursor: default;

    &:hover {
      background: #fff;
      color: #7a8188;
    }
  }
}

.anchor-right {
  .dropdown-menu {
    left: auto;
    right: 0;

    &:after {
      left: auto;
      right: 12px;
    }

    &:before { // top caret
      left: auto;
      right: 11px;
    }
  }
}

/**
* Navs
* ============================================================================
*/

.nav {
  margin-bottom: 20px;

  .open > a, .open > a:hover, .open > a:active {
    background: none;
  }
}

.nav-pills > li.active > a {
  background-color: @blue;
}

.nav-small {
  &.nav-pills > li > a {
    padding: 5px 8px;
    font-size: 12px;
  }
}

/**
* Nav stacked
* ============================================================================
*/

.nav-header {
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 12px;
  color: @gray-light;
  letter-spacing: 0.1px;

  .btn-xs {
    font-size: 11px;
    line-height: 14px;
    padding: 0 5px;
    margin-left: 5px;
  }
}

.nav-stacked li  {
  margin-bottom: 6px;

  > a {
    font-size: 16px;
    line-height: 1.5;
    padding: 0;
    margin: 4px 0;
    display: block;
    border: 0;
    background: none;
    color: @gray-dark;
    position: relative;

    &:hover, &:active, &:focus {
      background: none;
      color: @gray-darkest;
    }
  }

  &.active {
    a, a:hover, a:focus {
      border: 0;
      background: none;
      color: rgba(52, 60, 69, 1);
      font-weight: 600;

      &:after {
        position: absolute;
        display: block;
        content: "";
        top: 2px;
        bottom: 3px;
        left: -15px;
        width: 4px;
        background: @blue;
      }
    }
  }
}

/**
* Nav tabs
* ============================================================================
*/

.nav-tabs {
  border-bottom: 0;
  margin: 0 0 20px;

  > li {
    margin-right: 20px;

    > li.pull-right {
      float: right;
    }

    > a {
      font-size: 16px;
      padding: 0 0 10px;
      border: 0;
      background: none;
      color: @gray;
      min-width: 30px;
      text-align: center;

      &:hover, &:active, &:focus {
        background: none;
        color: @gray-darker;
      }
    }

    .dropdown-menu {
      border-radius: 3px;
    }

    &.active {
      a, a:hover, a:focus {
        border: 0;
        border-bottom: 4px solid @blue;
        background: none;
        color: @gray-darkest;
        font-weight: 400;
      }
    }
  }

  > li.markdown {
    float: right;
    color: @gray;
    margin-right: 0;

    > .icon-markdown {
      font-size: 20px;
    }

    > .supported {
      // The text doesn't quit line up with the icon, so we
      // manually fudge this to make it look better.
      position: relative;
      top: -4px;
      left: 5px;
    }
  }

  &.border-bottom {
    border-bottom: 1px solid lighten(@trim, 2);
  }
}

.nav-tabs-xs {
  a {
    font-size: 13px !important;
    padding: 6px 0 5px !important;
  }
}

.text-tabs {
  a {
    font-size: 20px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  li {
    padding-left: 17px;
    margin-right: 15px;
    position: relative;

    &:before {
      display: block;
      content: "";
      position: absolute;
      top: 1px;
      left: 0;
      height: 18px;
      width: 1px;
      background: @trim;
    }

    &:first-child {
      padding: 0 !important;
      &:before {
        display: none;
      }
    }
  }

  li.active a, li.active a:hover, li.active a:focus, li.active a:active {
    border: 0;
  }
}

/**
 * List-group
 * ============================================================================
 */

 .list-group {
   font-size: 14px;
   border-radius: 3px;
   border: 1px solid @trim;
   margin-bottom: 15px;

   .list-group-item {
     color: @gray-dark;
     padding: 5px 15px;
     border: 0;
     border-top: 1px solid lighten(@trim, 5);
     border-radius: 0;
     margin: 0;
     background: none;

     &.list-group-header {
       border-top: 0;

       .pull-right {
         color: @gray;
         position: relative;
         top: 1px;
         right: -2px;

         &:hover {
           color: @gray-dark;
         }
       }
     }

     &.active {
       background: @blue;
       color: #fff;
       font-weight: 600;
       box-shadow: inset 0 0 0 1px darken(@blue, 15);
       border: 0 !important;
       margin-left: -1px;
       margin-right: -1px;
     }
   }
 }

/**
* Project nav
* ============================================================================
*/

.badge {
  background: @gray;
  color: #fff;
  font-size: 75%;
  font-weight: 600;
  .square(20px);
  padding: 0 5px;
  min-width: 20px;
  width: auto;
  border-radius: 20px;
  line-height: 20px;
  text-align: center;
  display: inline-block;
  position: relative;
  top: -1px;
  margin-left: 4px;
  .transition(.1s background linear);

  &.new {
    background: @red;
  }

  &.badge-soft {
    color: @gray;
    top: 0;
    line-height: 18px;
    border: 1px solid @gray-lighter;
    background: inherit;
  }
}

/**
* Project nav
* ============================================================================
*/

.nav.project-nav {
  display: none;
  margin: -10px 0 30px;
  border-radius: 3px 3px 0 0;

  .icon-settings {
    position: relative;
    top: 1px;
    margin-right: 2px;
    opacity: .45;
  }
}

/**
* Datepicker
* ============================================================================
*/

.datepicker-modal {
  .modal-dialog {
    margin-top: -200px;
  }
}

.datepicker-box {
  h6 {
    margin-bottom: 15px;
  }

  .datepicker-wrapper {
    width: 57%;
    float: left;

    .datepicker__input {
      box-shadow: inset 0 1px 1px rgba(70, 82, 98, 0.04);
      height: auto;
      border: 1px solid darken(@trim, 4);
      padding: 8px 12px 7px;
      position: relative;
      border-radius: 2px;

      .placeholder(lighten(@gray, 28));

      &:focus {
        box-shadow: none;
        border-color: darken(@trim, 10);
      }
      display: block;
      line-height: 1.4 !important;
      padding-right: 4px !important;
      padding-left: 8px !important;
      width: 100%;
    }
  }

  .form-control {
    display: inline-block;
    line-height: 1.2 !important;
    padding-right: 4px !important;
    padding-left: 8px !important;

    &.time {
      margin-left: 2%;
      width: 41%;
    }
  }
}

ul.radio-inputs {
  .list-unstyled;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;

  li.radio {
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 0;
    display: inline-block;
    font-weight: normal;

    label {
      padding-left: 25px;

      input {
        margin-left: -25px;
        margin-top: 4px;
        vertical-align: middle;
      }

      .help-block {
        margin-bottom: 0;
      }
    }
  }
}

/**
* Modal
* ============================================================================
*/

.modal-open #blk_router {
  -webkit-filter: ~"blur(3px) grayscale(25%)";
}

.modal-backdrop {
  background-color: @gray-dark;
}

.modal-container {
  position: relative;
}
.modal-container .modal, .modal-container .modal-backdrop {
  position: absolute;
}

.modal {
  .close {
    background: none;
    border: 0;
    padding: 0;
    font-size: 24px;
    position: absolute;
    top: 14px;
    right: 15px;
    z-index: 100;
    color: lighten(@gray, 20);
    .transition(color .1s linear);

    &:hover {
      color: @gray;
    }
  }
  .modal-content {
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 0;
    overflow: hidden;
  }

  .modal-header {
    background: rgba(249, 250, 251, 0.8);
    border-bottom: 1px solid lighten(@trim, 5);
    border-radius: 5px 5px 0 0;
    padding: 15px 20px;
    margin: -20px -20px 20px;

    h4 {
      font-size: 16px;
      font-weight: 600;
    }

    .close {
      margin-top: 1px;
    }
  }

  .modal-body {
    padding: 0 0 15px;
    font-size: 15px;

    p:last-child {
      margin-bottom: 0;
    }
  }

  .modal-footer {
    padding: 15px 20px;
    border-top: 1px solid lighten(@trim, 8);
    margin: 5px -20px -20px;
  }

  .nav-stacked {
    margin-bottom: 0;

    li {
      a {
        .transition(none);
        &:hover {
          color: #fff;
          background: @blue;
        }
      }
    }
  }
}

// Modal Small

.modal-sm {
  width: 400px;
}

.welcome-modal {
  background: rgba(52, 60, 69, 0.5);

  @slideWidth: 720px;
  @slideCount: 4;

  .dot-nav {
    .clearfix();
    margin: 8px 0 0;
    padding: 0;

    li {
      .list-unstyled();
      display: inline-block;

      a {
        text-indent: -9999em;
        display: block;
        .square(9px);
        border: 1px solid lighten(@gray, 35);
        border-radius: 12px;
        margin: 0 2px;
        overflow: hidden;
      }

      &.active {
        a {
          border-color: @gray;
          background: @gray;
        }
      }
    }
  }

  .modal-body {
    margin: 0 -20px;
  }

  .modal-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 -1px 0 rgba(52, 60, 69, 0.1);
    padding: 21px 100px;
    background: #fff;
    margin-bottom: 0;
  }

  .prev, .next {
    border-radius: 24px;
    .square(34px);
    padding: 0;
    line-height: 37px;
    text-align: center;

    span {
      font-size: 18px !important;
      position: relative;
    }
  }

  .prev span {
    left: -1px;
  }

  .next span {
    left: 1px;
  }

  .welcome-slides {
    width: @slideWidth * @slideCount;
    .transition(margin-left .4s ease-in-out);
  }

  .slide {
    width: @slideWidth;
    float: left;

    h1, h2, h3 {
      color: @gray-dark;
      line-height: 1.2;
    }

    h1 {
      font-size: 34px;
    }

    p {
      font-size: 18px;
      line-height: 1.4;
    }

    .screenshot {
      background-size: contain;
      box-shadow: inset 0 0 0 1px rgba(52, 60, 69, 0.2), 0 1px 2px rgba(52, 60, 69, 0.1);
      border-radius: 2px;
    }
  }

  .slide-1 {
    padding: 35px 0;
    text-align: center;

    .screenshot {
      width: 600px;
      height: 348px;
      margin: 30px auto 0;
      background-image: url(https://s3.amazonaws.com/f.cl.ly/items/261Y0m3B2W3V0F2I2b1w/Screen%20Shot%202015-04-20%20at%205.04.01%20PM.png);
    }

    &.active {

    }
  }

  .slide-2 {
    padding: 45px;

    h3 {
      margin-top: 45px;
    }

    .screenshot, .loupe {
      background-image: url(http://cl.ly/image/0G0S2R07000L/Screen%20Shot%202015-04-20%20at%206.02.20%20PM.png);
    }

    .screenshot {
      margin-top: -15px;
      position: relative;
      right: -25px;
      background-size: cover;
      width: 400px;
      height: 375px;
    }

    .loupe {
      position: absolute;
      top: -10px;
      left: -28px;
      width: 170px;
      height: 170px;
      background-position: -112px -143px;
      border-radius: 190px;
      box-shadow: inset 0 0 0 1px rgba(52, 60, 69, 0.3), 0 1px 2px rgba(52, 60, 69, 0.2), inset 0 0 60px rgba(255, 255,255, 1), inset 0 0 20px rgba(255, 255,255, 1), inset 0 0 40px rgba(255, 255,255, 1), inset 0 0 40px rgba(255, 255,255, 1);
      background-size: 540% 540%;
    }
  }

  .slide-3 {
    padding: 45px;
    position: relative;
    height: 423px;

    h3 {
      margin-top: 55px;
    }

    .chat-column, .row {
      position: static;
    }

    .chat {
      .list-unstyled();
      position: relative;
      top: -90px;

      .chat-message {
        position: relative;
        padding-left: 54px;
        margin-bottom: 24px;

        h5 {
          line-height: 1.2;
          font-weight: 600;
          font-size: 15px;
          margin: 0 0 4px;

          time {
            font-weight: 400;
            text-transform: uppercase;
          }
        }
      }

      blockquote {
        font-size: 13px;
        margin-top: 10px;
        padding: 0 0 0 15px;
        border-left: 4px solid @orange;
      }

      .chat-avatar {
        position: absolute;
        left: 0;
        top: 0;
        background: #f1f2f3 url(https://avatars3.githubusercontent.com/u/1396951?v=3);
        background-size: cover;
        .square(40px);
        border-radius: 3px;

        img {
          max-width: 100%;
          border-radius: 3px;
        }
      }
    }
    .mask {
      position: absolute;
      top: -20px;
      left: 0;
      right: 100px;
      height: 100px;
      #gradient > .vertical(rgba(255,255,255, 1), rgba(255,255,255, 0));
    }
  }

  .slide-4 {
    padding: 45px;

    h3 {
      padding-top: 35px;
    }
  }
}

/**
* Well
* ============================================================================
*/

.well {
  border: 1px solid @trim;
  box-shadow: none;
  background: @white-dark;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 3px;

  &.important {
    background: @yellow;
    border: 0;
    a, a:active {
      color: @gray-dark;
    }
  }
}

.blankslate {
  text-align: center;
  padding: 50px 0;
}

/**
* Popovers
* ============================================================================
*/

.popover {
  width: auto;
  min-width: 236px;
  max-width: 600px;
}

.popover * {
  font-size: 11px;
  line-height: 14px;
  margin-top: 0;
  margin-bottom: 0;
}
.popover-title {
  font-size: 10px;
  background: @blue;
  color: #fff;
}

.popover-title,
.popover-content {
  padding: 4px 10px;
}

#flotTip {
  background-color: @tooltip-bg;
  border-radius: @border-radius-base;
  max-width: 200px;
  padding: 8px;
  color: @tooltip-color;
}

/**
* Tag List
* ============================================================================
*/

ul.tag-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;

  li {
    margin-bottom: 5px;
    position: relative;

    .progressbar {
      padding: 5px 0;
    }

    &:nth-child(even) {
      background: #f9f9f9;
    }

    span {
      position: absolute;
      right: 10px;
    }
  }
}

/**
* Mini tag list
* ============================================================================
*/

.mini-tag-list {
  .clearfix();
  .list-unstyled();
  margin: -10px 0 5px;

  > li {
    float: left;
    background: #fff;
    border-radius: 3px;
    margin: 0 20px 5px 0;

    span:nth-child(2) {
      color: #aaa;
    }

    a {
      word-break: break-all;
    }
  }
}

/**
* Integration list
* ============================================================================
*/

.integration-list {
  .clearfix();
  .list-unstyled();
  margin-bottom: 18px;

  li {
    display: inline-block;
    margin-bottom: 2px;
    button {
      width: 150px;
      text-align: center;
      font-size: 12px;
      color: darken(#e4e8ed, 30%);
      letter-spacing: 0.1px;
      font-weight: 600;
      text-transform: uppercase;
      border: 1px solid #eee;
      background: inherit;
      border-radius: 4px;
      padding: 10px;
      display: block;

      &:hover {
        border-color: #ccc;
      }
    }
  }
}

/**
* Client platform list
* ============================================================================
*/

.client-platform-list {
  .list-unstyled;
  .clearfix;

  li {
    float: left;
    margin: 0 10px 10px 0;
    background: lighten(@gray, 20);
    .square(100px);
    border-radius: 4px;
    text-align: center;
    position: relative;
    color: #fff;

    a {
      color: inherit;
      opacity: .85;
      .transition(opacity .1s);
      font-weight: 600;

      &:hover {
        opacity: 1;
      }

      &:after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
      }
    }
  }

  .platformicon {
    display: block;
    .square(48px);
    font-size: 48px;
    margin: 15px auto 2px;
  }

  // Colors

  li {
    &.python {
      background: darken(@blue, 6);
    }

    &.javascript {
      background: @yellow;
      color: #111;
    }

    &.ruby,
    &.rails {
      background: @red;
    }

    &.java {
      background: @orange;
    }

    &.php {
      background: @purple;
    }

    &.python-django {
      background: @green;
    }

    &.node {
      background: #90C541;
    }

    &.objc {
      background: @gray;
    }

    &.app-engine {
      background: @orange;
    }

    &.csharp {
      background: @blue-light;
    }

    &.go {
      border: 2px solid @gray;
      color: @gray-dark;
      background: #fff;
    }
  }
}

/**
 * Error level colors
 * ============================================================================
 */

 .error-level {
   background: @gray-light;
 }

 &.level-info .error-level {
   background: @blue;
 }
 &.level-warning .error-level {
   background: @yellow;
 }
 &.level-error .error-level {
   background: @orange;
 }
 &.level-fatal .error-level {
   background: @red;
 }

/**
* Responsive small screens
* ============================================================================
*/

@media(max-width:767px) {

}

/**
* Responsive (Tablet)
* ============================================================================
*/

@media (min-width: 768px) {
  .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -91px;

    &.modal-sm {
      top: 50%;
      margin-left: -200px;
      margin-top: -155px;
    }
  }

  .welcome-modal .modal-dialog {
    width: 720px;
    margin-top: -300px;
    margin-left: -360px;

    .modal-content {
      height: 500px;
    }
  }
}

@import url('components/broadcasts.less');

/**
* Buttons
* ============================================================================
*/

.btn {
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 600;
  padding: 8px 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);

  .transition(all .1s);

  &.disabled,
  &.btn-disabled {
    color: #CED3D6;
    border-color: #E3E5E6;
  }
  &.btn-default, .btn-primary, .btn-danger {
    &:active {
      position: relative;
      top: 2px;
    }
  }
}

/* Button sizes */

.btn-sm {
  font-size: 12px;
  padding: 4px 9px;
}

.btn-lg {
  font-size: 16px;
  padding: 10px 20px;
}

.btn-xs {
  font-size: 85%;
  padding: 4px 10px;
}

/* Button types */

.btn-default {
  color: @gray-dark;
  background: #fff;
  border-color: @gray-lighter;

  &:hover, &:focus, &:active {
    color: @gray-darker;
    background-color: @white-darker;
    border-color: @gray-light;
  }
}

.open > .dropdown-toggle.btn-default, .open > .dropdown-toggle.btn-default:hover, .open > .dropdown-toggle.btn-default:active {
  background: @white-darker;
  box-shadow: inset 0 1px 1px rgba(0,0,0, .05);
}

.btn-primary {
  color: #ffffff;
  background-color: @blue;
  border-color: darken(@blue, 15);
  text-shadow: 0 -1px 0 rgba(0,0,0, .15);

  &:hover, &:focus, &:active {
    background-color: darken(@blue, 5);
    border-color: darken(@blue, 18);
  }
}

.btn-danger {
  background: #fff;
  color: darken(@red, 15);
  border-color: @red;
  box-shadow: none;

  &:hover, &:focus, &:active {
    background: #fff;
    color: darken(@red, 15);
    border-color: darken(@red, 20);
  }
}

.btn-group .btn + .btn {
  margin-left: -1px;
}

.btn-group .btn + .dropdown {
  .btn {
    margin-left: -1px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 0 3px 3px 0;
  }
}

.btn-group.open .dropdown-toggle {
  box-shadow: none;
}

// Disabled buttons

.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active, .btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active,
  .btn-primary.btn-disabled, .btn-primary.btn-disabled:hover {
  color: @gray-light;
  border-color: @gray-lightest;
  background: #fff;
  opacity: 1;
  text-shadow: none;
}

/* Button icons */

.btn {
  .icon-bookmark {
    position: relative;
    top: 2px;
    margin-right: -1px;
    margin-left: -1px;
  }

  .icon-ellipsis {
    position: relative;
    top: 2px;
  }

  .icon-checkmark, .icon-trash, .icon-pause {
    position: relative;
    top: 1px;
    margin-right: -1px;
  }

  .icon-play {
    font-size: 14px;
    position: relative;
    top: 2px;
    left: -2px;
    width: 0;
    margin-right: -6px;
  }
}

/* Small button icons */

.btn-sm {
  .icon-arrow-down, .icon-arrow-right, .icon-arrow-left {
    font-size: 14px !important;
    top: 2px;
  }
}

// btn-group

.btn-group {
  .btn:active {
    position: static;
  }
  .btn code {
    background: transparent;
    color: inherit;
    padding: 0;
  }
  .btn {
    position: relative;
    z-index: 1 !important;
  }

  .btn.active {
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
    background: @blue;
    border-color: darken(@blue, 15);
    z-index: 2 !important;
    &:hover {
      color: #fff;
    }
  }
}

/* Justified button group */

.btn-group-justified {
  display: block;

  .btn {
    height: 38px;
    background: #fff;
    border-color: @gray-lighter;
    color: @gray-dark;
    font-weight: 400;

    &.active {
      font-weight: bold;
      text-shadow: 0 -1px 0 rgba(0,0,0, .15);

      &:hover {
        background: @blue-dark;
        border-color: darken(@blue-dark, 20);
      }
    }

    &:hover {
      color: @gray-darker;
      background: @white-dark;
    }

    &:active {
      top: 0;
      box-shadow: inset 0 1px 1px rgba(0,0,0, .06);
      text-shadow: 0 -1px 0 rgba(0,0,0, .15);
    }
  }
  .btn-middle {
    border-left: 0;
    border-right: 0;
    position: relative;
    &:before, &:after {
      display: block;
      content: "";
      position: absolute;
      top: -1px;
      bottom: -1px;
      width: 1px;
      background: transparent;
    }
    &:after {
      left: -1px;
    }
    &:before {
      right: -1px;
    }

    &.active {
      &:after, &:before {
        background: darken(@blue, 20);
      }
    }
  }
}

/**
* Tables
* ============================================================================
*/

table.table {
  table-layout: auto;
  margin-bottom: 20px;
  border: 1px solid @trim;
  border-radius: 3px;
  border-spacing: 0;
  border-collapse: separate !important;
  background: #fff;

  td, th {
    border: 0 !important;
    vertical-align: middle !important;
    padding: 15px 20px !important;
    line-height: 1 !important;
  }

  th {
    font-weight: 600 !important;
  }

  tr {
    th:first-child {
      border-top-left-radius: 4px;
    }
    th:last-child {
      border-top-right-radius: 4px;
    }

    &:first-child {
      > td {
        border-top: 0 !important;
      }
    }
  }

  th {
    border: none !important;
    border-bottom: 1px solid @trim !important;
  }

  td {
    border-top: 1px solid lighten(@trim, 8) !important;
  }

  .squash {
    width: 1%;
  }

  h5 {
    font-weight: 600;
    font-size: 15px;
    margin: 0;

    a {
      color: @gray-dark;
      &:hover, &:active {
        color: darken(@gray-dark, 20);
      }
    }
  }

  .table-user-info {
    position: relative;
    padding-left: 65px !important;
    line-height: 1.2 !important;
    font-size: 13px;

    h5 {
      margin-bottom: 4px;
    }

    .avatar {
      .square(36px);
      position: absolute;
      left: 20px;
      top: 18px;
    }
  }

  &.closed {
    display: none;
  }
}

thead + tbody {
  tr:first-child {
    td {
      border: 0 !important;
    }
  }
}

.condition-list, .action-list {
  th, td {
    vertical-align: middle !important;
  }
}

pre.plain {
  background-color: inherit;
  padding: 0;
  border: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

a.external-icon {
  color: inherit;
  font-size: 11px;
  padding: 0 5px;
  color: @gray-light;
  line-height: 1;

  &:hover {
    color: @gray;
  }
}

table.vars {
  margin-bottom: 0;
  border: 0;

  th, td {
    border: none;
    padding: 5px 8px;
    word-break: break-all;
    border: 1px solid #E9EBEC !important;
  }

  td .btn, th .btn {
    white-space: nowrap
  }

  td.values, td.code {
    overflow: hidden;

    > pre {
      background-color: inherit;
      padding: 0;
      border: 0;
      margin-bottom: 0;
    }
  }
}

table.table.vars {
  margin-top: -5px;
  border-radius: 0;

  tr:first-child > td, tr:first-child > th {
    border-top: 0 !important;
  }

  td, th {
    padding: 12px 0 !important;
    border: 0;
    vertical-align: top !important;
    border: 0 !important;
    border-top: 1px solid #f1f2f3 !important;
    border-radius: 0 !important;
  }
  td table {
    border-top: 0;
    margin-top: -12px;
    margin-bottom: -10px;
  }
  thead th,
  thead td {
    background-color: #fff !important;
  }
  tbody > tr:nth-child(odd) > td,
  tbody > tr:nth-child(odd) > th {
    background-color: #fff;
  }
  tbody > tr:nth-child(even) > td,
  tbody > tr:nth-child(even) > th {
    background-color: #fff;
  }
}

table.vars .toggle-expand {
  border-top: 0 !important;
  padding-top: 2px !important;

  .btn {
    background: rgba(0,0,0, .02);
  }
}

table.table.key-value {
  border: none;

  td {
    padding: 0 !important;
    max-width: 500px;
    border: 0 !important;
    vertical-align: top !important;

    pre {
      box-sizing: border-box;
      white-space: pre-wrap;
      margin-top: 2px;
      margin-bottom: 2px;
      word-break: break-word;
      padding: 8px 10px;
      font-size: 12px;
    }
  }

  td.key {
    font-weight: 600;
    font-size: 13px;
    width: 175px;
    max-width: 175px;
    word-wrap: break-word;
    padding: 10px 15px 10px 0 !important;
    line-height: 1.4 !important;
  }
}

table.integrations {
  td, th {
    padding: 20px !important;
  }

  td:first-child {
    position: relative;
    padding-left: 78px !important;
  }

  .integration-icon {
    position: absolute;
    top: 15px;
    left: 16px;
    background: @blue-light;
    .square(48px);
    border-radius: 2px;
    color: #fff;

    &:after {
      display: block;
      font-family: "sentry-simple";
      content: "\e622";
      font-size: 24px;
      .square(48px);
      text-align: center;
      line-height: 48px;
    }
  }

  .auto-tag-browsers,
  .auto-tag-device,
  .auto-tag-interface-types,
  .auto-tag-operating-systems,
  .auto-tag-urls {
    .integration-icon {
      background: @orange;

      &:after {
        content: "\e603";
      }
    }
  }

  h5 {
    font-size: 16px;
    margin-bottom: 8px;

    span {
      color: #BABEC2;
    }
  }

  p {
    color: #979BA0;
    margin: 0;
  }

  a {
    color: #979BA0;
  }
}

.event-list {
  border: 1px solid @trim;
  overflow-x: scroll;
  border-radius: 3px;

  .table {
    border: 0;
    margin-bottom: 0;

    h5 {
      margin-bottom: 0;
      font-size: 16px;

      small {
        margin-top: 5px;
        display: block;
        color: @gray;
      }
    }

    th, td {
      white-space: nowrap;
    }

    .table-user-info {
      padding-left: 54px !important;
      position: relative;

      .avatar {
        top: 50%;
        .square(24px);
        margin-top: -12px;
      }

      p {
        margin-bottom: 0;
      }
    }

    time {
      white-space: nowrap;
    }
  }
}
/**
* Avatar
* ============================================================================
*/

.avatar {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  border-radius: 2px;
}

/**
* Loading Indicator
* ============================================================================
*/

.loading {
  margin: 6em auto;
  position: relative;

  .loading-indicator {
    text-indent: -9999em;
    border-top: 6px solid @white-dark;
    border-right: 6px solid @white-dark;
    border-bottom: 6px solid @white-dark;
    border-left: 6px solid @gray-lightest;
    -webkit-animation: loading .5s infinite linear;
    animation: loading .55s infinite linear;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }

  .loading-message {
    margin-top: 20px;
    text-align: center;
  }
}

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

// mini

.loading.mini {
  margin: 4px 0;
  font-size: 13px;

  .loading-indicator {
    margin: 0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border-width: 2px;
    position: absolute;
    left: 0;
    top: 0;
  }

  .loading-message {
    padding-left: 30px;
    margin-top: 1px;
    display: inline-block;
  }
}

.loading.global {
  .loading.mini();
  padding: 20px 30px;
  font-size: 15px;
  z-index: 100000;
  border-radius: 3px;

  position: fixed;
  bottom: 0;
  right: 20px;
  background: rgba(52, 60, 69, .8);
  color: #fff;

  .transition(.2s bottom ease-in-out);

  .loading-indicator {
    border-color: rgba(255,255, 255, .4);
    border-left-color: rgba(255,255, 255, 1);
    top: 20px;
    left: 24px;
  }

  .loading-message {
    padding-left: 24px;
  }

  .loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 60, 69, .4);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    .transition(opacity .1s linear);
  }

  &.active {
    bottom: 20px;
    .loading-mask {
      visibility: visible;
      opacity: 1;
    }
  }
}

// Loading Gif

.loading.triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  margin-top: -200px;
  margin-left: -250px;

  .loading-indicator {
    border: 0;
    animation: none;
    -webkit-animation: none;
    background-image: url(../images/sentry-loader.gif);
    .square(150px);
    background-size: contain;
  }
}

/**
* Auth providers
* ============================================================================
*/

.auth-options {
  .list-unstyled;
  .clearfix;
  margin-bottom: 0;

  li {
    float: left;
    margin: 0 15px 15px 0;
  }

  .auth-btn {
    padding-left: 33px;
    position: relative;

    .auth-icon {
      position: absolute;
      left: 10px;
      top: 10px;
      display: block;
      .square(16px);
      background-size: cover;
    }

    &.auth-github .auth-icon {
      background-image: url(../images/auth-providers/github.ico);
    }

    &.auth-bitbucket .auth-icon {
      background-image: url(../images/auth-providers/bitbucket.ico);
    }

    &.auth-twitter .auth-icon {
      background-image: url(../images/auth-providers/twitter.ico);
    }

    &.auth-google .auth-icon {
      background-image: url(../images/auth-providers/google.ico);
    }

    &.auth-facebook .auth-icon {
      background-image: url(../images/auth-providers/facebook.ico);
    }
  }
}

/**
* User Nav
* ============================================================================
*/

.user-nav {

  .avatar {
    position: absolute;
    .square(36px);
    left: 10px;
    top: 10px;
  }

  .user-name {
    font-weight: 600;
  }

  .user-details {
    padding-left: 45px;

    ul {
      font-size: 12px;
      .list-unstyled();
      margin-top: -2px;

      li {
        float: left;
        margin-right: 10px;

        &:last-child {
          margin: 0;
        }
      }
    }
  }
}

/**
* Search
* ============================================================================
*/

.search {
  form {
    display: block;
    position: relative;
  }

  .icon-search {
    color: lighten(@gray, 15);
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 14px;
  }

  .search-save-search {
    position: absolute;
    right: 34px;
    top: 12px;
    font-size: 12px;
    padding: 1px 5px 0;
    color: lighten(@gray, 10);
    border-radius: 3px;

    &:focus, &:active {
      position: absolute;
      top: 13px;
    }
  }

  .search-input {
    padding: 8px 24px 8px 37px;
    font-size: 14px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.03);
    .transition(none);

    &:focus {
      border-radius: 3px 3px 0 0;
      border-color: darken(@trim, 6);
    }
  }

  .search-toggle {
    color: #8E8E97;
    position: absolute;
    right: 2px;
    top: -1px;
    padding: 10px;
  }

  &.disabled {
    position: relative;

    .search-input {
      border: 1px solid lighten(@trim, 4);
      background: @white-dark;
      color: @gray-light;
    }

    .icon-search {
      color: @gray-light;
    }

    &:after {
      display: block;
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
  }
}

.search-clear-form {
  position: absolute;
  top: 9px;
  right: 10px;
  color: lighten(@gray, 30);

  &:hover {
    color: lighten(@gray, 10);
  }
}

.search-dropdown {
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
  border: 1px solid darken(@trim, 6) !important;
  border-radius: 0 0 4px 4px;
  position: absolute;
  top: 37px;
  right: 0;
  left: 0;
  background: #fff;
  z-index: 100;
  overflow: hidden;

  strong { /* highlight */
    font-weight: normal;
    background: lighten(@yellow, 15);
    color: @gray-dark;
  }

  .nav-tabs {
    border-bottom: 1px solid lighten(@trim, 6);
    margin: 0;
    padding-left: 13px;

    li {
      margin-right: 12px;
    }
  }

  .form-group {
    padding: 10px 0;
    border-top: 1px solid #E9EBEC;
    margin: 0;

    &:first-child {
      border-top: 0;
    }
  }
}

.search-autocomplete-list {
  .list-unstyled();
  margin-bottom: 0;

  li {
    position: relative;
    border-top: 1px solid lighten(@trim, 5);
    padding: 12px 14px 12px 40px;
    cursor: pointer;

    .icon {
      position: absolute;
      left: 9px;
      top: 7px;
      color: lighten(@gray-light, 8);
      font-size: 16px;
      width: 24px;
      line-height: 24px;
      text-align: center;

      &.icon-toggle {
        font-size: 14px;
      }

      &.icon-tag {
        top: 8px;
      }

      &.icon-hash {
        font-size: 20px;
        font-weight: bold;
        top: 5px;
      }
    }

    h4 {
      margin: 0;
      font-size: 14px;
      span {
        font-weight: normal;
      }
    }

    p {
      margin: 2px 0 0;
      font-size: 13px;
      color: @gray-light;
    }

    &:first-child {
      border: 0;
    }

    &:hover, &.active {
      background: @white-dark;
      border-color: @trim;

      & + li {
        border-color: @trim;
      }
    }

    .remove-saved-search {
      margin-top: -5px;
      color: lighten(@gray, 30);
      &:hover {
        color: lighten(@gray, 10);
      }

      .icon-trash {
        position: static;
        font-size: 13px;
        color: inherit;
      }
    }
  }
}

/**
* Project Dropdown
* ============================================================================
*/

.project-select > a {
  font-weight: 600;
  color: @gray-darker;
}

.project-dropdown {
  .dropdown-toggle {
    border: 1px solid @gray-lighter;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
    border-radius: 3px;
    height: 20px;
    width: 21px;
    line-height: 21px;
    // text-align: center;
    position: relative;
    top: -2px;

    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;

    &:hover {
      background: @white-darker;
      border-color: @gray-light;
    }

    .icon-arrow-down {
      position: relative;
      top: 0px;
      left: 2px;
      font-size: 15px !important;
      color: @gray;
    }
  }

  .dropdown-menu {
    min-width: 250px;
    max-width: 500px;
    width: auto;
    padding-bottom: 0;
    left: 0;
    .clearfix;
    overflow: auto;
    max-height: 500px;
    white-space: nowrap;

    &:before {
      left: 11px;
    }

    &:after {
      left: 12px;
    }

    .project-filter {
      padding: 0;
      margin-bottom: -1px;

      input {
        .form-control();
        width: 100%;
        border-radius: 3px 3px 0 0;
        font-size: 15px;
        border: 0;
        border-bottom: 1px solid lighten(@trim, 4);
        margin-top: -5px;
        box-shadow: none;
        padding-left: 15px;

        &:focus {
          border-bottom: 1px solid lighten(@trim, 4);
        }
      }
    }

    li {
      position: relative;
      padding: 0 5px 0 15px;

      &:nth-child(2) {
        margin-top: 5px;
      }

      &:last-child {
        margin-bottom: 5px;
      }

      strong {
        font-weight: normal;
        background: lighten(@yellow, 15);
        color: @gray-dark;
      }

      > a {
        .truncate();
        border-radius: 2px;
        padding: 6px 0 6px 6px;
        border-radius: 0;
        line-height: 1;
        margin-left: -6px;
        border-left: 3px solid transparent;

        &:hover {
          background: transparent;
        }

        &.active, &:active {
          color: @gray-dark;

          &:after {
            display: block;
            content: "";
            position: absolute;
            width: 4px;
            left: 0;
            top: 0;
            bottom: 0;
            background: @blue;
          }
        }
      }
    }
  }

  &.open .dropdown-toggle {
    border-color: darken(@blue, 15);
    background-color: @blue;
    .icon-arrow-down {
      color: #fff;
    }
  }
}

/**
* Charts
* ============================================================================
*/

.team-chart {
  margin-bottom: 30px !important;
}

.chart {
  display: block;
  position: relative;
  height: 100%;
  margin-bottom: 20px;

  > .title {
    font-size: 2em;
    text-transform: uppercase;
    position: absolute;
    left: 1px;
    top: 1px;
    color: #dfe3e9;
    .opacity(70);
    background: #fff;
    padding: 5px 8px;
    line-height: 100%;
  }

  > .legend {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    padding-left: 10px;
    height: 100%;
    text-align: left;
    color: @link-color;
    .legendLabel {
      padding: 0 5px;
    }
  }
}

.bar-chart {
  h6 {
    font-weight: 600;
    margin-bottom: 18px;
  }

  figure {
    .clearfix();
    margin-bottom: 20px;
    position: relative;

    a {
      height: 90px;
      position: relative;
      cursor: default;

      span {
        display: block;
        min-height: 2px;
      }
    }
  }
}

.tag-bar {
  .clearfix();
  position: relative;
  display: block;
  line-height: 2.2;
  color: @gray-dark;
  margin-bottom: 4px;
  padding: 0 6px;

  .tag-bar-background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #f6f7f8;
    border-radius: 2px;
  }

  .tag-bar-label {
    float: left;
    position: relative;
    .truncate;
    max-width: 90%;
  }

  .tag-bar-count {
    float: right;
    position: relative;
  }

}

.sparkline {
  position: relative;

  .max-y,
  .min-y {
    display: none;
  }

  a {
    position: relative;
    float: left;
    height: 20px;
    display: block;
    cursor: default;

    &:hover {
      > span {
        background: @blue;
        border-color: transparent;
      }
    }

    > span {
      display: block;
      position: absolute;
      bottom: 0;
      left: 1px;
      right: 1px;
      min-width: 1px;
      height: 0;
      overflow: hidden;
      text-indent: -9999px;
      text-align: left;
      min-height: 1px;

      #gradient > .vertical(lighten(@gray, 10), @gray);
    }
  }

  .chart-marker {
    display: block;
    position: relative;
    float: left;
    width: 0;

    &:hover {
      > span {
        background-color: gray;
        border-color: #fff;
      }
    }

    &.first-seen > span {
      background: @pink;
      left: -13px;
    }

    &.last-seen > span {
      background: @green;
    }

    > span {
      z-index: 2;
      position: absolute;
      bottom: -5px;
      left: -5px;
      border: 2px solid #fff;
      .square(10px);
      background: gray;
      border-radius: 8px;
    }

    &.first-seen > span {
    }
    &.last-seen > span {
    }
  }
}

// Sparkline grid

.innerColumn(@columnSpan: 1) {
  width: ((@gridColumnWidth) * @columnSpan) + (@gridGutterWidth * (@columnSpan - 1)) - 10;
}

// Distribution graph

.distribution-graph {
  position: relative;
  font-size: 13px;
  margin-bottom: 10px;

  h6 {
    position: relative;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    z-index: 5;

    &:before {
      display: none !important;
    }
  }

  .segment {
    height: 16px;
    display: inline-block;
    color: inherit;

    &:hover {
      background: @blue !important;

      .tag-description {
        display: block;
        z-index: 2;
      }
    }

    .tag-description {
      background-color: @white;
      position: absolute;
      text-align: right;
      top: -1px;
      right: 0;
      line-height: 1;
      display: none;
      z-index: 1;
      width: 100%;
    }

    .tag-percentage {
      margin-right: 6px;
      color: @gray-light;
      display: inline-block;
      vertical-align: middle;
    }

    .tag-label {
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 45%;
      vertical-align: middle;
    }

    &:first-child {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;

      .tag-description {
        display: block !important;
      }
    }

    &:last-child {
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
    }

    &:nth-child(1) {
      background-color: rgba(135, 146, 163, 0.2);
    }

    &:nth-child(2) {
      background-color: rgba(135, 146, 163, 0.4);
    }

    &:nth-child(3) {
      background-color: rgba(135, 146, 163, 0.6);
    }

    &:nth-child(4) {
      background-color: rgba(135, 146, 163, 0.8);
    }
  }
}

/**
* Assignee Selector
* ============================================================================
*/

.assignee-selector {
  height: 24px;

  .btn-group {
    height: 24px;

    &.open {
      .dropdown-toggle {
        color: @gray-dark;
      }
    }
  }

  .icon-arrow-down {
    top: 3px;
    right: -2px;
  }

  .avatar {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    position: relative;
    left: -2px;
    top: -1px;
  }

  .dropdown-toggle {
    color: inherit;

    .avatar + span, .icon-user + span {
      display: none;
    }
  }

  .dropdown-menu {
    left: auto;
    right: -14px !important;
    min-width: 180px;
    padding-top: 0;
    padding-bottom: 3px;
    max-width: 250px;
    top: 30px;
    z-index: 100;
    font-size: 13px;

    .form-control {
      border: 0;
      border: 0;
      border-bottom: 1px solid #E9EBEC;
      background: none;
      box-shadow: none;
      padding-bottom: 8px;
      margin-bottom: 6px;
      border-radius: 0;
      font-size: 13px;

      &:focus {
        box-shadow: none;
      }
    }

    ul {
      .list-unstyled();
      max-height: 180px;
      overflow: auto;
      margin: 0;
    }

    li {
      strong {
        font-weight: normal;
        background: lighten(@yellow, 15);
      }

      a {
        padding: 5px 8px;
        display: block;
        padding-left: 33px;
        position: relative;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;

        img {
          margin-right: 5px;
          position: absolute;
          left: 8px;
          top: 4px;
          .square(20px);
        }
      }
    }
  }

  &.unassigned {
    .icon-user {
      margin-right: 3px;
      position: relative;
      top: 3px;
      font-size: 20px;
    }
  }

  .clear-assignee a {
    background: rgba(52, 60, 69, .03);
    border-bottom: 1px solid rgba(52, 60, 69, .06);
    margin-top: -6px;
    margin-bottom: 2px;
    padding: 4px 0 2px 33px !important;

    .icon-circle-cross {
      font-size: 16px;
      position: absolute;
      left: 10px;
      top: 4px;
      opacity: .3;
    }
  }
}

/**
* Settings modal
* ============================================================================
*/

.settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0, .65);
  z-index: 10000;
  overflow: auto;

  .container {
    max-width: 760px;
  }

  .settings-modal-wrap {
    margin-top: 80px;
    margin-bottom: 30px;
    border-radius: 5px;
    background: #fff;
    z-index: 10000;
  }

  .settings-modal-header {
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 5px 5px 0 0;

    h3 {
      margin: 0;
    }
  }

  .settings-modal-body {
    padding: 20px;
  }

  .settings-modal-footer {
    border-top: 1px solid #E9EBEC;
    padding: 15px 20px;
    text-align: right;
  }
}

// Back Arrow

.back-arrow {
  position: absolute;
  left: -25px;
  top: -4px;

  .icon-arrow-left {
    font-size: 28px !important;
    font-weight: bold;
    color: lighten(@gray, 30);
    .transition(color .2s linear);
  }

  &:hover {
    .icon-arrow-left {
      color: lighten(@gray, 20);
    }
  }

  &:active {
    top: -3px
  }
}

/**
* Box
* ============================================================================
*/

.box {
  background: #fff;
  border: 1px solid @trim;
  border-radius: 3px;
  margin: 0 0 20px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);

  .box-header {
    background: @white-dark;
    color: @gray-darker;
    line-height: 1;
    padding: 0 20px;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid @trim;
    padding-top: 9px;
    padding-bottom: 8px;
    position: relative;
    .clearfix;

    &:hover .permalink {
      display: inline-block;
    }

    .permalink {
      font-size: 10px;
      line-height: 27px;
      display: none;
      position: absolute;
      left: -12px;
      top: 11px;
      bottom: 8px;

      .square(23px);
      background: #fff;
      border-radius: 50%;
      line-height: 25px;
      text-align: center;
      box-shadow: 0 0 0 1px @trim;
    }

    &.box-header-borderless {
      border: 0;
      font-size: 15px;
      border-radius: 3px;

      h3 {
        font-weight: 400;
      }
      .btn {
        padding: 0;
        padding-top: 3px;
      }
    }

    a {
      color: @gray-dark;
      &:hover {
        color: @gray-darker;
      }
    }

    h3, h4, h5 {
      font-size: 14px;
      margin: 0;
      font-weight: 600;
      line-height: inherit;
      padding-top: 6px;
      padding-bottom: 5px;
      max-width: 80%;
      line-height: 1.2;

      small {
        color: @gray-dark;
        font-size: 14px;
      }
    }

    .pull-right {
      a, .btn {
        margin-left: 6px;
      }
    }

    .btn-group {
      float: right;
      position: relative;
    }

    .nav-tabs {
      float: right;
      line-height: inherit;

      li {
        margin: 0 0 0 20px;
        font-weight: 400;

        &.active a {
          font-weight: 600;
          border: 0;
          box-shadow: inset 0 -3px 0 @blue;
        }
      }

      a {
        font-weight: 400;
        padding: 0;
        font-size: 14px;
        line-height: inherit;
      }
    }

    .nav-pills {
      position: relative;
      right: -6px;

      a {
        padding: 2px 8px;
        font-size: 12px;
        border-radius: 4px;
      }

      .active {
        a {
          background: @blue;
        }
      }
    }

    .checkbox {
      margin-top: -4px;
    }
  }

  .box-content {
    &.with-padding {
      padding: 20px 20px 0;
    }

    .form-actions {
      padding-left: 20px;
      padding-right: 20px;
      margin-left: -20px;
      margin-right: -20px;
      margin: 0 -20px 20px;
    }

    h1, h2, h3, h4, h5, h6 {
      color: @gray-darker;
    }
  }

  &.empty {
    padding: 20px;
    text-align: center;
  }

  &.box-mini {
    .box-header {
      padding: 10px;
      line-height: normal;
      height: auto;
      font-size: 14px;
    }
    .with-padding {
      padding: 10px 10px 0;
    }
  }
}

/**
 * Global Messages
 * ============================================================================
 */

 .messages-container {
   .alert {
     color: #fff;
     font-weight: bold;
     background: @yellow-light;
     border: 0;

     .close {
       color: rgba(255,255,255, .5);

       &:hover {
         color: rgba(255,255,255, .8);
       }
     }
   }

   .alert-success {
     background: @green-light;
   }

   .alert-info {
     background: @blue-light;
   }

   .alert-error {
     background: @red;
   }
 }

/**
* Alerts
* ============================================================================
*/

.sub-header + .alert, header + .alert {
  margin-top: -31px;
  position: relative;
  z-index: 2;
  border-radius: 0;
}

.alert {
  background: #FFFDF7;
  color: rgba(0,0,0, .7);
  border: 1px solid #E1D697;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 1px 1px rgba(0,0,0, .05);

  p:last-child {
    margin: 0;
  }

  .icon {
    float: left;
    margin: 3px 8px 0 3px;
    display: block;
    font-size: 15px;
    opacity: .65;
  }

  .icon-sentry-logo {
    display: block;
  }

  .close {
    font-weight: 600;
    position: absolute;
    top: -6px;
    right: 8px;
    box-shadow: none;
    .transition(color .15s);
    color: rgba(0,0,0, .25);
    background: 0;
    border: 0;
    font-size: 22px;
    float: right;

    &:hover {
      box-shadow: none;
      color: rgba(0,0,0, .5);
    }
  }
  a {
    font-weight: 600;
    color: inherit;
  }

  & + .alert {
    box-shadow: inset 0 1px 0 rgba(0,0,0, .15);
  }

  &.alert-block {
    margin-bottom: 20px;
    border-radius: 3px;
  }
}

.alert-error {
  background: #FDF6F5;
  border-color: #E7C0BC;

  .icon:before {
    content: "\e615";
  }
}

.alert-info {
  background: #F5FAFE;
  border-color: #B5D6ED;

  .icon {
    display: none;
  }
}

.alert-success {
  background: #F8FCF7;
  border-color: #BBD6B3;

  .icon:before {
    content: "\e60a";
  }
}

.active-alerts {
  margin: 15px 25px 0;
  padding: 0 5px;
  li.alert {
    margin-bottom: 5px;
  }
}

/**
* Dropdowns
* ============================================================================
*/

.dropdown-menu {
  top: 32px;
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(52, 60, 69, .2), 0 1px 3px rgba(70, 82, 98, .25);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;

  &:after {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    content: "";
    display: block;
    position: absolute;
    top: -8px;
    left: 12px;
    z-index: -1;
  }

  &:before {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid rgba(52, 60, 69, .25);
    content: "";
    display: block;
    position: absolute;
    top: -9px;
    left: 11px;
    z-index: -2;
  }

  &.dropdown-menu-right:after {
    right: 13px;
    left: auto;
  }

  li a {
    .transition(none);
    color: @gray-dark;

    &:hover {
      background: #f7f8f9;
      color: darken(@gray-dark, 10);
    }
  }

  li.active a, li.active a:hover {
    background: @blue;
    color: #fff !important;
  }

  .divider {
    margin: 4px 0;
  }

  .disabled {
    opacity: .4;
    cursor: default;

    &:hover {
      background: #fff;
      color: #7a8188;
    }
  }
}

.anchor-right {
  .dropdown-menu {
    left: auto;
    right: 0;

    &:after {
      left: auto;
      right: 12px;
    }

    &:before { // top caret
      left: auto;
      right: 11px;
    }
  }
}

/**
* Navs
* ============================================================================
*/

.nav {
  margin-bottom: 20px;

  .open > a, .open > a:hover, .open > a:active {
    background: none;
  }
}

.nav-pills > li.active > a {
  background-color: @blue;
}

.nav-small {
  &.nav-pills > li > a {
    padding: 5px 8px;
    font-size: 12px;
  }
}

/**
* Nav stacked
* ============================================================================
*/

.nav-header {
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 12px;
  color: @gray-light;
  letter-spacing: 0.1px;

  .btn-xs {
    font-size: 11px;
    line-height: 14px;
    padding: 0 5px;
    margin-left: 5px;
  }
}

.nav-stacked li  {
  margin-bottom: 6px;

  > a {
    font-size: 16px;
    line-height: 1.5;
    padding: 0;
    margin: 4px 0;
    display: block;
    border: 0;
    background: none;
    color: @gray-dark;
    position: relative;

    &:hover, &:active, &:focus {
      background: none;
      color: @gray-darkest;
    }
  }

  &.active {
    a, a:hover, a:focus {
      border: 0;
      background: none;
      color: rgba(52, 60, 69, 1);
      font-weight: 600;

      &:after {
        position: absolute;
        display: block;
        content: "";
        top: 2px;
        bottom: 3px;
        left: -15px;
        width: 4px;
        background: @blue;
      }
    }
  }
}

/**
* Nav tabs
* ============================================================================
*/

.nav-tabs {
  border-bottom: 0;
  margin: 0 0 20px;

  > li {
    margin-right: 20px;

    > li.pull-right {
      float: right;
    }

    > a {
      font-size: 16px;
      padding: 0 0 10px;
      border: 0;
      background: none;
      color: @gray;
      min-width: 30px;
      text-align: center;

      &:hover, &:active, &:focus {
        background: none;
        color: @gray-darker;
      }
    }

    .dropdown-menu {
      border-radius: 3px;
    }

    &.active {
      a, a:hover, a:focus {
        border: 0;
        border-bottom: 4px solid @blue;
        background: none;
        color: @gray-darkest;
        font-weight: 400;
      }
    }
  }

  > li.markdown {
    float: right;
    color: @gray;
    margin-right: 0;

    > .icon-markdown {
      font-size: 20px;
    }

    > .supported {
      // The text doesn't quit line up with the icon, so we
      // manually fudge this to make it look better.
      position: relative;
      top: -4px;
      left: 5px;
    }
  }

  &.border-bottom {
    border-bottom: 1px solid lighten(@trim, 2);
  }
}

.nav-tabs-xs {
  a {
    font-size: 13px !important;
    padding: 6px 0 5px !important;
  }
}

.text-tabs {
  a {
    font-size: 20px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  li {
    padding-left: 17px;
    margin-right: 15px;
    position: relative;

    &:before {
      display: block;
      content: "";
      position: absolute;
      top: 1px;
      left: 0;
      height: 18px;
      width: 1px;
      background: @trim;
    }

    &:first-child {
      padding: 0 !important;
      &:before {
        display: none;
      }
    }
  }

  li.active a, li.active a:hover, li.active a:focus, li.active a:active {
    border: 0;
  }
}

/**
 * List-group
 * ============================================================================
 */

 .list-group {
   font-size: 14px;
   border-radius: 3px;
   border: 1px solid @trim;
   margin-bottom: 15px;

   .list-group-item {
     color: @gray-dark;
     padding: 5px 15px;
     border: 0;
     border-top: 1px solid lighten(@trim, 5);
     border-radius: 0;
     margin: 0;
     background: none;

     &.list-group-header {
       border-top: 0;

       .pull-right {
         color: @gray;
         position: relative;
         top: 1px;
         right: -2px;

         &:hover {
           color: @gray-dark;
         }
       }
     }

     &.active {
       background: @blue;
       color: #fff;
       font-weight: 600;
       box-shadow: inset 0 0 0 1px darken(@blue, 15);
       border: 0 !important;
       margin-left: -1px;
       margin-right: -1px;
     }
   }
 }

/**
* Project nav
* ============================================================================
*/

.badge {
  background: @gray;
  color: #fff;
  font-size: 75%;
  font-weight: 600;
  .square(20px);
  padding: 0 5px;
  min-width: 20px;
  width: auto;
  border-radius: 20px;
  line-height: 20px;
  text-align: center;
  display: inline-block;
  position: relative;
  top: -1px;
  margin-left: 4px;
  .transition(.1s background linear);

  &.new {
    background: @red;
  }

  &.badge-soft {
    color: @gray;
    top: 0;
    line-height: 18px;
    border: 1px solid @gray-lighter;
    background: inherit;
  }
}

/**
* Project nav
* ============================================================================
*/

.nav.project-nav {
  display: none;
  margin: -10px 0 30px;
  border-radius: 3px 3px 0 0;

  .icon-settings {
    position: relative;
    top: 1px;
    margin-right: 2px;
    opacity: .45;
  }
}

/**
* Datepicker
* ============================================================================
*/

.datepicker-modal {
  .modal-dialog {
    margin-top: -200px;
  }
}

.datepicker-box {
  h6 {
    margin-bottom: 15px;
  }

  .datepicker-wrapper {
    width: 57%;
    float: left;

    .datepicker__input {
      box-shadow: inset 0 1px 1px rgba(70, 82, 98, 0.04);
      height: auto;
      border: 1px solid darken(@trim, 4);
      padding: 8px 12px 7px;
      position: relative;
      border-radius: 2px;

      .placeholder(lighten(@gray, 28));

      &:focus {
        box-shadow: none;
        border-color: darken(@trim, 10);
      }
      display: block;
      line-height: 1.4 !important;
      padding-right: 4px !important;
      padding-left: 8px !important;
      width: 100%;
    }
  }

  .form-control {
    display: inline-block;
    line-height: 1.2 !important;
    padding-right: 4px !important;
    padding-left: 8px !important;

    &.time {
      margin-left: 2%;
      width: 41%;
    }
  }
}

ul.radio-inputs {
  .list-unstyled;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;

  li.radio {
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 0;
    display: inline-block;
    font-weight: normal;

    label {
      padding-left: 25px;

      input {
        margin-left: -25px;
        margin-top: 4px;
        vertical-align: middle;
      }

      .help-block {
        margin-bottom: 0;
      }
    }
  }
}

/**
* Modal
* ============================================================================
*/

.modal-open #blk_router {
  -webkit-filter: ~"blur(3px) grayscale(25%)";
}

.modal-backdrop {
  background-color: @gray-dark;
}

.modal-container {
  position: relative;
}
.modal-container .modal, .modal-container .modal-backdrop {
  position: absolute;
}

.modal {
  .close {
    background: none;
    border: 0;
    padding: 0;
    font-size: 24px;
    position: absolute;
    top: 14px;
    right: 15px;
    z-index: 100;
    color: lighten(@gray, 20);
    .transition(color .1s linear);

    &:hover {
      color: @gray;
    }
  }
  .modal-content {
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 0;
    overflow: hidden;
  }

  .modal-header {
    background: rgba(249, 250, 251, 0.8);
    border-bottom: 1px solid lighten(@trim, 5);
    border-radius: 5px 5px 0 0;
    padding: 15px 20px;
    margin: -20px -20px 20px;

    h4 {
      font-size: 16px;
      font-weight: 600;
    }

    .close {
      margin-top: 1px;
    }
  }

  .modal-body {
    padding: 0 0 15px;
    font-size: 15px;

    p:last-child {
      margin-bottom: 0;
    }
  }

  .modal-footer {
    padding: 15px 20px;
    border-top: 1px solid lighten(@trim, 8);
    margin: 5px -20px -20px;
  }

  .nav-stacked {
    margin-bottom: 0;

    li {
      a {
        .transition(none);
        &:hover {
          color: #fff;
          background: @blue;
        }
      }
    }
  }
}

// Modal Small

.modal-sm {
  width: 400px;
}

.welcome-modal {
  background: rgba(52, 60, 69, 0.5);

  @slideWidth: 720px;
  @slideCount: 4;

  .dot-nav {
    .clearfix();
    margin: 8px 0 0;
    padding: 0;

    li {
      .list-unstyled();
      display: inline-block;

      a {
        text-indent: -9999em;
        display: block;
        .square(9px);
        border: 1px solid lighten(@gray, 35);
        border-radius: 12px;
        margin: 0 2px;
        overflow: hidden;
      }

      &.active {
        a {
          border-color: @gray;
          background: @gray;
        }
      }
    }
  }

  .modal-body {
    margin: 0 -20px;
  }

  .modal-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: 0 -1px 0 rgba(52, 60, 69, 0.1);
    padding: 21px 100px;
    background: #fff;
    margin-bottom: 0;
  }

  .prev, .next {
    border-radius: 24px;
    .square(34px);
    padding: 0;
    line-height: 37px;
    text-align: center;

    span {
      font-size: 18px !important;
      position: relative;
    }
  }

  .prev span {
    left: -1px;
  }

  .next span {
    left: 1px;
  }

  .welcome-slides {
    width: @slideWidth * @slideCount;
    .transition(margin-left .4s ease-in-out);
  }

  .slide {
    width: @slideWidth;
    float: left;

    h1, h2, h3 {
      color: @gray-dark;
      line-height: 1.2;
    }

    h1 {
      font-size: 34px;
    }

    p {
      font-size: 18px;
      line-height: 1.4;
    }

    .screenshot {
      background-size: contain;
      box-shadow: inset 0 0 0 1px rgba(52, 60, 69, 0.2), 0 1px 2px rgba(52, 60, 69, 0.1);
      border-radius: 2px;
    }
  }

  .slide-1 {
    padding: 35px 0;
    text-align: center;

    .screenshot {
      width: 600px;
      height: 348px;
      margin: 30px auto 0;
      background-image: url(https://s3.amazonaws.com/f.cl.ly/items/261Y0m3B2W3V0F2I2b1w/Screen%20Shot%202015-04-20%20at%205.04.01%20PM.png);
    }

    &.active {

    }
  }

  .slide-2 {
    padding: 45px;

    h3 {
      margin-top: 45px;
    }

    .screenshot, .loupe {
      background-image: url(http://cl.ly/image/0G0S2R07000L/Screen%20Shot%202015-04-20%20at%206.02.20%20PM.png);
    }

    .screenshot {
      margin-top: -15px;
      position: relative;
      right: -25px;
      background-size: cover;
      width: 400px;
      height: 375px;
    }

    .loupe {
      position: absolute;
      top: -10px;
      left: -28px;
      width: 170px;
      height: 170px;
      background-position: -112px -143px;
      border-radius: 190px;
      box-shadow: inset 0 0 0 1px rgba(52, 60, 69, 0.3), 0 1px 2px rgba(52, 60, 69, 0.2), inset 0 0 60px rgba(255, 255,255, 1), inset 0 0 20px rgba(255, 255,255, 1), inset 0 0 40px rgba(255, 255,255, 1), inset 0 0 40px rgba(255, 255,255, 1);
      background-size: 540% 540%;
    }
  }

  .slide-3 {
    padding: 45px;
    position: relative;
    height: 423px;

    h3 {
      margin-top: 55px;
    }

    .chat-column, .row {
      position: static;
    }

    .chat {
      .list-unstyled();
      position: relative;
      top: -90px;

      .chat-message {
        position: relative;
        padding-left: 54px;
        margin-bottom: 24px;

        h5 {
          line-height: 1.2;
          font-weight: 600;
          font-size: 15px;
          margin: 0 0 4px;

          time {
            font-weight: 400;
            text-transform: uppercase;
          }
        }
      }

      blockquote {
        font-size: 13px;
        margin-top: 10px;
        padding: 0 0 0 15px;
        border-left: 4px solid @orange;
      }

      .chat-avatar {
        position: absolute;
        left: 0;
        top: 0;
        background: #f1f2f3 url(https://avatars3.githubusercontent.com/u/1396951?v=3);
        background-size: cover;
        .square(40px);
        border-radius: 3px;

        img {
          max-width: 100%;
          border-radius: 3px;
        }
      }
    }
    .mask {
      position: absolute;
      top: -20px;
      left: 0;
      right: 100px;
      height: 100px;
      #gradient > .vertical(rgba(255,255,255, 1), rgba(255,255,255, 0));
    }
  }

  .slide-4 {
    padding: 45px;

    h3 {
      padding-top: 35px;
    }
  }
}

/**
* Well
* ============================================================================
*/

.well {
  border: 1px solid @trim;
  box-shadow: none;
  background: @white-dark;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 3px;

  &.important {
    background: @yellow;
    border: 0;
    a, a:active {
      color: @gray-dark;
    }
  }
}

.blankslate {
  text-align: center;
  padding: 50px 0;
}

/**
* Popovers
* ============================================================================
*/

.popover {
  width: auto;
  min-width: 236px;
  max-width: 600px;
}

.popover * {
  font-size: 11px;
  line-height: 14px;
  margin-top: 0;
  margin-bottom: 0;
}
.popover-title {
  font-size: 10px;
  background: @blue;
  color: #fff;
}

.popover-title,
.popover-content {
  padding: 4px 10px;
}

#flotTip {
  background-color: @tooltip-bg;
  border-radius: @border-radius-base;
  max-width: 200px;
  padding: 8px;
  color: @tooltip-color;
}

/**
* Tag List
* ============================================================================
*/

ul.tag-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;

  li {
    margin-bottom: 5px;
    position: relative;

    .progressbar {
      padding: 5px 0;
    }

    &:nth-child(even) {
      background: #f9f9f9;
    }

    span {
      position: absolute;
      right: 10px;
    }
  }
}

/**
* Mini tag list
* ============================================================================
*/

.mini-tag-list {
  .clearfix();
  .list-unstyled();
  margin: -10px 0 5px;

  > li {
    float: left;
    background: #fff;
    border-radius: 3px;
    margin: 0 20px 5px 0;

    span:nth-child(2) {
      color: #aaa;
    }

    a {
      word-break: break-all;
    }
  }
}

/**
* Integration list
* ============================================================================
*/

.integration-list {
  .clearfix();
  .list-unstyled();
  margin-bottom: 18px;

  li {
    display: inline-block;
    margin-bottom: 2px;
    button {
      width: 150px;
      text-align: center;
      font-size: 12px;
      color: darken(#e4e8ed, 30%);
      letter-spacing: 0.1px;
      font-weight: 600;
      text-transform: uppercase;
      border: 1px solid #eee;
      background: inherit;
      border-radius: 4px;
      padding: 10px;
      display: block;

      &:hover {
        border-color: #ccc;
      }
    }
  }
}

/**
* Client platform list
* ============================================================================
*/

.client-platform-list {
  .list-unstyled;
  .clearfix;

  li {
    float: left;
    margin: 0 10px 10px 0;
    background: lighten(@gray, 20);
    .square(100px);
    border-radius: 4px;
    text-align: center;
    position: relative;
    color: #fff;

    a {
      color: inherit;
      opacity: .85;
      .transition(opacity .1s);
      font-weight: 600;

      &:hover {
        opacity: 1;
      }

      &:after {
        display: block;
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
      }
    }
  }

  .platformicon {
    display: block;
    .square(48px);
    font-size: 48px;
    margin: 15px auto 2px;
  }

  // Colors

  li {
    &.python {
      background: darken(@blue, 6);
    }

    &.javascript {
      background: @yellow;
      color: #111;
    }

    &.ruby,
    &.rails {
      background: @red;
    }

    &.java {
      background: @orange;
    }

    &.php {
      background: @purple;
    }

    &.python-django {
      background: @green;
    }

    &.node {
      background: #90C541;
    }

    &.objc {
      background: @gray;
    }

    &.app-engine {
      background: @orange;
    }

    &.csharp {
      background: @blue-light;
    }

    &.go {
      border: 2px solid @gray;
      color: @gray-dark;
      background: #fff;
    }
  }
}

/**
 * Error level colors
 * ============================================================================
 */

 .error-level {
   background: @gray-light;
 }

 &.level-info .error-level {
   background: @blue;
 }
 &.level-warning .error-level {
   background: @yellow;
 }
 &.level-error .error-level {
   background: @orange;
 }
 &.level-fatal .error-level {
   background: @red;
 }

/**
* Responsive small screens
* ============================================================================
*/

@media(max-width:767px) {

}

/**
* Responsive (Tablet)
* ============================================================================
*/

@media (min-width: 768px) {
  .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -300px;
    margin-top: -91px;

    &.modal-sm {
      top: 50%;
      margin-left: -200px;
      margin-top: -155px;
    }
  }

  .welcome-modal .modal-dialog {
    width: 720px;
    margin-top: -300px;
    margin-left: -360px;

    .modal-content {
      height: 500px;
    }
  }
}