PluginProbe ʕ •ᴥ•ʔ
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization / 1.15.1
NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization v1.15.1
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 / _notifications.scss
nitropack / view / stylesheet / scss Last commit date
_helpers.scss 2 years ago _modals.scss 2 years ago _notifications.scss 2 years ago _variables.scss 2 years ago
_notifications.scss
102 lines
1 @use "variables" as *;
2 //@use "helpers" as *;
3
4 .nitro-notification {
5 margin-bottom: $gutter;
6 .notification-inner {
7 display: flex;
8 align-items: center;
9 justify-content: space-between;
10 color: $gray-700;
11 background-color: $gray-100;
12 padding: $gutter;
13 //width: 100%;
14 }
15 p {
16 color: $gray-700;
17 margin: 0;
18 }
19 .title-wrapper {
20 display: flex;
21 align-items: center;
22 }
23 .icon {
24 margin-right: 0.5rem;
25 width: 1rem;
26 height: 1rem;
27 }
28 .title {
29 font-weight: bold;
30 font-size: 0.875rem;
31 text-transform: capitalize;
32 margin: 0;
33 }
34 &.notification-danger .notification-inner {
35 background-color: $red-100;
36 .btn.btn-secondary {
37 @include btn_color($red-600);
38 &:hover {
39 background-color: $red-200;
40 }
41 }
42 }
43 &.notification-warning .notification-inner {
44 background-color: $yellow-100;
45 .btn.btn-secondary {
46 @include btn_color($yellow-700);
47 &:hover {
48 background-color: $yellow-200;
49 }
50 }
51 }
52 &.notification-success .notification-inner {
53 background-color: #e9fffb;
54 .btn.btn-secondary {
55 @include btn_color($green-500);
56 &:hover {
57 background-color: $green-100;
58 }
59 }
60 }
61 &.notification-info .notification-inner {
62 background-color: $blue-100;
63 .btn.btn-secondary {
64 @include btn_color($blue-700);
65 &:hover {
66 background-color: $blue-200;
67 }
68 }
69 }
70 .msg {
71 .btn {
72 margin-left: 1rem;
73 }
74 }
75 .actions {
76 flex-grow: 1;
77 display: flex;
78 flex-wrap: nowrap;
79 justify-content: flex-end;
80 margin-left: 1rem;
81 }
82 .btn {
83 @include btn();
84 line-height: 1.5;
85 text-decoration: none;
86 min-height: initial;
87 white-space: nowrap;
88 + .btn {
89 margin-left: 0.25rem;
90 }
91 }
92 }
93 body:not(.toplevel_page_nitropack) {
94 .nitro-notification {
95 margin-top: 0.5rem;
96
97 .notification-inner {
98 width: calc(100% - 70px);
99 }
100 }
101 }
102