@import "../../../causeway/utilities/variables.less";
.font-size(@size) {
  @remSize: @size/10;
  font-size: ~"@{size}px";
  font-size: ~"@{remSize}rem";
}

h3 {
  color: #6C97E4;
  font-weight: bold;
}

h4 {
  color: #6C97E4;
  font-weight: bold;
}

.icon-list {
  overflow: hidden;

  li {
    display: block;
    float: left;
    height: 120px;
    list-style-type: none;
    margin-bottom: 7px;
    margin-right: 7px;
    text-align: center;
    width: 120px;
    padding: 10px;
    border: 1px solid #cecece;
    &:hover {
      color: #fff;
      background: rgb(51, 51, 51);
    }
  }

  .glyphicon {
    display: block;
    .font-size(35);
    margin-bottom: 10px;
  }
}

table tbody .form-group {
  width: 100%;
  margin: 0;
}

.example-dropdowns {
  .last-column {
    width: 150px;
  }
}

.dynamic-styles {
  height: 100%;
  overflow: hidden;

  span {
    color: #58595B;
    display: block;
    float: right;
    height: 100%;
    line-height: 34px;
    margin-right: 20px;
    vertical-align: middle;
  }
}

.bs-example-modal .modal {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}

:target {
  padding-top: 80px;
  display: block;
  margin-top: -80px;
}

.jumbotron {
  background-color: @black080;
  margin: -30px -20px 20px -20px;
  border-radius: 0;
  color: @white;
  text-align: center;
  h1 {
    font-family: 'Roboto Thin';
  }
  .container & {
    border-radius: 0;
  }
  a {
    color: @white;
    &:hover {
      color: @white;
      text-decoration: none;
    }
  }
  .btn-lg {
    padding: 10px 16px;
    .font-size(18);
  }
}

//code
pre {
  border-radius: 0;
  background-color: @black005;
  .font-size(14);
  color: #c7254e;
  code {

  }
}

//Table form elements
td {
  .control-input {
    width: 70%;
  }
}

//index page
#release-notes {
  min-width: 600px;
  max-width: 1280px;
  min-height: 300px;
  margin: 0 auto;
  overflow-y: auto;
  h3, h4 {
    font-family: Arial, sans-serif;
  }
  h3.title {
    display: inline-block;
    margin: 0 10px 0 0;
    span {
      .font-size(12);
      font-weight: bold;
      color: rgba(0, 0, 0, .8);
    }
  }
  h4 {
    margin-bottom: 5px;
  }
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    &.features {
      color: @green;
    }
    &.fixes {
      color: @red;
    }
  }
}

.release-wrapper {
  border-bottom: 1px dotted @black020;
  padding: 20px;
  position: relative;
  .glyphicon {
    .font-size(20);
    position: absolute;
    right: 20px;
    top: 22px;
    cursor: pointer;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
}

.release-content {
  margin-top: 20px;
}

.version-details {
  ul {
    list-style-position: inside;
    li {
      line-height: 2;
    }
  }
}

#colors {
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    width: 25%;
    @media @tablet {
      width: 50%;
    }
  }
  li {
    padding: 0 20px;
    margin-bottom: 15px;
    .color-description {
      display: block;
      .font-size(14);
      width: 100%;
    }
    .color-swatch {
      display: inline-block;
      width: 150px;
      height: 30px;
      vertical-align: middle;
    }
    .color-value {
      display: inline-block;
      vertical-align: middle;
      .font-size(14);
      padding-left: 10px;
    }
    &.color-white {
      .color-swatch {
        border: 1px solid @black010;
      }
    }
  }
}

//Fixed Table Headers
//Define height of table-content
.fixed-header1,
.fixed-header2 {
  .table-content {
    height: 250px;
  }
}

//Condense form
#condense-form {
  margin: 20px 0;
}