donation.less 2.62 KB
Newer Older
1
2
3
#donation {
    .donation-form-group {
        text-align: left;
4
        font-size: 1em;
5
6
7
8
9
10
11
12
13
    }

    .donation-form-group label {
        font-weight: bold;
    }
    .section {
        .card-light;
        margin: 8px 0;
    }
Karl Hasselbring's avatar
Karl Hasselbring committed
14

15
16
17
18
19
20
21
    .col-left .section{
        margin: 8px;
        margin-left: 0;
        @media(max-width: @screen-small){
            margin-right: 0;
        }
    }
Dominik Hebeler's avatar
Dominik Hebeler committed
22
23
24
    #direct-payment > p {
        margin: 0;
    }
25
26
27
28
29
30
31
32
33
34
35
36
37

    input[type=radio] {
        margin: 0px;
        margin-left: 2px;
        margin-right: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        
    }
    h3 {
        font-weight:bold;
    }
    .amount-label {
Kim Höfer's avatar
Kim Höfer committed
38
39
        display: inline-block;
        vertical-align: middle;
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
        text-align: center;
        margin-bottom: 4px;
        margin-top: 4px;
        margin-right: 5px;
        font-size: 18px;
        font-weight: normal;
        width:4em;
        border: 2px solid #a6a6a6;
        border-radius: 5px;
        
    }
    .frequency-radio {
        display:none;
    }
    .amount-radio {
        display:none;
    }
Kim Höfer's avatar
Kim Höfer committed
57
 
58
    .frequency-label {
Kim Höfer's avatar
Kim Höfer committed
59
60
        display: inline-block;
        vertical-align: middle;
61
62
63
64
        margin-top: 5px;
        height:45px;
        font-weight: normal;
        text-align: center;
Kim Höfer's avatar
Kim Höfer committed
65
        line-height: 40px;
66
67
68
69
        border: 2px solid #a6a6a6;
        width: 150px;
        border-radius: 6px;
    }
Kim Höfer's avatar
Kim Höfer committed
70
    .payment-label { 
Kim Höfer's avatar
Kim Höfer committed
71
72
        display: inline-block;
        vertical-align: middle;
Kim Höfer's avatar
Kim Höfer committed
73
74
        display: inline-block;
        color: @text-color;  
75
76
77
        margin-top: 5px;
        height:45px;
        font-weight: normal;
Kim Höfer's avatar
Kim Höfer committed
78
        line-height: 40px;
79
80
81
82
83
84
85
86
87
88
89
        text-align: center;
        border: 2px solid #a6a6a6;
        width: 150px;
        border-radius: 6px;
    }
    .amount-row {
        display: flex;
        justify-content: inherit;
        margin-bottom: 8px;
        height: 40px;        
      }
Kim Höfer's avatar
Kim Höfer committed
90
91
92
93

    .custom-amount-container {
        display: flex;
    }
94
    .amount-custom {
Kim Höfer's avatar
Kim Höfer committed
95
        flex-grow: 0;
96
97
98
99
100
101
        text-align: center;
        align-items: center;
        margin-right: 4px;
        padding-right: 8px;
        padding-left: 4px;
        height: 30px;
Kim Höfer's avatar
Kim Höfer committed
102
        //width: 8em;
103
104
105
106
107
108
109
110
111
        font-weight: normal;
        border: 2px solid #a6a6a6;
        border-radius: 5px;
    }
    #amount-custom {
        display: none;
    }
    #custom-amount {
        display: none;
Kim Höfer's avatar
Kim Höfer committed
112
        height: 30px;
113
114
115
116
117
        width: 164px;
    }
    #amount-custom:checked + label + input{
        display: initial;
    }
Kim Höfer's avatar
Kim Höfer committed
118
    input[type=radio]:checked + label, .payment-label-selected {
119
120
        border: 4px solid #f47216;
    }
Kim Höfer's avatar
Kim Höfer committed
121
122
123
124
125

    #donate-button {
        height: 45px;
        
    }
126
}
127