-
Notifications
You must be signed in to change notification settings - Fork 1
/
form.css
128 lines (125 loc) · 2.57 KB
/
form.css
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
116
117
118
119
120
121
122
123
124
125
126
127
128
@charset "UTF-8";
/* Это нужно убрать начало */
.form-wrapper {
background-color: #fff;
position: absolute;
top: 50%;
left: 50%;
font-family: "PT Sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
max-width: 400px;
transform: translate(-50%, -50%);
border-radius: 15px;
padding: 20px;
}
/* Это нужно убрать конец */
.cp-form {
display: flex;
flex-direction: column;
justify-content: center;
}
.cp-form__label {
font-size: 20px;
padding: 0px 5px;
display: block;
font-weight: 400;
}
.cp-form__money {
display: block;
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin: 10px 0;
}
.cp-form__money-button {
outline: none;
background: #fff;
border-radius: 5px;
border: 1px solid #cacaca;
box-sizing: border-box;
cursor: pointer;
transition: all 0.3s;
/* шрифт */
padding: 10px 15px;
font-size: 20px;
}
.cp-form__money-button:hover {
background-color: #991B1E;
border: 1px solid #991B1E;
color: #fff;
}
.cp-form__money-button:active {
color: #b4b4b4;
}
.cp-form__money-button:focus {
border: 1px solid #8a8a8a;
background-color: #fefefe;
outline: none;
box-shadow: 0 0 5px #cacaca;
transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
}
.cp-form__input {
background-color: #fefefe;
transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
box-sizing: border-box;
display: block;
border: 1px solid #cacaca;
outline: none;
border-radius: 5px;
margin: 10px 0;
/* шрифт */
font-wetght: 300;
padding: 5px;
font-size: 15px;
}
.cp-form__input:focus {
border: 1px solid #8a8a8a;
background-color: #fefefe;
outline: none;
box-shadow: 0 0 5px #cacaca;
transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
}
.cp-form__money-input {
/* шрифт */
padding: 15px;
font-size: 20px;
}
.cp-form__submit {
box-sizing: border-box;
background: #991B1E;
border: none;
outline: none;
border-radius: 10px;
color: #ffffff;
border: 2px solid #bebebe00;
margin: 10px 0;
cursor: pointer;
transition: all 0.4s;
/* шрифт */
padding: 10px;
font-size: 20px;
}
.cp-form__submit:focus {
border: 2px solid #464646;
}
.cp-form__submit:hover {
background: #1B76FE;
}
.cp-form__policy {
display: inline-block;
margin: auto;
max-width: 250px;
text-align: center;
/* шрифт */
font-size: 12px;
}
.cp-form a {
color: #000 !important;
}
@media screen and (max-width: 700px) {
.cp-form__money-button {
width: 100%;
}
}
/*# sourceMappingURL=form.css.map */