-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
100 lines (90 loc) · 1.86 KB
/
app.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
body {
margin: 0;
padding: 1em;
background: #FFFFFF;
}
[data-cart-info],
[data-credit-card] {
transform: scale(0.78);
margin-left: -3.4em;
}
[data-cc-info] input:focus,
[data-cc-digits] input:focus {
outline: none;
}
.mdc-card__primary-action,
.mdc-card__primary-action:hover {
cursor: auto;
padding: 20px;
min-height: inherit;
}
[data-credit-card] [data-card-type] {
transition: width 1.5s;
margin-left: calc(100% - 130px);
}
[data-credit-card].is-visa {
background: linear-gradient(135deg, #622774 0%, #c53364 100%);
}
[data-credit-card].is-mastercard {
background: linear-gradient(135deg, #65799b 0%, #5e2563 100%);
}
.is-visa [data-card-type],
.is-mastercard [data-card-type] {
width: auto;
}
input.is-invalid,
.is-invalid input {
text-decoration: line-through;
}
::placeholder {
color: #fff;
}
/* Add Your CSS From Here */
.material-icons {
font-size: 150px;
}
[data-credit-card] {
width: 435px;
min-height: 240px;
border-radius: 10px;
background-color: #5d6874;
}
[data-card-type] {
display: block;
width: 120px;
height: 60px;
}
[data-cc-digits] input {
color: #FFFFFF;
font-size: 2em;
line-height: 2em;
border: none;
background: none;
margin-right: 0.5em;
}
div[data-cc-digits] {
margin-top: 2em;
}
div[data-cc-info] {
margin-top: 1em;
}
[data-cc-info] input {
color: #FFFFFF;
font-size: 1.2em;
border: none;
background: none;
}
[data-cc-info] input:nth-child(2) {
padding-right: 10px;
float: right;
}
div[data-cart-info] span {
display: inline-block;
vertical-align: middle;
}
[data-pay-btn] {
position: fixed;
width: 90%;
border: 1px solid;
bottom: 20px;
}