PluginProbe ʕ •ᴥ•ʔ
Starter Sites & Templates by Neve / 1.4.1
Starter Sites & Templates by Neve v1.4.1
1.4.1 1.4.0 1.3.0 1.2.29 1.2.28 1.2.6 1.2.7 1.2.8 1.2.9 trunk 1.0.10 1.0.11 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.20 1.1.21 1.1.22 1.1.23 1.1.24 1.1.25 1.1.26 1.1.27 1.1.28 1.1.29 1.1.3 1.1.30 1.1.31 1.1.32 1.1.33 1.1.34 1.1.35 1.1.36 1.1.37 1.1.38 1.1.39 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.3 1.2.4 1.2.5
templates-patterns-collection / onboarding / src / scss / _toast.scss
templates-patterns-collection / onboarding / src / scss Last commit date
_category-buttons.scss 3 weeks ago _controls.scss 1 year ago _custom-tooltip.scss 2 years ago _editor-selector.scss 2 years ago _error.scss 2 years ago _features_list.scss 1 year ago _filters.scss 3 weeks ago _form.scss 2 years ago _general.scss 2 weeks ago _header.scss 2 years ago _import.scss 2 years ago _media-queries.scss 2 years ago _mock.scss 2 years ago _progress-bar.scss 2 years ago _search.scss 2 years ago _site-settings.scss 1 year ago _starter-site-card.scss 2 weeks ago _toast.scss 2 weeks ago _vars.scss 2 years ago
_toast.scss
119 lines
1 .ob-toast {
2 position: fixed;
3 bottom: 24px;
4 right: 24px;
5 z-index: 100;
6 display: flex;
7 align-items: flex-start;
8 gap: 10px;
9 max-width: 340px;
10 padding: 12px 14px;
11 border-radius: $button-radius;
12 border: 1px solid $border;
13 background: #fff;
14 box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
15 opacity: 0;
16 transform: translateY(12px);
17 transition: opacity 0.35s ease, transform 0.35s ease;
18 pointer-events: none;
19 }
20
21 .ob-toast.show {
22 opacity: 1;
23 transform: translateY(0);
24 pointer-events: auto;
25 }
26
27 .ob-toast-icon {
28 flex: 0 0 auto;
29 line-height: 0;
30 margin-top: 1px;
31
32 svg {
33 width: 24px;
34 height: 24px;
35 display: block;
36 }
37 }
38
39 .ob-toast-content {
40 flex: 1 1 auto;
41 min-width: 0;
42 }
43
44 .ob-toast-heading {
45 margin: 0;
46 color: $main-text;
47 font-size: 13px;
48 line-height: 18px;
49 font-weight: 600;
50 }
51
52 .ob-toast-message {
53 margin: 2px 0 0;
54 color: $secondary-text;
55 font-size: 13px;
56 line-height: 18px;
57 font-weight: 400;
58
59 a {
60 color: $primary;
61 font-weight: 600;
62 text-decoration: none;
63 white-space: nowrap;
64
65 &:hover,
66 &:focus-visible {
67 text-decoration: underline;
68 }
69
70 &:focus-visible {
71 outline: 2px solid $primary;
72 outline-offset: 2px;
73 border-radius: 2px;
74 }
75 }
76 }
77
78 .ob-toast-close {
79 flex: 0 0 auto;
80 margin: -4px -4px 0 2px;
81 padding: 4px;
82 background: none;
83 border: none;
84 line-height: 1;
85 font-size: 16px;
86 color: $secondary-text;
87 cursor: pointer;
88 border-radius: 4px;
89
90 &:hover {
91 color: $main-text;
92 }
93
94 &:focus-visible {
95 outline: 2px solid $primary;
96 outline-offset: 1px;
97 }
98 }
99
100 @media (prefers-reduced-motion: reduce) {
101 .ob-toast {
102 transition: opacity 0.2s ease;
103 transform: none;
104 }
105
106 .ob-toast.show {
107 transform: none;
108 }
109 }
110
111 @media (max-width: #{$tablet}) {
112 .ob-toast {
113 left: 16px;
114 right: 16px;
115 bottom: 16px;
116 max-width: none;
117 }
118 }
119