PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
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 2.30.0 All 255 releases
give / src / DonationForms / V2 / resources / components / AddCampaignFormModal / AddCampaignFormModal.module.scss

AddCampaignFormModal.module.scss in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/DonationForms/V2/resources/components/AddCampaignFormModal/AddCampaignFormModal.module.scss

136 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .addFormModal {
2
3 :global {
4 .givewp-modal-dialog {
5 width: 100%;
6 max-width: 60rem;
7
8 .givewp-modal-header {
9 font-size: 1.25rem;
10 font-weight: 600;
11 line-height: 1.6;
12 }
13
14 .givewp-modal-close {
15 translateY: 4.5px;
16 }
17
18 .givewp-editor-options {
19 display: flex;
20
21 justify-content: space-between;
22 gap: 1rem;
23
24 &__option_recommended {
25 width: 112px;
26 height: 22px;
27 flex-grow: 0;
28 display: flex;
29 flex-direction: row;
30 justify-content: center;
31 align-items: center;
32 gap: 4px;
33 padding: 2px 12px;
34 border-radius: 24px;
35 background-color: var(--givewp-purple-500);
36
37 font-size: 12px;
38 font-weight: 600;
39 font-stretch: normal;
40 font-style: normal;
41 line-height: 1.5;
42 letter-spacing: normal;
43 text-align: left;
44 color: var(--givewp-purple-25);
45
46 position: relative;
47 margin: -3.3rem 0 1.75rem 0.3rem;
48 }
49
50 &__option_selected_icon {
51 display: flex;
52 justify-content: flex-end;
53 width: 100%;
54
55 svg {
56 margin-top: -1.5rem;
57 margin-right: -1.4rem;
58 margin-bottom: 0.2rem;
59 display: none;
60 }
61 }
62
63 &__option {
64 background-color: #f9fafb;
65 max-width: 28.25rem;
66 width: 100%;
67 padding: 1.5rem 1.5rem 0 1.5rem;
68 border: 1px solid #ddd;
69 border-radius: 0.5rem;
70 cursor: pointer;
71
72 /* Hide the radio button input */
73 input {
74 position: absolute;
75 opacity: 0;
76 cursor: pointer;
77 height: 0;
78 width: 0;
79 }
80
81 img {
82 width: 100%;
83 max-height: 15rem;
84 object-fit: cover;
85 object-position: 0 0;
86 margin-bottom: 1rem;
87 }
88
89 label {
90 font-size: 1rem;
91 font-weight: 500;
92 color: #060c1a;
93 }
94
95 p {
96 font-size: 0.875rem;
97 margin-top: 0.4rem;
98 color: #4b5563;
99 }
100
101 &:hover {
102 border-color: var(--givewp-green-500);
103 }
104 }
105
106 &__option_selected {
107 border: 2px solid var(--givewp-green-500);
108
109 svg {
110 display: block;
111 }
112 }
113 }
114
115 .givewp-editor-actions {
116
117 display: flex;
118 justify-content: flex-end;
119 gap: 1rem;
120 width: 100%;
121 margin-top: 2.5rem;
122
123 &__button {
124 border-radius: 0.5rem;
125 font-size: 1rem;
126 font-weight: 600;
127 line-height: 1.25rem;
128 padding: 1.1rem;
129 width: 22.5rem;
130 text-align: center;
131 }
132 }
133 }
134 }
135 }
136