PluginProbe
seQura / 3.2.2
seQura v3.2.2
4.3.4 4.3.3 4.3.2 4.3.1 trunk 2.0.0 2.0.10 2.0.11 2.0.12 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0.0 3.0.2 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 4.0.0 All 30 releases
sequra / assets / css / scss / checkout.scss

checkout.scss in seQura 3.2.2, at assets/css/scss/checkout.scss

120 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use "loader" as *;
2 .sequra-payment-method {
3 display: flex;
4 width: 100%;
5 position: relative;
6 padding-left: 3.5em;
7 padding-right: 0.75em;
8 padding-top: 1em;
9 padding-bottom: 1em;
10 box-sizing: border-box;
11
12 &::after {
13 border-bottom-left-radius: 4px;
14 border-bottom-right-radius: 4px;
15 background: hsla(0, 0%, 7%, 0.11);
16 content: "";
17 height: 1px;
18 left: 1px;
19 position: absolute;
20 right: 1px;
21 top: 0;
22 }
23 &:last-child::after {
24 border-width: 1px;
25 }
26
27 > label {
28 display: flex;
29 flex-wrap: nowrap;
30 width: 100%;
31 font-size: 0.9em;
32 }
33 &__icon {
34 order: 1;
35 height: auto !important;
36 width: 64px !important;
37 }
38 &__description {
39 display: grid;
40 flex-grow: 1;
41 }
42 &__name {
43 // font-weight: 700;
44 }
45 &__input {
46 display: inline-block !important;
47 }
48
49 .sequra_more_info {
50 cursor: pointer;
51 text-decoration: underline;
52 }
53 }
54 .sequra-block__description {
55 margin-bottom: 1em;
56 display: block;
57
58 & + .sequra-payment-method::after {
59 display: none;
60 }
61 }
62
63 // Classic checkout
64 .wc_payment_methods {
65 > .wc_payment_method.payment_method_sequra {
66 #payment_method_sequra,
67 [for="payment_method_sequra"]="payment_method_sequra""],
68 .payment_box::before,
69 .sequra-block__description {
70 display: none !important;
71 }
72 .payment_box {
73 background-color: inherit !important;
74 display: block !important;
75 margin: 0.25em 0 !important;
76 }
77 .payment_box,
78 .sequra-payment-method {
79 padding: 0 !important;
80 }
81 .sequra-payment-method {
82 margin-bottom: 0.5em !important;
83 &::after {
84 display: none;
85 }
86
87 &__name {
88 // font-weight: inherit;
89 // color: var(--wp--preset--color--contrast, #000);
90 // font-size: var(--wp--preset--font-size--medium, 1em);
91 }
92
93 &__input {
94 margin-right: 10px;
95 }
96
97 &_claim {
98 // font-size: 0.92em;
99 }
100
101 & > label {
102 // font-size: inherit;
103 font-size: revert;
104 margin-bottom: 0 !important;
105 }
106 &__icon {
107 width: 80px !important;
108 }
109 }
110 }
111
112 > .wc_payment_method:not(.payment_method_sequra) > input[type="radio"]="radio""]:not(:checked) ~ .payment_box {
113 display: none !important;
114 }
115
116 .payment_box.payment_method_sequra {
117 box-shadow: none;
118 }
119 }
120