PluginProbe
Parse.ly / 3.24.2
Parse.ly v3.24.2
3.24.3 3.24.2 3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 All 107 releases
wp-parsely / src / content-helper / editor-sidebar / editor-sidebar.scss

editor-sidebar.scss in Parse.ly 3.24.2, at src/content-helper/editor-sidebar/editor-sidebar.scss

127 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @import "../common/css/variables";
2 @import "../common/css/functions";
3 @import "../common/css/common";
4
5 // Set the colors of the sidebar icon.
6 .components-button[aria-controls="wp-parsely-block-editor-sidebar:wp-parsely-content-helper"]="wp-parsely-block-editor-sidebar:wp-parsely-content-helper""] {
7 &:hover {
8 background-color: #fff;
9 }
10
11 &:focus {
12 background-color: #fff;
13 }
14
15 &.is-pressed,
16 &.is-pressed:hover {
17
18 background-color: var(--parsely-green-65);
19
20 .wp-parsely-sidebar-icon path {
21 fill: var(--parsely-green-10);
22 }
23 }
24 }
25
26 .content-helper-error-message {
27 margin-top: to_rem(15px) !important;
28 }
29
30 .wp-parsely-content-helper-error .content-helper-error-message {
31 margin-top: to_rem(15px) !important;
32 }
33
34 p.content-helper-error-message-hint {
35 color: var(--gray-700);
36 }
37
38 // Notice components with errors that appear within Sidebar panels.
39 .wp-parsely-content-helper-error.components-notice {
40 .components-notice__content {
41 margin: 0;
42
43 .content-helper-error-message {
44 margin-top: 0 !important;
45
46 p:last-child {
47 margin-bottom: 0 !important;
48 }
49 }
50 }
51 }
52
53 .wp-parsely-content-helper {
54 .wp-parsely-sidebar-header {
55 display: flex;
56 flex-direction: column;
57 align-items: flex-start;
58 gap: to_rem(24px);
59 align-self: stretch;
60
61 .components-button {
62 display: flex;
63 justify-content: center;
64 align-items: center;
65 width: 100%;
66 }
67 }
68
69 .wp-parsely-sidebar-main-panel {
70 // Settings button for panels.
71 .components-panel button.panel-settings-button,
72 .components-panel .panel-settings-button > button {
73 height: unset;
74 min-width: unset;
75 padding: 0;
76 }
77
78 .wp-parsely-sidebar-tabs {
79 // Error messages that are not contained within a panel.
80 .components-panel > .content-helper-error-message {
81 margin: var(--grid-unit-20);
82 }
83
84 .components-tab-panel__tabs {
85 // Individual tab.
86 button {
87 display: flex;
88 height: to_rem(48px);
89 flex-direction: column;
90 align-items: center;
91 flex: 1 0 0;
92 }
93
94 // Divider line.
95 .components-tab-panel__tabs-item::after {
96 height: calc(var(--wp-admin-border-width-focus) * 1);
97 outline: 2px solid transparent;
98 outline-offset: -1px;
99 background: var(--gray-400);
100 }
101
102 // Make the active tab divider WP blue.
103 .components-tab-panel__tabs-item.is-active::after {
104 background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
105 }
106 }
107
108 .components-button.boost-engagement {
109 display: flex;
110 justify-content: center;
111 margin: var(--grid-unit-15);
112 }
113 }
114 }
115
116 .parsely-spinner-wrapper {
117 display: flex;
118 justify-content: center;
119 margin: to_rem(40px) 0;
120
121 svg {
122 width: 22px;
123 height: 22px;
124 }
125 }
126 }
127