PluginProbe
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution / 2.0.0
Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution v2.0.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 2.0.0, at src/Performance/Admin/package/editor.scss

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