Skip to content

Commit b58ef61

Browse files
committed
donate
1 parent 116b6f4 commit b58ef61

5 files changed

Lines changed: 55 additions & 11 deletions

File tree

handlers/donate/templates/newOrder.jade

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,25 @@ block content
2222

2323
+b("form").complex-form(data-order-form)
2424
+e.step._current
25-
+e('h2').alternate-title Сумма
25+
+e('h2').alternate-title Сумма поддержки
2626

27-
p= orderTemplate.description
27+
+e(p).description= orderTemplate.description
2828

2929
+b.text-input
30-
+e('input').control(name="amount", required, type="number")
31-
select(name="currency" data-order-currency)
30+
+e('input').control._big(name="amount", required, type="number")
31+
32+
+b('select').input-select._big(name="currency" data-order-currency)
3233
option(value="RUB") RUB
3334
option(value="USD") USD
3435
option(value="EUR") EUR
3536

3637
if (!user)
37-
+e('h2').alternate-title Укажите свой email
38+
+e('h2').alternate-title Ваш email
3839
+b.text-input.__email
39-
+e('input').control(placeholder="[email protected]", name="email", required, type="email")
40-
+e.email-note Для истории
40+
+e('input').control._big(placeholder="[email protected]", name="email", required, type="email")
41+
+e(p).description Мы пришлем вам подтверждение и запишим вас в исторический список поддержавших проект
4142

42-
+e('h2').alternate-title Выберите метод
43+
+e('h2').alternate-title Выберете метод оплаты
4344
+e.body
4445
+b.extract._small.__extract
4546
include ../../payments/common/templates/payment-methods

styles/blocks/complex-form/complex-form.styl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
max-width 490px
2222
margin auto
2323

24+
&__description
25+
max-width 500px
26+
margin 20px auto 40px
27+
font-size 14px
28+
line-height 19px
29+
color #20252B
30+
font-family 'Open Sans', Helvetica, Arial, sans-serif
31+
2432
&__step
2533
@extend $yellow-border
2634
display none
@@ -52,7 +60,7 @@
5260
color #333
5361

5462
&__email
55-
width 250px
63+
width 350px
5664

5765
&__email-note
5866
font-size 12px

styles/blocks/donate/donate.styl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.donate
2+
max-width 780px
3+
margin auto
4+
5+
&__currency
6+
width 83px
7+
margin-left 10px
8+
padding 10px 4px 10px 10px
9+
vertical-align middle
10+
&__value
11+
padding 10px 4px
12+
height 38px
13+
vertical-align middle
14+
&__email
15+
padding 10px 4px
16+
height 38px
17+
vertical-align middle
18+
&__title
19+
font-size 12px
20+
&__description
21+
max-width 500px
22+
margin 20px auto 40px
23+
font-size 14px
24+
line-height 19px
25+
color #20252B
26+
font-family 'Open Sans', Helvetica, Arial, sans-serif

styles/blocks/input-select/input-select.styl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838
&:-moz-focusring
3939
color transparent
4040
text-shadow 0 0 0 #000
41-
41+
&_big
42+
width 83px
43+
margin-left 10px
44+
padding 10px 4px 10px 10px
45+
vertical-align middle
4246
&_small
4347
line-height 14px
4448
font-size 14px
4549
padding 0 25px 0 10px
46-
height 32px
50+
height 32px

styles/blocks/text-input/text-input.styl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
margin 0
1414
height 34px // Safari
1515

16+
&_big
17+
padding 10px 4px
18+
height 38px
19+
vertical-align middle
20+
1621
&_with-aside &__control
1722
padding-right 85px
1823

0 commit comments

Comments
 (0)