Vertical align on empty label

Vertical align on empty label

Please check this: http://www.codeply.com/go/nLQVaMkRGE

//
// Checkboxes
// --------------------------------------------------

@font-family-icon: 'FontAwesome';

.checkbox-variant(@parent, @color) {
  .@{parent} input[type="checkbox"]:checked + label {
    &::before {
      background-color: @color;
      border-color: @color;
    }
    &::after {
      color: #fff;
    }
  }
}

.checkbox{
  padding-left: 20px;

  label{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;

    &::before{
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid @input-border;
      border-radius: 3px;
      background-color: #fff;
      .transition(~"border 0.15s ease-in-out, color 0.15s ease-in-out");
    }

    &::after{
      display: inline-block;
      position: absolute;
      width: 16px;
      height: 16px;
      left: 0;
      top: 0;
      margin-left: -20px;
      padding-left: 3px;
      padding-top: 1px;
      font-size: 11px;
      color: @input-color;
    }
  }

  input[type="checkbox"]{
    opacity: 0;
    z-index: 1;

    &:focus + label::before{
      .tab-focus();
    }

    &:checked + label::after{
      font-family: @font-family-icon;
      content: @fa-var-check;
    }

    &:disabled + label{
      opacity: 0.65;

      &::before{
        background-color: @input-bg-disabled;
        cursor: not-allowed;
      }
    }

  }

  &.checkbox-circle label::before{
    border-radius: 50%;
  }

  &.checkbox-single label{
    height: 17px;
  }

  &.checkbox-inline{
    margin-top: 0;
  }
}

.checkbox-variant(checkbox-primary, @brand-primary);
.checkbox-variant(checkbox-danger, @brand-danger);
.checkbox-variant(checkbox-info, @brand-info);
.checkbox-variant(checkbox-warning, @brand-warning);
.checkbox-variant(checkbox-success, @brand-success);

//
// Radios
// --------------------------------------------------

.radio-variant(@parent, @color) {
  .@{parent} input[type="radio"]{
    & + label{
      &::after{
        background-color: @color;
      }
    }
    &:checked + label{
      &::before {
        border-color: @color;
      }
      &::after{
        background-color: @color;
      }
    }
  }
}

.radio{
  padding-left: 20px;

  label{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;

    &::before{
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid @input-border;
      border-radius: 50%;
      background-color: #fff;
      .transition(border 0.15s ease-in-out);
    }

    &::after{
      display: inline-block;
      position: absolute;
      content: " ";
      width: 11px;
      height: 11px;
      left: 3px;
      top: 3px;
      margin-left: -20px;
      border-radius: 50%;
      background-color: @input-color;
      .scale(0, 0);

      .transition-transform(.1s cubic-bezier(.8,-0.33,.2,1.33));
      //curve - http://cubic-bezier.com/#.8,-0.33,.2,1.33
    }
  }

  input[type="radio"]{
    opacity: 0;
    z-index: 1;

    &:focus + label::before{
      .tab-focus();
    }

    &:checked + label::after{
      .scale(1, 1);
    }

    &:disabled + label{
      opacity: 0.65;

      &::before{
        cursor: not-allowed;
      }
    }

  }

  &.radio-inline{
    margin-top: 0;
  }

  &.radio-single label{
    height: 17px;
  }
}

.radio-variant(radio-primary, @brand-primary);
.radio-variant(radio-danger, @brand-danger);
.radio-variant(radio-info, @brand-info);
.radio-variant(radio-warning, @brand-warning);
.radio-variant(radio-success, @brand-success);

//
// Checkboxes
// --------------------------------------------------

@font-family-icon: 'FontAwesome';

.checkbox-variant(@parent, @color) {
  .@{parent} input[type="checkbox"]:checked + label {
    &::before {
      background-color: @color;
      border-color: @color;
    }
    &::after {
      color: #fff;
    }
  }
}

.checkbox{
  padding-left: 20px;

  label{
    display: inline-block;
    position: relative;
    padding-left: 5px;

    &::before{
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid @input-border;
      border-radius: 3px;
      background-color: #fff;
      .transition(~"border 0.15s ease-in-out, color 0.15s ease-in-out");
    }

    &::after{
      display: inline-block;
      position: absolute;
      width: 16px;
      height: 16px;
      left: 0;
      top: 0;
      margin-left: -20px;
      padding-left: 3px;
      padding-top: 1px;
      font-size: 11px;
      color: @input-color;
    }
  }

  input[type="checkbox"]{
    opacity: 0;
    z-index: 1;

    &:focus + label::before{
      .tab-focus();
    }

    &:checked + label::after{
      font-family: @font-family-icon;
      content: @fa-var-check;
    }

    &:disabled + label{
      opacity: 0.65;

      &::before{
        background-color: @input-bg-disabled;
        cursor: not-allowed;
      }
    }

  }

  &.checkbox-circle label::before{
    border-radius: 50%;
  }

  &.checkbox-single label{
    height: 17px;
  }

  &.checkbox-inline{
    margin-top: 0;
  }
}

.checkbox-variant(checkbox-primary, @brand-primary);
.checkbox-variant(checkbox-danger, @brand-danger);
.checkbox-variant(checkbox-info, @brand-info);
.checkbox-variant(checkbox-warning, @brand-warning);
.checkbox-variant(checkbox-success, @brand-success);

//
// Radios
// --------------------------------------------------

.radio-variant(@parent, @color) {
  .@{parent} input[type="radio"]{
    & + label{
      &::after{
        background-color: @color;
      }
    }
    &:checked + label{
      &::before {
        border-color: @color;
      }
      &::after{
        background-color: @color;
      }
    }
  }
}

.radio{
  padding-left: 20px;

  label{
    display: inline-block;
    position: relative;
    padding-left: 5px;

    &::before{
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      left: 0;
      margin-left: -20px;
      border: 1px solid @input-border;
      border-radius: 50%;
      background-color: #fff;
      .transition(border 0.15s ease-in-out);
    }

    &::after{
      display: inline-block;
      position: absolute;
      content: " ";
      width: 11px;
      height: 11px;
      left: 3px;
      top: 3px;
      margin-left: -20px;
      border-radius: 50%;
      background-color: @input-color;
      .scale(0, 0);

      .transition-transform(.1s cubic-bezier(.8,-0.33,.2,1.33));
      //curve - http://cubic-bezier.com/#.8,-0.33,.2,1.33
    }
  }

  input[type="radio"]{
    opacity: 0;
    z-index: 1;

    &:focus + label::before{
      .tab-focus();
    }

    &:checked + label::after{
      .scale(1, 1);
    }

    &:disabled + label{
      opacity: 0.65;

      &::before{
        cursor: not-allowed;
      }
    }

  }

  &.radio-inline{
    margin-top: 0;
  }

  &.radio-single label{
    height: 17px;
  }
}

.radio-variant(radio-primary, @brand-primary);
.radio-variant(radio-danger, @brand-danger);
.radio-variant(radio-info, @brand-info);
.radio-variant(radio-warning, @brand-warning);
.radio-variant(radio-success, @brand-success);


Remove not required styles

Remove not required styles

/* === Lists === */
@listBlockBorderColor: #c8c7cc;
@listBlockBg: #fff;
@dividerBg: #F7F7F7;
@dividerColor: #8e8e93;
.list-block {
    margin: 35px 0;
    font-size: 17px;
    ul {
        background: @listBlockBg;
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid @listBlockBorderColor;
        border-bottom: 1px solid @listBlockBorderColor;
        position: relative;
        ul {
            border-top: none;
            border-bottom: none;
            padding-left: 45px;
        }
    }

    .align-top, .align-top .item-content, .align-top .item-inner {
        .align-items(flex-start);
    }

    .inset() {
        margin-left: 15px;
        margin-right: 15px;
        border-radius: 7px;
        .content-block-title {
            margin-left: 0;
            margin-right: 0;
        }
        ul {
            border-radius: 7px;
            border-top: none;
            border-bottom: none;
        }
        li:first-child > a{
            border-radius: 7px 7px 0 0;
        }
        li:last-child > a{
            border-radius: 0 0 7px 7px;
        }
        li:first-child:last-child > a {
            border-radius: 7px;
        }
    }
    &.inset {
        .inset()
    }
    &.tablet-inset {
        @media all and (min-width:768px) {
            .inset();
        }
    }

    // List items
    li {
        .border-box();
        position: relative;
    }

    .item-media {
        .flexbox();
        .flex-shrink(0);
        .flex-wrap(nowrap);
        .border-box();
        .align-items(center);
        padding-top: 7px;
        padding-bottom: 8px;
        i + i {
            margin-left: 5px;
        }
        i + img {
            margin-left: 5px;
        }
    }
    .item-media + .item-inner {
        margin-left: 15px;
    }
    .item-inner {
        padding-right: 15px;
        border-bottom: 1px solid @listBlockBorderColor;
        width: 100%;
        padding-top: 8px;
        padding-bottom: 7px;
        min-height: 44px;
        .border-box();
        .flexbox();
        -webkit-box-flex:1;
        -ms-flex:1;
        .justify-content(space-between);
        .align-items(center);
    }
    .item-title {
        .flex-shrink(1);
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;

        &.label {
            width: 35%;
            .flex-shrink(0);
        }
    }
    .item-input {
        width: 100%;
        margin-top: -8px;
        margin-bottom: -7px;
        -webkit-box-flex:1;
        -ms-flex:1;
        .flex-shrink(1);
    }
    .item-after {
        white-space: nowrap;
        color: #8e8e93;
        .flex-shrink(0);
        margin-left: 5px;
        .flexbox();
        max-height: 28px;
    }
    .smart-select .item-after {
        max-width: 70%;
        overflow: hidden;
        text-overflow:ellipsis;
        position: relative;
    }
    .item-link {
        .transition(300ms);
        display: block;
        color: inherit;

        .item-inner {
            padding-right: 35px;
            background: no-repeat -webkit-calc(~"100% - 15px") center;
            background: no-repeat calc(~"100% - 15px") center;
            background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
            background-size: 10px 20px;
        }
        html:not(.watch-active-state) &:active, &.active-state {
            .transition(0ms);
            background-color: #d9d9d9;
            .item-inner {
                border-bottom-color: transparent;
            }
        }
        &.list-button {
            padding: 0 15px;
            text-align: center;
            color: @blue;
            display: block;
            border-bottom: 1px solid @listBlockBorderColor;
            line-height: 43px;
        }
    }
    .item-content {
        .border-box();
        padding-left: 15px;
        min-height: 44px;
        .flexbox();
        .justify-content(space-between);
        .align-items(center);
    }
    // Label after List block
    .list-block-label {
        margin: 10px 0 35px;
        padding: 0 15px;
        font-size: 14px;
        color: #8f8f94;
    }

    // Swipe outs
    .swipeout {
        overflow: hidden;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    .swipeout.deleting {
        .transition(300ms);
        .swipeout-content {
            .transform(translateX(-100%));
        }
    }
    .swipeout.transitioning {
        .swipeout-content, .swipeout-actions-right a, .swipeout-actions-left a, .swipeout-overswipe {
            -webkit-transition: 300ms;
            transition: 300ms;
        }
    }
    .swipeout-content {
        position: relative;
        z-index: 10;
    }
    .swipeout-overswipe {
        -webkit-transition: 200ms left;
        transition: 200ms left;
    }
    .swipeout-actions-left, .swipeout-actions-right {
        position: absolute;
        top: 0;
        height: 100%;
        .flexbox();
        a {
            padding: 0 30px;
            color:#fff;
            background: #c7c7cc;
            .flexbox();
            .align-items(center);
            position: relative;
            left: 0;
            &:after {
                content:'';
                position: absolute;
                top: 0;
                width: 600%;
                height: 100%;
                background: inherit;
                z-index: -1;
            }
        }
        a.swipeout-delete {
            background: @red;
        }
    }
    .swipeout-actions-right {
        right: 0%;
        .transform(translateX(100%));
        a:after {
            left: 100%;
            margin-left: -1px;
        }
    }
    .swipeout-actions-left {
        left: 0%;
        .transform(translateX(-100%));
        a:after {
            right: 100%;
            margin-right: -1px;
        }
    }
    .item-subtitle {
        font-size: 15px;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        max-width: 100%;
        text-overflow:ellipsis;
    }
    .item-text {
        font-size: 15px;
        color: #8e8e93;
        line-height: 21px;
        position: relative;
        overflow: hidden;
        height: 42px;
        text-overflow:ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
    &.media-list, li.media-item {
        .item-title {
            font-weight: 500;
        }
        .item-inner {
            display: block;
            padding-top: 10px;
            padding-bottom: 9px;
            .align-self(stretch);
        }
        .item-link .item-inner {
            background: none;
            padding-right: 15px;
        }
        .item-link .item-title-row {
            padding-right: 20px;
            background: no-repeat right center;
            background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
            background-size: 10px 20px;
        }
        .item-media {
            padding-top: 9px;
            padding-bottom: 10px;
            img {
                display: block;
            }
        }
        .item-title-row {
            .flexbox();
            .justify-content(space-between);
        }
    }
    .list-group:nth-child(n+2) {
        ul {
            border-top: none;
        }
    }
    .item-divider, .list-group-title {
        background: @dividerBg;
        border-top: 1px solid @listBlockBorderColor;
        margin-top: -1px;
        padding: 4px 15px;
        white-space: nowrap;
        position: relative;
        max-width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        color: @dividerColor;
    }
    .list-group-title {
        position: relative;
        position: -webkit-sticky;
        position: -moz-sticky;
        position: sticky;
        top: 0px;
        z-index: 10;
        margin-top: 0;
        border-top: none;
    }

    // Sortable
    .sortable-handler {
        position: absolute;
        right: 0;
        top: 0;
        height: ~"-webkit-calc(100% - 1px)";
        height: ~"calc(100% - 1px)";
        z-index: 10;
        background-repeat: no-repeat;
        background-size: 18px 12px;
        background-position: center;
        width: 35px;
        background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='%23c7c7cc'><path d='M0,2V0h22v2H0z'/><path d='M0,7V5h22v2H0z'/><path d='M0,12v-2h22v2H0z'/></svg>");
        opacity: 0;
        visibility: hidden;
        cursor: pointer;
        .transition(300ms);
    }
    &.sortable {
        .item-inner {
            .transition(300ms);
        }
    }
    &.sortable-opened {
        .sortable-handler {
            visibility: visible;
            opacity: 1;
        }
        .item-inner, .item-link .item-inner {
            padding-right: 35px;
        }
        .item-link .item-inner, .item-link .item-title-row {
            background-image: none;
        }
    }
    &.sortable-sorting {
        li {
            .transition(300ms);
        }
    }
    li.sorting {
        z-index: 50;
        background: rgba(255,255,255,0.8);
        box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
        .transition(0ms);
        .item-inner {
            border-bottom: none;
        }
    }

    // Last-childs
    li {
        &:last-child {
            .list-button {
                border-bottom: none;
            }
        }
        &:last-child, &:last-child li:last-child {
            .item-inner {
                border-bottom: none;
            }
        }
        li:last-child, &:last-child li {
            .item-inner {
                border-bottom: 1px solid @listBlockBorderColor;
            }
        }
    }
}
html.retina.ios-gt-7 {
    .list-block {
        ul {
            border-top-width: 0.5px;
            border-bottom-width: 0.5px;
        }
        li:not(:last-child) {
            .item-inner{
                border-bottom-width: 0.5px;
            }
        }
    }
    .item-divider {
        border-top-width: 0.5px;
        margin-top: -0.5px;
    }
    .item-link.list-button {
        border-bottom-width: 0.5px;
    }
}

/* === Lists === */
@listBlockBorderColor: #c8c7cc;
@listBlockBg: #fff;
@dividerBg: #F7F7F7;
@dividerColor: #8e8e93;
.list-block {
    margin: 35px 0;
    font-size: 17px;
    ul {
        background: @listBlockBg;
        list-style: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid @listBlockBorderColor;
        border-bottom: 1px solid @listBlockBorderColor;
        position: relative;
        ul {
            border-top: none;
            border-bottom: none;
            padding-left: 45px;
        }
    }
    &.virtual-list {
        li {
            position: absolute;
            width: 100%;
        }
    }

    .align-top, .align-top .item-content, .align-top .item-inner {
        .align-items(flex-start);
    }

    .inset() {
        margin-left: 15px;
        margin-right: 15px;
        border-radius: 7px;
        .content-block-title {
            margin-left: 0;
            margin-right: 0;
        }
        ul {
            border-radius: 7px;
            border-top: none;
            border-bottom: none;
        }
        li:first-child > a{
            border-radius: 7px 7px 0 0;
        }
        li:last-child > a{
            border-radius: 0 0 7px 7px;
        }
        li:first-child:last-child > a {
            border-radius: 7px;
        }
    }
    &.inset {
        .inset()
    }
    &.tablet-inset {
        @media all and (min-width:768px) {
            .inset();
        }
    }

    // List items
    li {
        .border-box();
        position: relative;
    }

    .item-media {
        .flexbox();
        .flex-shrink(0);
        .flex-wrap(nowrap);
        .border-box();
        .align-items(center);
        padding-top: 7px;
        padding-bottom: 8px;
        i + i {
            margin-left: 5px;
        }
        i + img {
            margin-left: 5px;
        }
    }
    .item-media + .item-inner {
        margin-left: 15px;
    }
    .item-inner {
        padding-right: 15px;
        border-bottom: 1px solid @listBlockBorderColor;
        width: 100%;
        padding-top: 8px;
        padding-bottom: 7px;
        min-height: 44px;
        .border-box();
        .flexbox();
        -webkit-box-flex:1;
        -ms-flex:1;
        .justify-content(space-between);
        .align-items(center);
    }
    .item-title {
        .flex-shrink(1);
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;

        &.label {
            width: 35%;
            .flex-shrink(0);
        }
    }
    .item-input {
        width: 100%;
        margin-top: -8px;
        margin-bottom: -7px;
        -webkit-box-flex:1;
        -ms-flex:1;
        .flex-shrink(1);
    }
    .item-after {
        white-space: nowrap;
        color: #8e8e93;
        .flex-shrink(0);
        margin-left: 5px;
        .flexbox();
        max-height: 28px;
    }
    .smart-select .item-after {
        max-width: 70%;
        overflow: hidden;
        text-overflow:ellipsis;
        position: relative;
    }
    .item-link {
        .transition(300ms);
        display: block;
        color: inherit;

        .item-inner {
            padding-right: 35px;
            background: no-repeat -webkit-calc(~"100% - 15px") center;
            background: no-repeat calc(~"100% - 15px") center;
            background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
            background-size: 10px 20px;
        }
        html:not(.watch-active-state) &:active, &.active-state {
            .transition(0ms);
            background-color: #d9d9d9;
            .item-inner {
                border-bottom-color: transparent;
            }
        }
        &.list-button {
            padding: 0 15px;
            text-align: center;
            color: @blue;
            display: block;
            border-bottom: 1px solid @listBlockBorderColor;
            line-height: 43px;
        }
    }
    .item-content {
        .border-box();
        padding-left: 15px;
        min-height: 44px;
        .flexbox();
        .justify-content(space-between);
        .align-items(center);
    }
    // Label after List block
    .list-block-label {
        margin: 10px 0 35px;
        padding: 0 15px;
        font-size: 14px;
        color: #8f8f94;
    }

    // Swipe outs
    .swipeout {
        overflow: hidden;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    .swipeout.deleting {
        .transition(300ms);
        .swipeout-content {
            .transform(translateX(-100%));
        }
    }
    .swipeout.transitioning {
        .swipeout-content, .swipeout-actions-right a, .swipeout-actions-left a, .swipeout-overswipe {
            -webkit-transition: 300ms;
            transition: 300ms;
        }
    }
    .swipeout-content {
        position: relative;
        z-index: 10;
    }
    .swipeout-overswipe {
        -webkit-transition: 200ms left;
        transition: 200ms left;
    }
    .swipeout-actions-left, .swipeout-actions-right {
        position: absolute;
        top: 0;
        height: 100%;
        .flexbox();
        a {
            padding: 0 30px;
            color:#fff;
            background: #c7c7cc;
            .flexbox();
            .align-items(center);
            position: relative;
            left: 0;
            &:after {
                content:'';
                position: absolute;
                top: 0;
                width: 600%;
                height: 100%;
                background: inherit;
                z-index: -1;
            }
        }
        a.swipeout-delete {
            background: @red;
        }
    }
    .swipeout-actions-right {
        right: 0%;
        .transform(translateX(100%));
        a:after {
            left: 100%;
            margin-left: -1px;
        }
    }
    .swipeout-actions-left {
        left: 0%;
        .transform(translateX(-100%));
        a:after {
            right: 100%;
            margin-right: -1px;
        }
    }
    .item-subtitle {
        font-size: 15px;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
        max-width: 100%;
        text-overflow:ellipsis;
    }
    .item-text {
        font-size: 15px;
        color: #8e8e93;
        line-height: 21px;
        position: relative;
        overflow: hidden;
        height: 42px;
        text-overflow:ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
    &.media-list, li.media-item {
        .item-title {
            font-weight: 500;
        }
        .item-inner {
            display: block;
            padding-top: 10px;
            padding-bottom: 9px;
            .align-self(stretch);
        }
        .item-link .item-inner {
            background: none;
            padding-right: 15px;
        }
        .item-link .item-title-row {
            padding-right: 20px;
            background: no-repeat right center;
            background-image: url("data:image/svg+xml;charset=utf-8,<svg viewBox='0 0 60 120' xmlns='http://www.w3.org/2000/svg'><path d='m60 61.5-38.25 38.25-9.75-9.75 29.25-28.5-29.25-28.5 9.75-9.75z' fill='%23c7c7cc'/></svg>");
            background-size: 10px 20px;
        }
        .item-media {
            padding-top: 9px;
            padding-bottom: 10px;
            img {
                display: block;
            }
        }
        .item-title-row {
            .flexbox();
            .justify-content(space-between);
        }
    }
    .list-group:nth-child(n+2) {
        ul {
            border-top: none;
        }
    }
    .item-divider, .list-group-title {
        background: @dividerBg;
        border-top: 1px solid @listBlockBorderColor;
        margin-top: -1px;
        padding: 4px 15px;
        white-space: nowrap;
        position: relative;
        max-width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        color: @dividerColor;
    }
    .list-group-title {
        position: relative;
        position: -webkit-sticky;
        position: -moz-sticky;
        position: sticky;
        top: 0px;
        z-index: 10;
        margin-top: 0;
        border-top: none;
    }

    // Sortable
    .sortable-handler {
        position: absolute;
        right: 0;
        top: 0;
        height: ~"-webkit-calc(100% - 1px)";
        height: ~"calc(100% - 1px)";
        z-index: 10;
        background-repeat: no-repeat;
        background-size: 18px 12px;
        background-position: center;
        width: 35px;
        background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='%23c7c7cc'><path d='M0,2V0h22v2H0z'/><path d='M0,7V5h22v2H0z'/><path d='M0,12v-2h22v2H0z'/></svg>");
        opacity: 0;
        visibility: hidden;
        cursor: pointer;
        .transition(300ms);
    }
    &.sortable {
        .item-inner {
            .transition(300ms);
        }
    }
    &.sortable-opened {
        .sortable-handler {
            visibility: visible;
            opacity: 1;
        }
        .item-inner, .item-link .item-inner {
            padding-right: 35px;
        }
        .item-link .item-inner, .item-link .item-title-row {
            background-image: none;
        }
    }
    &.sortable-sorting {
        li {
            .transition(300ms);
        }
    }
    li.sorting {
        z-index: 50;
        background: rgba(255,255,255,0.8);
        box-shadow: 0px 2px 8px rgba(0,0,0,0.6);
        .transition(0ms);
        .item-inner {
            border-bottom: none;
        }
    }

    // Last-childs
    li {
        &:last-child {
            .list-button {
                border-bottom: none;
            }
        }
        &:last-child, &:last-child li:last-child {
            .item-inner {
                border-bottom: none;
            }
        }
        li:last-child, &:last-child li {
            .item-inner {
                border-bottom: 1px solid @listBlockBorderColor;
            }
        }
    }
}
html.retina.ios-gt-7 {
    .list-block {
        ul {
            border-top-width: 0.5px;
            border-bottom-width: 0.5px;
        }
        li:not(:last-child) {
            .item-inner{
                border-bottom-width: 0.5px;
            }
        }
    }
    .item-divider {
        border-top-width: 0.5px;
        margin-top: -0.5px;
    }
    .item-link.list-button {
        border-bottom-width: 0.5px;
    }
}


Add hyphens support for headings

Add hyphens support for headings

fatal: unable to access 'https://github.com/sszuflita/almace-scaffolding.git/': The requested URL returned error: 403


Update heading on mobile device

Update heading on mobile device

// Global variables
@space: 70px;
@wrapper-width: 750px;
@base-font-size: 24px;
@base-line-height: 1.7;
@link-color: #e34; // #2ed for invert color
@background-color: #fff;
@text-color: #000;
@sans-serif: "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
@serif: Georgia, "Hiragino Mincho ProN", serif;

// Transition mixin
.transition(@transition) {
  -webkit-transition: @transition;
          transition: @transition;
}

// Invert color switcher for images and videos
// :root { -webkit-filter: invert(100%); }

.heading {
  font-family: @sans-serif;
  font-size: (@base-font-size * 10/3);
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  letter-spacing: -.06em;
}

.sub-heading {
  font-family: @sans-serif;
  font-size: (@base-font-size / 2);
  font-weight: normal;
  line-height: (@base-line-height * .9);
  letter-spacing: .45em;
  color: fade(@text-color, 20%);
  text-transform: uppercase;
}

// http://nicolasgallagher.com/micro-clearfix-hack/
//
// For modern browsers
// 1. The use of `table` rather than `block` is only necessary if using `:before` to contain the top-margins of child elements.
// 2. The original space content hack is removed here. No need to support Opera on my personal site.
.cf {

  &:before, &:after {
    display: table; // 1
    content: ""; // 2
  }

  &:after {
    clear: both;
  }
}

// Basic reset
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  font-size: 100%;
  line-height: 1;
  box-sizing: border-box;
}

body {
  padding: 0 8% (@space * 1.5);
  margin: 0 auto 0;
  font-family: @serif;
  font-size: @base-font-size;
  line-height: @base-line-height;
  color: @text-color;
  text-rendering: optimizelegibility;
  background: @background-color;
  image-rendering: optimizequality;

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 8px;
    pointer-events: none;
    background: fade(@text-color, 2%);
    border-bottom: 1px solid fade(@text-color, 2%);
    content: "";
  }
}

// Global fixed width wrapper
.wrapper {
  max-width: 810px;
  margin: 0 auto;
}

a, button {

  &:link, &:visited {
    color: @text-color;
    text-decoration: none;
    .transition(~"color .5s ease, border-color .5s ease, background-color .5s ease, opacity 1.5s ease");

    &:focus, &:hover {
      color: @link-color;
      .transition(~"color .1s ease, border-color .1s ease, background-color .1s ease, opacity .1s ease");
    }
  }
}

img, hr {
  border: 0;
}

del {
  text-decoration: line-through;
}

::selection {
  color: @link-color;
  background: fade(@text-color, 2%);
}

// Main site logo
.logo {
  display: block;
  width: 0;
  height: 0;
  margin: -36px 0 (@space / 5);
  text-indent: -9999em;
  border-color: transparent;
  border-bottom-color: @text-color;
  border-style: solid;
  border-width: 0 26px 45px 26px;

  &:hover {
    border-bottom-color: @link-color;
  }
}

// Global navigations font styles
nav {
  .sub-heading;
}

// Main navigation
.navigation { // nav.navigation
  margin: 0 0 (@space * 1.5);
  margin-left: -1.1em;
  .cf;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: 3px 1.2em;
      font-weight: bold;
    }
  }
}

// Currently activated page or category a post it belongs to
.current { // li.current
  a {
    color: @link-color;
  }
}

// Titles wrapper
.wrapper {

  article { // Define them into .wrapper > article to avoid overriding site main header

    header {
      padding-bottom: (@space * 1.35);

      h1 {
        margin: 0 0 .1em;
        .heading;

        // Override margin from article img
        img {
          margin-bottom: (@base-font-size * .6);
        }
      }

      small {
        display: block;
        .sub-heading;
      }

      // Used on work page
      & + .txt > :first-child {
        margin-top: 0;
      }
    }
  }
}

// Animate latest work link
.latest {
  .transition(color .3s ease);
}

:root:hover .latest {
  color: @link-color !important;
}

// Pserson status
.status { // h2.status

  a {

    &:before {
      @size: 9px;
      display: inline-block;
      width: @size;
      height: @size;
      margin-right: @size;
      background: fade(@text-color, 20%);
      border-radius: 50%;
      content: "";
    }
  }
}

.available {

  a {
    color: @text-color;

    &:hover {
      color: fade(green, 80%);
    }

    &:before {
      background: fade(green, 60%);
    }
  }
}
.unavailable {

  a {
    color: fade(@text-color, 50%);

    &:hover {
      color: fade(red, 60%);
    }

    &:before {
      background: fade(red, 20%);
    }
  }
}

// Article wrapper
article {
  max-width: @wrapper-width;
  margin-bottom: (@space * 1.35);
  .cf; // For some specified posts in work category

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 40px;
  }
}

// Basic staff inside article .txt
.txt {
  overflow: hidden;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;

  a {
    border-bottom: 1px dotted fade(@text-color, 30%); // Set larger value for invert color
  }

  p {
    margin: 0 0 1.1em;
    line-height: @base-line-height;
  }

  h3 {
    margin: @space 0 1.6em;
    .sub-heading;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: @base-line-height;
    }
  }

  ol {
    margin-left: 1.75em;
  }

  blockquote {
    position: relative;
    padding-left: (@space * .75);
    font-style: italic;
    .cf;

    &:before {
      position: absolute;
      top: -16px;
      left: -8px;
      z-index: -1;
      font-family: @sans-serif;
      font-size: 120px;
      font-style: normal;
      color: fade(@text-color, 70%);
      pointer-events: none;
      content: "\201c"; // http://www.fileformat.info/info/unicode/char/201c/index.htm
    }

    cite {
      float: right;
      margin: 0 0 2em;
      font-size: 85%;
      color: fade(@text-color, 80%);

      &:before {
        content: "\2500\2500\00a0" // http://www.fileformat.info/info/unicode/char/2500/index.htm
      }
    }
  }

  sup {
    font-size: 75%;
  }

  hr {
    margin: @space 0 1.6em;
    .sub-heading;

    &:before {
      content: attr(data-placeholder);
    }
  }

  abbr:after {
    content: " (" attr(title) ")";
  }

  code, pre {
    font-family: Menlo, monospace;
    color: #68a;
  }

  // Newsletter subscription form in page "store"
  form {

    label {
      display: block;
      margin-bottom: (@space * .1);
      .sub-heading;
    }

    input {
      display: block;
      width: 100%;
      padding: 7px;
      margin: 0 0 (@space * .2);
      .sub-heading;
      border: 1px solid fade(@text-color, 20%);
      border-radius: 0; // Remove border-radius for ios devices
      outline: none;
      -webkit-appearance: none; // Remove ios pre-defined style

      &:focus {
        border-color: @text-color;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@link-color, 5%);
        border-color: @link-color;
        box-shadow: none; // Override Firefox default styles
      }
    }
  }

  // Remove extra space for the last element in the container
  & > :last-child {
    margin-bottom: 0;

    & > :last-child {
      margin-bottom: 0;

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

// Posts with Chinese characters
[lang=zh] {
  text-align: justify; // Workaround solution for post with chinese
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: @space;
}

// Button styles
.btn {
  display: inline-block;
  padding: 6px 20px;
  .sub-heading;
  cursor: pointer;
  background: @text-color;
  outline: none;

  // Redefine overrides here to pass recess syntax check
  &:link, &:visited {
    color: @background-color;

    &:focus, &:hover {
      color: @background-color;
      background: @link-color;
    }
  }
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 20px;
  margin: 0 0 40px !important;
  background: rgba(0, 0, 0, .05);
  border-radius: 5px 5px 0 0;

  &:before {
    position: absolute;
    top: 6px;
    left: 8px;
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, .15);
    border-radius: 50%;
    content: "";
  }

  img {
    margin: 0;
    box-shadow: rgba(0, 0, 0, .05) 0 -1px 0 0;
  }
}

// Special paragraph with an icon
.note, .store, .download {
  @iconSize: 40px;
  padding-left: (@iconSize * 1.25);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: @iconSize @iconSize;
}

.note     { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M27,0H4v40h32V9L27,0z M31,35H9V5h15l7,7V35z'/></svg>"); }
.store    { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M20,0C8.954,0,0,8.954,0,20s8.954,20,20,20s20-8.954,20-20S31.046,0,20,0z M5,20c0-7.806,5.964-14.214,13.583-14.929 v3.574c-3.852,0.757-6.083,3.24-6.083,6.407c0,3.492,2.627,5.292,6.479,6.588c2.664,0.899,3.816,1.764,3.816,3.131 c0,1.44-1.404,2.232-3.456,2.232c-2.34,0-4.463-0.756-5.975-1.584l-1.08,4.211c1.368,0.792,3.708,1.44,6.119,1.548v3.734 C10.87,34.115,5,27.744,5,20z M21.931,34.862v-3.936c4.14-0.72,6.407-3.455,6.407-6.659c0-3.239-1.729-5.219-6.012-6.73 c-3.059-1.152-4.319-1.908-4.319-3.096c0-1.008,0.756-2.016,3.095-2.016c2.592,0,4.247,0.827,5.184,1.224l1.044-4.067 c-1.188-0.576-2.808-1.08-5.22-1.188V5.166C29.393,6.194,35,12.434,35,20C35,27.629,29.301,33.912,21.931,34.862z'/></svg>"); }
.download { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M29.982,5.825c-0.469,0-0.922,0.074-1.375,0.142C26.867,2.87,23.65,0.808,20,0.808c-3.729,0-6.948,2.093-8.661,5.14 c-0.439-0.059-0.875-0.122-1.321-0.122C4.513,5.825,0,10.468,0,16c0,5.533,4.495,10,10,10h7v6h-5l8,8l8-8h-5v-6h7 c5.508,0,10-4.467,10-10C40,10.469,35.489,5.825,29.982,5.825z M30,21H10c-2.751,0-5-2.398-5-5.167c0-2.749,2.124-5.09,5.051-5.09 c1.73-0.001,2.464,0.587,3.394,1.203c0-1.807,2.229-6.122,6.555-6.122c2.496,0,3.952,2.242,4.441,2.735 c-1.945,1.957-2.845,4.457-2.412,7.752h0.691c0.573-2.291,2.455-5.557,7.279-5.557c2.749,0,5,2.311,5,5.078 C35,18.602,32.749,21,30,21z'/></svg>"); }

// Reference notes and links in post
.reflist {
  font-size: .9em;
  font-style: italic;
}

.cite, .ref {
  border-bottom: none !important;

  &:target {
    color: @link-color;
    text-shadow: 0 2px 15px @link-color;
  }
}

// Post list in "work" and "note"
.list { // ul.list
  list-style: none;

  li {
    margin: 0 0 (@space * .2);

    h2 {
      .heading;

      time {
        font-size: (@base-font-size * 1.5);
        color: fade(@text-color, 30%);
        opacity: 0;
        .transition(opacity .5s ease);
      }

      time + a {
        line-height: 0; // An infinite symbol next to the post date, need line-height: 0 to make vertical-align work
        vertical-align: 3px;
      }

      span {
        display: inline-block;
        width: .5em;
        text-align: center;
      }
    }

    h2 {
      font-size: (@base-font-size * 2);
    }

    .txt {
      margin: (@space / 5) 0 @space;
    }

    &:hover,
    &:focus {

      h2 {

        time {
          opacity: 1;
          .transition(opacity .1s ease);
        }
      }
    }
  }

  &:last-child {

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

footer {
  .sub-heading;

  & {
    font-size: (@base-font-size / 2 - 1px);
  }
}

// FlexSlider Necessary Styles
.flexslider {

  // Slides
  ul {
    margin: 0;
    list-style: none;
  }

  li {
    display: none;
    cursor: pointer;
    -webkit-backface-visibility: hidden; // Hide the slides before the JS is loaded, this avoids image flashing

    &:first-child {
      display: block; // Display the first image when scripts are not ready
    }

    .flex-caption {
      margin: -30px 0 30px;
      .sub-heading;
    }
  }
}

// FlexSlider - No JavaScript fallback
.no-js .flexslider ul li:first-child { display: block; }

// Media query stack
@media (max-width: 640px) {
  body {
    padding-left: 4%;
    padding-right: 4%;
    font-size: (@base-font-size * 0.8);
  }

  .wrapper {

    article {

      header {

        h1 {
          font-size: (@base-font-size * 2.4);
        }
      }
    }
  }

  .list {

    li {

      h2 {
        font-size: (@base-font-size * 1.5);

        time {
          opacity: 1;
          font-size: (@base-font-size * 1.2);
        }
      }
    }
  }
}

@media (max-width: 480px) {
  .navigation li {
    display: block;

    a {
      display: block;
      padding-top: 1em;
      padding-bottom: 1em;
    }
  }
}

// All iOS devices, the easiest way
@media (max-device-width: 480px), (max-device-width: 1024px) {
  .wrapper {
    -webkit-text-size-adjust: none;
  }
}

// Global variables
@space: 70px;
@wrapper-width: 750px;
@base-font-size: 24px;
@base-line-height: 1.7;
@link-color: #e34; // #2ed for invert color
@background-color: #fff;
@text-color: #000;
@sans-serif: "Helvetica Neue", Arial, "Hiragino Sans GB", sans-serif;
@serif: Georgia, "Hiragino Mincho ProN", serif;

// Transition mixin
.transition(@transition) {
  -webkit-transition: @transition;
          transition: @transition;
}

// Invert color switcher for images and videos
// :root { -webkit-filter: invert(100%); }

.heading {
  font-family: @sans-serif;
  font-size: (@base-font-size * 10/3);
  -webkit-font-smoothing: antialiased;
  font-weight: bold;
  letter-spacing: -.06em;
}

.sub-heading {
  font-family: @sans-serif;
  font-size: (@base-font-size / 2);
  font-weight: normal;
  line-height: (@base-line-height * .9);
  letter-spacing: .45em;
  color: fade(@text-color, 20%);
  text-transform: uppercase;
}

// http://nicolasgallagher.com/micro-clearfix-hack/
//
// For modern browsers
// 1. The use of `table` rather than `block` is only necessary if using `:before` to contain the top-margins of child elements.
// 2. The original space content hack is removed here. No need to support Opera on my personal site.
.cf {

  &:before, &:after {
    display: table; // 1
    content: ""; // 2
  }

  &:after {
    clear: both;
  }
}

// Basic reset
*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  font-size: 100%;
  line-height: 1;
  box-sizing: border-box;
}

body {
  padding: 0 8%  (@space * 1.5);
  margin: 0 auto 0;
  font-family: @serif;
  font-size: @base-font-size;
  line-height: @base-line-height;
  color: @text-color;
  text-rendering: optimizelegibility;
  background: @background-color;
  image-rendering: optimizequality;

  // A semitranslucent bar at the top of the page
  &:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 8px;
    pointer-events: none;
    background: fade(@text-color, 2%);
    border-bottom: 1px solid fade(@text-color, 2%);
    content: "";
  }
}

// Global fixed width wrapper
.wrapper {
  max-width: 810px;
  margin: 0 auto;
}

a, button {

  &:link, &:visited {
    color: @text-color;
    text-decoration: none;
    .transition(~"color .5s ease, border-color .5s ease, background-color .5s ease, opacity 1.5s ease");

    &:focus, &:hover {
      color: @link-color;
      .transition(~"color .1s ease, border-color .1s ease, background-color .1s ease, opacity .1s ease");
    }
  }
}

img, hr {
  border: 0;
}

del {
  text-decoration: line-through;
}

::selection {
  color: @link-color;
  background: fade(@text-color, 2%);
}

// Main site logo
.logo {
  display: block;
  width: 0;
  height: 0;
  margin: -36px 0 (@space / 5);
  text-indent: -9999em;
  border-color: transparent;
  border-bottom-color: @text-color;
  border-style: solid;
  border-width: 0 26px 45px 26px;

  &:hover {
    border-bottom-color: @link-color;
  }
}

// Global navigations font styles
nav {
  .sub-heading;
}

// Main navigation
.navigation { // nav.navigation
  margin: 0 0 (@space * 1.5);
  margin-left: -1.1em;
  .cf;

  li {
    display: inline-block;
    line-height: 2;
    list-style: none;

    a {
      padding: 3px 1.2em;
      font-weight: bold;
    }
  }
}

// Currently activated page or category a post it belongs to
.current { // li.current
  a {
    color: @link-color;
  }
}

// Titles wrapper
.wrapper {

  article { // Define them into .wrapper > article to avoid overriding site main header

    header {
      padding-bottom: (@space * 1.35);

      h1 {
        margin: 0 0 .1em;
        .heading;

        // Override margin from article img
        img {
          margin-bottom: (@base-font-size * .6);
        }
      }

      small {
        display: block;
        .sub-heading;
      }

      // Used on work page
      & + .txt > :first-child {
        margin-top: 0;
      }
    }
  }
}

// Animate latest work link
.latest{
  .transition(color .3s ease);
}

:root:hover .latest {
  color: @link-color !important;
}

// Pserson status
.status { // h2.status

  a {

    &:before {
      @size: 9px;
      display: inline-block;
      width: @size;
      height: @size;
      margin-right: @size;
      background: fade(@text-color, 20%);
      border-radius: 50%;
      content: "";
    }
  }
}

.available {

  a {
    color: @text-color;

    &:hover {
      color: fade(green, 80%);
    }

    &:before {
      background: fade(green, 60%);
    }
  }
}
.unavailable {

  a {
    color: fade(@text-color, 50%);

    &:hover {
      color: fade(red, 60%);
    }

    &:before {
      background: fade(red, 20%);
    }
  }
}

// Article wrapper
article {
  max-width: @wrapper-width;
  margin-bottom: (@space * 1.35);
  .cf; // For some specified posts in work category

  img, video, iframe {
    display: block;
    max-width: 100%;
    margin: 0 0 40px;
  }
}

// Basic staff inside article .txt
.txt {
  overflow: hidden;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto;

  a {
    border-bottom: 1px dotted fade(@text-color, 30%); // Set larger value for invert color
  }

  p {
    margin: 0 0 1.1em;
    line-height: @base-line-height;
  }

  h3 {
    margin: @space 0 1.6em;
    .sub-heading;
  }

  ul, ol {
    margin: 0 0 1em 1.5em;

    li {
      line-height: @base-line-height;
    }
  }

  ol {
    margin-left: 1.75em;
  }

  blockquote {
    position: relative;
    padding-left: (@space * .75);
    font-style: italic;
    .cf;

    &:before {
      position: absolute;
      top: -16px;
      left: -8px;
      z-index: -1;
      font-family: @sans-serif;
      font-size: 120px;
      font-style: normal;
      color: fade(@text-color, 70%);
      pointer-events: none;
      content: "\201c"; // http://www.fileformat.info/info/unicode/char/201c/index.htm
    }

    cite {
      float: right;
      margin: 0 0 2em;
      font-size: 85%;
      color: fade(@text-color, 80%);

      &:before {
        content: "\2500\2500\00a0" // http://www.fileformat.info/info/unicode/char/2500/index.htm
      }
    }
  }

  sup {
    font-size: 75%;
  }

  hr {
    margin: @space 0 1.6em;
    .sub-heading;

    &:before {
      content: attr(data-placeholder);
    }
  }

  abbr:after {
    content: " (" attr(title) ")";
  }

  code, pre {
    font-family: Menlo, monospace;
    color: #68a;
  }

  // Newsletter subscription form in page "store"
  form {

    label {
      display: block;
      margin-bottom: (@space * .1);
      .sub-heading;
    }

    input {
      display: block;
      width: 100%;
      padding: 7px;
      margin: 0 0 (@space * .2);
      .sub-heading;
      border: 1px solid fade(@text-color, 20%);
      border-radius: 0; // Remove border-radius for ios devices
      outline: none;
      -webkit-appearance: none; // Remove ios pre-defined style

      &:focus {
        border-color: @text-color;
      }
    }
  }

  // Rest form validation styles, borrowed from Bootstrap
  input, textarea, select {

    &:focus:required:invalid {

      &:focus {
        background: fade(@link-color, 5%);
        border-color: @link-color;
        box-shadow: none; // Override Firefox default styles
      }
    }
  }

  // Remove extra space for the last element in the container
  & > :last-child {
    margin-bottom: 0;

    & > :last-child {
      margin-bottom: 0;

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

// Posts with Chinese characters
[lang=zh] {
  text-align: justify; // Workaround solution for post with chinese
}

// Fix empty space when a paragraph starts with some asian punctuation marks
.margin-fix:first-letter {
  margin-left: -.6em;
}

// Tweet button margin fix
.tweet {
  margin-top: @space;
}

// Button styles
.btn {
  display: inline-block;
  padding: 6px 20px;
  .sub-heading;
  cursor: pointer;
  background: @text-color;
  outline: none;

  // Redefine overrides here to pass recess syntax check
  &:link, &:visited {
    color: @background-color;

    &:focus, &:hover {
      color: @background-color;
      background: @link-color;
    }
  }
}

// Broser frame for images in category "work"
.browser {
  position: relative;
  padding-top: 20px;
  margin: 0 0 40px !important;
  background: rgba(0, 0, 0, .05);
  border-radius: 5px 5px 0 0;

  &:before {
    position: absolute;
    top: 6px;
    left: 8px;
    display: block;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, .15);
    border-radius: 50%;
    content: "";
  }

  img {
    margin: 0;
    box-shadow: rgba(0, 0, 0, .05) 0 -1px 0 0;
  }
}

// Special paragraph with an icon
.note, .store, .download {
  @iconSize: 40px;
  padding-left: (@iconSize * 1.25);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: @iconSize @iconSize;
}

.note     { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M27,0H4v40h32V9L27,0z M31,35H9V5h15l7,7V35z'/></svg>"); }
.store    { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M20,0C8.954,0,0,8.954,0,20s8.954,20,20,20s20-8.954,20-20S31.046,0,20,0z M5,20c0-7.806,5.964-14.214,13.583-14.929 v3.574c-3.852,0.757-6.083,3.24-6.083,6.407c0,3.492,2.627,5.292,6.479,6.588c2.664,0.899,3.816,1.764,3.816,3.131 c0,1.44-1.404,2.232-3.456,2.232c-2.34,0-4.463-0.756-5.975-1.584l-1.08,4.211c1.368,0.792,3.708,1.44,6.119,1.548v3.734 C10.87,34.115,5,27.744,5,20z M21.931,34.862v-3.936c4.14-0.72,6.407-3.455,6.407-6.659c0-3.239-1.729-5.219-6.012-6.73 c-3.059-1.152-4.319-1.908-4.319-3.096c0-1.008,0.756-2.016,3.095-2.016c2.592,0,4.247,0.827,5.184,1.224l1.044-4.067 c-1.188-0.576-2.808-1.08-5.22-1.188V5.166C29.393,6.194,35,12.434,35,20C35,27.629,29.301,33.912,21.931,34.862z'/></svg>"); }
.download { background-image: url("data:image/svg+xml,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M29.982,5.825c-0.469,0-0.922,0.074-1.375,0.142C26.867,2.87,23.65,0.808,20,0.808c-3.729,0-6.948,2.093-8.661,5.14 c-0.439-0.059-0.875-0.122-1.321-0.122C4.513,5.825,0,10.468,0,16c0,5.533,4.495,10,10,10h7v6h-5l8,8l8-8h-5v-6h7 c5.508,0,10-4.467,10-10C40,10.469,35.489,5.825,29.982,5.825z M30,21H10c-2.751,0-5-2.398-5-5.167c0-2.749,2.124-5.09,5.051-5.09 c1.73-0.001,2.464,0.587,3.394,1.203c0-1.807,2.229-6.122,6.555-6.122c2.496,0,3.952,2.242,4.441,2.735 c-1.945,1.957-2.845,4.457-2.412,7.752h0.691c0.573-2.291,2.455-5.557,7.279-5.557c2.749,0,5,2.311,5,5.078 C35,18.602,32.749,21,30,21z'/></svg>"); }

// Reference notes and links in post
.reflist {
  font-size: .9em;
  font-style: italic;
}

.cite, .ref {
  border-bottom: none !important;

  &:target {
    color: @link-color;
    text-shadow: 0 2px 15px @link-color;
  }
}

// Post list in "work" and "note"
.list { // ul.list
  list-style: none;

  li {
    margin: 0 0 (@space * .2);

    h2 {
      .heading;

      time {
        font-size: (@base-font-size * 1.5);
        color: fade(@text-color, 30%);
        opacity: 0;
        .transition(opacity .5s ease);
      }

      time + a {
        line-height: 0; // An infinite symbol next to the post date, need line-height: 0 to make vertical-align work
        vertical-align: 3px;
      }

      span {
        display: inline-block;
        width: .5em;
        text-align: center;
      }
    }

    h2 {
      font-size: (@base-font-size * 2);
    }

    .txt {
      margin: (@space / 5) 0 @space;
    }

    &:hover,
    &:focus {

      h2 {

        time {
          opacity: 1;
          .transition(opacity .1s ease);
        }
      }
    }
  }

  &:last-child {

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

footer {
  .sub-heading;

  & {
    font-size: (@base-font-size / 2 - 1px);
  }
}

// FlexSlider Necessary Styles
.flexslider {

  // Slides
  ul {
    margin: 0;
    list-style: none;
  }

  li {
    display: none;
    cursor: pointer;
    -webkit-backface-visibility: hidden; // Hide the slides before the JS is loaded, this avoids image flashing

    &:first-child {
      display: block; // Display the first image when scripts are not ready
    }

    .flex-caption {
      margin: -30px 0 30px;
      .sub-heading;
    }
  }
}

// FlexSlider - No JavaScript fallback
.no-js .flexslider ul li:first-child { display: block; }

// Media query stack
@media (max-width: 640px) {
  body {
    font-size: (@base-font-size * 0.8);
  }
}

@media (max-width: 480px) {
  .navigation li {
    display: block;

    a {
      display: block;
      padding-top: 1em;
      padding-bottom: 1em;
    }
  }
}

// All iOS devices, the easiest way
@media (max-device-width: 480px), (max-device-width: 1024px) {
  .wrapper {
    -webkit-text-size-adjust: none;
  }
}


removed prefabs user import

removed prefabs user import

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/dedalozzo/pit-bootstrap.git/'


add 'filter' fallback

add 'filter' fallback

/*################################*\
    xmeter  |  __tool.fallback.filter.less
\*################################*/

// Applies a graphical filter effects on an element.
// See `https://developer.mozilla.org/en-US/docs/Web/CSS/filter`
//
// ^params
// @filter - the CSS filter effect(s). If more than one, they must be space-separated.
// ^author
// : Chris Harvey
// ^updated
// : 2016-04-05
.filter(@filter) {
  -webkit-filter: @filter;
     -moz-filter: @filter;
      -ms-filter: @filter;
       -o-filter: @filter;
          filter: @filter;
}

error: pathspec 'src/__tool.fallback.filter.less' did not match any file(s) known to git


Move the nowrap attribute to the inline text editor container so it doesn't affect other kinds of inline editors

fatal: unable to access 'https://github.com/MahadevanSrinivasan/brackets.git/': The requested URL returned error: 403


Padding of the control that contains the items has been incresead of one pixel, because tag doesn't use anymore a left white border.


Fix documentation layout (#82)

Fix documentation layout (#82)

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/seekinternational/seek-asia-style-guide.git/'


Update default styling for subnav in responsive theme file

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/mattmilburn/javelin-bp.git/'


Lighter colour for the navbar text.

Lighter colour for the navbar text.

fatal: unable to access 'https://github.com/QueensSailing/QueensSailing.github.io.git/': The requested URL returned error: 403


a lot of changes

a lot of changes


Import all kb's less files

Import all kb's less files

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Det-Kongelige-Bibliotek/rex.git/'


OC-938 needs more specificity

OC-938 needs more specificity

html {
  height:100vh;
  width:100vw;
  max-width:@app-container-size;
  margin:0 auto;
  overflow:hidden;
  background-color:@html-bg;
}

body {
  height:100%;
  width:100%;
  overflow:hidden;
  position:relative;
}

main {
  flex:1 1 auto;
  overflow:hidden;
  position:relative;
  > [id^="COMPONENT_"] { //Make the component container element fill the entire <main> for background styles
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    top:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding-bottom:25px;
  }
}

[ui-sref],
[ng-click]{
  cursor: pointer;
}

.container {
  max-width:100%;
}

.pagination {
  margin:0;
}

//TABLES WITH FIXED HEADERS
.table-fixed-header {
  position:relative;
  padding-top:@table-header-height;
  margin-bottom:@line-height-computed;
  overflow:hidden;
  .table-header-bg {
    position:absolute;
    left:0; right:0; top:0;
    height:@table-header-height;
    background:@table-bg;
    border:1px solid @table-border-color;
    border-bottom-width:2px;
  }
  .table-container {
    background-color:@table-bg;
    overflow-y:auto;
    overflow-x:hidden;
    max-height:@infinite-scroll-size;
    border: 1px solid @table-border-color;
    border-top-width:0;
    table {
      border-spacing:0;
      margin-bottom:0;
    }
    td {
      border:1px solid @table-border-color;
      vertical-align:middle;
      &:first-child {
        border-left:none;
      }
      &:last-child {
        border-left:none;
      }
    }
    th {
      height: 0;
      line-height: 0;
      padding: 0 25px;
      color: transparent;
      border: none;
      white-space: nowrap;
      span {
        max-height:0;
        height:0;
        line-height:0;
        margin:0;
        padding:0;
      }
      div{
        position: absolute;
        background: transparent;
        padding:@table-cell-padding;
        color: @text-color;
        top: 0;
        margin-left: -25px;
        line-height: @line-height-base;
        vertical-align: bottom;
        border-left:1px solid @table-border-color;
      }
      &:first-child div{
        border: none;
      }
    }
    tbody tr {
      &:first-child {
        td {
          border-top:none;
        }
      }
      &:last-child {
        td {
          border-bottom:none;
        }
      }
    }
  }
}
colgroup {
  > col.action-column {
    width:70px;
  }
}

// OC Responsive Tables
// commandeered from http://codepen.io/pixelchar/pen/rfuqK
.oc-table-responsive {
  &.table-bordered {
    border:none;
    & > tbody > tr{
      & > th {
        border:none;
      }
      & > td {
        border-width:1px 0 0 0;
      }
    }
  }

  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        vertical-align: middle;
      }
    }
  }

  thead {
    // Accessibly hide <thead> on narrow viewports
    position: absolute;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }

  // Set these items to display: block for narrow viewports
  tbody,
  tr,
  th,
  td {
    display: block;
    white-space: normal;
  }

  tr {
    &:extend(.panel); //Mobile table row looks like a bootstrap panel
    border-color: @panel-default-border;
    overflow:hidden;
  }

  tbody {
    & > tr > th {
      border-top: none;
      background-color: @panel-default-heading-bg;
    }
    td {
      text-align: right;
      &[data-title] {
        .clearfix(); //Clearfix solution for empty table cells on mobile
        &:before {
          content: attr(data-title);
          float: left;
          color: @gray-light;
        }
      }
    }
  }

  @media(min-width:@screen-sm-min) {
    &.table-bordered {
      border:1px solid @table-border-color;
      & > tbody > tr{
        & > th {
          border:1px solid @table-border-color;
        }
        & > td {
          border-width:1px;
        }
      }
    }
    thead {
      position: relative;
      clip: auto;
      height: auto;
      width: auto;
      overflow: auto;
    }
    tr {
      display: table-row;
      margin-bottom: 0;
      border: none;
    }
    th,
    td {
      // Undo display: block
      display: table-cell;
    }
    tbody {
      display:table-row-group;
      tr {
        display:table-row;
      }
      & > tr > th {
        border-top: 1px solid @table-border-color;
        background-color: transparent;
      }
      td {
        text-align:initial;
        &[data-title]:before {
          content: none;
        }
      }
    }

  }
}

html {
  height:100vh;
  width:100vw;
  max-width:@app-container-size;
  margin:0 auto;
  overflow:hidden;
  background-color:@html-bg;
}

body {
  height:100%;
  width:100%;
  overflow:hidden;
  position:relative;
}

main {
  flex:1 1 auto;
  overflow:hidden;
  position:relative;
  > [id^="COMPONENT_"] { //Make the component container element fill the entire <main> for background styles
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    top:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding-bottom:25px;
  }
}

[ui-sref],
[ng-click]{
  cursor: pointer;
}

.container {
  max-width:100%;
}

.pagination {
  margin:0;
}

//TABLES WITH FIXED HEADERS
.table-fixed-header {
  position:relative;
  padding-top:@table-header-height;
  margin-bottom:@line-height-computed;
  overflow:hidden;
  .table-header-bg {
    position:absolute;
    left:0; right:0; top:0;
    height:@table-header-height;
    background:@table-bg;
    border:1px solid @table-border-color;
    border-bottom-width:2px;
  }
  .table-container {
    background-color:@table-bg;
    overflow-y:auto;
    overflow-x:hidden;
    max-height:@infinite-scroll-size;
    border: 1px solid @table-border-color;
    border-top-width:0;
    table {
      border-spacing:0;
      margin-bottom:0;
    }
    td {
      border:1px solid @table-border-color;
      vertical-align:middle;
      &:first-child {
        border-left:none;
      }
      &:last-child {
        border-left:none;
      }
    }
    th {
      height: 0;
      line-height: 0;
      padding: 0 25px;
      color: transparent;
      border: none;
      white-space: nowrap;
      span {
        max-height:0;
        height:0;
        line-height:0;
        margin:0;
        padding:0;
      }
      div{
        position: absolute;
        background: transparent;
        padding:@table-cell-padding;
        color: @text-color;
        top: 0;
        margin-left: -25px;
        line-height: @line-height-base;
        vertical-align: bottom;
        border-left:1px solid @table-border-color;
      }
      &:first-child div{
        border: none;
      }
    }
    tbody tr {
      &:first-child {
        td {
          border-top:none;
        }
      }
      &:last-child {
        td {
          border-bottom:none;
        }
      }
    }
  }
}
colgroup {
  > col.action-column {
    width:70px;
  }
}

// OC Responsive Tables
// commandeered from http://codepen.io/pixelchar/pen/rfuqK
.oc-table-responsive {
  &.table-bordered {
    border:none;
    & > tbody > tr{
      & > th {
        border:none;
      }
      & > td {
        border-width:1px 0 0 0;
      }
    }
  }
  thead {
    // Accessibly hide <thead> on narrow viewports
    position: absolute;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
  }

  // Set these items to display: block for narrow viewports
  tbody,
  tr,
  th,
  td {
    display: block;
    white-space: normal;
  }

  tr {
    &:extend(.panel); //Mobile table row looks like a bootstrap panel
    border-color: @panel-default-border;
    overflow:hidden;
  }

  tbody {
    & > tr > th {
      border-top: none;
      background-color: @panel-default-heading-bg;
    }
    td {
      text-align: right;
      vertical-align: middle;
      &[data-title] {
        .clearfix(); //Clearfix solution for empty table cells on mobile
        &:before {
          content: attr(data-title);
          float: left;
          color: @gray-light;
        }
      }
    }
  }

  @media(min-width:@screen-sm-min) {
    &.table-bordered {
      border:1px solid @table-border-color;
      & > tbody > tr{
        & > th {
          border:1px solid @table-border-color;
        }
        & > td {
          border-width:1px;
        }
      }
    }
    thead {
      position: relative;
      clip: auto;
      height: auto;
      width: auto;
      overflow: auto;
    }
    tr {
      display: table-row;
      margin-bottom: 0;
      border: none;
    }
    th,
    td {
      // Undo display: block
      display: table-cell;
    }
    tbody {
      display:table-row-group;
      tr {
        display:table-row;
      }
      & > tr > th {
        border-top: 1px solid @table-border-color;
        background-color: transparent;
      }
      td {
        text-align:initial;
        &[data-title]:before {
          content: none;
        }
      }
    }

  }
}


Selection colour change

Selection colour change

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/putterschool/styleguide.git/'


Populated LESS

Populated LESS

error: pathspec 'style/main.less' did not match any file(s) known to git


Change author of landingpage.less

Change author of landingpage.less

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/hevnly/asset-bazaar.git/'


use normal fontsize in blockquotes

use normal fontsize in blockquotes

fatal: unable to access 'https://github.com/glomium/django-bmf.git/': The requested URL returned error: 403


Create variables.less

Create variables.less

// Variables

@brand-primary: #0085A1;
@gray-dark: lighten(black, 25%);
@gray: lighten(black, 50%);
@gray-l: lighten(black, 75%);
@white-faded: fade(white, 80%);
@gray-light: #eee;

error: pathspec 'less/variables.less' did not match any file(s) known to git


initial nav.less - commit

initial nav.less - commit

navigation defaults for angstrom

error: pathspec 'src/less/nav.less' did not match any file(s) known to git


+ add form.less.

+ add form.less.

// Input, Textarea, select

.input,
.textarea,
.select > select {
  display: block;
  border: @border-width solid @input-border-color;
  line-height: @line-height-base;
  padding: @padding-small-vertical @padding-small-horizontal;
  width: 100%;
  background-color: @color-back;

  &:focus {
    border-color: @color-focus;
    outline: none;
  }
}

.select {
  position: relative;

  > select {
    -webkit-appearance: none;
    outline: none;
    border-radius: 0;

    &:not([multiple]) {padding-right: 2rem;}

    &[multiple] {
      max-height: 7.5rem;
      overflow-y: auto;
    }
  }

  &:not(.multiple):after {
    content: ' ';
    display: block;
    position: absolute;
    right: 1rem;
    top: 1.2rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: .7rem .5rem 0 .5rem;
    border-color: @input-border-color transparent transparent transparent;
  }
}

// Help text

.help-text {
  font-size: @font-size-small;
  color: @color-gray;
  padding: @padding-small-vertical 0;

  &:empty {display: none}
}

// Radio and checkbox

.radio,
.checkbox {
  position: relative;

  > input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
  }

  > input + label {
    position: relative;
    z-index: 0;
    padding: @padding-small-vertical 0 @padding-small-vertical 2.5rem;
    display: block;

    &:before,
    &:after {
      content: ' ';
      display: flex;
      position: absolute;
      left: 0;
      top: @padding-small-vertical + 0.1rem;
      height: 1.8rem;
      width: 1.8rem;
      align-items: center;
      justify-content: center;
      color: transparent;
      border: @border-width * 2 solid @input-border-color;
      .transition-fast();
    }
  }

  > input + label:after {
    opacity: 0;
    transform: scale(0);
    color: @color-gray;
  }

  > input:focus + label:before {border-color: @color-primary;}

  > input:checked + label:after {
    opacity: 1;
    transform: scale(1);
  }

  > input[disabled], > input.disabled {
    opacity: 0!important;

    + label {opacity: @state-disabled-opacity;}
  }

  &.inline-block + .inline-block {
    margin-left: 1rem;
  }
}

.checkbox > input {
  + label:after {
    .icon-zenicon();
    content: @icon-check;
    border: none;
  }

  &:focus + label:after {color: @color-primary;}
}

.radio > input {
  + label:before {border-radius: 1rem;}

  + label:after {
    width: .8rem;
    height: .8rem;
    background-color: @color-gray;
    border-radius: .4rem;
    border: none;
    left: .5rem;
    top: @padding-small-vertical + 0.6rem;
  }

  &:focus + label:after {background-color: @color-primary;}
}

// Control

.control {
  > label {
    display: block;
    font-weight: bold;
    padding: @padding-small-vertical 0;
  }

  &:not(:last-child) {margin-bottom: @space/2;}
}

.control {
  &.has-label-left,
  &.has-icon-right {
    position: relative;
  }

  &.has-label-left {
    > label {
      position: absolute;
      left: .5rem;
      top: .1rem;
      min-width: 2rem;
      text-align: center;
      opacity: .5;
    }

    .input,
    .textarea,
    .select > select {
      padding-left: 2.5rem;

      &:focus + label {
        color: @color-focus;
        opacity: 1;
      }
    }
  }

  &.has-icon-right {
    > .icon {
      position: absolute;
      right: .5rem;
      top: .5rem;
      min-width: 2rem;
      text-align: center;
      opacity: .5;
    }

    .input,
    .textarea,
    .select > select {
      padding-right: 2.5rem;

      &:focus + .icon,
      &:focus + label + .icon {
        opacity: 1;
      }
    }
  }
}

// Control state

.control.has-error {
  .input,
  .textarea,
  .select > select {border-color: @color-danger;}
  .help-text       {color: @color-danger;}
}

.control.has-success {
  .input,
  .textarea,
  .select > select {border-color: @color-success;}
  .help-text       {color: @color-success;}
}

.control.has-warning {
  .input,
  .textarea,
  .select > select {border-color: @color-warning;}
  .help-text       {color: @color-warning;}
}

error: pathspec 'src/less/forms.less' did not match any file(s) known to git


友报账视觉验证问题

友报账视觉验证问题

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/yyssc/ssc30-admin.git/'


fixed drop-cap api bug when using less 1.3.3

fatal: unable to access 'https://github.com/Julienedies/est.git/': The requested URL returned error: 403


Fixes so that chrome users can tab to the firefox link.

@import "sandstone/variables-resp.less";
@import "sandstone/mixins-resp.less";

/* {{{ Main Feature */

#main-feature {
    text-align: center;
    h1 {
        img {
            vertical-align: baseline;
            position: relative;
            top: 5px;
        }
    }
    h2 {
    }
}

/* }}} */
/* {{{ Firefox Promo bar */

#firefox-promo {
    padding-top: @baseLine;
    padding-bottom: 0;
    h3 {
        .span(3);
        position: relative;
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0.2em;
        letter-spacing: -1px;
        white-space: nowrap;
    }
    #firefox-promo-link {
        position: absolute;
        top: -10px;
        left: 280px;
    }
    ul.features {
        .span(4);
        width: 260px;
        margin: 0 0 0 160px;
        li {
            float: left;
            list-style-type: none;
            margin: 0;
            width: 86px;
            padding: 0;
            text-align: center;
            small {
                display: block;
                padding: 0 6px;
                border-left: 1px dotted @borderColor;
            }
            &:first-child small {
                border: 0;
            }
        }
    }
    .download-button {
        .span(4);
        width: 260px;
        float: right;
        margin-top: -6px;
        margin-left: (@gridGutterWidth / 2);
        padding-bottom: 6px;
        .download-link {
            display: block;
            text-align: center;
        }
        ul {
            margin: 0;
        }
        small.download-other {
            text-align: center;
        }
        noscript h4,
        .unsupported-download h4 {
            font-size: 14px;
        }
    }
    .download-button-small .download-link {
        margin-left: 0;
        .download-content {
            background-image: none;
            margin-left: 0;
            padding-left: @baseLine;
        }
    }
}

/* }}} */
/* {{{ Main Content Columns */

#main-content {
    li {
        margin: @baseLine 0 0 0;
        list-style-type: none;
        border-bottom: 1px dotted @borderColor;
        padding: 0 0 (@baseLine / 2) 0;
        p {
            margin: 0;
        }
        h4 {
            margin: 0 0 (@baseLine / 4) 0;
        }
        h4 a:after,
        a h4:after {
            content: " »";
            .open-sans-light;
            font-weight: 300;
        }
    }
}

#home-news {
    .span(4);
    margin-bottom: @baseLine;
    #all-news {
        .open-sans;
    }
}

#home-promo {
    margin: 0 auto;
}

#home-promos {
    .span(4);
    margin-bottom: @baseLine;
}

#home-about {
    .span(4);
    margin-bottom: @baseLine;
    ul {
        margin-top: @baseLine;
    }
    li {
        border: 0;
        margin-top: @baseLine / 2;
        padding-bottom: 0;
    }
    a {
        display: block;
        padding-left: 80px;
        padding-bottom: @baseLine / 2;
        background: url(/media/img/home/about-icons.png) 0 0 no-repeat;
        h4 {
            color: @linkRed;
        }
        p {
            color: @textColorSecondary;
            font-size: @smallFontSize;
            line-height: 18px;
        }
        &:hover {
            text-decoration: none;
            h4 {
                text-decoration: underline;
            }
        }
    }
}

#about-volunteer {
    a { background-position: 0 0; }
    a:hover {
        background-position: -800px 0;
    }
}

#about-work {
    a { background-position: 0 -150px; }
    a:hover {
        background-position: -800px -150px;
        h4 { color: #f79100; }
    }
}

#about-find {
    a { background-position: 0 -300px; }
    a:hover {
        background-position: -800px -300px;
        h4 { color: #1b66af; }
    }
}

#about-join {
    a { background-position: 0 -450px; }
    a:hover {
        background-position: -800px -450px;
        h4 { color: #d65106; }
    }
}

#about-learn {
    a { background-position: 0 -600px; }
    a:hover {
        background-position: -800px -600px;
        h4 { color: #669d28; }
    }
}

/* }}} */
/* {{{ Main Promos */

.pager-page {
    background-position: 0 0;
    background-repeat: no-repeat;
    display: none;
    a {
        display: block;
        height: 265px;
        padding: 0;
        position: relative;
        width: 100%;
        border-bottom: 1px solid #ddd;
        &:hover,
        &:active {
            text-decoration: none;
        }
    }
    div {
        .span(4);
        margin-left: 0;
        padding: 0 0 @baseLine 48px;
        position: relative;
    }
    h3 {
        padding-top: @baseLine * 2;
        margin-bottom: @baseLine;
        font-size: 36px;
        letter-spacing: -1px;
        color: #fff;
        text-shadow: none;
    }
    h4 {
        color: #fff;
        text-shadow: none;
    }
    p {
        color: #fff;
        text-shadow: none;
        margin: 0;
    }
    img {
        display: block;
        background: @textColorPrimary;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
}

.default-page {
    display: block;
}

.pager-tabs {
    text-align: center;
    li {
        display: inline;
        list-style-type: none;
        margin: 0;
        a {
            color: rgba(0,0,0,0.2);
            .inline-block;
            padding: 6px;
            &:hover,
            &:active {
                text-decoration: none;
                color: @textColorSecondary;
            }
            &.selected {
                color: @textColorSecondary;
            }
        }
    }
}

#promo-android,
#page-promo-android {
    h3  {
        font-size: 64px;
        margin-bottom: @baseLine / 2;
    }
    h4 {
        text-decoration: none;
        text-shadow: none;
        font-size: 28px;
        float: none;
        width: 50%;
        margin-bottom: @baseLine;
    }
    div  {
        width: 60%;
    }
}

/* }}} */
/* {{{ Tablet  Layout: 768px */
@media only screen and (min-width: @widthTablet) and (max-width: @widthDesktop) {

    #firefox-promo {
        padding-bottom: 12px;
        h3 {
            .span_narrow(7);
            white-space: normal;
        }
        ul.features {
            .span_narrow(7);
            margin-bottom: 10px;
            li {
                float: none;
                width: auto;
                margin: auto auto auto @baseLine;
                list-style-type: disc;
                small {
                    text-align: left;
                    border: 0;
                    padding: 0;
                    br { display: none; }
                }
            }
        }
        .download-button {
            position: absolute;
            top:   @gridGutterWidth / 2;
            right: @gridGutterWidth / 2;
            margin-top: @gridGutterWidth / 2;
        }
    }

    .pager-page {
        a {
            height: 198px;
        }
        div {
            .span_narrow(4);
        }
        h3 {
            font-size: 26px;
            letter-spacing: -1px;
            padding-top: @baseLine;
        }
    }

    #promo-android,
    #page-promo-android {
        h3  {
            font-size: 38px;
            margin-bottom: @baseLine / 2;
        }
        h4 {
            font-size: 20px;

        }
    }

    #home-news,
    #home-promos,
    #home-about {
        .span_narrow(4);
    }

}

/* }}} */
/* {{{ Wide Mobile Layout: 480px */
@media only screen and (max-width: @widthTablet) {

    #main-feature h1 {
        text-align: left;
        width: 174px;
        margin-left: auto;
        margin-right: auto;
        img {
            height: auto;
            width: 100%;
            top: -7px;
            display: block;
        }
    }

    .huge h1 {
        font-size: 32px;
    }

    .huge h2 {
        font-size: 22px;
        letter-spacing: normal;
        width: 190px;
        margin-left: auto;
        margin-right: auto;
    }

    #firefox-promo {
        h3 {
            float: none;
            width: auto;
            font-size: 28px;
            margin: 0 auto auto 100px;
            min-height: 60px;
            white-space: normal;
        }
        #firefox-promo-link {
            left: @gridGutterWidth;
            top: @gridGutterWidth / 2;
            width: 80px;
            height: auto;
        }
        ul.features {
            display: none;
        }
        .download-button {
            position: static;
            margin: 12px 10px 0 10px;
            width: @widthMobile - (@gridGutterWidth * 2);
            .download-link {
                text-align: center;
                display: block;
                margin-bottom: 6px;
            }
        }
    }

    .pager-page {
        a {
            width: auto;
            height: auto;
            img {
                position: static;
            }
        }
        h3 {
            font-size: 24px;
            letter-spacing: -0.5px;
            padding-top: @baseLine;
        }
        div {
            padding-left: @gridGutterWidth;
            padding-right: @gridGutterWidth;
            margin: 0;
            background: #fff;
            width: auto;
            float: none;
        }
        h4,
        h3 {
            margin-bottom: @baseLine / 3;
            color: @textColorPrimary;
        }
        p {
            color: @textColorPrimary;
        }
    }

    .pager-tabs li a {
        padding: 12px;
        font-size: 28px;
    }

    #promo-android,
    #page-promo-android {
        h3  {
            font-size: 36px;
        }
        h4 {
            font-size: 20px;
            width: auto;
            margin-bottom: @baseLine / 2;
        }
        div {
            width: auto;
        }
    }

    #home-news,
    #home-promos,
    #home-about {
        width: @widthMobile - (@gridGutterWidth * 2);
    }

}

/* Wide Mobile Layout: 480px */
@media only screen and (min-width: @breakMobileLandscape) and (max-width: @breakTablet) {

    #firefox-promo {
        padding-top: 10px;
        h3 {
            margin-top: 25px;
            min-height: 55px;
        }
        .download-button {
            width: @widthMobileLandscape - (@gridGutterWidth * 2);
        }
    }

    #home-news,
    #home-promos,
    #home-about {
        width: @widthMobileLandscape - (@gridGutterWidth * 2);
    }

}

/* }}} */

@import "sandstone/variables-resp.less";
@import "sandstone/mixins-resp.less";

/* {{{ Main Feature */

#main-feature {
    text-align: center;
    h1 {
        img {
            vertical-align: baseline;
            position: relative;
            top: 5px;
        }
    }
    h2 {
    }
}

/* }}} */
/* {{{ Firefox Promo bar */

#firefox-promo {
    padding-top: @baseLine;
    padding-bottom: 0;
    h3 {
        .span(3);
        position: relative;
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0.2em;
        letter-spacing: -1px;
        white-space: nowrap;
    }
    ul.features {
        .span(4);
        width: 260px;
        margin: 0 0 0 160px;
        li {
            float: left;
            list-style-type: none;
            margin: 0;
            width: 86px;
            padding: 0;
            text-align: center;
            small {
                display: block;
                padding: 0 6px;
                border-left: 1px dotted @borderColor;
            }
            &:first-child small {
                border: 0;
            }
        }
    }
    #promo-logo {
        position: absolute;
        top: -10px;
        left: 280px;
    }
    .download-button {
        .span(4);
        width: 260px;
        float: right;
        margin-top: -6px;
        margin-left: (@gridGutterWidth / 2);
        padding-bottom: 6px;
        .download-link {
            display: block;
            text-align: center;
        }
        ul {
            margin: 0;
        }
        small.download-other {
            text-align: center;
        }
        noscript h4,
        .unsupported-download h4 {
            font-size: 14px;
        }
    }
    .download-button-small .download-link {
        margin-left: 0;
        .download-content {
            background-image: none;
            margin-left: 0;
            padding-left: @baseLine;
        }
    }
}

/* }}} */
/* {{{ Main Content Columns */

#main-content {
    li {
        margin: @baseLine 0 0 0;
        list-style-type: none;
        border-bottom: 1px dotted @borderColor;
        padding: 0 0 (@baseLine / 2) 0;
        p {
            margin: 0;
        }
        h4 {
            margin: 0 0 (@baseLine / 4) 0;
        }
        h4 a:after,
        a h4:after {
            content: " »";
            .open-sans-light;
            font-weight: 300;
        }
    }
}

#home-news {
    .span(4);
    margin-bottom: @baseLine;
    #all-news {
        .open-sans;
    }
}

#home-promo {
    margin: 0 auto;
}

#home-promos {
    .span(4);
    margin-bottom: @baseLine;
}

#home-about {
    .span(4);
    margin-bottom: @baseLine;
    ul {
        margin-top: @baseLine;
    }
    li {
        border: 0;
        margin-top: @baseLine / 2;
        padding-bottom: 0;
    }
    a {
        display: block;
        padding-left: 80px;
        padding-bottom: @baseLine / 2;
        background: url(/media/img/home/about-icons.png) 0 0 no-repeat;
        h4 {
            color: @linkRed;
        }
        p {
            color: @textColorSecondary;
            font-size: @smallFontSize;
            line-height: 18px;
        }
        &:hover {
            text-decoration: none;
            h4 {
                text-decoration: underline;
            }
        }
    }
}

#about-volunteer {
    a { background-position: 0 0; }
    a:hover {
        background-position: -800px 0;
    }
}

#about-work {
    a { background-position: 0 -150px; }
    a:hover {
        background-position: -800px -150px;
        h4 { color: #f79100; }
    }
}

#about-find {
    a { background-position: 0 -300px; }
    a:hover {
        background-position: -800px -300px;
        h4 { color: #1b66af; }
    }
}

#about-join {
    a { background-position: 0 -450px; }
    a:hover {
        background-position: -800px -450px;
        h4 { color: #d65106; }
    }
}

#about-learn {
    a { background-position: 0 -600px; }
    a:hover {
        background-position: -800px -600px;
        h4 { color: #669d28; }
    }
}

/* }}} */
/* {{{ Main Promos */

.pager-page {
    background-position: 0 0;
    background-repeat: no-repeat;
    display: none;
    a {
        display: block;
        height: 265px;
        padding: 0;
        position: relative;
        width: 100%;
        border-bottom: 1px solid #ddd;
        &:hover,
        &:active {
            text-decoration: none;
        }
    }
    div {
        .span(4);
        margin-left: 0;
        padding: 0 0 @baseLine 48px;
        position: relative;
    }
    h3 {
        padding-top: @baseLine * 2;
        margin-bottom: @baseLine;
        font-size: 36px;
        letter-spacing: -1px;
        color: #fff;
        text-shadow: none;
    }
    h4 {
        color: #fff;
        text-shadow: none;
    }
    p {
        color: #fff;
        text-shadow: none;
        margin: 0;
    }
    img {
        display: block;
        background: @textColorPrimary;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
}

.default-page {
    display: block;
}

.pager-tabs {
    text-align: center;
    li {
        display: inline;
        list-style-type: none;
        margin: 0;
        a {
            color: rgba(0,0,0,0.2);
            .inline-block;
            padding: 6px;
            &:hover,
            &:active {
                text-decoration: none;
                color: @textColorSecondary;
            }
            &.selected {
                color: @textColorSecondary;
            }
        }
    }
}

#promo-android,
#page-promo-android {
    h3  {
        font-size: 64px;
        margin-bottom: @baseLine / 2;
    }
    h4 {
        text-decoration: none;
        text-shadow: none;
        font-size: 28px;
        float: none;
        width: 50%;
        margin-bottom: @baseLine;
    }
    div  {
        width: 60%;
    }
}

/* }}} */
/* {{{ Tablet  Layout: 768px */
@media only screen and (min-width: @widthTablet) and (max-width: @widthDesktop) {

    #firefox-promo {
        padding-bottom: 12px;
        h3 {
            .span_narrow(7);
            white-space: normal;
        }
        ul.features {
            .span_narrow(7);
            margin-bottom: 10px;
            li {
                float: none;
                width: auto;
                margin: auto auto auto @baseLine;
                list-style-type: disc;
                small {
                    text-align: left;
                    border: 0;
                    padding: 0;
                    br { display: none; }
                }
            }
        }
        .download-button {
            position: absolute;
            top:   @gridGutterWidth / 2;
            right: @gridGutterWidth / 2;
            margin-top: @gridGutterWidth / 2;
        }
    }

    .pager-page {
        a {
            height: 198px;
        }
        div {
            .span_narrow(4);
        }
        h3 {
            font-size: 26px;
            letter-spacing: -1px;
            padding-top: @baseLine;
        }
    }

    #promo-android,
    #page-promo-android {
        h3  {
            font-size: 38px;
            margin-bottom: @baseLine / 2;
        }
        h4 {
            font-size: 20px;

        }
    }

    #home-news,
    #home-promos,
    #home-about {
        .span_narrow(4);
    }

}

/* }}} */
/* {{{ Wide Mobile Layout: 480px */
@media only screen and (max-width: @widthTablet) {

    #main-feature h1 {
        text-align: left;
        width: 174px;
        margin-left: auto;
        margin-right: auto;
        img {
            height: auto;
            width: 100%;
            top: -7px;
            display: block;
        }
    }

    .huge h1 {
        font-size: 32px;
    }

    .huge h2 {
        font-size: 22px;
        letter-spacing: normal;
        width: 190px;
        margin-left: auto;
        margin-right: auto;
    }

    #firefox-promo {
        h3 {
            float: none;
            width: auto;
            font-size: 28px;
            margin: 0 auto auto 100px;
            min-height: 60px;
            white-space: normal;
        }
        ul.features {
            display: none;
        }
        #promo-logo {
            left: @gridGutterWidth;
            top: @gridGutterWidth / 2;
            width: 80px;
            height: auto;
        }
        .download-button {
            position: static;
            margin: 12px 10px 0 10px;
            width: @widthMobile - (@gridGutterWidth * 2);
            .download-link {
                text-align: center;
                display: block;
                margin-bottom: 6px;
            }
        }
    }

    .pager-page {
        a {
            width: auto;
            height: auto;
            img {
                position: static;
            }
        }
        h3 {
            font-size: 24px;
            letter-spacing: -0.5px;
            padding-top: @baseLine;
        }
        div {
            padding-left: @gridGutterWidth;
            padding-right: @gridGutterWidth;
            margin: 0;
            background: #fff;
            width: auto;
            float: none;
        }
        h4,
        h3 {
            margin-bottom: @baseLine / 3;
            color: @textColorPrimary;
        }
        p {
            color: @textColorPrimary;
        }
    }

    .pager-tabs li a {
        padding: 12px;
        font-size: 28px;
    }

    #promo-android,
    #page-promo-android {
        h3  {
            font-size: 36px;
        }
        h4 {
            font-size: 20px;
            width: auto;
            margin-bottom: @baseLine / 2;
        }
        div {
            width: auto;
        }
    }

    #home-news,
    #home-promos,
    #home-about {
        width: @widthMobile - (@gridGutterWidth * 2);
    }

}

/* Wide Mobile Layout: 480px */
@media only screen and (min-width: @breakMobileLandscape) and (max-width: @breakTablet) {

    #firefox-promo {
        padding-top: 10px;
        h3 {
            margin-top: 25px;
            min-height: 55px;
        }
        .download-button {
            width: @widthMobileLandscape - (@gridGutterWidth * 2);
        }
    }

    #home-news,
    #home-promos,
    #home-about {
        width: @widthMobileLandscape - (@gridGutterWidth * 2);
    }

}

/* }}} */


Remove unnecessary styles

Remove unnecessary styles

//
// Global
// --------------------------------------------------

a:focus,
a:hover,
a:active {
    outline: 0 none;
    text-decoration: none;
    color: @link-hover-color;
}

b {
    font-weight: 400;
}

blockquote p {
    font-size: @font-size-medium;
}

ul {
    padding-left: 30px;
}

.overflow-hidden {
    overflow: hidden;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-y {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.no-margin-x {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-margin-left {
    margin-left: 0 !important;
}

.no-margin-right {
    margin-right: 0 !important;
}

.big-text {
    font-size: 61px;
    line-height: 70px !important;
    padding-bottom: 5px;
    .text-shadow(2px 1px 2px rgba(0, 0, 0, 0.2));
}

// Text colors
.color-primary {
    color: @brand-primary;
}

.color-primary.fa {
    color: lighten(@brand-primary, 20%);
}

.color-success {
    color: @brand-success;
}

.color-warning {
    color: @brand-warning;
}

.color-danger {
    color: @brand-danger;
}

.color-info {
    color: @brand-info;
}

.no-padding {
    padding: 0 !important;
}

.sf-toolbar {
    z-index: @zindex-navbar-fixed + 3;
}

//
// Global
// --------------------------------------------------

html {
    -ms-overflow-style: scrollbar;
}

a:focus,
a:hover,
a:active {
    outline: 0 none;
    text-decoration: none;
    color: @link-hover-color;
}

b {
    font-weight: 400;
}

blockquote p {
    font-size: @font-size-medium;
}

ul {
    padding-left: 30px;
}

.overflow-hidden {
    overflow: hidden;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-y {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.no-margin-x {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.no-margin-top {
    margin-top: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-margin-left {
    margin-left: 0 !important;
}

.no-margin-right {
    margin-right: 0 !important;
}

.big-text {
    font-size: 61px;
    line-height: 70px !important;
    padding-bottom: 5px;
    .text-shadow(2px 1px 2px rgba(0, 0, 0, 0.2));
}

// Text colors
.color-primary {
    color: @brand-primary;
}

.color-primary.fa {
    color: lighten(@brand-primary, 20%);
}

.color-success {
    color: @brand-success;
}

.color-warning {
    color: @brand-warning;
}

.color-danger {
    color: @brand-danger;
}

.color-info {
    color: @brand-info;
}

.no-padding {
    padding: 0 !important;
}

.sf-toolbar {
    z-index: @zindex-navbar-fixed + 3;
}


removes duplicate rules

removes duplicate rules


Simplify button style

Simplify button style

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/sonatra/sonatra-theme-gluon.git/'


add notifications.less

add notifications.less

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Thinkful/ui.git/'


Add comments.less

Add comments.less

fatal: unable to access 'https://github.com/keitaroinc/keitaro-theme.git/': The requested URL returned error: 403


Change docs for the badge component

Change docs for the badge component

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/sfi0zy/muilessium.git/'


carousel adjustments

carousel adjustments

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/lukesmmr/goodthingseverywhere.git/'


fix height for footer

fix height for footer

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/viesii/spill.git/'


rotating the dropdown trigger on hover.

rotating the dropdown trigger on hover.

fatal: unable to access 'https://github.com/cadr-sa/shoestrap-3.git/': The requested URL returned error: 403


Changed font url to force reload

Changed font url to force reload

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/tamino-martinius/colourco.de.git/'