PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / 1.5.0
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution v1.5.0
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 / Admin / package / editor.scss

editor.scss in Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution 1.5.0, at src/Performance/Admin/package/editor.scss

219 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wrap.solidwp-performance-settings-page {
2 margin: 0;
3 --grape-purple-120: #49108a;
4 --grape-purple-110: #53129e;
5 --grape-purple-100: #6817c5;
6 --surface-primary: #fff;
7 --wp-admin-theme-color: var(--grape-purple-100);
8 --wp-admin-theme-color-darker-10: var(--grape-purple-110);
9 --wp-admin-theme-color-darker-20: var(--grape-purple-120);
10 --wp-components-color-accent: var(--grape-purple-100);
11 }
12 .solidwp-performance-settings-header {
13 background-color: #FFFFFF;
14 display: flex;
15 align-items: center;
16 padding: 0.5rem 1.5rem;
17 min-height: calc(30px + 1rem);
18 margin-left:-20px;
19 img {
20 height: 25px;
21 width: auto;
22 }
23 }
24 .solidwp-performance-settings-title {
25 padding-right: 20px;
26
27 h2 {
28 display: none;
29 }
30
31 .notice {
32 margin-top: 30px;
33 }
34 }
35 .solidwp-performance-settings-main {
36 h1 {
37 margin-bottom:20px;
38 margin-top: 20px;
39 padding: 0;
40 line-height: 2rem;
41 color: rgb(51, 51, 51);
42 font-size: 1.5rem;
43 }
44
45 .preloading-progress {
46 padding-bottom: 20px;
47 margin-bottom: 20px;
48 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
49
50 .preload-progress-bar {
51 width: 100%;
52 height: 10px;
53
54 div {
55 background-color: var(--grape-purple-100);
56 }
57 }
58
59 .dots {
60 display: inline-block;
61 overflow: hidden;
62 vertical-align: bottom;
63 width: 1.5em;
64 }
65
66 @keyframes dots {
67 0% {
68 content: "";
69 }
70 25% {
71 content: ".";
72 }
73 50% {
74 content: "..";
75 }
76 75%, 100% {
77 content: "...";
78 }
79 }
80
81 .dots::after {
82 content: "";
83 animation: dots 1.5s steps(1, end) infinite;
84 }
85 }
86 }
87 .swpsp-settings-form {
88 margin: 20px 0;
89 padding-right:20px;
90 .swpsp-settings-section-tabs {
91 display: flex;
92 align-items: start;
93 flex-direction: row;
94 gap: calc(20px);
95 justify-content: space-between;
96 .components-tab-panel__tabs {
97 width: 10rem;
98 gap: 0.25rem;
99 margin-top: 1.25rem;
100 .components-tab-panel__tabs-item {
101 font-size: 14px;
102 font-weight: 600;
103 height: auto;
104 border-radius: 1.25rem;
105 padding: 8px 16px;
106 text-decoration: none;
107 border: 2px solid transparent;
108 overflow-wrap: break-word;
109 box-shadow: none;
110 &:after {
111 display: none;
112 }
113 &.is-active, &:hover {
114 background: rgb(224, 224, 224);
115 color: rgb(51, 51, 51);
116 }
117 }
118 }
119 .components-tab-panel__tab-content {
120 display: flex;
121 max-height: 100%;
122 max-width: 100%;
123 min-height: 0;
124 min-width: 0;
125 flex: 1 1 0;
126 flex-direction: column;
127 gap: 20px;
128 }
129 }
130 p.submit {
131 padding-bottom: 0;
132 }
133 .components-base-control {
134 margin-bottom: 20px;
135 }
136 .components-card__header {
137 header {
138 display: flex;
139 align-items: center;
140 width:100%;
141 gap: 20px;
142 }
143 h2 {
144 margin: 0;
145 flex: 1;
146 line-height: 36px;
147 }
148 }
149 .components-card-body {
150 padding: 24px;
151 }
152 }
153
154 .swpsp-large-toggle {
155 .components-toggle-control__label {
156 font-size: 16px;
157 }
158 .components-form-toggle {
159 .components-form-toggle__track {
160 height: 27px;
161 width: 54px;
162 border-radius: 14px;
163 }
164 .components-form-toggle__thumb {
165 height: 18px;
166 width: 18px;
167 top: 4px;
168 left: 4px;
169 }
170 &.is-checked .components-form-toggle__thumb {
171 transform: translateX(28px);
172 }
173 }
174 }
175 .swpsp-notice-wrap {
176 .components-snackbar-list {
177 bottom: 20px;
178 position: fixed;
179 }
180 }
181
182 .stellarwp-telemetry-btn-primary {
183 color: #FFF;
184 background-color: rgb(104, 23, 197);
185
186 &:hover,
187 &:focus {
188 background-color: rgb(83, 18, 158);
189 }
190 }
191
192 .stellarwp-telemetry-links__link {
193 color: rgb(104, 23, 197);
194
195 &:hover,
196 &:focus {
197 color: rgb(83, 18, 158);
198 }
199 }
200
201 .swpsp-page-count {
202 p {
203 font-size: 22px;
204 color: rgb(30, 30, 30);
205 margin-top: 0;
206 }
207 }
208
209 body.settings_page_swpsp-settings {
210 /* PreloadButton tooltip */
211 .swpsp-preload-long-tooltip {
212 max-width: 39ch;
213 text-align: left;
214 word-wrap: break-word;
215 }
216 }
217
218
219