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 / Admin / components / Notices / styles.module.scss

styles.module.scss in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/Admin/components/Notices/styles.module.scss

83 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .notice {
2 display: flex;
3 align-items: center;
4 gap: var(--givewp-spacing-3);
5 padding: var(--givewp-spacing-3) var(--givewp-spacing-4);
6 border-radius: var(--givewp-rounded-4);
7 border: 1px solid;
8 border-left: 4px solid;
9
10 font-size: 0.875rem;
11 font-weight: 500;
12 line-height: 1.5;
13 color: var(--givewp-neutral-900);
14
15 .content {
16 display: flex;
17 align-items: center;
18 gap: var(--givewp-spacing-2);
19 flex: 1;
20 color: inherit;
21
22 a {
23 color: inherit;
24 text-decoration: none;
25 cursor: pointer;
26
27 &:hover {
28 text-decoration: underline;
29 }
30 }
31 }
32
33 .dismissButton {
34 display: flex;
35 align-items: center;
36 justify-content: center;
37 width: 20px;
38 height: 20px;
39 padding: 0;
40 margin-left: auto;
41 background: none;
42 border: none;
43 border-radius: var(--givewp-rounded-2);
44 color: inherit;
45 cursor: pointer;
46 opacity: 0.7;
47 transition: opacity 0.2s ease, background-color 0.2s ease;
48
49 &:hover {
50 opacity: 1;
51 background-color: rgba(0, 0, 0, 0.1);
52 }
53
54 &:focus {
55 outline: 2px solid currentColor;
56 outline-offset: 2px;
57 }
58
59 svg {
60 width: 16px;
61 height: 16px;
62 }
63 }
64 }
65
66 .warning {
67 background-color: #fffaf2;
68 border-color: var(--givewp-orange-400);
69 color: var(--givewp-neutral-900);
70 }
71
72 .error {
73 background-color: #fef2f2;
74 border-color: var(--givewp-red-400);
75 color: var(--givewp-neutral-900);
76 }
77
78 .info {
79 background-color: #f0f9ff;
80 border-color: var(--givewp-blue-400);
81 color: var(--givewp-neutral-900);
82 }
83