first commit

This commit is contained in:
User A0264400
2026-04-01 23:20:16 +03:00
commit a766acdc90
23071 changed files with 4933189 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#uagb-spectra-pro-popup-note .astra-notice-container {
align-items: flex-start;
}
#uagb-spectra-pro-popup-note.notice {
display: block;
border: 1px solid #6105ff;
border-top-color: #fff;
border-bottom-color: #fff;
border-right-color: #fff;
border-left-width: 4px;
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.32);
}
#uagb-spectra-pro-popup-note a.uagb-review-notice.button-primary {
background: #6105ff;
border-color: #6105ff;
}
#uagb-spectra-pro-popup-note a.uagb-review-notice.button-primary:hover {
background: #5300e0;
}
.post-type-spectra-popup .notice-dismiss {
color: #fff;
}
a.spectra-plugins-go-pro {
color: #6104ff;
text-shadow: 1px 1px 1px #eee;
font-weight: bold;
}
a.spectra-plugins-go-pro:hover {
color: #5300e0;
}
.post-type-spectra-popup .astra-notice-wrapper:not( .spectra-upsell ),
.post-type-spectra-popup .notice:not( .spectra-upsell ) { /* Hide all other notices apart from upsell. */
display: none;
}

View File

@@ -0,0 +1,39 @@
.astra-notice .notice-container {
padding-top: 10px;
padding-bottom: 10px;
display: block;
justify-content: left;
align-items: center;
}
#uagb-admin-rating .notice-container {
display: flex;
}
.astra-notice .notice-content {
margin-left: 15px;
}
.astra-notice .notice-image img {
max-width: 70px;
}
.uagb-review-notice-container {
display: flex;
align-items: center;
padding-top: 10px;
}
.uagb-review-notice-container .dashicons {
font-size: 1.4em;
padding-left: 10px;
}
.uagb-review-notice-container a {
padding-left: 5px;
text-decoration: none;
}
.uagb-review-notice-container .dashicons:first-child {
padding-left: 0;
}

View File

@@ -0,0 +1,17 @@
const uagb_deactivated_blocks = uagb_deactivate_blocks.deactivated_blocks;
// If we are recieving an object, let's convert it into an array.
if ( uagb_deactivated_blocks.length ) {
if ( typeof wp.blocks.unregisterBlockType !== 'undefined' ) {
for ( const block_index in uagb_deactivated_blocks ) {
const blockName = uagb_deactivated_blocks[block_index];
if ( 'uagb/masonry-gallery' === blockName ) {
continue;
}
// Check if the block is registered before attempting to unregister it
if ( wp.blocks.getBlockType( blockName ) ) {
wp.blocks.unregisterBlockType( blockName );
}
}
}
}

View File

@@ -0,0 +1,36 @@
.uagb-plugin-update-notification {
margin-bottom: 10px;
max-width: 1000px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.uagb-plugin-update-notification__separator {
margin: 15px -12px;
}
.uagb-plugin-update-notification__icon {
font-size: 17px;
margin-right: 9px;
margin-left: 2px;
}
.uagb-plugin-update-notification__title {
font-weight: 600;
margin-bottom: 10px;
}
.uagb-plugin-update-notification + p {
display: none;
}
.notice-success .uagb-plugin-update-notification__separator {
border: 1px solid #46b450;
}
.notice-success .uagb-plugin-update-notification__icon {
color: #79ba49;
}
.notice-warning .uagb-plugin-update-notification__separator {
border: 1px solid #ffb900;
}
.notice-warning .uagb-plugin-update-notification__icon {
color: #f56e28;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,5 @@
<svg width="250" height="250" viewBox="0 0 250 250" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="250" height="250" fill="#EBECEF"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M61 78H187C188.105 78 189 78.8954 189 80V150.24C188.946 150.191 188.889 150.144 188.831 150.099L161.588 129.109C160.394 128.189 158.702 128.298 157.636 129.364L138.121 148.879C136.95 150.05 135.05 150.05 133.879 148.879L99.6079 114.608C98.4416 113.442 96.5525 113.436 95.3788 114.594L59 150.513V80C59 78.8954 59.8954 78 61 78ZM57 80C57 77.7909 58.7909 76 61 76H187C189.209 76 191 77.7909 191 80V168C191 170.209 189.209 172 187 172H61C58.7909 172 57 170.209 57 168V80Z" fill="#6F7B81"/>
<path d="M148 110C148 114.418 144.418 118 140 118C135.582 118 132 114.418 132 110C132 105.582 135.582 102 140 102C144.418 102 148 105.582 148 110Z" fill="#6F7B81"/>
</svg>

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,70 @@
/* stylelint-disable selector-id-pattern */
/* Clear to evenly position the next list items after the separator */
#toplevel_page_spectra .wp-submenu li {
clear: both;
}
/* Add the separator after the first item in the Spectra Settings Submenu */
#toplevel_page_spectra .wp-submenu li.wp-first-item::after {
content: "";
border-bottom: 1px solid rgb(255 255 255 / 0.2);
display: block;
float: left;
margin: 8px 0;
width: 100%;
}
/* Add the separator after the second last item in the Spectra Settings Submenu */
#toplevel_page_spectra .wp-submenu li:nth-child(5)::after {
content: "";
border-bottom: 1px solid rgb(255 255 255 / 0.2);
display: block;
float: left;
margin: 8px 0;
width: 100%;
}
.wp-submenu li:has( > a[href*="path=free-vs-pro"]) {
background-color: #00a32a !important;
}
.wp-submenu li a[href*="path=free-vs-pro"] {
color: #fff !important;
font-weight: 500;
}
.wp-submenu li:has( > a[href*="path=free-vs-pro"]):hover {
background-color: #008000 !important;
}
/* Add negative margins to the top separator if this is not the current submenu */
#toplevel_page_spectra.wp-not-current-submenu .wp-submenu li.wp-first-item::after {
margin: 8px -3px;
}
/* Add negative margins to the bottom separator if this is not the current submenu */
#toplevel_page_spectra.wp-not-current-submenu .wp-submenu li:nth-last-child(2)::after {
margin: 8px -3px;
}
/* Upgrade now button in sub-menu */
#toplevel_page_spectra .wp-submenu a[href="admin.php?page=spectra&path=upgrade-now"] {
background-color: #6104ff;
color: #fff;
padding: 6px 12px 6px 12px;
border-radius: 4px;
text-align: center;
display: block;
margin: 8px 12px 8px 12px;
text-decoration: none;
font-size: 12px;
font-weight: 500;
line-height: 18px;
}
#toplevel_page_spectra .wp-submenu a[href="admin.php?page=spectra&path=upgrade-now"]:focus,
#toplevel_page_spectra .wp-submenu a[href="admin.php?page=spectra&path=upgrade-now"]:hover {
box-shadow: unset;
background-color: #5300e0;
}