PluginProbe ʕ •ᴥ•ʔ
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization / 1.18.4
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization v1.18.4
1.19.8 1.19.7 1.19.6 1.19.5 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.11.0 1.12.0 1.13.0 1.14.0 1.15.0 1.15.1 1.15.2 1.15.3 1.16.0 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.16.6 1.16.7 1.16.8 1.17.0 1.17.6 1.17.7 1.17.8 1.17.9 1.18.0 1.18.1 1.18.2 1.18.3 1.18.4 1.18.5 1.18.6 1.18.7 1.18.8 1.18.9 1.19.0 1.19.1 1.19.2 1.19.3 1.19.4 1.3.19 1.3.20 1.4.0 1.4.1 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.15 1.5.16 1.5.17 1.5.18 1.5.19 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.8.1 1.8.3 1.9.0 1.9.1 1.9.2
nitropack / view / stylesheet / scss / _select2.scss
nitropack / view / stylesheet / scss Last commit date
_fancy-radio.scss 1 year ago _helpers.scss 11 months ago _modals.scss 1 year ago _notifications.scss 11 months ago _select2.scss 1 year ago _variables.scss 1 year ago
_select2.scss
126 lines
1 @use "variables" as *;
2 /* select2 */
3 //basic select gets hidden
4 .select2-hidden-accessible {
5 border: 0 !important;
6 clip: rect(0 0 0 0) !important;
7 -webkit-clip-path: inset(50%) !important;
8 clip-path: inset(50%) !important;
9 height: 1px !important;
10 overflow: hidden !important;
11 padding: 0 !important;
12 position: absolute !important;
13 width: 1px !important;
14 white-space: nowrap !important;
15 }
16 .select2-selection {
17 border: 1px solid $divider-color;
18 border-radius: $border-radius;
19 padding: 0.5rem 1rem;
20 color: $text-color;
21 font-size: 0.75rem;
22 min-height: 36px;
23 display: flex;
24 align-items: center;
25 justify-content: space-between;
26 &[aria-expanded="true"]="true""] {
27 border-color: $primary-color;
28 }
29 .select2-selection__arrow {
30 display: none;
31 }
32 }
33 .select2-container {
34 box-sizing: border-box;
35 display: inline-block;
36 margin: 0;
37 position: relative;
38 vertical-align: middle;
39 &.select2-container--open {
40 .select2-dropdown--below {
41 border-top: none;
42 border-top-left-radius: 0;
43 border-top-right-radius: 0;
44 }
45 .select2-dropdown {
46 box-shadow: $dropdown-shadow;
47 background-color: white;
48 border: 1px solid $divider-color;
49 border-radius: 4px;
50 box-sizing: border-box;
51 display: block;
52 position: absolute;
53 left: 0;
54 width: 100%;
55 z-index: 1051;
56 .select2-results {
57 display: block;
58 }
59 ul.select2-results__options {
60 max-height: 200px;
61 overflow-y: auto;
62 &::-webkit-scrollbar {
63 width: 3px;
64 }
65 &::-webkit-scrollbar-thumb {
66 background: inherit;
67 border-radius: 20px;
68 }
69 &::-webkit-scrollbar-track {
70 background: transparent;
71 display: none;
72 }
73 &:hover {
74 &::-webkit-scrollbar-thumb {
75 background: #edebf1;
76 }
77 }
78 li.select2-results__option {
79 cursor: pointer;
80 padding: 0.25rem 1rem;
81 margin: 0;
82 font-size: 0.75rem;
83 &.select2-results__option--highlighted {
84 background-color: $gray-100;
85 //color: #fff;
86 }
87 &.select2-results__option[aria-selected="true"]="true""] {
88 display: none;
89 background-color: $purple-50;
90 &.select2-results__option--highlighted {
91 background-color: $red-200;
92 color: #fff;
93 }
94 }
95 }
96 }
97 }
98 }
99 }
100 .select2-search {
101 margin-bottom: 0;
102 input.select2-search__field {
103 background: transparent;
104 border: none;
105 outline: 0;
106 box-shadow: none;
107 -webkit-appearance: textfield;
108 font-size: 0.75rem;
109 min-height: initial;
110 padding: 0;
111 &:focus {
112 background: transparent;
113 border: none;
114 outline: 0;
115 box-shadow: none;
116 -webkit-appearance: textfield;
117 }
118 &::-webkit-search-decoration,
119 &::-webkit-search-cancel-button,
120 &::-webkit-search-results-button,
121 &::-webkit-search-results-decoration {
122 display: none;
123 }
124 }
125 }
126