PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.0
GiveWP – Donation Plugin and Fundraising Platform v4.15.0
4.18.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 All 257 releases
give / src / Views / Form / Templates / Sequoia / assets / css / currencyswitcher.scss

currencyswitcher.scss in GiveWP – Donation Plugin and Fundraising Platform 4.15.0, at src/Views/Form/Templates/Sequoia/assets/css/currencyswitcher.scss

81 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* stylelint-disable no-descending-specificity */
2 form[data-currency_position='after']='after'] .give-donation-amount .give-cs-select-currency.give-cs-mini-dropdown {
3 position: absolute;
4 padding: 0;
5 width: calc(100% - 24px) !important;
6 right: 0;
7 border: none;
8 background: none;
9 color: rgba(255, 255, 255, 0);
10 margin-right: 0 !important;
11
12 &:focus {
13 outline: none;
14 & + .give-currency-symbol {
15 border: 1px solid #28c77b !important;
16 border-radius: 3px;
17 }
18 }
19
20 ~ span.give-currency-symbol.give-currency-position-after {
21 padding: 0 10px 0 30px !important;
22 margin-right: -10px !important;
23
24 &::before {
25 left: 10px;
26 right: unset;
27 border-color: #6f6f6f transparent transparent;
28 }
29 }
30 }
31
32 form[data-currency_position='before']='before'] .give-donation-amount .give-cs-select-currency.give-cs-mini-dropdown {
33 position: absolute;
34 padding: 0;
35 width: calc(100% - 24px) !important;
36 left: 0;
37 border: none;
38 background: none;
39 color: rgba(255, 255, 255, 0);
40
41 &:focus {
42 outline: none;
43 & + .give-currency-symbol {
44 border: 1px solid #28c77b !important;
45 border-radius: 3px;
46 }
47 }
48
49 ~ span.give-currency-symbol.give-currency-position-before {
50 padding: 0 30px 0 10px !important;
51 margin-left: -10px !important;
52
53 &::before {
54 right: 10px;
55 border-color: #6f6f6f transparent transparent;
56 }
57 }
58 }
59
60 /* @link https://github.com/impress-org/givewp/issues/5452 */
61 form .give-donation-amount .give-cs-select-currency.give-cs-mini-dropdown option {
62 color: initial;
63 }
64
65 .give-currency-switcher-msg {
66 margin: 5px 30px -15px 30px !important;
67 font-weight: 500;
68 font-size: 16px;
69 line-height: 1.4;
70 padding: 20px 20px 20px 22px !important;
71 color: #333;
72 display: inline-block;
73 text-align: center;
74 background: #fff;
75 border: 1px solid rgba(255, 255, 255, 0);
76 box-sizing: border-box;
77 box-shadow: 0 0 16px rgba(0, 0, 0, 0.121203);
78 border-radius: 5px;
79 position: relative;
80 }
81