client/src/App.scss
author Alexandre Segura <mex.zktk@gmail.com>
Thu, 01 Jun 2017 19:01:03 +0200
changeset 18 dab2a16500e0
parent 12 48ddaa42b810
child 19 f1b125b95fe9
permissions -rw-r--r--
Add some styles for note timings.

.App {
  text-align: center;
}

.App-logo {
  animation: App-logo-spin infinite 20s linear;
  height: 80px;
}

.App-header {
  background-color: #222;
  height: 150px;
  padding: 20px;
  color: white;
}

.App-intro {
  font-size: large;
}

.toolbar-menu {
  padding: 1px 0 17px 18px;
  // margin: 0 -20px;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
  .button {
    color: #ccc;
    cursor: pointer;
  }

  .button[data-active="true"] {
    color: black;
  }
}

.editor-wrapper {
  border: 1px solid #efefef;
  padding: 20px;
}


@keyframes App-logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.note {
    position: relative;
    padding-left: 70px;
    margin-bottom: 20px;

    &:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 27px;
        z-index: -1;
        display: block;
        width: 2px;
        background-color: #e6ebf1;
    }

    .start, .finish {
        position: absolute;
        background-color: #fff;
    }

    .start {
        top: 0;
        left: 0;
    }
    .finish {
        bottom: 0;
        left: 0;
    }
}