_instructor.scss 2.71 KB
Newer Older
Tom Giannattasio committed
1
.instructor-dashboard-wrapper {
2 3 4 5 6 7 8 9
  display: table;
  position: relative;

  .beta-button-wrapper {
    position: absolute;
    top: 2em;
    right: 2em;
  }
Tom Giannattasio committed
10

11 12 13 14 15 16
  .studio-edit-link{
    position: absolute;
    top: 3.5em;
    right: 2em;
  }

17 18
  section.instructor-dashboard-content {
    @extend .content;
Tom Giannattasio committed
19 20 21 22 23 24
    padding: 40px;
    width: 100%;

    h1 {
      @extend .top-header;
    }
25
  }
26 27 28 29 30 31 32 33 34 35 36 37 38 39

  // form fields
  .list-fields {
    list-style: none;
    margin: 0;
    padding: 0;

    .field {
      margin-bottom: 20px;
      padding: 0;

      &:last-child {
        margin-bottom: 0;
      }
40 41 42 43 44 45 46 47

      .tip {
        display: block;
        margin-top: ($baseline/4);
        color: tint(rgb(127,127,127),50%);
        @include font-size(12);
      }

48
    }
49

50 51
  }

52 53
  // ====================

54 55 56 57 58 59 60 61 62 63 64
  // system feedback - messages
  .msg {
    border-radius: 1px;
    padding: 10px 15px;
    margin-bottom: 20px;

    .copy {
      font-weight: 600;
    }
  }

65 66 67 68 69 70 71 72 73 74 75
  // TYPE: warning
  .msg-warning {
    border-top: 2px solid $warning-color;
    background: tint($warning-color,95%);

    .copy {
      color: $warning-color;
    }
  }

  // TYPE: confirm
76
  .msg-confirm {
77 78 79 80 81 82 83 84 85 86 87 88
    border-top: 2px solid $confirm-color;
    background: tint($confirm-color,95%);

    .copy {
      color: $confirm-color;
    }
  }

  // TYPE: confirm
  .msg-error {
    border-top: 2px solid $error-color;
    background: tint($error-color,95%);
89 90

    .copy {
91
      color: $error-color;
92 93 94
    }
  }

95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
  // ====================

  // inline copy
  .copy-confirm {
    color: $confirm-color;
  }

  .copy-warning {
    color: $warning-color;
  }

  .copy-error {
    color: $error-color;
  }

110 111 112 113 114 115 116 117 118 119 120 121 122 123
  .list-advice {
    list-style: none;
    padding: 0;
    margin: 20px 0;

    .item {
      font-weight: 600;
      margin-bottom: 10px;

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

125
  //Metrics tab
126

127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
  .metrics-container {
    position: relative;
    width: 100%;
    float: left;
    clear: both;
    margin-top: 25px;
  }
  .metrics-left {
    position: relative;
    width: 30%;
    height: 640px;
    float: left;
    margin-right: 2.5%;
  }
  .metrics-right {
    position: relative;
    width: 65%;
    height: 295px;
    float: left;
    margin-left: 2.5%;
    margin-bottom: 25px;
  }
  .metrics-tooltip {
    width: 250px;
    background-color: lightgray;
    padding: 3px;
  }
  .stacked-bar-graph-legend {
    fill: white;
  }

  p.loading {
    padding-top: 100px;
    text-align: center;
  }

  p.nothing {
    padding-top: 25px;
  }

  h3.attention {
    padding: 10px;
    border: 1px solid #999;
    border-radius: 5px;
    margin-top: 25px;
  }
173 174 175 176 177 178 179

  .wrapper-msg {
    margin-bottom: ($baseline*1.5);

    .msg {
      margin-bottom: 0;
    }
180 181 182 183

    .note {
      margin: 0;
    }
184 185
  }

Tom Giannattasio committed
186 187
}