aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/formControls/component/file/file.formControl.component.scss
blob: 98fae0249f3d6a116b2bd4ba963d3302897b640f (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
87
.file-form-control{
  label{
    color: #191919;
  }
  input[type=file] {
    opacity: 0;
    flex: 0;
  }
  .file-input-wrapper{
    display: flex;
    background: #FFFFFF;
    border: 1px solid #D2D2D2;
    border-radius: 2px;
    height: 38px;
    &:hover{
      cursor: pointer;
      border: 1px solid #009FDB;
        .icon-browse{
          background: #E6F6FB;
          border-left: 1px solid #009FDB;
          &:before{
            color: #009FDB;
          }
      }
    }
    &:active{
      .icon-browse{
        background: #1EB9F3;
        border-left: 1px solid #009FDB;
        &:before{
          color: #ffffff;
        }
      }
    }
    .file-name {
      font-family: OpenSans-Italic;
      font-weight: normal;
      font-size: 14px;
      color: #959595;
      margin: 9px;
      width: 100%;
    }
    .icon-browse{
      z-index: 1;
      margin-left: auto;
      margin-bottom: 0;
      cursor: pointer;
      content: "\e90d";
      color: #5A5A5A;
      font-size: 30px;
      display: block;
      text-align: center;
      padding-top: 4px;
      background: #F2F2F2;
      border-left: 1px solid #D2D2D2;
      width: 36px;
      height:100%;
      &:before{
        content: "\e90d";
        color: #5A5A5A;
      }
    }
    .delete{
      visibility: hidden;
      cursor: pointer;
      font-size: 14px;
      margin-right: 10px;
      margin-top: 9px;
      color: #5a5a5a;
      margin-left: 10px;
      z-index: 1;
      &:hover{
        color: #000000;
      }
    }
    &.file-uploaded{
      .file-name{
        font-family: OpenSans-Regular;
        font-size: 14px;
        color: #000000;
      }
      .delete{
        visibility: visible;
      }
    }
  }
}