summaryrefslogtreecommitdiffstats
path: root/app/common/styles/elements/file-upload.scss
blob: ad459f71e4fe7b9cfd511ed83dd29677c8755d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Choose/upload button
.file-upload-input {
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.file-upload-input:focus {
  outline: 0.2rem solid $base-02--04;
}

.file-filename {
  overflow: hidden;
  text-overflow: ellipsis;
  width: 300px;
  white-space: nowrap;
  padding-right: 0.5rem;
}

.file-upload-error {
  border-bottom: 2px solid $notification-error--dark;
}

.file-upload {
  min-width: 240px;
  max-width: 330px;
  .file-upload-container {
    align-items: center;
    background: $background-02;
    display: flex;
    height: 2.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    .file-upload-reset {
      padding: 0;
      icon {
        margin: 0;
      }
    }
  }
}
OpenPOWER on IntegriCloud