Setting up the taxonomies
This commit is contained in:
parent
d4691a12f4
commit
f7e0f4db6a
66
css/app.css
66
css/app.css
|
|
@ -850,7 +850,7 @@ video {
|
||||||
|
|
||||||
/* ########### BASE ############ */
|
/* ########### BASE ############ */
|
||||||
|
|
||||||
body {
|
body:not(.wp-admin) {
|
||||||
font-family: 'Raleway', sans-serif;
|
font-family: 'Raleway', sans-serif;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
@ -939,8 +939,8 @@ body {
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
--tw-bg-opacity: 1;
|
--tw-bg-opacity: 1;
|
||||||
background-color: rgb(47 1 84 / var(--tw-bg-opacity));
|
background-color: rgb(47 1 84 / var(--tw-bg-opacity));
|
||||||
padding-top: 2rem;
|
padding-top: 1rem;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 1rem;
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
padding-right: 2rem;
|
padding-right: 2rem;
|
||||||
--tw-text-opacity: 1;
|
--tw-text-opacity: 1;
|
||||||
|
|
@ -961,17 +961,6 @@ body {
|
||||||
max-width: 1440px;
|
max-width: 1440px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-menu-container .logo {
|
|
||||||
margin-right: 3rem;
|
|
||||||
width: 190px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1280px) {
|
|
||||||
.primary-menu-container .logo {
|
|
||||||
width: 222px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.primary-menu-container #primary-menu {
|
.primary-menu-container #primary-menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -1299,6 +1288,55 @@ button#burger-menu-toggle:hover path {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#menu-renovateur {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
--tw-bg-opacity: 1;
|
||||||
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
||||||
|
padding-top: 2rem;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
padding-left: 4rem;
|
||||||
|
padding-right: 4rem;
|
||||||
|
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
||||||
|
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
|
||||||
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-renovateur .logo {
|
||||||
|
margin-right: 3rem;
|
||||||
|
width: 190px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1280px) {
|
||||||
|
#menu-renovateur .logo {
|
||||||
|
width: 222px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-renovateur .page_icon {
|
||||||
|
height: 50px;
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-renovateur ul {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-renovateur ul li {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-weight: 700;
|
||||||
|
--tw-text-opacity: 1;
|
||||||
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-renovateur ul li .sub-menu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
article > *:not(.entry-content),
|
article > *:not(.entry-content),
|
||||||
.entry-content > * {
|
.entry-content > * {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|
|
||||||
49
header.php
49
header.php
|
|
@ -26,20 +26,7 @@
|
||||||
<div class="primary-menu-container lg:flex lg:justify-between lg:items-center">
|
<div class="primary-menu-container lg:flex lg:justify-between lg:items-center">
|
||||||
<nav id="primary-menu-nav" class="flex justify-between items-center">
|
<nav id="primary-menu-nav" class="flex justify-between items-center">
|
||||||
|
|
||||||
<!-- <div class="website_logo">
|
|
||||||
<?php if (has_custom_logo()) { ?>
|
|
||||||
<?php the_custom_logo(); ?>
|
|
||||||
<?php } else { ?>
|
|
||||||
<a href=" <?php echo get_bloginfo('url'); ?>" class="font-extrabold text-lg uppercase">
|
|
||||||
<?php echo get_bloginfo('name'); ?>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<p class="text-sm font-light text-gray-600">
|
|
||||||
<?php echo get_bloginfo('description'); ?>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<?php } ?>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<button id="burger-menu-toggle" aria-label="<?php echo esc_html_e("Ouvrir le menu", 'deligraph-theme') ?>">
|
<button id="burger-menu-toggle" aria-label="<?php echo esc_html_e("Ouvrir le menu", 'deligraph-theme') ?>">
|
||||||
<div class="menu-toggle-bar menu-toggle-bar--top"></div>
|
<div class="menu-toggle-bar menu-toggle-bar--top"></div>
|
||||||
|
|
@ -57,24 +44,38 @@
|
||||||
'fallback_cb' => false,
|
'fallback_cb' => false,
|
||||||
)
|
)
|
||||||
); ?>
|
); ?>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- qsdqds -->
|
<!-- qsdqds -->
|
||||||
</header>
|
</header>
|
||||||
|
<div id="menu-renovateur">
|
||||||
|
<div class="website_logo">
|
||||||
|
<?php if (has_custom_logo()) { ?>
|
||||||
|
<?php the_custom_logo(); ?>
|
||||||
|
<?php } else { ?>
|
||||||
|
<a href=" <?php echo get_bloginfo('url'); ?>" class="font-extrabold text-lg uppercase">
|
||||||
|
<?php echo get_bloginfo('name'); ?>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<p class="text-sm font-light text-gray-600">
|
||||||
|
<?php echo get_bloginfo('description'); ?>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
wp_nav_menu(
|
||||||
|
array(
|
||||||
|
'container' => 'false',
|
||||||
|
'theme_location' => 'renovateur',
|
||||||
|
'li_class' => 'menu-navlink',
|
||||||
|
'fallback_cb' => false,
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php if (is_front_page()) { ?>
|
<?php if (is_front_page()) { ?>
|
||||||
|
|
||||||
|
|
|
||||||
695
homegrade-dark-color-scheme.css
Normal file
695
homegrade-dark-color-scheme.css
Normal file
|
|
@ -0,0 +1,695 @@
|
||||||
|
body {
|
||||||
|
background: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links */
|
||||||
|
a {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover,
|
||||||
|
a:active,
|
||||||
|
a:focus {
|
||||||
|
color: #e8776f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#post-body .misc-pub-post-status:before,
|
||||||
|
#post-body #visibility:before,
|
||||||
|
.curtime #timestamp:before,
|
||||||
|
#post-body .misc-pub-revisions:before,
|
||||||
|
span.wp-media-buttons-icon:before {
|
||||||
|
color: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms */
|
||||||
|
input[type='checkbox']:checked::before {
|
||||||
|
content: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23e14d43%27%2F%3E%3C%2Fsvg%3E');
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type='radio']:checked::before {
|
||||||
|
background: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui input[type='reset']:hover,
|
||||||
|
.wp-core-ui input[type='reset']:active {
|
||||||
|
color: #e8776f;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type='text']:focus,
|
||||||
|
input[type='password']:focus,
|
||||||
|
input[type='color']:focus,
|
||||||
|
input[type='date']:focus,
|
||||||
|
input[type='datetime']:focus,
|
||||||
|
input[type='datetime-local']:focus,
|
||||||
|
input[type='email']:focus,
|
||||||
|
input[type='month']:focus,
|
||||||
|
input[type='number']:focus,
|
||||||
|
input[type='search']:focus,
|
||||||
|
input[type='tel']:focus,
|
||||||
|
input[type='text']:focus,
|
||||||
|
input[type='time']:focus,
|
||||||
|
input[type='url']:focus,
|
||||||
|
input[type='week']:focus,
|
||||||
|
input[type='checkbox']:focus,
|
||||||
|
input[type='radio']:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
border-color: #e14d43;
|
||||||
|
box-shadow: 0 0 0 1px #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Core UI */
|
||||||
|
.wp-core-ui .button,
|
||||||
|
.wp-core-ui .button-secondary {
|
||||||
|
color: #e14d43;
|
||||||
|
border-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button.hover,
|
||||||
|
.wp-core-ui .button:hover,
|
||||||
|
.wp-core-ui .button-secondary:hover,
|
||||||
|
.wp-core-ui .button.focus,
|
||||||
|
.wp-core-ui .button:focus,
|
||||||
|
.wp-core-ui .button-secondary:focus {
|
||||||
|
border-color: #dd382d;
|
||||||
|
color: #dd382d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button.focus,
|
||||||
|
.wp-core-ui .button:focus,
|
||||||
|
.wp-core-ui .button-secondary:focus {
|
||||||
|
border-color: #e14d43;
|
||||||
|
color: #dd382d;
|
||||||
|
box-shadow: 0 0 0 1px #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button:active {
|
||||||
|
background: #dd382d;
|
||||||
|
border-color: #dd382d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button.active,
|
||||||
|
.wp-core-ui .button.active:focus,
|
||||||
|
.wp-core-ui .button.active:hover {
|
||||||
|
border-color: #dd382d;
|
||||||
|
color: #dd382d;
|
||||||
|
box-shadow: inset 0 2px 5px -3px #dd382d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary {
|
||||||
|
background: #e14d43;
|
||||||
|
border-color: #e14d43;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary:hover,
|
||||||
|
.wp-core-ui .button-primary:focus {
|
||||||
|
background: #e35950;
|
||||||
|
border-color: #df4136;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary:focus {
|
||||||
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary:active {
|
||||||
|
background: #dd382d;
|
||||||
|
border-color: #dd382d;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary.active,
|
||||||
|
.wp-core-ui .button-primary.active:focus,
|
||||||
|
.wp-core-ui .button-primary.active:hover {
|
||||||
|
background: #e14d43;
|
||||||
|
color: #fff;
|
||||||
|
border-color: #ba281e;
|
||||||
|
box-shadow: inset 0 2px 5px -3px #200705;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary[disabled],
|
||||||
|
.wp-core-ui .button-primary:disabled,
|
||||||
|
.wp-core-ui .button-primary.button-primary-disabled,
|
||||||
|
.wp-core-ui .button-primary.disabled {
|
||||||
|
color: #d1c8c7 !important;
|
||||||
|
background: #d92e23 !important;
|
||||||
|
border-color: #d92e23 !important;
|
||||||
|
text-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-group > .button.active {
|
||||||
|
border-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-primary {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-primary {
|
||||||
|
color: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-highlight {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-highlight {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-notification {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-notification {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-icon {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* List tables */
|
||||||
|
.wrap .add-new-h2:hover,
|
||||||
|
.wrap .page-title-action:hover {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-switch a.current:before {
|
||||||
|
color: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-switch a:hover:before {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu */
|
||||||
|
#adminmenuback,
|
||||||
|
#adminmenuwrap,
|
||||||
|
#adminmenu {
|
||||||
|
background: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu div.wp-menu-image:before {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu a:hover,
|
||||||
|
#adminmenu li.menu-top:hover,
|
||||||
|
#adminmenu li.opensub > a.menu-top,
|
||||||
|
#adminmenu li > a.menu-top:focus {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.menu-top:hover div.wp-menu-image:before,
|
||||||
|
#adminmenu
|
||||||
|
li.opensub
|
||||||
|
> a.menu-top
|
||||||
|
div.wp-menu-image:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active tabs use a bottom border color that matches the page background color. */
|
||||||
|
.about-wrap .nav-tab-active,
|
||||||
|
.nav-tab-active,
|
||||||
|
.nav-tab-active:hover {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border-bottom-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: submenu */
|
||||||
|
#adminmenu .wp-submenu,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||||
|
background: #1d1a1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu
|
||||||
|
li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||||
|
border-right-color: #1d1a1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu .wp-submenu-head {
|
||||||
|
color: #c1bfc2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu a,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||||
|
color: #c1bfc2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu a:focus,
|
||||||
|
#adminmenu .wp-submenu a:hover,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||||
|
.folded
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu
|
||||||
|
.wp-submenu
|
||||||
|
a:focus,
|
||||||
|
.folded
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu
|
||||||
|
.wp-submenu
|
||||||
|
a:hover,
|
||||||
|
#adminmenu
|
||||||
|
a.wp-has-current-submenu:focus
|
||||||
|
+ .wp-submenu
|
||||||
|
a:focus,
|
||||||
|
#adminmenu
|
||||||
|
a.wp-has-current-submenu:focus
|
||||||
|
+ .wp-submenu
|
||||||
|
a:hover,
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu.opensub
|
||||||
|
.wp-submenu
|
||||||
|
a:focus,
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu.opensub
|
||||||
|
.wp-submenu
|
||||||
|
a:hover {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: current */
|
||||||
|
#adminmenu .wp-submenu li.current a,
|
||||||
|
#adminmenu
|
||||||
|
a.wp-has-current-submenu:focus
|
||||||
|
+ .wp-submenu
|
||||||
|
li.current
|
||||||
|
a,
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu.opensub
|
||||||
|
.wp-submenu
|
||||||
|
li.current
|
||||||
|
a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu li.current a:hover,
|
||||||
|
#adminmenu .wp-submenu li.current a:focus,
|
||||||
|
#adminmenu
|
||||||
|
a.wp-has-current-submenu:focus
|
||||||
|
+ .wp-submenu
|
||||||
|
li.current
|
||||||
|
a:hover,
|
||||||
|
#adminmenu
|
||||||
|
a.wp-has-current-submenu:focus
|
||||||
|
+ .wp-submenu
|
||||||
|
li.current
|
||||||
|
a:focus,
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu.opensub
|
||||||
|
.wp-submenu
|
||||||
|
li.current
|
||||||
|
a:hover,
|
||||||
|
#adminmenu
|
||||||
|
.wp-has-current-submenu.opensub
|
||||||
|
.wp-submenu
|
||||||
|
li.current
|
||||||
|
a:focus {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#adminmenu a.wp-has-current-submenu:after,
|
||||||
|
ul#adminmenu > li.current > a.current:after {
|
||||||
|
border-right-color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.current a.menu-top,
|
||||||
|
#adminmenu
|
||||||
|
li.wp-has-current-submenu
|
||||||
|
a.wp-has-current-submenu,
|
||||||
|
#adminmenu
|
||||||
|
li.wp-has-current-submenu
|
||||||
|
.wp-submenu
|
||||||
|
.wp-submenu-head,
|
||||||
|
.folded #adminmenu li.current.menu-top {
|
||||||
|
color: #fff;
|
||||||
|
background: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu
|
||||||
|
li.wp-has-current-submenu
|
||||||
|
div.wp-menu-image:before,
|
||||||
|
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||||
|
#adminmenu
|
||||||
|
li.wp-has-current-submenu
|
||||||
|
a:focus
|
||||||
|
div.wp-menu-image:before,
|
||||||
|
#adminmenu
|
||||||
|
li.wp-has-current-submenu.opensub
|
||||||
|
div.wp-menu-image:before,
|
||||||
|
#adminmenu li:hover div.wp-menu-image:before,
|
||||||
|
#adminmenu li a:focus div.wp-menu-image:before,
|
||||||
|
#adminmenu li.opensub div.wp-menu-image:before,
|
||||||
|
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: bubble */
|
||||||
|
#adminmenu .awaiting-mod,
|
||||||
|
#adminmenu .update-plugins {
|
||||||
|
color: #fff;
|
||||||
|
background: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.current a .awaiting-mod,
|
||||||
|
#adminmenu li a.wp-has-current-submenu .update-plugins,
|
||||||
|
#adminmenu li:hover a .awaiting-mod,
|
||||||
|
#adminmenu li.menu-top:hover > a .update-plugins {
|
||||||
|
color: #fff;
|
||||||
|
background: #1d1a1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: collapse button */
|
||||||
|
#collapse-button {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#collapse-button:hover,
|
||||||
|
#collapse-button:focus {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar */
|
||||||
|
#wpadminbar {
|
||||||
|
color: #fff;
|
||||||
|
background: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-item,
|
||||||
|
#wpadminbar a.ab-item,
|
||||||
|
#wpadminbar > #wp-toolbar span.ab-label,
|
||||||
|
#wpadminbar > #wp-toolbar span.noticon {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-icon,
|
||||||
|
#wpadminbar .ab-icon:before,
|
||||||
|
#wpadminbar .ab-item:before,
|
||||||
|
#wpadminbar .ab-item:after {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
|
||||||
|
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
|
||||||
|
#wpadminbar.nojq
|
||||||
|
.quicklinks
|
||||||
|
.ab-top-menu
|
||||||
|
> li
|
||||||
|
> .ab-item:focus,
|
||||||
|
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||||
|
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||||
|
color: #e14d43;
|
||||||
|
background: #1d1a1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar:not(.mobile)
|
||||||
|
> #wp-toolbar
|
||||||
|
li:hover
|
||||||
|
span.ab-label,
|
||||||
|
#wpadminbar:not(.mobile)
|
||||||
|
> #wp-toolbar
|
||||||
|
li.hover
|
||||||
|
span.ab-label,
|
||||||
|
#wpadminbar:not(.mobile)
|
||||||
|
> #wp-toolbar
|
||||||
|
a:focus
|
||||||
|
span.ab-label {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
|
||||||
|
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||||
|
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||||
|
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: submenu */
|
||||||
|
#wpadminbar .menupop .ab-sub-wrapper {
|
||||||
|
background: #1d1a1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||||
|
#wpadminbar
|
||||||
|
.quicklinks
|
||||||
|
.menupop
|
||||||
|
ul.ab-sub-secondary
|
||||||
|
.ab-submenu {
|
||||||
|
background: #413f42;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-submenu .ab-item,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a,
|
||||||
|
#wpadminbar .quicklinks .menupop.hover ul li a,
|
||||||
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
|
||||||
|
color: #c1bfc2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks li .blavatar,
|
||||||
|
#wpadminbar .menupop .menupop > .ab-item:before {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:hover,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:focus,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:hover strong,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:focus strong,
|
||||||
|
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
|
||||||
|
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
|
||||||
|
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
|
||||||
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
|
||||||
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
|
||||||
|
#wpadminbar li:hover .ab-icon:before,
|
||||||
|
#wpadminbar li:hover .ab-item:before,
|
||||||
|
#wpadminbar li a:focus .ab-icon:before,
|
||||||
|
#wpadminbar li .ab-item:focus:before,
|
||||||
|
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||||
|
#wpadminbar li.hover .ab-icon:before,
|
||||||
|
#wpadminbar li.hover .ab-item:before,
|
||||||
|
#wpadminbar li:hover #adminbarsearch:before,
|
||||||
|
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||||
|
#wpadminbar .quicklinks li a:focus .blavatar,
|
||||||
|
#wpadminbar
|
||||||
|
.quicklinks
|
||||||
|
.ab-sub-wrapper
|
||||||
|
.menupop.hover
|
||||||
|
> a
|
||||||
|
.blavatar,
|
||||||
|
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||||
|
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||||
|
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||||
|
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: search */
|
||||||
|
#wpadminbar #adminbarsearch:before {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar
|
||||||
|
> #wp-toolbar
|
||||||
|
> #wp-admin-bar-top-secondary
|
||||||
|
> #wp-admin-bar-search
|
||||||
|
#adminbarsearch
|
||||||
|
input.adminbar-input:focus {
|
||||||
|
color: #fff;
|
||||||
|
background: #413a47;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: recovery mode */
|
||||||
|
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||||
|
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar
|
||||||
|
.ab-top-menu
|
||||||
|
> #wp-admin-bar-recovery-mode.hover
|
||||||
|
> .ab-item,
|
||||||
|
#wpadminbar.nojq
|
||||||
|
.quicklinks
|
||||||
|
.ab-top-menu
|
||||||
|
> #wp-admin-bar-recovery-mode
|
||||||
|
> .ab-item:focus,
|
||||||
|
#wpadminbar:not(.mobile)
|
||||||
|
.ab-top-menu
|
||||||
|
> #wp-admin-bar-recovery-mode:hover
|
||||||
|
> .ab-item,
|
||||||
|
#wpadminbar:not(.mobile)
|
||||||
|
.ab-top-menu
|
||||||
|
> #wp-admin-bar-recovery-mode
|
||||||
|
> .ab-item:focus {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #cb453c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: my account */
|
||||||
|
#wpadminbar
|
||||||
|
.quicklinks
|
||||||
|
li#wp-admin-bar-my-account.with-avatar
|
||||||
|
> a
|
||||||
|
img {
|
||||||
|
border-color: #413a47;
|
||||||
|
background-color: #413a47;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-user-info .display-name {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-user-info .username {
|
||||||
|
color: #c1bfc2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pointers */
|
||||||
|
.wp-pointer .wp-pointer-content h3 {
|
||||||
|
background-color: #e14d43;
|
||||||
|
border-color: #dd382d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-pointer .wp-pointer-content h3:before {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
|
||||||
|
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
|
||||||
|
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
|
||||||
|
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
|
||||||
|
border-bottom-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Media */
|
||||||
|
.media-item .bar,
|
||||||
|
.media-progress-bar div {
|
||||||
|
background-color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.details.attachment {
|
||||||
|
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.attachment.details .check {
|
||||||
|
background-color: #e14d43;
|
||||||
|
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.media-selection .attachment.selection.details .thumbnail {
|
||||||
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Themes */
|
||||||
|
.theme-browser .theme.active .theme-name,
|
||||||
|
.theme-browser .theme.add-new-theme a:hover:after,
|
||||||
|
.theme-browser .theme.add-new-theme a:focus:after {
|
||||||
|
background: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-browser .theme.add-new-theme a:hover span:after,
|
||||||
|
.theme-browser .theme.add-new-theme a:focus span:after {
|
||||||
|
color: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-section.current,
|
||||||
|
.theme-filter.current {
|
||||||
|
border-bottom-color: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #2f2a33;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters:hover,
|
||||||
|
body.more-filters-opened .more-filters:focus {
|
||||||
|
background-color: #e14d43;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters:hover:before,
|
||||||
|
body.more-filters-opened .more-filters:focus:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Widgets */
|
||||||
|
.widgets-chooser li.widgets-chooser-selected {
|
||||||
|
background-color: #e14d43;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widgets-chooser li.widgets-chooser-selected:before,
|
||||||
|
.widgets-chooser li.widgets-chooser-selected:focus:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive Component */
|
||||||
|
div#wp-responsive-toggle a:before {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open div#wp-responsive-toggle a {
|
||||||
|
border-color: transparent;
|
||||||
|
background: #e14d43;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open
|
||||||
|
#wpadminbar
|
||||||
|
#wp-admin-bar-menu-toggle
|
||||||
|
a {
|
||||||
|
background: #1d1a1f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open
|
||||||
|
#wpadminbar
|
||||||
|
#wp-admin-bar-menu-toggle
|
||||||
|
.ab-icon:before {
|
||||||
|
color: #f2f1f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TinyMCE */
|
||||||
|
.mce-container.mce-menu .mce-menu-item:hover,
|
||||||
|
.mce-container.mce-menu .mce-menu-item.mce-selected,
|
||||||
|
.mce-container.mce-menu .mce-menu-item:focus,
|
||||||
|
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||||
|
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||||
|
background: #e14d43;
|
||||||
|
}
|
||||||
575
homegrade-light-color-scheme.css
Normal file
575
homegrade-light-color-scheme.css
Normal file
|
|
@ -0,0 +1,575 @@
|
||||||
|
body {
|
||||||
|
background: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links */
|
||||||
|
a {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover, a:active, a:focus {
|
||||||
|
color: #4b0286;
|
||||||
|
}
|
||||||
|
|
||||||
|
#post-body .misc-pub-post-status:before,
|
||||||
|
#post-body #visibility:before,
|
||||||
|
.curtime #timestamp:before,
|
||||||
|
#post-body .misc-pub-revisions:before,
|
||||||
|
span.wp-media-buttons-icon:before {
|
||||||
|
color: currentColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms */
|
||||||
|
input[type=checkbox]:checked::before {
|
||||||
|
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%232f0154%27%2F%3E%3C%2Fsvg%3E");
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=radio]:checked::before {
|
||||||
|
background: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui input[type="reset"]:hover,
|
||||||
|
.wp-core-ui input[type="reset"]:active {
|
||||||
|
color: #4b0286;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]:focus,
|
||||||
|
input[type="password"]:focus,
|
||||||
|
input[type="color"]:focus,
|
||||||
|
input[type="date"]:focus,
|
||||||
|
input[type="datetime"]:focus,
|
||||||
|
input[type="datetime-local"]:focus,
|
||||||
|
input[type="email"]:focus,
|
||||||
|
input[type="month"]:focus,
|
||||||
|
input[type="number"]:focus,
|
||||||
|
input[type="search"]:focus,
|
||||||
|
input[type="tel"]:focus,
|
||||||
|
input[type="text"]:focus,
|
||||||
|
input[type="time"]:focus,
|
||||||
|
input[type="url"]:focus,
|
||||||
|
input[type="week"]:focus,
|
||||||
|
input[type="checkbox"]:focus,
|
||||||
|
input[type="radio"]:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
border-color: #2f0154;
|
||||||
|
box-shadow: 0 0 0 1px #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Core UI */
|
||||||
|
.wp-core-ui .button,
|
||||||
|
.wp-core-ui .button-secondary {
|
||||||
|
color: #2f0154;
|
||||||
|
border-color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button.hover,
|
||||||
|
.wp-core-ui .button:hover,
|
||||||
|
.wp-core-ui .button-secondary:hover,
|
||||||
|
.wp-core-ui .button.focus,
|
||||||
|
.wp-core-ui .button:focus,
|
||||||
|
.wp-core-ui .button-secondary:focus {
|
||||||
|
border-color: #21013b;
|
||||||
|
color: #21013b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button.focus,
|
||||||
|
.wp-core-ui .button:focus,
|
||||||
|
.wp-core-ui .button-secondary:focus {
|
||||||
|
border-color: #2f0154;
|
||||||
|
color: #21013b;
|
||||||
|
box-shadow: 0 0 0 1px #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button:active {
|
||||||
|
background: #21013b;
|
||||||
|
border-color: #21013b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button.active,
|
||||||
|
.wp-core-ui .button.active:focus,
|
||||||
|
.wp-core-ui .button.active:hover {
|
||||||
|
border-color: #21013b;
|
||||||
|
color: #21013b;
|
||||||
|
box-shadow: inset 0 2px 5px -3px #21013b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary {
|
||||||
|
background: #2f0154;
|
||||||
|
border-color: #2f0154;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||||
|
background: #370163;
|
||||||
|
border-color: #270145;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary:focus {
|
||||||
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary:active {
|
||||||
|
background: #21013b;
|
||||||
|
border-color: #21013b;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||||
|
background: #2f0154;
|
||||||
|
color: #fff;
|
||||||
|
border-color: #050008;
|
||||||
|
box-shadow: inset 0 2px 5px -3px black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-primary[disabled], .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary.button-primary-disabled, .wp-core-ui .button-primary.disabled {
|
||||||
|
color: #cdc7d1 !important;
|
||||||
|
background: #18012c !important;
|
||||||
|
border-color: #18012c !important;
|
||||||
|
text-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .button-group > .button.active {
|
||||||
|
border-color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-primary {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-primary {
|
||||||
|
color: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-highlight {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-highlight {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-notification {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #d54e21;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-notification {
|
||||||
|
color: #d54e21;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-core-ui .wp-ui-text-icon {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* List tables */
|
||||||
|
.wrap .add-new-h2:hover,
|
||||||
|
.wrap .page-title-action:hover {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-switch a.current:before {
|
||||||
|
color: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-switch a:hover:before {
|
||||||
|
color: #d54e21;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu */
|
||||||
|
#adminmenuback,
|
||||||
|
#adminmenuwrap,
|
||||||
|
#adminmenu {
|
||||||
|
background: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu div.wp-menu-image:before {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu a:hover,
|
||||||
|
#adminmenu li.menu-top:hover,
|
||||||
|
#adminmenu li.opensub > a.menu-top,
|
||||||
|
#adminmenu li > a.menu-top:focus {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.menu-top:hover div.wp-menu-image:before,
|
||||||
|
#adminmenu li.opensub > a.menu-top div.wp-menu-image:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active tabs use a bottom border color that matches the page background color. */
|
||||||
|
.about-wrap .nav-tab-active,
|
||||||
|
.nav-tab-active,
|
||||||
|
.nav-tab-active:hover {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
border-bottom-color: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: submenu */
|
||||||
|
#adminmenu .wp-submenu,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu {
|
||||||
|
background: #be3631;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after {
|
||||||
|
border-right-color: #be3631;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu .wp-submenu-head {
|
||||||
|
color: #f1c8c7;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu a,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu a,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a {
|
||||||
|
color: #f1c8c7;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||||
|
#adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:focus,
|
||||||
|
.folded #adminmenu .wp-has-current-submenu .wp-submenu a:hover,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:focus,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: current */
|
||||||
|
#adminmenu .wp-submenu li.current a,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu .wp-submenu li.current a:hover, #adminmenu .wp-submenu li.current a:focus,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:hover,
|
||||||
|
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
|
||||||
|
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#adminmenu a.wp-has-current-submenu:after,
|
||||||
|
ul#adminmenu > li.current > a.current:after {
|
||||||
|
border-right-color: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.current a.menu-top,
|
||||||
|
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
|
||||||
|
#adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head,
|
||||||
|
.folded #adminmenu li.current.menu-top {
|
||||||
|
color: #fff;
|
||||||
|
background: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.wp-has-current-submenu div.wp-menu-image:before,
|
||||||
|
#adminmenu a.current:hover div.wp-menu-image:before,
|
||||||
|
#adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before,
|
||||||
|
#adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before,
|
||||||
|
#adminmenu li:hover div.wp-menu-image:before,
|
||||||
|
#adminmenu li a:focus div.wp-menu-image:before,
|
||||||
|
#adminmenu li.opensub div.wp-menu-image:before,
|
||||||
|
.ie8 #adminmenu li.opensub div.wp-menu-image:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: bubble */
|
||||||
|
#adminmenu .awaiting-mod,
|
||||||
|
#adminmenu .update-plugins {
|
||||||
|
color: #fff;
|
||||||
|
background: #d54e21;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminmenu li.current a .awaiting-mod,
|
||||||
|
#adminmenu li a.wp-has-current-submenu .update-plugins,
|
||||||
|
#adminmenu li:hover a .awaiting-mod,
|
||||||
|
#adminmenu li.menu-top:hover > a .update-plugins {
|
||||||
|
color: #fff;
|
||||||
|
background: #be3631;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Menu: collapse button */
|
||||||
|
#collapse-button {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#collapse-button:hover,
|
||||||
|
#collapse-button:focus {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar */
|
||||||
|
#wpadminbar {
|
||||||
|
color: #fff;
|
||||||
|
background: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-item,
|
||||||
|
#wpadminbar a.ab-item,
|
||||||
|
#wpadminbar > #wp-toolbar span.ab-label,
|
||||||
|
#wpadminbar > #wp-toolbar span.noticon {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-icon,
|
||||||
|
#wpadminbar .ab-icon:before,
|
||||||
|
#wpadminbar .ab-item:before,
|
||||||
|
#wpadminbar .ab-item:after {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
|
||||||
|
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
|
||||||
|
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||||
|
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
|
||||||
|
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
|
||||||
|
color: #2f0154;
|
||||||
|
background: #be3631;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
|
||||||
|
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
|
||||||
|
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
|
||||||
|
#wpadminbar:not(.mobile) li:hover .ab-item:before,
|
||||||
|
#wpadminbar:not(.mobile) li:hover .ab-item:after,
|
||||||
|
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: submenu */
|
||||||
|
#wpadminbar .menupop .ab-sub-wrapper {
|
||||||
|
background: #be3631;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||||
|
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||||
|
background: #cf6b67;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-submenu .ab-item,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a,
|
||||||
|
#wpadminbar .quicklinks .menupop.hover ul li a,
|
||||||
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a {
|
||||||
|
color: #f1c8c7;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks li .blavatar,
|
||||||
|
#wpadminbar .menupop .menupop > .ab-item:before {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:hover,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:focus,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:hover strong,
|
||||||
|
#wpadminbar .quicklinks .menupop ul li a:focus strong,
|
||||||
|
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a,
|
||||||
|
#wpadminbar .quicklinks .menupop.hover ul li a:hover,
|
||||||
|
#wpadminbar .quicklinks .menupop.hover ul li a:focus,
|
||||||
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover,
|
||||||
|
#wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus,
|
||||||
|
#wpadminbar li:hover .ab-icon:before,
|
||||||
|
#wpadminbar li:hover .ab-item:before,
|
||||||
|
#wpadminbar li a:focus .ab-icon:before,
|
||||||
|
#wpadminbar li .ab-item:focus:before,
|
||||||
|
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||||
|
#wpadminbar li.hover .ab-icon:before,
|
||||||
|
#wpadminbar li.hover .ab-item:before,
|
||||||
|
#wpadminbar li:hover #adminbarsearch:before,
|
||||||
|
#wpadminbar li #adminbarsearch.adminbar-focused:before {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .quicklinks li a:hover .blavatar,
|
||||||
|
#wpadminbar .quicklinks li a:focus .blavatar,
|
||||||
|
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar,
|
||||||
|
#wpadminbar .menupop .menupop > .ab-item:hover:before,
|
||||||
|
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||||
|
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||||
|
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: search */
|
||||||
|
#wpadminbar #adminbarsearch:before {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
|
||||||
|
color: #fff;
|
||||||
|
background: #d66560;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: recovery mode */
|
||||||
|
#wpadminbar #wp-admin-bar-recovery-mode {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #d54e21;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-recovery-mode .ab-item,
|
||||||
|
#wpadminbar #wp-admin-bar-recovery-mode a.ab-item {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover > .ab-item,
|
||||||
|
#wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus,
|
||||||
|
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item,
|
||||||
|
#wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #c0461e;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Admin Bar: my account */
|
||||||
|
#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img {
|
||||||
|
border-color: #d66560;
|
||||||
|
background-color: #d66560;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-user-info .display-name {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wpadminbar #wp-admin-bar-user-info .username {
|
||||||
|
color: #f1c8c7;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pointers */
|
||||||
|
.wp-pointer .wp-pointer-content h3 {
|
||||||
|
background-color: #2f0154;
|
||||||
|
border-color: #21013b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-pointer .wp-pointer-content h3:before {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-pointer.wp-pointer-top .wp-pointer-arrow,
|
||||||
|
.wp-pointer.wp-pointer-top .wp-pointer-arrow-inner,
|
||||||
|
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow,
|
||||||
|
.wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner {
|
||||||
|
border-bottom-color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Media */
|
||||||
|
.media-item .bar,
|
||||||
|
.media-progress-bar div {
|
||||||
|
background-color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.details.attachment {
|
||||||
|
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.attachment.details .check {
|
||||||
|
background-color: #2f0154;
|
||||||
|
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.media-selection .attachment.selection.details .thumbnail {
|
||||||
|
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Themes */
|
||||||
|
.theme-browser .theme.active .theme-name,
|
||||||
|
.theme-browser .theme.add-new-theme a:hover:after,
|
||||||
|
.theme-browser .theme.add-new-theme a:focus:after {
|
||||||
|
background: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-browser .theme.add-new-theme a:hover span:after,
|
||||||
|
.theme-browser .theme.add-new-theme a:focus span:after {
|
||||||
|
color: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-section.current,
|
||||||
|
.theme-filter.current {
|
||||||
|
border-bottom-color: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #cf4944;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters:hover,
|
||||||
|
body.more-filters-opened .more-filters:focus {
|
||||||
|
background-color: #2f0154;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.more-filters-opened .more-filters:hover:before,
|
||||||
|
body.more-filters-opened .more-filters:focus:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Widgets */
|
||||||
|
.widgets-chooser li.widgets-chooser-selected {
|
||||||
|
background-color: #2f0154;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widgets-chooser li.widgets-chooser-selected:before,
|
||||||
|
.widgets-chooser li.widgets-chooser-selected:focus:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive Component */
|
||||||
|
div#wp-responsive-toggle a:before {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open div#wp-responsive-toggle a {
|
||||||
|
border-color: transparent;
|
||||||
|
background: #2f0154;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {
|
||||||
|
background: #be3631;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
|
||||||
|
color: #f3f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TinyMCE */
|
||||||
|
.mce-container.mce-menu .mce-menu-item:hover,
|
||||||
|
.mce-container.mce-menu .mce-menu-item.mce-selected,
|
||||||
|
.mce-container.mce-menu .mce-menu-item:focus,
|
||||||
|
.mce-container.mce-menu .mce-menu-item-normal.mce-active,
|
||||||
|
.mce-container.mce-menu .mce-menu-item-preview.mce-active {
|
||||||
|
background: #2f0154;
|
||||||
|
}
|
||||||
|
|
@ -8,6 +8,30 @@ function my_custom_admin()
|
||||||
|
|
||||||
add_action('admin_head', 'my_custom_admin');
|
add_action('admin_head', 'my_custom_admin');
|
||||||
|
|
||||||
|
// #### ENQUEUE DU COLOR SCHEME ADMIN
|
||||||
|
|
||||||
|
function homegrade_admin_color_scheme()
|
||||||
|
{
|
||||||
|
//Get the theme directory
|
||||||
|
$theme_dir = get_stylesheet_directory_uri();
|
||||||
|
|
||||||
|
//Homegrade
|
||||||
|
wp_admin_css_color(
|
||||||
|
'homegrade_light',
|
||||||
|
'Homegrade Light',
|
||||||
|
$theme_dir . '/homegrade-light-color-scheme.css',
|
||||||
|
array('#cf4944', '#fff', '#d54e21', '#2f0154')
|
||||||
|
);
|
||||||
|
wp_admin_css_color(
|
||||||
|
'homegrade_dark',
|
||||||
|
'Homegrade Dark',
|
||||||
|
$theme_dir . '/homegrade-dark-color-scheme.css',
|
||||||
|
array('#2f2a33', '#fff', '#e14d43', '#e14d43')
|
||||||
|
);
|
||||||
|
}
|
||||||
|
add_action('admin_init', 'homegrade_admin_color_scheme');
|
||||||
|
|
||||||
|
|
||||||
// ##### REMOVE FROM ADMIN MENU
|
// ##### REMOVE FROM ADMIN MENU
|
||||||
function custom_menu_page_removing()
|
function custom_menu_page_removing()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,22 @@ function wrap_parent_menu_item_buttons($output, $item, $depth, $args)
|
||||||
if ($args->theme_location === "homegrade" && in_array('menu-item-has-children', $item->classes, true)) {
|
if ($args->theme_location === "homegrade" && in_array('menu-item-has-children', $item->classes, true)) {
|
||||||
$output = '<button type="button" class="menu-item-submenu-toggle" aria-expanded="false" aria-controls="sub-menu-' . $item->ID . '">' . $item->title . '</button>';
|
$output = '<button type="button" class="menu-item-submenu-toggle" aria-expanded="false" aria-controls="sub-menu-' . $item->ID . '">' . $item->title . '</button>';
|
||||||
}
|
}
|
||||||
|
if ($args->theme_location === "renovateur") {
|
||||||
|
$page_icon = get_field('page_icon', $item->object_id);
|
||||||
|
|
||||||
|
write_log($item);
|
||||||
|
if (in_array('menu-item-has-children', $item->classes, true)) {
|
||||||
|
$output = '<button type="button" class="menu-item-submenu-toggle" aria-expanded="false" aria-controls="sub-menu-' . $item->ID . '">' . $item->title . '</button>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($page_icon['url']) {
|
||||||
|
write_log($page_icon['url']);
|
||||||
|
$icon = '<img class="page_icon" src="' . $page_icon['url'] . '" alt=""/>';
|
||||||
|
$link = $output;
|
||||||
|
$output = $icon . $link;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($args->theme_location === "footer" && in_array('menu-item-has-children', $item->classes, true)) {
|
if ($args->theme_location === "footer" && in_array('menu-item-has-children', $item->classes, true)) {
|
||||||
$output = $item->title;
|
$output = $item->title;
|
||||||
}
|
}
|
||||||
|
|
@ -98,7 +114,7 @@ add_action('wp_enqueue_scripts', 'tailpress_enqueue_scripts');
|
||||||
/**
|
/**
|
||||||
* Get asset path.
|
* Get asset path.
|
||||||
*
|
*
|
||||||
* @param string $path Path to asset.
|
* @param string $path Path to asset.
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|
@ -108,14 +124,14 @@ function tailpress_asset($path)
|
||||||
return get_stylesheet_directory_uri() . '/' . $path;
|
return get_stylesheet_directory_uri() . '/' . $path;
|
||||||
}
|
}
|
||||||
|
|
||||||
return add_query_arg('time', time(), get_stylesheet_directory_uri() . '/' . $path);
|
return add_query_arg('time', time(), get_stylesheet_directory_uri() . '/' . $path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds option 'li_class' to 'wp_nav_menu'.
|
* Adds option 'li_class' to 'wp_nav_menu'.
|
||||||
*
|
*
|
||||||
* @param string $classes String of classes.
|
* @param string $classes String of classes.
|
||||||
* @param mixed $item The curren item.
|
* @param mixed $item The curren item.
|
||||||
* @param WP_Term $args Holds the nav menu arguments.
|
* @param WP_Term $args Holds the nav menu arguments.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
|
|
@ -138,8 +154,8 @@ add_filter('nav_menu_css_class', 'tailpress_nav_menu_add_li_class', 10, 4);
|
||||||
/**
|
/**
|
||||||
* Adds option 'submenu_class' to 'wp_nav_menu'.
|
* Adds option 'submenu_class' to 'wp_nav_menu'.
|
||||||
*
|
*
|
||||||
* @param string $classes String of classes.
|
* @param string $classes String of classes.
|
||||||
* @param mixed $item The curren item.
|
* @param mixed $item The curren item.
|
||||||
* @param WP_Term $args Holds the nav menu arguments.
|
* @param WP_Term $args Holds the nav menu arguments.
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
|
|
@ -157,4 +173,4 @@ function tailpress_nav_menu_add_submenu_class($classes, $args, $depth)
|
||||||
return $classes;
|
return $classes;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_filter('nav_menu_submenu_css_class', 'tailpress_nav_menu_add_submenu_class', 10, 3);
|
add_filter('nav_menu_submenu_css_class', 'tailpress_nav_menu_add_submenu_class', 10, 3);
|
||||||
|
|
|
||||||
|
|
@ -49,14 +49,16 @@ function create_posttype()
|
||||||
'fiche-questions',
|
'fiche-questions',
|
||||||
array(
|
array(
|
||||||
'labels' => array(
|
'labels' => array(
|
||||||
'name' => __('Fiches Question'),
|
'name' => __('Questions'),
|
||||||
'singular_name' => __('Fiche Question')
|
'singular_name' => __('Question')
|
||||||
),
|
),
|
||||||
'public' => true,
|
'public' => true,
|
||||||
'has_archive' => true,
|
'has_archive' => true,
|
||||||
'rewrite' => array('slug' => 'fiche-question'),
|
'rewrite' => array('slug' => 'fiche-question'),
|
||||||
'show_in_rest' => true,
|
'show_in_rest' => true,
|
||||||
'menu_icon' => 'dashicons-admin-home',
|
'menu_icon' => 'dashicons-admin-comments',
|
||||||
|
'menu_icon' => 'dashicons-editor-help',
|
||||||
|
|
||||||
'menu_position' => 4,
|
'menu_position' => 4,
|
||||||
'supports' => array('title', 'custom-fields'),
|
'supports' => array('title', 'custom-fields'),
|
||||||
)
|
)
|
||||||
|
|
@ -72,7 +74,7 @@ function create_posttype()
|
||||||
'has_archive' => true,
|
'has_archive' => true,
|
||||||
'rewrite' => array('slug' => 'fiche-conseil'),
|
'rewrite' => array('slug' => 'fiche-conseil'),
|
||||||
'show_in_rest' => true,
|
'show_in_rest' => true,
|
||||||
'menu_icon' => 'dashicons-admin-home',
|
'menu_icon' => 'dashicons-pressthis',
|
||||||
'menu_position' => 4,
|
'menu_position' => 4,
|
||||||
'supports' => array('title', 'custom-fields'),
|
'supports' => array('title', 'custom-fields'),
|
||||||
)
|
)
|
||||||
|
|
@ -91,7 +93,9 @@ function create_posttype()
|
||||||
'rewrite' => array('slug' => 'fiche'),
|
'rewrite' => array('slug' => 'fiche'),
|
||||||
'show_in_rest' => true,
|
'show_in_rest' => true,
|
||||||
// 'menu_icon' => 'dashicons-image-filter',
|
// 'menu_icon' => 'dashicons-image-filter',
|
||||||
'menu_icon' => 'dashicons-format-status',
|
'menu_icon' => 'dashicons-media-spreadsheet',
|
||||||
|
'menu_icon' => 'dashicons-info-outline',
|
||||||
|
|
||||||
'menu_position' => 4,
|
'menu_position' => 4,
|
||||||
'supports' => array('title', 'custxom-fields'),
|
'supports' => array('title', 'custxom-fields'),
|
||||||
|
|
||||||
|
|
@ -141,4 +145,4 @@ add_action('init', 'create_posttype');
|
||||||
// if($template_file == 'submit.php'){ // edit the template name
|
// if($template_file == 'submit.php'){ // edit the template name
|
||||||
// remove_post_type_support('page', 'editor');
|
// remove_post_type_support('page', 'editor');
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
@ -58,6 +58,7 @@ function add_custom_taxonomies()
|
||||||
'hierarchical' => true, // This will allow URL's like "/locations/boston/cambridge/"
|
'hierarchical' => true, // This will allow URL's like "/locations/boston/cambridge/"
|
||||||
'rewrite' => array(
|
'rewrite' => array(
|
||||||
'slug' => 'thematiques', // This controls the base slug that will display before each term
|
'slug' => 'thematiques', // This controls the base slug that will display before each term
|
||||||
|
'hierarchical' => true, // This will allow URL's like "/locations/boston/cambridge/"
|
||||||
// 'with_front' => false, // Don't display the category base before "/locations/"
|
// 'with_front' => false, // Don't display the category base before "/locations/"
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
@ -66,8 +67,6 @@ function add_custom_taxonomies()
|
||||||
// ————— —————
|
// ————— —————
|
||||||
register_taxonomy('thematiques', ['fiche-questions', 'fiche-conseils'], array(
|
register_taxonomy('thematiques', ['fiche-questions', 'fiche-conseils'], array(
|
||||||
|
|
||||||
// 'hierarchical' => true,
|
|
||||||
|
|
||||||
// This array of options controls the labels displayed in the WordPress Admin UI
|
// This array of options controls the labels displayed in the WordPress Admin UI
|
||||||
'labels' => array(
|
'labels' => array(
|
||||||
'name' => _x('Thématiques', 'taxonomy general name'),
|
'name' => _x('Thématiques', 'taxonomy general name'),
|
||||||
|
|
@ -82,12 +81,15 @@ function add_custom_taxonomies()
|
||||||
'new_item_name' => __('Nom de la nouvelle Thématique'),
|
'new_item_name' => __('Nom de la nouvelle Thématique'),
|
||||||
'menu_name' => __('Thématiques'),
|
'menu_name' => __('Thématiques'),
|
||||||
),
|
),
|
||||||
// Control the slugs used for this taxonomy
|
|
||||||
|
|
||||||
|
'hierarchical' => true,
|
||||||
|
'public' => true,
|
||||||
'rewrite' => array(
|
'rewrite' => array(
|
||||||
'slug' => 'thematiques', // This controls the base slug that will display before each term
|
'slug' => 'thematiques', // This controls the base slug that will display before each term
|
||||||
// 'with_front' => false, // Don't display the category base before "/locations/"
|
// 'with_front' => false, // Don't display the category base before "/locations/"
|
||||||
'hierarchical' => true // This will allow URL's like "/locations/boston/cambridge/"
|
// 'hierarchical' => true // This will allow URL's like "/locations/boston/cambridge/"
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
add_action('init', 'add_custom_taxonomies', 0);
|
add_action('init', 'add_custom_taxonomies', 0);
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
@import './components/section-titling.css';
|
@import './components/section-titling.css';
|
||||||
|
|
||||||
/* ########### LAYOUT ############ */
|
/* ########### LAYOUT ############ */
|
||||||
@import './layout/nav.css';
|
@import './layout/header.css';
|
||||||
@import './layout/footer.css';
|
@import './layout/footer.css';
|
||||||
@import './layout/section.css';
|
@import './layout/section.css';
|
||||||
@import './layout/gutenberg.css';
|
@import './layout/gutenberg.css';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
body {
|
body:not(.wp-admin) {
|
||||||
font-family: 'Raleway', sans-serif;
|
font-family: 'Raleway', sans-serif;
|
||||||
@apply font-normal;
|
@apply font-normal;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
text-white
|
text-white
|
||||||
relative
|
relative
|
||||||
h-fit
|
h-fit
|
||||||
py-8
|
py-4
|
||||||
px-8
|
px-8
|
||||||
2xl:px-32
|
2xl:px-32
|
||||||
my-0;
|
my-0;
|
||||||
|
|
@ -12,11 +12,7 @@
|
||||||
nav#primary-menu-nav {
|
nav#primary-menu-nav {
|
||||||
@apply max-w-screen-2xl w-full mx-auto;
|
@apply max-w-screen-2xl w-full mx-auto;
|
||||||
}
|
}
|
||||||
.logo {
|
|
||||||
@apply mr-12
|
|
||||||
w-[190px]
|
|
||||||
xl:w-[222px];
|
|
||||||
}
|
|
||||||
#primary-menu {
|
#primary-menu {
|
||||||
@apply flex
|
@apply flex
|
||||||
flex-col
|
flex-col
|
||||||
|
|
@ -266,3 +262,36 @@ button#burger-menu-toggle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#menu-renovateur {
|
||||||
|
@apply bg-white py-8
|
||||||
|
px-16
|
||||||
|
shadow-md
|
||||||
|
flex
|
||||||
|
justify-between;
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
@apply mr-12
|
||||||
|
w-[190px]
|
||||||
|
xl:w-[222px];
|
||||||
|
}
|
||||||
|
.page_icon {
|
||||||
|
@apply w-[50px] h-[50px];
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
@apply flex justify-center gap-8;
|
||||||
|
|
||||||
|
li {
|
||||||
|
@apply text-black
|
||||||
|
flex
|
||||||
|
justify-center
|
||||||
|
items-center
|
||||||
|
font-bold;
|
||||||
|
|
||||||
|
.sub-menu {
|
||||||
|
@apply hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
resources/svg/icone-recherche.svg
Normal file
7
resources/svg/icone-recherche.svg
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<svg id="icone-recherche" xmlns="http://www.w3.org/2000/svg" width="16.703" height="16.359" viewBox="0 0 16.703 16.359">
|
||||||
|
<g id="Ellipse_30" data-name="Ellipse 30" fill="none" stroke="#000" stroke-linecap="round" stroke-width="2">
|
||||||
|
<circle cx="6.4" cy="6.4" r="6.4" stroke="none"/>
|
||||||
|
<circle cx="6.4" cy="6.4" r="5.4" fill="none"/>
|
||||||
|
</g>
|
||||||
|
<path id="Tracé_254" data-name="Tracé 254" d="M826.43,42l4.545,4.545" transform="translate(-815.686 -31.6)" fill="none" stroke="#000" stroke-linecap="round" stroke-width="2"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 532 B |
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
|
Before Width: | Height: | Size: 682 KiB After Width: | Height: | Size: 69 KiB |
|
|
@ -10,10 +10,7 @@ $home_header = get_field('home_header_datas');
|
||||||
<h1 class="home-header__title">
|
<h1 class="home-header__title">
|
||||||
<?php echo $home_header['title'] ?>
|
<?php echo $home_header['title'] ?>
|
||||||
</h1>
|
</h1>
|
||||||
<a class="cta" href="<?php echo $home_header['cta']['url'] ?>">
|
|
||||||
<?php echo $home_header['cta']['title'] ?>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<img class="home-header__cover" src='<?php echo $home_header['cover_illustration']['url'] ?>' alt=''>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -18,7 +18,6 @@ $block_titling_datas = get_field('block_titling_datas');
|
||||||
));
|
));
|
||||||
|
|
||||||
foreach ($recent_posts as $key => $post) {
|
foreach ($recent_posts as $key => $post) {
|
||||||
$post_taxonomies = wp_get_post_terms($post['ID'], array('tag', 'category'));
|
|
||||||
$post_thumbnail = get_the_post_thumbnail($post['ID'], 'full', array('class' => 'post-card__thumbnail'));
|
$post_thumbnail = get_the_post_thumbnail($post['ID'], 'full', array('class' => 'post-card__thumbnail'));
|
||||||
$post_tags = get_the_tags($post['ID']);
|
$post_tags = get_the_tags($post['ID']);
|
||||||
|
|
||||||
|
|
@ -30,8 +29,6 @@ $block_titling_datas = get_field('block_titling_datas');
|
||||||
'post_ID' => $post['ID'],
|
'post_ID' => $post['ID'],
|
||||||
'post_title' => $post['post_title'],
|
'post_title' => $post['post_title'],
|
||||||
'post_thumbnail' => $post_thumbnail,
|
'post_thumbnail' => $post_thumbnail,
|
||||||
'activite_details' => $activite_details,
|
|
||||||
'post_taxonomies' => $post_taxonomies,
|
|
||||||
'post_tags' => $post_tags,
|
'post_tags' => $post_tags,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -14,18 +14,6 @@ $post_tags = $args['post_tags'];
|
||||||
<div class="post-card__inner">
|
<div class="post-card__inner">
|
||||||
<p class="post-card__tag"><?php echo $post_tags[0]->name ?></p>
|
<p class="post-card__tag"><?php echo $post_tags[0]->name ?></p>
|
||||||
<h3 class="post-card__title"><?php echo $post_title ?></h3>
|
<h3 class="post-card__title"><?php echo $post_title ?></h3>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class="post-card__excerpt"><?php echo $activite_details['description'] ?> </p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="#" class="cta cta--read-more ">
|
<a href="#" class="cta cta--read-more ">
|
||||||
<!-- cta-read-more -->
|
<!-- cta-read-more -->
|
||||||
<span><?php echo __("Lire l'article", 'deligraph-theme') ?></span>
|
<span><?php echo __("Lire l'article", 'deligraph-theme') ?></span>
|
||||||
|
|
|
||||||
1
template-renovateur.php
Normal file
1
template-renovateur.php
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
<?php /* Template Name: Page Renovateur */
|
||||||
Loading…
Reference in New Issue
Block a user