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 / Campaigns / resources / admin / components / CampaignDetailsPage / Components / CampaignStats / styles.module.scss

styles.module.scss in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/Campaigns/resources/admin/components/CampaignDetailsPage/Components/CampaignStats/styles.module.scss

144 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .dateRangeFilter {
2 padding: var(--givewp-spacing-2);
3 display: flex;
4 flex-direction: row;
5 justify-content: flex-end;
6 margin-bottom: var(--givewp-spacing-2);
7 background-color: var(--givewp-neutral-50);
8 border-radius: var(--givewp-rounded-8);
9 }
10
11 .dateRangeFilter button {
12 padding: 0.5rem 1rem;
13 background-color: transparent;
14 color: var(--givewp-neutral-900);
15 font-size: 0.875rem;
16 font-weight: 500;
17 line-height: 1.25rem;
18 border: 0;
19 cursor: pointer;
20
21 &:hover {
22 background-color: var(--givewp-neutral-100);
23 }
24
25 &:first-child {
26 border-radius: var(--givewp-rounded-4) 0 0 var(--givewp-rounded-4);
27 }
28
29 &:last-child {
30 border-radius: 0 var(--givewp-rounded-4) var(--givewp-rounded-4) 0;
31 }
32 }
33
34 .dateRangeFilter .selectedDateRange {
35 background-color: var(--givewp-shades-white);
36 font-weight: 600;
37
38 &:hover {
39 background-color: var(--givewp-shades-white);
40 }
41 }
42
43 .statWidget {
44 flex: 1;
45 display: flex;
46 flex-direction: column;
47 justify-content: space-between;
48 gap: var(--givewp-spacing-2);
49 padding: var(--givewp-spacing-6);
50 background-color: var(--givewp-shades-white);
51 color: var(--givewp-neutral-700);
52 font-weight: 600;
53 border-radius: var(--givewp-rounded-8);
54 grid-column: span 1;
55 }
56
57 .statWidget header, .statWidget footer {
58 flex: 1;
59 }
60
61 .statWidget footer{
62 font-size: 12px;
63 font-weight: 400;
64 line-height: 18px;
65 color: var(--givewp-neutral-700);
66 }
67
68 .statWidgetAmount {
69 flex: 1;
70 display: flex;
71 flex-direction: row;
72 justify-content: space-between;
73 align-items: baseline;
74 }
75
76 .statWidgetDisplay {
77 font-size: 2.25rem;
78 font-weight: 600;
79 line-height: 44px;
80 color: var(--givewp-neutral-900);
81 }
82
83 .revenueWidget {
84 flex: 2;
85 background-color: var(--givewp-shades-white);
86 padding: 20px;
87 border-radius: var(--givewp-rounded-8);
88 grid-column: span 2;
89 }
90
91 .percentChangePill {
92 display: flex;
93 align-items: center;
94 justify-content: center;
95 padding: 2px 12px 2px 4px;
96 font-size: .8rem;
97 border-radius: var(--givewp-rounded-16);
98 min-width: 71px;
99 height: 24px;
100 gap: 2px;
101 }
102
103 .progressWidget {
104 flex: 1;
105 background-color: var(--givewp-shades-white);
106 padding: 20px;
107 border-radius: var(--givewp-rounded-8);
108 }
109
110 .headerSpacing {
111 display: flex;
112 flex-direction: column;
113 gap: .25rem;
114 }
115
116 .mainGrid{
117 display: grid;
118 grid-template-columns: repeat(3, 1fr);
119 row-gap: var(--givewp-spacing-6);
120 column-gap: var(--givewp-spacing-4);
121 }
122
123 .nestedGrid {
124 grid-column: span 1;
125 display: grid;
126 gap: var(--givewp-spacing-6);
127 }
128
129 @media (max-width: 768px) {
130 .mainGrid {
131 grid-template-columns: 1fr;
132 gap: var(--givewp-spacing-3);
133 }
134
135 .revenueWidget {
136 grid-column: span 1;
137 }
138
139 .nestGrid {
140 grid-template-columns: 1fr;
141 gap: var(--givewp-spacing-3);
142 }
143 }
144