File size: 767 Bytes
72c8f1c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .input,
  .input-file {
    flex: 1 0 auto;
    margin-right: .6rem;
  }
}

.input {
  @include input;

  &:hover {
    background: $color-select;
  }
}

.input-file {
  @include input-base(0 12px);
  @include font(.875rem, 22px);
  color: #aaa;
  box-shadow: $box-shadow;
  background-color: #fff;
  display: block;
  border-radius: 4px;
  vertical-align: middle;
  cursor: pointer;
  margin-top: -4px;

  &:hover {
    background: $color-select;
  }

  &:active {
    transform: translateY(2px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  }

  &.has-file {
    color: $color-black;
  }

  input {
    display: none;
  }
}