PluginProbe
Super block slider – Image/video background & content slider / trunk
Super block slider – Image/video background & content slider vtrunk
2.8.3.7 2.8.3.8 2.8.3.5 trunk 1.0 1.1 1.1.2 1.1.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.7 1.4.7 1.4.8 1.4.9 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0 2.0.1 2.1.1 All 51 releases
super-block-slider / src / editor.scss

editor.scss in Super block slider – Image/video background & content slider trunk, at src/editor.scss

138 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .superblockslider-editor-sidebar .components-base-control {
2 width: 100%;
3 }
4
5 .superblockslider-responsive-tabPanel .components-tab-panel__tabs-item {
6 padding: 3px 7px;
7 }
8
9 .wp-block-superblockslider-slider {
10 margin: 0 auto;
11 }
12
13 .editor-styles-wrapper .wp-block-superblockslider-slider .wp-block {
14 max-width: unset;
15 }
16
17 .superblockslider__slide {
18 min-width: 100px;
19 min-height: 100px;
20 }
21
22 .superblockslider__window {
23 width: 0;
24 min-width: 100%;
25
26 .superblockslider__slide_inner {
27 top: 2%;
28 }
29 }
30
31
32 .superblockslider__buttons {
33 align-items: center;
34 }
35
36 .superblockslider__button {
37 display: flex;
38 justify-content: center;
39 text-align: center;
40
41 button {
42 line-height: 0;
43 background-color: transparent;
44 border: none;
45 cursor: pointer;
46
47 &:focus {
48 outline-style: none;
49 }
50 }
51
52 .rich-text {
53 min-width: 20px;
54 opacity: .5;
55 transition: all .5s;
56 line-height: 1em;
57 }
58
59 &--active .rich-text {
60 opacity: 1;
61 }
62 }
63
64 .editor-styles-wrapper .superblockslider__track {
65
66 >.block-editor-inner-blocks {
67 width: 100%;
68
69 >.block-editor-block-list__layout {
70 display: flex;
71 width: 100%;
72 height: 100%;
73 }
74 }
75
76 .inner-blocks {
77 overflow: auto;
78 }
79 }
80
81 .editor-styles-wrapper div[data-type='superblockslider/slide']='superblockslider/slide'] {
82 position: relative;
83 display: flex;
84 margin: 0;
85 max-width: unset;
86 width: 100%;
87
88 .block-editor-inner-blocks {
89 width: 100%;
90 }
91 }
92
93 button.components-button.has-icon.has-text.button-full-width {
94 width: 100%;
95 justify-content: center;
96 }
97
98 /* fade slider */
99 .editor-styles-wrapper div[data-transition-effect='fade']='fade'] div[data-type='superblockslider/slide']='superblockslider/slide'] {
100 position: absolute;
101 top: 0;
102 left: 0;
103 height: 100%;
104
105 opacity: 0;
106
107 &.superblockslider__slide--active-editor {
108 z-index: 1;
109 opacity: 1;
110 }
111 }
112
113 .components-panel__row {
114 .superblockslider__button.is-secondary {
115 margin-left: auto;
116 }
117 }
118
119 .superblockslider__slide__bg>img,
120 .superblockslider__slide__bg>video {
121 min-height: 100%;
122 }
123
124 .superblockslider__slide__image,
125 .superblockslider__slide__video {
126 display: none;
127 }
128
129 .extraLarge .visible--xl,
130 .desktop .visible--lg,
131 .tablet .visible--md,
132 .mobile .visible--sm {
133 display: block;
134 }
135
136 .superblockslider-responsive-tabPanel .components-tab-panel__tabs {
137 flex-wrap: wrap;
138 }