Blame view

frontend/web/css/_inputs.scss 1.49 KB
8f340aa7   Anastasia   - main page
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
88
89
90
91
92
93
94
95
  $inputs-border:#cccccc;
  $requiredColor:#c23142;
  input {
    width: 100%;
    float: left;
    outline: none!important;
    height: 38px;
    background: #fff;
    border: 1px solid $inputs-border;
    padding-left: 8px;
    margin-top: 8px;
    resize: none;
    box-shadow:none;
  
    &:focus {
      @include Transition(0.2);
      box-shadow: 2px 3px 4px 0px rgba(238, 238, 238, 0.75) inset;
    }
  }
  textarea {
    @extend input;
    padding-top: 8px;
    min-height: 96px;
    max-height: 96px;
    max-width: 100%;
  }
  
  
  .section-books-support {
    textarea {
      min-height: 108px;
      max-height: 108px;
    }
  }
  select {
    @extend input;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url(../images/arrow-dawn.svg) 98% 50% no-repeat;
    background-size: 10px 6px;
  
    &:focus {
      background: #fff url(../images/arrow-up.svg) 98% 50% no-repeat;
      background-size: 10px 6px;
    }
  
  
  }
  
  button[type="submit"] {
    display: block;
    outline: none !important;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    cursor: pointer;
  }
  
  label {
    margin-top: 12px;
    float: left;
    font-size: 15px;
  }
  
  
  
  .has-error {
    input, textarea, select {
      border: 1px solid $requiredColor !important;
    }
  }
  
  .required label {
    position: relative;
    &:before {
      display: block;
      content: "*";
      color: $requiredColor !important;
      position: absolute;
      top: 0;
      right: -11px;
    }
  }
  
  
  .help-block {
    display: none;
    width: 100%;
    float: left;
    font-size: 13px;
    color: #888;
    margin-top: 5px;
  }