Skip to content

Commit b0cb69c

Browse files
authored
Merge pull request #186 from OpenSourceOrg/feature/gh169-add-ai-wide-template__DEV__FIX
Feature/gh169 add ai wide template dev fix
2 parents 96fc288 + 868d979 commit b0cb69c

29 files changed

+2110
-997
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '162399256cc2e0280b43');
1+
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '4eed0edae9c660582582');

mu-plugins/osi-editor-tweaks/build/scripts/editor/editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'd8b92db19a6588800e2b');
1+
<?php return array('dependencies' => array(), 'version' => 'eb7b34d85380496c7763');

mu-plugins/osi-editor-tweaks/build/scripts/theme/theme.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'eda230210ce9238b2938');
1+
<?php return array('dependencies' => array(), 'version' => '3808389433632f708eea');

mu-plugins/osi-editor-tweaks/build/styles/editor/editor.scss.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'eda230210ce9238b2938');
1+
<?php return array('dependencies' => array(), 'version' => '3808389433632f708eea');

mu-plugins/osi-editor-tweaks/build/styles/theme/theme.scss.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mu-plugins/osi-editor-tweaks/src/common.scss

Lines changed: 101 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,110 @@
3535

3636
/* Slide-Up Animation */
3737

38-
.content .wp-block-heading {
39-
&.slide-up {
40-
transform: translateY(20px);
41-
opacity: 0;
42-
transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0.5s;
38+
.content .wp-block-heading.slide-up,
39+
.content p.slide-up {
40+
transform: translateY(20px);
41+
opacity: 0;
42+
transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0.5s;
43+
overflow: hidden;
44+
&.visible {
45+
transform: translateY(0);
46+
opacity: 1;
4347
overflow: hidden;
44-
&.visible {
45-
transform: translateY(0);
46-
opacity: 1;
47-
overflow: hidden;
48-
}
4948
}
5049
}
5150

51+
.is-style-spin-green>a,
52+
.is-style-spin-white>a,
53+
.is-style-spin-green.block-editor-block-list__block>div,
54+
.is-style-spin-white.block-editor-block-list__block>div {
55+
padding: 19px 40px !important;
56+
font-size: 16px !important;
57+
line-height: 19px;
58+
font-weight: 600 !important;
59+
// font-family: var(--font-secondary);
60+
background-color: #1B1B1B !important;
61+
// color: #fff !important;
62+
border-radius: 100px;
63+
display: inline-block;
64+
vertical-align: middle;
65+
transform: perspective(1px) translateZ(0);
66+
position: relative;
67+
transition-property: color;
68+
transition-duration: 0.3s;
69+
min-width: max-content;
70+
transition: none;
71+
box-sizing: border-box;
72+
border-color: transparent !important;
73+
}
74+
75+
.is-style-spin-green>a,
76+
.is-style-spin-green.block-editor-block-list__block>div {
77+
color: #fff !important;
78+
text-decoration: underline !important;
79+
}
80+
81+
.is-style-spin-white>a,
82+
.is-style-spin-white.block-editor-block-list__block>div {
83+
color: #1B1B1B !important;
84+
text-decoration: none;
85+
}
86+
87+
.is-style-spin-green.block-editor-block-list__block>div::before,
88+
.is-style-spin-white.block-editor-block-list__block>div::before,
89+
.is-style-spin-green>a::before,
90+
.is-style-spin-white>a::before {
91+
content: "";
92+
background: #3DA639; // fallback
93+
position: absolute;
94+
z-index: -1;
95+
top: 0;
96+
bottom: 0;
97+
left: 0;
98+
right: 0;
99+
transform: scaleX(1);
100+
transform-origin: 50%;
101+
transition-property: transform;
102+
transition-duration: 0.3s;
103+
transition-timing-function: ease-out;
104+
border-radius: 100px;
105+
border-width: 0px;
106+
box-sizing: border-box;
107+
border-color: transparent !important;
108+
inset: -2px;
109+
}
110+
111+
.is-style-spin-green>a::before,
112+
.is-style-spin-green.block-editor-block-list__block>div::before {
113+
background: #3DA639;
114+
}
115+
116+
.is-style-spin-white>a::before,
117+
.is-style-spin-white.block-editor-block-list__block>div::before {
118+
background: #fff;
119+
color: black;
120+
}
121+
122+
.is-style-spin-green>a:hover::before,
123+
.is-style-spin-white>a:hover::before,
124+
.is-style-spin-green.block-editor-block-list__block>div:hover::before,
125+
.is-style-spin-white.block-editor-block-list__block>div:hover::before {
126+
transform: scaleX(0);
127+
}
128+
129+
.is-style-spin-green>a:hover,
130+
.is-style-spin-white>a:hover,
131+
.is-style-spin-green.block-editor-block-list__block>div:hover,
132+
.is-style-spin-white.block-editor-block-list__block>div:hover {
133+
box-sizing: border-box !important;
134+
border-width: 0 !important;
135+
}
136+
137+
.is-style-spin-white>a:hover,
138+
.is-style-spin-white.block-editor-block-list__block>div:hover {
139+
color: white !important;
140+
}
141+
52142
.plethoraplugins-tabs-container.button-tabs {
53143
h3 {
54144
line-height: 36px !important;
@@ -78,4 +168,4 @@
78168
}
79169
}
80170
}
81-
}
171+
}

0 commit comments

Comments
 (0)