Compare commits
3 Commits
80fcad8977
...
79dc04ed50
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79dc04ed50 | ||
|
|
e32b0f987f | ||
|
|
9b8a7b1d96 |
|
|
@ -1,7 +1,3 @@
|
|||
/* body {
|
||||
background: red !important;
|
||||
} */
|
||||
|
||||
#menu-posts {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||
}
|
||||
|
|
@ -13,4 +9,8 @@
|
|||
|
||||
.editor-header__settings a:after {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.interface-navigable-region a[target='_blank']:after, .edit-post-header a[target='_blank']:after, .editor-header__settings a[target='_blank']:after, .interface-interface-skeleton__header a[target='_blank']:after {
|
||||
content: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,19 +97,34 @@ function carhop_enqueue_scripts()
|
|||
wp_enqueue_script('gsap-js', 'https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/gsap.min.js', array(), false, true);
|
||||
wp_enqueue_script('gsap-st', 'https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/ScrollTrigger.min.js', array('gsap-js'), false, true);
|
||||
}
|
||||
add_action('wp_enqueue_scripts', 'carhop_enqueue_scripts');
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
##### Enqueue Theme assets 🡒 Back
|
||||
##### Enqueue Gutenberg assets
|
||||
------------------------------------------------------------------*/
|
||||
|
||||
function enqueue_gutenberg_back_styles()
|
||||
|
||||
function carhop_enqueue_gutenberg_back_styles()
|
||||
{
|
||||
wp_enqueue_style('tailpress_back', tailpress_asset('css/app.css'), array());
|
||||
$theme = wp_get_theme();
|
||||
|
||||
wp_enqueue_style('carhop-main-css', tailpress_asset('css/app.css'), array());
|
||||
wp_enqueue_style('carhop-admin-css', get_template_directory_uri() . '/css/admin-style.css', array(), $theme->get('Version'));
|
||||
}
|
||||
add_action('enqueue_block_editor_assets', 'enqueue_gutenberg_back_styles');
|
||||
add_action('enqueue_block_editor_assets', 'carhop_enqueue_gutenberg_back_styles');
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
##### Enqueue Admin assets
|
||||
------------------------------------------------------------------*/
|
||||
function carhop_enqueue_admin_scripts()
|
||||
{
|
||||
$theme = wp_get_theme();
|
||||
wp_enqueue_style('carhop-admin-css', get_template_directory_uri() . '/css/admin-style.css', array(), $theme->get('Version'));
|
||||
}
|
||||
add_action('admin_enqueue_scripts', 'carhop_enqueue_admin_scripts');
|
||||
|
||||
|
||||
add_action('wp_enqueue_scripts', 'carhop_enqueue_scripts');
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
/* body {
|
||||
background: red !important;
|
||||
} */
|
||||
#menu-posts {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||
}
|
||||
|
|
@ -11,6 +8,15 @@
|
|||
min-width: unset !important;
|
||||
}
|
||||
}
|
||||
|
||||
.editor-header__settings a:after {
|
||||
@apply !hidden;
|
||||
}
|
||||
.interface-navigable-region,
|
||||
.edit-post-header,
|
||||
.editor-header__settings,
|
||||
.interface-interface-skeleton__header {
|
||||
a[target='_blank']:after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user