summaryrefslogtreecommitdiffstats
path: root/app/configuration/styles/virtual-media.scss
blob: f7d75b8a840ebfbfb58328e85857bf5a26fde3ff (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.vm__page-description {
  margin-top: 1em;
  margin-bottom: 3em;
}

.vm__upload {
  align-items: center;
  margin-bottom: 2em;
}

.vm__upload-chooser {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0.7em 0.7em 0.7em 0;
}
.vm__upload-choose-label {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  margin-right: 4px;
}

.vm__upload-choose-button {
  padding: 0.5em 0.75em;
  font-size: 1rem;
  background-color: $white;
  min-width: 3em;
  &.disabled {
    background-color: $btn__disabled-bg;
  }
}

.vm__upload-content {
  flex: 1 0 220px;
  max-width: 640px;

  .icon__exit {
    float: right;
    cursor: pointer;
    width: 0.75em;
    height: 0.75em;
    margin: 0.3em 1em 0.3em 0.3em;
    background-image: url(../assets/images/crit-x-black.svg);
  }
}

.vm__upload-controls {
  display: flex;
  align-items: center;
}

.vm__upload-name {
  flex: 1 0 220px;
  background-color: $medgrey;
  padding: 0.5em;
}

.vm__error-border,
.vm__active-border {
  border-top: 2px solid $error-color;
  margin-top: 4px;
  padding-top: 4px;
}
.vm__active-border {
  border-color: $status-ok;
}

.vm__active-text {
  color: $status-ok;
  font-size: 0.8rem;
  margin-top: 4px;
}

.vm__upload-start {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 100%;
  margin-top: 1em;

  @media screen and (min-width: 760px) {
    flex-basis: auto;
    margin-top: 0;
    margin-left: 0.75em;
  }
}
OpenPOWER on IntegriCloud