Compare commits
No commits in common. "79dc04ed50533808edf7f72f0cc6db5b225d2ffc" and "80fcad8977e8ee1e9202b5d353b61c3cad896179" have entirely different histories.
79dc04ed50
...
80fcad8977
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* body {
|
||||||
|
background: red !important;
|
||||||
|
} */
|
||||||
|
|
||||||
#menu-posts {
|
#menu-posts {
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||||
}
|
}
|
||||||
|
|
@ -9,8 +13,4 @@
|
||||||
|
|
||||||
.editor-header__settings a:after {
|
.editor-header__settings a:after {
|
||||||
display: none !important;
|
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,35 +97,20 @@ 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-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);
|
wp_enqueue_script('gsap-st', 'https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/ScrollTrigger.min.js', array('gsap-js'), false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ----------------------------------------------------------------
|
||||||
|
##### Enqueue Theme assets 🡒 Back
|
||||||
|
------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
function enqueue_gutenberg_back_styles()
|
||||||
|
{
|
||||||
|
wp_enqueue_style('tailpress_back', tailpress_asset('css/app.css'), array());
|
||||||
|
}
|
||||||
|
add_action('enqueue_block_editor_assets', 'enqueue_gutenberg_back_styles');
|
||||||
|
|
||||||
|
|
||||||
add_action('wp_enqueue_scripts', 'carhop_enqueue_scripts');
|
add_action('wp_enqueue_scripts', 'carhop_enqueue_scripts');
|
||||||
|
|
||||||
/* ----------------------------------------------------------------
|
|
||||||
##### Enqueue Gutenberg assets
|
|
||||||
------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
function carhop_enqueue_gutenberg_back_styles()
|
|
||||||
{
|
|
||||||
$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', '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');
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------
|
/* ----------------------------------------------------------------
|
||||||
##### Get assets path
|
##### Get assets path
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* body {
|
||||||
|
background: red !important;
|
||||||
|
} */
|
||||||
#menu-posts {
|
#menu-posts {
|
||||||
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
|
||||||
}
|
}
|
||||||
|
|
@ -8,15 +11,6 @@
|
||||||
min-width: unset !important;
|
min-width: unset !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-header__settings a:after {
|
.editor-header__settings a:after {
|
||||||
@apply !hidden;
|
@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