PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.2
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.2
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / src / components / background / editor.scss

editor.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.2, at src/components/background/editor.scss

174 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .sp-smart-post-background {
2 .components-circular-option-picker {
3 // position: absolute;
4 // left: -11px;
5 // display: none;
6 button {
7 padding: 0;
8 height: 14px;
9 margin-right: 16px;
10 &:focus:not(:disabled) {
11 outline: none;
12 box-shadow: none;
13 }
14 svg {
15 fill: #000;
16 }
17 &:hover svg {
18 fill: #008db4;
19 }
20 }
21 .components-circular-option-picker__option-group {
22 gap: 8px;
23 }
24 .components-circular-option-picker__custom-clear-wrapper {
25 button {
26 display: none;
27 }
28 }
29 }
30 legend {
31 display: none;
32 }
33 .sp-smart-post-component-title {
34 margin-bottom: 0px;
35 }
36 &-control {
37 justify-content: space-between;
38 align-items: center;
39 }
40 &-left {
41 display: flex;
42 button {
43 padding: 0;
44 border-radius: 2px !important;
45 border: none;
46 box-shadow: none !important;
47 height: auto;
48 border: 1px solid transparent;
49 margin-left: 2px !important;
50 width: 26px;
51 height: 25px;
52 justify-content: center;
53 position: relative;
54 span {
55 display: inline-flex;
56 }
57 p {
58 opacity: 0;
59 visibility: hidden;
60 position: absolute;
61 top: -40px;
62 background-color: #757575;
63 color: #fff;
64 padding: 8px 10px;
65 white-space: nowrap;
66 font-size: 11px;
67 border-radius: 4px;
68 transition: 0.3s;
69 pointer-events: none;
70 }
71 &::after {
72 position: absolute;
73 content: "";
74 top: -10px;
75 left: 2px;
76 border-width: 10px;
77 border-color: #757575 transparent transparent transparent;
78 border-style: solid;
79 opacity: 0;
80 visibility: hidden;
81 transition: 0.3s;
82 }
83 &:focus:not(:disabled) {
84 outline: none;
85 box-shadow: none;
86 }
87 &.active {
88 border: 1px solid var(--sp-smart-primary-2-400);
89 }
90 }
91 button:hover p {
92 opacity: 1;
93 visibility: visible;
94 }
95 button:hover::after {
96 opacity: 1;
97 visibility: visible;
98 }
99 }
100 }
101
102 .sp-smart-post-tab-panel {
103 .sp-smart-post-background-control {
104 .sp-smart-post-background-left {
105 .components-button:focus:not(:disabled) {
106 border: 1px solid var(--sp-smart-primary-2-400) !important;
107 }
108 }
109 }
110 }
111 .sp-smart-post-tab-panel {
112 .sp-smart-post-background {
113 .components-custom-gradient-picker__gradient-bar.has-gradient {
114 background: #fff;
115 height: 32px;
116 .components-custom-gradient-picker__gradient-bar-background {
117 border-radius: 2px;
118 background: linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0.09%, rgba(0, 0, 0, 0.07) 99.95%);
119 }
120 .components-custom-gradient-picker__markers-container {
121 .components-custom-gradient-picker__control-point-dropdown {
122 height: 11px;
123 width: 11px;
124 top: 11px;
125 .components-custom-gradient-picker__control-point-button {
126 box-shadow: inset 0 0 0 1px #FFF;
127 &:focus {
128 box-shadow: inset 0 0 0 1px #FFF;
129 }
130 }
131 }
132 }
133 }
134 .components-custom-gradient-picker__ui-line {
135 .components-select-control.components-custom-gradient-picker__type-picker {
136 .components-text.components-input-control__label {
137 display: none;
138 }
139 .components-input-control__container select.components-select-control__input {
140 height: 28px;
141 min-height: 28px;
142 }
143 }
144 .components-number-control.components-angle-picker-control__input-field {
145 .components-text.components-input-control__label {
146 display: none;
147 }
148 .components-input-control__container input.components-input-control__input {
149 height: 28px;
150 min-height: 28px;
151 }
152 }
153 .components-spacer {
154 margin-bottom: 0;
155 .components-angle-picker-control__angle-circle {
156 width: 28px;
157 height: 28px;
158 }
159 }
160 }
161 }
162 }
163 .sp-smart-post-d-flex {
164 display: flex;
165 }
166 .sp-smart-post-background.sp-is-pro .sp-smart-pro-text {
167 margin-left: 5px;
168 }
169 .sp-is-pro {
170 .sp-smart-post-background-left {
171 opacity: .6;
172 pointer-events: none;
173 }
174 }