donation.less 2.78 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
        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;
Dominik Hebeler's avatar
Dominik Hebeler committed
49
        cursor: pointer;
50
51
52
53
54
55
56
    }
    .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
        border: 2px solid #a6a6a6;
        width: 150px;
        border-radius: 6px;
Dominik Hebeler's avatar
Dominik Hebeler committed
69
        cursor: pointer;
70
    }
Kim Höfer's avatar
Kim Höfer committed
71
    .payment-label { 
Kim Höfer's avatar
Kim Höfer committed
72
73
        display: inline-block;
        vertical-align: middle;
Kim Höfer's avatar
Kim Höfer committed
74
75
        display: inline-block;
        color: @text-color;  
76
77
78
        margin-top: 5px;
        height:45px;
        font-weight: normal;
Kim Höfer's avatar
Kim Höfer committed
79
        line-height: 40px;
80
81
82
83
84
85
86
87
88
89
90
        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
91
92
93
94

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

Kim Höfer's avatar
Kim Höfer committed
125
    input[type=radio]:checked + label, .payment-label-selected {
126
127
        border: 4px solid #f47216;
    }
Kim Höfer's avatar
Kim Höfer committed
128
129
130
131
132

    #donate-button {
        height: 45px;
        
    }
133
}
134