blob: 3345a324954f30e5e8607790b02fb3a56946e5fc (
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
|
@import '../../shared/styles/gutenberg-colors.scss';
@import '../../shared/styles/gutenberg-variables.scss';
.wp-block-jetpack-simple-payments {
font-family: $default-font;
display: grid;
grid-template-columns: 200px auto;
grid-column-gap: 10px;
.simple-payments__field {
.components-base-control__label {
display: none;
}
.components-base-control__field {
margin-bottom: 1em;
}
// Reset empty space under textarea on Chrome
textarea {
display: block;
}
}
.simple-payments__field-has-error {
.components-text-control__input,
.components-textarea-control__input {
border-color: var( --color-error );
}
}
.simple-payments__price-container {
display: flex;
flex-wrap: wrap;
.simple-payments__field {
margin-right: 10px;
}
.simple-payments__help-message {
flex: 1 1 100%;
margin-top: 0;
}
}
.simple-payments__field-price {
.components-text-control__input {
max-width: 90px;
}
}
.simple-payments__field-email {
.components-text-control__input {
max-width: 400px;
}
}
.simple-payments__field-multiple {
.components-toggle-control__label {
line-height: 1.4em;
}
}
.simple-payments__field-content .components-textarea-control__input {
min-height: 32px;
}
}
|