Sha256: 757d68d5cf0de06d14fa28eb2b1b94d1476627a560aca60875402cb16592372f

Contents?: true

Size: 1.83 KB

Versions: 6

Compression:

Stored size: 1.83 KB

Contents

@cirruskit_color1: #000;
@cirruskit_color1_alt: #666;
@cirruskit_color2: #fff;
@cirruskit_color2_alt: #ffffd0;

body, html {
  height: 100%;
}

.cirruskit {
  .content-panel {
    left: 0px;
    padding: 0px;
    padding-left: 70px;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: auto;
  }

  .nav-panel {
    background-color: @cirruskit_color1;
    width: 45px;
    border-right: 1px solid @cirruskit_color1_alt;
    height: 100%;
    overflow: hidden;
    float: left;
    margin-right: 10px;
    padding: 10px 0;
    text-align: left;
    font-size: 24px;
    position: relative;
    z-index: 1;
    transition: all 0.5s;

    a {
      color: @cirruskit_color2;
    }

    .bottom {
      position: absolute;
      bottom: 10px;
      width: 100%;
    }

    .nav-item {
      padding-left: 10px;
      margin-bottom: 5px;

      &.active {
        border-left: 3px solid @cirruskit_color2;
        padding-left: 7px;
      }

      .nav-icon {
        transition: all 0.3s;
      }

      .label {
        text-align: left;
        opacity: 0;
        transition: all 0.7s;
        position: absolute;
        margin-left: -200px;
        margin-top: 7px;
        font-size: 14px;
        color: @cirruskit_color2_alt;
        background-color: transparent;

        small {
          font-size: 10px;
          display: block;
        }
      }

      &:hover {
        background-color: @cirruskit_color1_alt;

        .nav-icon {
          -webkit-transform: scale(1.2);
          transform: scale(1.2);
        }
      }
    }

    &.hover {
      width: 200px;
      box-shadow: 0 0 20px #000;

      .label {
        opacity: 1;
        margin-left: 0;
      }
    }
  }

  .cirruskit-top-fixed {
    &.fixed {
      background-color: transparent;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 100;
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
CirrusKit-0.0.7 less/cirruskit/cirruskit.less
CirrusKit-0.0.6 less/cirruskit/cirruskit.less
CirrusKit-0.0.5 less/cirruskit/cirruskit.less
CirrusKit-0.0.4 less/cirruskit/cirruskit.less
CirrusKit-0.0.2 less/cirruskit/cirruskit.less
CirrusKit-0.0.1 less/cirruskit/cirruskit.less