_assets.scss 2.92 KB
Newer Older
1 2
.assets {
  input.asset-search-input {
Tom Giannattasio committed
3
    float: left;
4 5 6
    width: 260px;
    background-color: #fff;
  }
7

Tom Giannattasio committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  .asset-library {
    @include clearfix;

    table {
      width: 100%;
      border-radius: 3px 3px 0 0;
      border: 1px solid #c5cad4;

      td,
      th {
        padding: 10px 20px;
        text-align: left;
        vertical-align: middle;
      }

      thead th {
Tom Giannattasio committed
24 25
        @include linear-gradient(top, transparent, rgba(0, 0, 0, .1));
        background-color: #ced2db;
Tom Giannattasio committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
        font-size: 12px;
        font-weight: 700;
        text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
      }

      tbody {
        background: #fff;

        tr {
          border-top: 1px solid #c5cad4;

          &:first-child {
            border-top: none;
          }
        }
41

42 43 44 45
        .name-col {
          font-size: 14px;
        }

46 47 48
        .date-col {
          font-size: 12px;
        }
Tom Giannattasio committed
49 50 51 52 53 54 55
      }

      .thumb-col {
        width: 100px;
      }

      .date-col {
56
        width: 220px;
Tom Giannattasio committed
57 58 59
      }

      .embed-col {
60 61 62 63
        width: 250px;
      }

      .embeddable-xml-input {
64
        @include box-shadow(none);
65
        width: 100%;
Tom Giannattasio committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
      }

      .thumb {
        width: 100px;
        max-height: 80px;

        img {
          width: 100%;
        }
      }
    }

    .pagination {
      float: right;
      margin: 15px 10px;

      ol, li {
        display: inline;
      }

      a {
        display: inline-block;
        height: 25px;
        padding: 0 4px;
        text-align: center;
        line-height: 25px;
      }
    }
  }
Lyla Fischer committed
95 96 97
    .show-xml {
    @include blue-button;
  }
Tom Giannattasio committed
98 99 100
}

.upload-modal {
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 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
  display: none;  
  width: 640px !important;
  margin-left: -320px !important;

  .modal-body {
    height: auto !important;
    overflow-y: auto !important;
    text-align: center;
  }

  .file-input {
    display: none;
  }

  .choose-file-button {
    @include blue-button;
    padding: 10px 82px 12px;
    font-size: 17px;
  }

  .progress-bar {
    display: none;
    width: 350px;
    height: 50px;
    margin: 30px auto 10px;
    border: 1px solid $blue;

    &.loaded {
      border-color: #66b93d;

      .progress-fill {
        background: #66b93d;
      }
    }
  }

  .progress-fill {
    width: 0%;
    height: 50px;
    background: $blue;
    color: #fff;
    line-height: 48px;
  }

  h1 {
    float: none;
    margin: 40px 0 30px;
    font-size: 34px;
    font-weight: 300;
  }

  .close-button {
    @include white-button;
    position: absolute;
    top: 0;
    right: 15px;
    width: 29px;
    height: 29px;
    padding: 0 !important;
    border-radius: 17px !important;
    line-height: 29px;
    text-align: center;
  }
Tom Giannattasio committed
164

165 166 167 168 169 170 171 172 173 174 175
  .embeddable {
    display: none;
    margin: 30px 0 130px;

    label {
      display: block;
      margin-bottom: 10px;
      font-weight: 700;
    }
  }

176 177
  .embeddable-xml-input {
    @include box-shadow(none);
178 179 180
    width: 400px;
  }

181 182 183 184 185
  .copy-button {
    @include white-button;
    display: none;
    margin-bottom: 100px;
  }
186
}