Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
KingYes committed Jun 19, 2024
2 parents 95eb6c7 + 973dd46 commit 7507f46
Show file tree
Hide file tree
Showing 29 changed files with 14,112 additions and 11,755 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: hello-elementor
path: hello-elementor.*.zip
path: hello-elementor
retention-days: 7
2 changes: 1 addition & 1 deletion assets/dev/js/admin/panels/settings-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const SettingsPanel = ( { SETTINGS, settingsData, updateSettings } ) => {
checked={ !! settingsData[ SETTINGS.PAGE_TITLE ] || false }
onChange={ ( value ) => updateSettings( SETTINGS.PAGE_TITLE, value ) }
/>
<code className="code-example"> &lt;header class=&quot;page-header&quot;&gt; &lt;h1 class=&quot;entry-title&quot;&gt; Post title &lt;/h1&gt; &lt;/header&gt; </code>
<code className="code-example"> &lt;div class=&quot;page-header&quot;&gt; &lt;h1 class=&quot;entry-title&quot;&gt; Post title &lt;/h1&gt; &lt;/div&gt; </code>

<ToggleControl
label={ __( 'Unregister Hello style.css', 'hello-elementor' ) }
Expand Down
9 changes: 1 addition & 8 deletions assets/dev/js/frontend/hello-frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ class elementorHelloThemeHandler {
}

this.elements.menuToggle.addEventListener( 'click', () => this.handleMenuToggle() );
this.elements.menuToggle.addEventListener( 'keyup', ( event ) => {
const ENTER_KEY = 13;
const SPACE_KEY = 32;

if ( ENTER_KEY === event.keyCode || SPACE_KEY === event.keyCode ) {
event.currentTarget.click();
}
} );

this.elements.dropdownMenu.querySelectorAll( '.menu-item-has-children > a' )
.forEach( ( anchorElement ) => anchorElement.addEventListener( 'click', ( event ) => this.handleMenuChildren( event ) ) );
Expand All @@ -53,6 +45,7 @@ class elementorHelloThemeHandler {

this.elements.menuToggle.setAttribute( 'aria-expanded', isDropdownVisible );
this.elements.dropdownMenu.setAttribute( 'aria-hidden', ! isDropdownVisible );
this.elements.dropdownMenu.inert = ! isDropdownVisible;
this.elements.menuToggleHolder.classList.toggle( 'elementor-active', isDropdownVisible );

// Always close all sub active items.
Expand Down
40 changes: 39 additions & 1 deletion assets/scss/customizer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#customize-control-hello-header-footer {

.hello-action-links {
margin: 15px auto;
margin: 15px auto;
text-align: center;

&-title {
Expand All @@ -29,3 +29,41 @@
}
}
}

#accordion-section-hello-upsell-elementor-pro {
display: flex !important;
flex-direction: column;
gap: 8px;
margin: 20px 20px 30px;
padding: 16px;
background-color: #fff;
box-shadow: 2px 8px 20px 0px rgba(0, 0, 0, 0.20);

h3,
p {
background-color: transparent !important;
border: 0 !important;
padding: 0;
margin: 0;
text-decoration: none;
}

h3 {
font-weight: bold;
}

.accordion-section-buttons {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-block-start: 16px;

a {
color: #fff;
background-color: #92003B;
border-radius: 4px;
padding: 8px 16px;
text-decoration: none;
}
}
}
23 changes: 2 additions & 21 deletions assets/scss/reset/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,29 +78,10 @@ button,
-webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}

button,
[type="submit"],
[type="button"] {
Expand All @@ -117,8 +98,8 @@ button,
border-radius: $border-radius;
transition: all .3s;

&:focus {
outline: 5px auto -webkit-focus-ring-color;
&:focus:not(:focus-visible) {
outline: none;
}

&:hover,
Expand Down
3 changes: 0 additions & 3 deletions assets/scss/reset/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ table {
}

caption + thead,
caption + thead,
colgroup + thead,
colgroup + thead,
thead:first-child,
thead:first-child {

tr {
Expand Down
4 changes: 2 additions & 2 deletions assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
Version: 3.0.2
Stable tag: 3.0.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.3
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor
Expand Down
63 changes: 22 additions & 41 deletions assets/scss/theme/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
padding-block-end: 1rem;
position: relative;

.site-title {
font-size: 1.5rem;
font-weight: 500;
line-height: 1.2;
}

.site-branding {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.5rem;
}

.footer-inner {
display: flex;
flex-wrap: wrap;
Expand All @@ -16,20 +29,20 @@
display: block;
}

.site-navigation {
justify-content: flex-end;
}

.site-branding {
display: flex;
flex-direction: column;
justify-content: center;

.site-title,
.site-description {
margin: 0;
}

.site-logo {

img {
display: block;
}
}

&.show-title {

.site-logo {
Expand Down Expand Up @@ -63,21 +76,7 @@
flex-direction: row-reverse;

.site-branding {
text-align: right;
}

.site-navigation {
justify-content: flex-start;
}
}
}

&.footer-has-copyright {

.footer-inner {

.site-navigation {
justify-content: center;
text-align: end;
}
}
}
Expand All @@ -89,7 +88,7 @@
flex-direction: column;
text-align: center;

.site-branding h4.site-title {
.site-branding .site-title {
text-align: center;
}

Expand All @@ -100,24 +99,6 @@
}
}
}

&:not(.footer-stacked) {

.footer-inner {

.site-branding {
max-width: 20%;
}

.site-navigation {
max-width: 60%;
}

.copyright {
max-width: 20%;
}
}
}
}

@media (max-width: $screen-xs) {
Expand Down
2 changes: 2 additions & 0 deletions assets/scss/theme/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
}

.pagination {
display: flex;
justify-content: space-between;
margin: 20px auto;
}

Expand Down
49 changes: 13 additions & 36 deletions assets/scss/theme/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@
padding-block-end: 1rem;
position: relative;

.site-navigation {
justify-content: flex-end;
.site-title {
font-size: 2.5rem;
font-weight: 500;
line-height: 1.2;
}

.site-branding {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.5rem;
}

.header-inner {
Expand All @@ -37,6 +40,13 @@
margin: 0;
}

.site-logo {

img {
display: block;
}
}

&.show-title {

.site-logo {
Expand All @@ -53,31 +63,13 @@
}
}

&:not(.header-stacked) {

.header-inner {

.site-branding {
max-width: 30%;
}

.site-navigation {
max-width: 70%;
}
}
}

&.header-inverted {

.header-inner {
flex-direction: row-reverse;

.site-branding {
text-align: right;
}

.site-navigation {
justify-content: start;
text-align: end;
}
}
}
Expand All @@ -91,18 +83,3 @@
}
}
}

@media (max-width: $screen-xs) {
.site-header {

.header-inner {

&:not(.header-stacked) {

.site-branding {
max-width: 80%;
}
}
}
}
}
Loading

0 comments on commit 7507f46

Please sign in to comment.