PluginProbe ʕ •ᴥ•ʔ
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization / 1.18.0
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization v1.18.0
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 / _modals.scss
nitropack / view / stylesheet / scss Last commit date
_fancy-radio.scss 1 year ago _helpers.scss 1 year ago _modals.scss 1 year ago _notifications.scss 1 year ago _select2.scss 1 year ago _variables.scss 1 year ago
_modals.scss
152 lines
1 @use "variables" as *;
2 //@use "helpers" as *;
3
4 div[modal-backdrop]] {
5 background-color: rgba(42, 0, 122, 0.5) !important;
6 z-index: 9990;
7 position: fixed;
8 inset: 0;
9 }
10 .modal-wrapper {
11 z-index: 10000;
12 width: 100%;
13 max-height: 100%;
14 height: calc(100% - 1rem);
15 position: fixed;
16 top: 0;
17 left: 0;
18 right: 0;
19 overflow-y: auto;
20 overflow-x: hidden;
21 inset: 0;
22 flex-direction: column;
23 justify-content: center;
24 display: flex;
25 align-items: center;
26 font-family: $font;
27 &.hidden {
28 display: none;
29 }
30 .btn {
31 @include btn();
32 &.btn-primary {
33 background-color: $primary-color;
34 border-color: $primary-color;
35 color: #fff;
36 &:hover {
37 background-color: $primary-hover;
38 }
39 }
40 &.btn-secondary {
41 &:hover {
42 color: $primary-color;
43 background-color: $purple-100;
44 }
45 }
46 }
47 }
48 .modal-container,
49 .popup-container {
50 max-height: 80%;
51 max-width: 600px;
52 width: 100%;
53 position: relative;
54 }
55 .modal-inner,
56 .popup-inner {
57 padding: $gutter;
58 background-color: #fff;
59 border-radius: $border-radius * 2;
60 position: relative;
61 height: 100%;
62 width: 100%;
63 box-sizing: border-box;//safemode
64 }
65 .modal-header {
66 display: flex;
67 align-items: center;
68 justify-content: space-between;
69 h3 {
70 font-size: 1rem;
71 color: $gray-700;
72 }
73 .close-modal {
74 align-self: flex-start;
75 color: $gray-700;
76 cursor: pointer;
77 }
78 }
79 .modal-body {
80 padding: 1rem 0 2rem 0;
81 display: flex;
82 flex-direction: column;
83 justify-content: space-between;
84 height: 100%;
85 &.scrollable {
86 .modal-footer {
87 margin-top: auto;
88 margin-bottom: 0;
89 }
90 }
91 }
92
93 .modal-footer {
94 margin-top: $gutter;
95 margin-bottom: 1rem;
96 align-self: flex-end;
97 .btn {
98 min-width: 116px;
99 text-align: center;
100 + .btn {
101 margin-left: 0.5rem;
102 }
103 }
104 }
105 /* Popup */
106 .popup-container {
107 width: 600px;
108 }
109 .popup-modal {
110 top: 15vh;
111 justify-content: flex-start;
112 }
113 .popup-header {
114 display: flex;
115 flex-direction: column;
116 align-items: center;
117 .close-modal {
118 align-self: flex-end;
119 cursor: pointer;
120 -webkit-appearance: button;
121 background-color: rgba(0, 0, 0, 0);
122 background-image: none;
123 border: 0;
124 }
125 h3 {
126 margin-top: $gutter;
127 font-size: 1.25rem;
128 color: $gray-700;
129 margin-bottom: 0;
130 }
131 }
132 .popup-body {
133 font-size: 1rem;
134 color: $gray-600;
135 margin-top: 1rem;
136 }
137 .popup-footer {
138 display: flex;
139 align-items: center;
140 justify-content: center;
141 margin-top: $gutter;
142 .btn {
143 min-width: 116px;
144
145 + .btn {
146 margin-left: 0.5rem;
147 }
148 }
149 }
150 .text-center {
151 text-align: center;
152 }