PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
give / src / Views / Form / Templates / Classic / resources / css / _currencyswitcher.scss

_currencyswitcher.scss in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/Views/Form/Templates/Classic/resources/css/_currencyswitcher.scss

70 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'fn';
2
3 .give-donation-amount {
4 position: relative;
5 }
6
7 .give-cs-mini-dropdown {
8 appearance: none;
9 cursor: pointer;
10 position: absolute;
11 inline-size: calc(var(--currency-text-width, auto) + 2.75rem);
12 block-size: fn.scaleBetween(2.625rem, 3.125rem);
13 border-width: 0;
14 border-style: dotted;
15 border-color: #c1c1c1;
16 background: none;
17 color: transparent;
18 inset-inline-end: 0.625rem;
19 margin-inline-end: 0.625rem;
20 border-inline-start-width: 0.125rem;
21
22 option {
23 color: #333;
24 }
25
26 &:first-child {
27 inset-inline-end: 0;
28 inset-inline-start: 0.625rem;
29 margin-inline-start: 0.625rem;
30 margin-inline-end: 0;
31 border-inline-start-width: 0;
32 border-inline-end-width: 0.125rem;
33 }
34
35 &:focus {
36 padding: 1.25rem;
37 border-radius: 0.3125rem;
38 border: 0.0625rem solid var(--give-primary-color);
39 outline: none;
40 }
41
42 + span.give-currency-position-after {
43 padding: 0;
44 }
45
46 ~ span.give-currency-symbol {
47 padding-inline-end: 1.875rem;
48 display: inline-flex;
49 column-gap: 0.5em;
50 align-items: center;
51 white-space: nowrap;
52
53 &::after {
54 display: inline;
55 content: '\f0d7';
56 font-family: 'Font Awesome 5 Free';
57 font-weight: 900;
58 font-size: 0.75em;
59 color: #6f6f6f;
60 }
61 }
62 }
63
64 // We move the message outside of the wrap and then the only contents are hidden
65 // fields. This is important since gateway changes add display: block as an
66 // inline style.
67 .give-currency-switcher-wrap {
68 display: none !important;
69 }
70