map_page.less 1.99 KB
/* Here provide some css. */

@import 'var';
@import 'init';

.header {
  height: 100%;
  transition: height .3s;
  h1 {
    text-align: center;
    height: 50px;
    line-height: 50px;
  }
  .wrap {
    width: 100%;
    position: absolute;
    top: 50%;
    margin-top: -12px;
    transition: all .3s;
  }
  #what-this-for {
    width: 140px;
    text-align: left;
    .inline;
  }
  &.headon {
    height: 10%;
    border-bottom: 2px solid @fontRed;
    margin-bottom: 20px;
    position: relative;
    .wrap {
      width: 50%;
    }
  }
}
.maphead {
  .title {
    font-size: 20px;
    text-align: center;
  }
  #what-this-for {
    color: @fontRed;
    &:after {
      content: '|';
      color: @fontRed;
      -webkit-animation: cursorblink 0.8s linear infinite;
      animation: cursorblink 0.8s linear infinite;
    }
    &.end:after {
      content: '.';
      animation: none;
    }
  }
}
.mapthere {
  #leftbar {
    float: left;
    li {
      font-size: 20px;
    }
    a {
      &.on:after {
        content: ' >';
        color: @fontRed;
      }
    }
  }
  #rightbar {
    margin-left: 200px;
    li {
      margin-bottom: 10px;
      font-size: 16px;
      text-align: center;
      position: relative;
      a {
        border: 1px solid @fontBlack;
        border-radius: 20px;
        padding: 5px 0;
        .block;
        position: relative;
        &:hover {
          color: @fontRed;
        }
      }
      .border-wrap {
        position: absolute;
        left: -1px;
        top: -1px;
        height: 30px;
        transition: .3s;
        overflow: hidden;
        .bor {
          border: 1px solid @fontRed;
          height: 30px;
          width: 731px;
          border-radius: 20px;
        }
      }
    }
  }
}
@keyframes cursorblink {
  1% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-indent: 2em;
  height: 30px;
  line-height: 30px;
  background-color: @fontGray;
}