_week.scss 4.92 KB
Newer Older
1 2 3
section.week-edit,
section.week-new,
section.sequence-edit {
4 5

  > header {
6
    border-bottom: 2px solid #333;
7 8
    @include clearfix();

9 10 11
    div {
      @include clearfix();
      padding: 6px 20px;
12

13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
      h1 {
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 1px;
        float: left;
      }

      p {
        float: right;
      }

      &.week {
        background: #eee;
        font-size: 12px;
        border-bottom: 1px solid #ccc;
28 29

        h2 {
30
          font-size: 12px;
31
          @include inline-block();
32
          margin-right: 20px;
33 34
        }

35 36
        ul {
          list-style: none;
37 38
          @include inline-block();

39 40 41 42 43 44 45 46 47
          li {
            @include inline-block();
            margin-right: 10px;

            p {
              float: none;
            }
          }
        }
48
      }
49 50 51 52 53 54
    }

    section.goals {
      background: #eee;
      padding: 6px 20px;
      border-top: 1px solid #ccc;
55 56 57 58

      ul {
        list-style: none;
        color: #999;
59 60 61 62 63 64 65 66

        li {
          margin-bottom: 6px;

          &:last-child {
            margin-bottom: 0;
          }
        }
67
      }
68 69 70
    }
  }

71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
  > section.content {
    @include box-sizing(border-box);
    padding: 20px;

    section.filters {
      @include clearfix;
      margin-bottom: 10px;
      background: #efefef;
      border: 1px solid #ddd;

      ul {
        @include clearfix();
        list-style: none;
        padding: 6px;

        li {
          @include inline-block();
88

89 90 91 92
          &.advanced {
            float: right;
          }
        }
93 94 95
      }
    }

96 97 98 99
    > div {
      display: table;
      border: 1px solid;
      width: 100%;
100

101
      section {
102 103
        header {
          background: #eee;
104
          padding: 6px;
105
          border-bottom: 1px solid #ccc;
106
          @include clearfix;
107 108 109 110 111

          h2 {
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 12px;
112
            float: left;
113 114
          }
        }
115

116 117 118 119 120
        &.modules {
          @include box-sizing(border-box);
          display: table-cell;
          width: flex-grid(6, 9);
          border-right: 1px solid #333;
121

122 123 124 125 126 127 128 129 130 131 132
          &.empty {
            text-align: center;
            vertical-align: middle;

            a {
              @extend .button;
              @include inline-block();
              margin-top: 10px;
            }
          }

133 134 135
          ol {
            list-style: none;
            border-bottom: 1px solid #333;
136

137 138
            li {
              border-bottom: 1px solid #333;
139

140 141 142 143 144 145 146 147 148
              &:last-child{
                border-bottom: 0;
              }

              a {
                color: #000;
              }

              ol {
149 150 151
                list-style: none;

                li {
152
                  padding: 6px;
153

154 155 156 157 158 159 160 161 162 163 164
                  &:hover {
                    a.draggable {
                      opacity: 1;
                    }
                  }

                  a.draggable {
                    float: right;
                    opacity: .5;
                  }

165 166 167 168
                  &.group {
                    padding: 0;

                    header {
169
                      padding: 6px;
170
                      background: none;
171

172
                      h3 {
173
                        font-size: 14px;
174 175 176
                      }
                    }

177

178
                    ol {
179 180 181
                    border-left: 4px solid #999;
                    border-bottom: 0;

182 183 184 185 186 187
                      li {
                        &:last-child {
                          border-bottom: 0;
                        }
                      }
                    }
188 189 190 191 192 193 194
                  }
                }
              }
            }
          }
        }

195 196 197 198
        &.scratch-pad {
          @include box-sizing(border-box);
          display: table-cell;
          width: flex-grid(3, 9) + flex-gutter(9);
199
          vertical-align: top;
200

201 202 203
          ol {
            list-style: none;
            border-bottom: 1px solid #999;
204

205 206 207
            li {
              border-bottom: 1px solid #999;
              background: #f9f9f9;
208

209 210 211
              &:last-child {
                border-bottom: 0;
              }
212

213 214
              ul {
                list-style: none;
215

216 217
                li {
                  padding: 6px;
218

219 220
                  &:last-child {
                    border-bottom: 0;
221
                  }
222

223 224 225 226 227
                  &:hover {
                    a.draggable {
                      opacity: 1;
                    }
                  }
228

229 230
                  &.empty {
                    padding: 12px;
231

232
                    a {
233 234 235
                      @extend .button;
                      display: block;
                      text-align: center;
236 237
                    }
                  }
238

239 240 241 242
                  a.draggable {
                    float: right;
                    opacity: .3;
                  }
243

244 245
                  a {
                    color: #000;
246 247
                  }
                }
248
              }
249

250
            }
251
          }
252 253 254 255 256
        }
      }
    }
  }
}