Blame view

frontend/web/css/modal.scss 2.32 KB
eb56e5f2   Administrator   first commit
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
  

  /* формируем кнопку закрытия */

  .close {

    position: absolute;

    padding: 0;

    top: -24px;

    right: -24px;  opacity: 1;

    text-align: center;

    text-decoration: none;

    font-weight: bold;

    line-height: 20px;

    -webkit-transition: background-color ease .7s;

    -moz-transition:  background-color ease .7s;

    -ms-transition:  background-color ease .7s;

    -o-transition:  background-color ease .7s;

    transition: background-color ease .7s;

    &:hover {

      &:before{

        color: #efba00;

      }

    }

  

  }

  .close:before {

    color: rgba(255, 255, 255, 0.9);

    content: '\2715';

    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);

    font-size: 22px;

    color: #fcd016;

  }

  

  .has-error input {

    border: 1px solid #dc0a05!important;

    box-shadow: none!important;

  }

  .form-control {

    display: block;

    box-sizing: border-box;

    width: 100%;

    height: 34px;

    padding: 6px 12px;

    font-size: 14px;

    line-height: 1.42857143;

    color: #555;

    background-color: #fff;

    background-image: none;

    border: 1px solid #ccc;

    border-radius: 4px;

    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);

    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);

    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;

    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;

    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;

  }

  .has-error{

    label,.help-block {

      color: red;

    }

    input {

      border: 1px solid red;

      box-shadow: none!important;

    }

  }

  

  .form-group{

    margin-bottom: 20px;

    label{

      line-height: 24px;

    }

  }

  .form-group-2-l{

    display: flex;

    label{

      line-height: 24px;

      height: 34px;

      padding: 5px;

    }

  }

  .form-footer{

    padding-top: 20px;

    text-align: center;

  }

  

  

  .modal {

    text-align: center;

    padding: 0!important;

  

    &:before {

      content: '';

      display: inline-block;

      height: 100%;

      vertical-align: middle;

      margin-right: -4px;

    }

    .modal-header {

      padding-bottom: 0;

      border-bottom: none;

    }

  

    @include respond-to('md'){

      .modal-header{

        padding: 40px 180px 0;

      }

      .modal-body{

        padding: 0 180px 40px;

      }

    }

  }

  .modal-dialog {

    display: inline-block;

    text-align: left;

    vertical-align: middle;

    margin: 30px;

  }