PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / trunk
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution vtrunk
2.0.1 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.5.0 1.6.0 1.6.1 1.7.0 1.7.1 1.8.0 1.9.0 2.0.0
solid-performance / src / Performance / Notices / package / notice.scss

notice.scss in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution trunk, at src/Performance/Notices/package/notice.scss

108 lines 2.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 #solid-performance-welcome-notice {
2 display: flex;
3 border-left: none;
4 border-radius: 4px;
5 padding: 0;
6 overflow: hidden;
7 font-family: 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
8
9 .icon-border {
10 flex-basis: 20px;
11 display: flex;
12 align-items: center;
13 justify-content: center;
14 background-color: #1145c9;
15 padding: 0 8px;
16
17 svg {
18 height: 24px;
19 width: 24px;
20 }
21 }
22
23 .notice-content {
24 flex-grow: 1;
25 flex-wrap: wrap;
26 margin-left: 20px;
27 padding: 10px 0;
28
29 h2 {
30 padding: 0;
31 margin: 0;
32 font-size: 16px;
33 }
34
35 .notice-status {
36 display: inline-flex;
37 align-items: center;
38 border: 1px solid #e7e7e7;
39 border-radius: 21px;
40 padding: 0 12px 0 8px;
41 margin-left: 10px;
42 font-size: 12px;
43 font-weight: 500;
44 }
45
46 p {
47 padding: 0;
48 margin: 0;
49 font-size: 13px;
50 color: #545454;
51 }
52 }
53
54 .notice-title {
55 display: flex;
56 align-items: center;
57 margin: 0 0 4px;
58 }
59
60 .settings-page-button {
61 display: block;
62 align-self: center;
63 justify-self: flex-end;
64 padding: 6px 12px;
65 border: 1px solid #cecece;
66 border-radius: 4px;
67 text-decoration: none;
68 background-color: #FFF;
69 color: #070707;
70 font-size: 14px;
71 font-weight: 500;
72
73 &:hover,
74 &:focus {
75 color: initial;
76 }
77 }
78
79 button.notice-dismiss {
80 position: relative;
81 align-self: center;
82 display: flex;
83 align-items: center;
84 justify-content: center;
85 margin: 0 20px;
86 padding: 0;
87 height: 24px;
88 width: 24px;
89
90 &::before {
91 content: '';
92 background: url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22m12%2013.06%203.712%203.713%201.061-1.06L13.061%2012l3.712-3.712-1.06-1.06L12%2010.938%208.288%207.227l-1.061%201.06L10.94%2012l-3.712%203.712%201.06%201.061L12%2013.061z%22%20fill%3D%22%231E1E1E%22%2F%3E%3C%2Fsvg%3E');
93 background-size: contain;
94 }
95 }
96
97 @media screen and (max-width: 782px) {
98 flex-flow: column;
99
100 .notice-content {
101 display: flex;
102 flex-flow: column;
103 align-items: center;
104 justify-content: center;
105 }
106 }
107 }
108