client/src/App.scss
author Alexandre Segura <mex.zktk@gmail.com>
Tue, 20 Jun 2017 16:08:12 +0200
changeset 63 4088f8dc6b52
parent 45 c20f32e92759
child 72 7634b424f426
permissions -rw-r--r--
Improve session page layout, introduce summary.

@import "bootstrap/variables";

.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-bottom: 10px;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
  .button {
    color: #ccc;
    cursor: pointer;
    margin-right: 10px;
  }

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

.hovering-menu {
    position: absolute;
    z-index: 1;
    top: -10000px;
    left: -10000px;
    margin-top: -20px;
    opacity: 0;
    transition: opacity .75s;
}

.categories-tooltip {
    background-color: #efefef;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 5px;
    .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        button {
            background-color: yellow;
            border: 1px solid #ccc;
        }
        button:not(:last-child) {
            margin-right: 10px;
        }
    }
    .form-group:last-child {
        margin-bottom: 0;
    }
}

.editor {
  display: flex;
  margin-bottom: 10px;
  &-left {
    width: 66.6666%;
    border: 1px solid #efefef;
    padding: 20px;
  }
  &-right {
    width: 33.3333%;
    padding-left: 20px;
    .form-control {
      height: 100%;
    }
  }
}

.session-container {
    position: absolute;
    top: 71px;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    .session-notes {
        overflow-y: hidden;
        width: 100%;
        display: flex;
        flex: 1;
        > * {
            padding-left: ($grid-gutter-width / 2);
            padding-right: ($grid-gutter-width / 2);
        }
        .notes-affix {
            min-width: 25%;
        }
        .notes-list {
            overflow-y: auto;
        }
    }
}

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

.note {
    position: relative;
    padding-left: 70px;
    margin-bottom: 20px;
    min-height: ($line-height-computed * 3);

    &: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;
    }
}

span.annotation {
    background-color: yellow;
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.editor-fixed {
    border-top: 1px solid #efefef;
    background-color: #fff;
    padding: 20px 0;
}