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 / fields / AsyncSelectOption / styles.module.scss

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

98 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .searchableSelect {
2 :global {
3 .searchableSelect {
4 &__control {
5 border-radius: var(--givewp-rounded-4);
6 border: 1px solid var(--givewp-neutral-300);
7
8 &--is-focused {
9 border-color: #2271b1;
10 outline: none;
11 box-shadow: #2271b1 0px 0px 0px 1px;
12 }
13
14 &:hover {
15 cursor: pointer;
16 }
17 }
18
19 &__menu {
20 border-radius: var(--givewp-rounded-4);
21 border: 1px solid var(--givewp-neutral-200);
22 box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
23 margin: var(--givewp-spacing-1) 0;
24 transform: translate(-1px, 0);
25 width: calc(100% + 2px);
26 }
27
28 &__menu-list {
29 display: flex;
30 flex-direction: column;
31 gap: var(--givewp-spacing-1);
32 padding: var(--givewp-spacing-1);
33 }
34
35 &__option {
36 border-radius: var(--givewp-rounded-2);
37 color: var(--givewp-neutral-900);
38 line-height: 1.5;
39 padding: var(--givewp-spacing-2) var(--givewp-spacing-4);
40
41 &--is-focused {
42 background-color: var(--givewp-neutral-100);
43 }
44
45 &--is-selected {
46 color: var(--givewp-shades-white);
47 background-color: #2271b1;
48 font-weight: 600;
49 }
50 }
51
52 &__single-value {
53 color: var(--givewp-neutral-900);
54 font-size: 1rem;
55 font-weight: 500;
56 line-height: 1.5;
57 margin: 0;
58 }
59
60 &__value-container {
61 padding: var(--givewp-spacing-4);
62 }
63
64 &__input-container {
65 color: var(--givewp-neutral-900);
66 font-size: 1rem;
67 line-height: 1.5;
68 margin: 0;
69 }
70
71 &__input {
72 min-height: auto;
73
74 &:focus {
75 box-shadow: none !important;
76 }
77 }
78
79 &__indicator-separator {
80 display: none;
81 }
82
83 &__dropdown-indicator {
84 background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E');
85 background-position: center;
86 background-repeat: no-repeat;
87 background-size: 1rem;
88 padding: var(--givewp-spacing-4);
89 width: calc(var(--givewp-spacing-4) * 2 + 1rem);
90
91 svg {
92 display: none;
93 }
94 }
95 }
96 }
97 }
98