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 / DonationForms / resources / styles / components / _goal.scss

_goal.scss in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/DonationForms/resources/styles/components/_goal.scss

98 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .givewp-layouts-goal {
2 width: 100%;
3 background-color: var(--givewp-shades-white);
4 border: solid 1px var(--givewp-grey-100);
5 border-radius: var(--givewp-rounded-4);
6
7 &__stats-panel {
8
9 &__list {
10 display: flex;
11 margin: 0;
12 padding: 0;
13 list-style: none;
14
15 @media (max-width: 400px) {
16 flex-wrap: wrap; /* Enable wrapping on screens 400px or narrower */
17 }
18 }
19
20 &__list-item {
21 display: flex;
22 flex-direction: column;
23 align-items: center;
24 width: 100%;
25 padding: var(--givewp-spacing-2) var(--givewp-spacing-4);
26 border-bottom: solid 1px var(--givewp-grey-100);
27
28 &:nth-child(2) {
29 border: solid 1px var(--givewp-grey-100);
30 border-top: none;
31 }
32 }
33
34 &__stat-value {
35 color: var(--givewp-grey-700);
36 font-size: 1.125rem;
37 font-weight: 600;
38 line-height: 1.56;
39 }
40
41 &__stat-label {
42 color: var(--givewp-grey-500);
43 font-size: var(--givewp-font-size-paragraph-lg);
44 font-weight: 600;
45 line-height: 1.5;
46 }
47 }
48
49 &__progress {
50 display: flex;
51 flex-direction: column;
52 gap: var(--givewp-spacing-2);
53 padding: var(--givewp-spacing-4) var(--givewp-spacing-6);
54
55 &__description {
56 /** Screen reader only */
57 position: absolute;
58 width: 1px;
59 height: 1px;
60 padding: 0;
61 margin: -1px;
62 overflow: hidden;
63 clip: rect(0, 0, 0, 0);
64 white-space: nowrap;
65 border-width: 0;
66 }
67
68 &__meter {
69 position: relative;
70 height: 1.25rem;
71 border-radius: var(--givewp-rounded-full);
72 background-color: var(--givewp-grey-25);
73 box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.09);
74 margin-bottom: 0;
75
76 /** Add a vertical linear gradient to apply a slight shade over the accent color */
77 &[value]]::-webkit-progress-value {
78 position: absolute;
79 border-radius: var(--givewp-rounded-full);
80 background-color: var(--secondary);
81 background-image: linear-gradient(
82 to bottom,
83 rgba(0, 0, 0, 0),
84 rgba(0, 0, 0, 0.1)
85 );
86 }
87 }
88
89 &__markers {
90 display: flex;
91 justify-content: space-between;
92 color: var(--givewp-grey-700);
93 font-size: var(--givewp-font-size-paragraph-md);
94 font-weight: 600;
95 }
96 }
97 }
98