PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 4.0.7
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v4.0.7
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 / blocks / smart-lists / style.scss

style.scss in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 4.0.7, at src/blocks/smart-lists/style.scss

156 lines 3.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 .sp-smart-post-lists-svg-icon{
3 fill: none !important;
4 }
5
6 .sp-smart-post-smart-lists-wrapper{
7 list-style: none;
8 position: relative;
9 background-repeat: 'no-repeat';
10 background-position: 'center';
11 transition: all 0.3s ease;
12 counter-reset: list-counter;
13
14 * {
15 z-index: 9;
16 }
17
18 &:focus,
19 &:focus{
20 outline: none;
21 border: none;
22 }
23
24 &::after {
25 position: absolute;
26 content: "";
27 top: 0;
28 left: 0;
29 width: 100%;
30 height: 100%;
31 background-color: transparent;
32 z-index: 1;
33 }
34
35 &:hover{
36 background-repeat: 'no-repeat';
37 background-position: 'center';
38 }
39
40 .block-editor-inner-blocks {
41 width: 100%;
42 }
43
44 .sp-smart-post-list-icon-container,
45 .sp-smart-post-list-icon-svg svg path,
46 .sp-smart-post-list-title,
47 .sp-smart-post-list-description,
48 .sp-smart-post-list-icon{
49 transition: all 0.3s ease;
50 }
51
52
53 &.connection-line {
54 .wp-block-sp-smart-post-show-smart-list {
55 position: relative;
56 &::before {
57 content: "";
58 position: absolute;
59 left: 20px;
60 top: 0;
61 bottom: 0;
62 width: 2px;
63 background: #ad2020;
64 }
65 }
66 }
67
68 .block-editor-block-list__layout{
69 display: flex;
70 flex-wrap: wrap;
71 }
72
73 .wp-block-sp-smart-post-show-smart-list:last-child {
74
75 .sp-smart-post-smart-list-wrapper {
76 border: none !important;
77 margin-bottom: 0 !important;
78 padding-bottom: 0 !important;
79 }
80 }
81
82 &.divider {
83 .block-editor-block-list__layout {
84
85 .wp-block-sp-smart-post-show-smart-list:last-child{
86 border: none !important;
87 }
88
89 > .wp-block-sp-smart-post-show-smart-list:has(+ .block-list-appender.wp-block ) {
90
91 .sp-smart-post-smart-list-wrapper {
92 border: none !important;
93 margin-bottom: 0;
94 padding-bottom: 0;
95 }
96 }
97
98 }
99 }
100
101 .sp-smart-post-list-icon-container{
102
103 .sp-smart-post-list-icon-svg{
104 display: flex;
105 align-items: center;
106 justify-content: center;
107
108 &::before {
109 display: flex;
110 align-items: center;
111 justify-content: center;
112 }
113 }
114 .sp-smart-post-list-icon{
115 display: flex;
116 align-items: center;
117 justify-content: center;
118 }
119 }
120
121 .sp-smart-post-smart-list-wrapper{
122 .sp-smart-post-list-icon-container{
123 flex-shrink: 0;
124 }
125 .sp-smart-post-list-link{
126 cursor: default;
127 }
128 }
129 }
130
131 .sp-smart-post-smart-lists-front-end.sp-smart-post-smart-lists-wrapper{
132 .sp-smart-post-smart-list-wrapper{
133 .sp-smart-post-list-link{
134 cursor: pointer;
135 }
136 }
137 }
138
139 .sp-smart-post-smart-lists-front-end{
140 flex-wrap: wrap;
141 .sp-smart-post-smart-list-front-end:last-child{
142 .sp-smart-post-smart-list-wrapper{
143 border-bottom: none !important;
144 border-right: none !important;
145 }
146 }
147
148 }
149
150
151
152
153
154
155
156