blob: f7d75b8a840ebfbfb58328e85857bf5a26fde3ff [file] [log] [blame]
beccabroek44da4712019-03-20 13:24:23 -05001.vm__page-description {
2 margin-top: 1em;
3 margin-bottom: 3em;
4}
5
6.vm__upload {
7 align-items: center;
8 margin-bottom: 2em;
9}
10
11.vm__upload-chooser {
12 display: flex;
13 flex-wrap: wrap;
14 align-items: baseline;
15 margin: 0.7em 0.7em 0.7em 0;
16}
17.vm__upload-choose-label {
18 flex-grow: 0;
19 flex-shrink: 0;
20 flex-basis: auto;
21 margin-right: 4px;
22}
23
24.vm__upload-choose-button {
25 padding: 0.5em 0.75em;
26 font-size: 1rem;
27 background-color: $white;
28 min-width: 3em;
29 &.disabled {
30 background-color: $btn__disabled-bg;
31 }
32}
33
34.vm__upload-content {
35 flex: 1 0 220px;
36 max-width: 640px;
37
38 .icon__exit {
39 float: right;
40 cursor: pointer;
41 width: 0.75em;
42 height: 0.75em;
43 margin: 0.3em 1em 0.3em 0.3em;
44 background-image: url(../assets/images/crit-x-black.svg);
45 }
46}
47
48.vm__upload-controls {
49 display: flex;
50 align-items: center;
51}
52
53.vm__upload-name {
54 flex: 1 0 220px;
55 background-color: $medgrey;
56 padding: 0.5em;
57}
58
59.vm__error-border,
60.vm__active-border {
61 border-top: 2px solid $error-color;
62 margin-top: 4px;
63 padding-top: 4px;
64}
65.vm__active-border {
66 border-color: $status-ok;
67}
68
69.vm__active-text {
70 color: $status-ok;
71 font-size: 0.8rem;
72 margin-top: 4px;
73}
74
75.vm__upload-start {
76 flex-grow: 0;
77 flex-shrink: 0;
78 flex-basis: 100%;
79 margin-top: 1em;
80
81 @media screen and (min-width: 760px) {
82 flex-basis: auto;
83 margin-top: 0;
84 margin-left: 0.75em;
85 }
86}