Skip to content

Add herodevs support. #464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
462: Add herodevs support.
  • Loading branch information
aangelinsf committed Aug 23, 2024
commit 74165f7af5b51dd93be519823e6ae010cb939ae9
39 changes: 28 additions & 11 deletions themes/jquery/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,25 @@ iframe {
margin: 0;
}

/* Support message
========================================================================== */

#support-message {
display: flex;
justify-content: center;
background-color: #dddddd;
padding: 4px 4px;
font-size: 15px;
}
#support-message span {
text-align: center;
padding-left: 20px;
padding-right: 20px;
}
#support-message span a {
color: #222;
}


/* Global Nav
========================================================================== */
Expand Down Expand Up @@ -1236,10 +1255,11 @@ nav#main li.current a {
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

.tsmb-form {
typesense-minibar {
--tsmb-size-radius: 5px;
--tsmb-size-base: 12px;
--tsmb-size-sm: 0.8rem;
--tsmb-size-listbox-right: 0;
--tsmb-color-base-background: var(--tsmb-color-primary50);
--tsmb-color-base30: #fff;
--tsmb-color-base50: var(--tsmb-color-primary90);
Expand All @@ -1251,32 +1271,29 @@ nav#main li.current a {
--tsmb-color-primary50: #0769ad; /* jQuery Primary Blue */
--tsmb-color-primary90: #b4efff; /* oklch(0.92 0.07 228) hue=228 of #7ACEF4 (jQuery Secondary Blue) */
}
.jquery-ui .tsmb-form {
.jquery-ui typesense-minibar {
--tsmb-color-primary50: #b24926; /* jQuery UI Secondary Orange */
--tsmb-color-primary90: #ffddb2; /* = #b4efff + oklch(hue=70) of #FAA523 (jQuery UI Primary Orange) */
}
.jquery-mobile .tsmb-form {
.jquery-mobile typesense-minibar {
--tsmb-color-primary50: #108040; /* jQuery Mobile Secondary Green */
--tsmb-color-primary90: #c9f2c8; /* = #b4efff + oklch(hue=144) of #3EB249 (jQuery UI Primary Orange) */
}
.jquery-foundation .tsmb-form {
.jquery-foundation typesense-minibar {
--tsmb-color-primary50: #333; /* jQuery Black */
--tsmb-color-primary90: #ccc;
}
.jquery-learn .tsmb-form {
.jquery-learn typesense-minibar {
--tsmb-color-primary50: #222;
--tsmb-color-primary90: #ccc;
}
.tsmb-form:not(:focus-within)::before {
typesense-minibar form:not(:focus-within)::before {
filter: invert();
}
.tsmb-form input[type=search] {
typesense-minibar input[type=search] {
border-width: 0;
}
.tsmb-form [role="listbox"] {
right: 0;
}
.tsmb-form [role="option"] mark {
typesense-minibar[role="option"] mark {
border-bottom: 2px solid var(--tsmb-color-primary90);
}

Expand Down
8 changes: 7 additions & 1 deletion themes/jquery/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
</head>
<body <?php body_class(); ?>>

<div id="support-message" class="support-message">
<span style="">jQuery 4 is currently in beta. Soon jQuery 3 will reach EOL along with versions 1 and 2. Learn more about our&nbsp;<a href="https://jquery.com/support/">Version&nbsp;Support</a>.</span>
</div>

<header>
<section id="global-nav">
<nav>
Expand Down Expand Up @@ -93,7 +97,9 @@
</div>

<nav id="main" class="constrain clearfix">
<?php get_template_part('menu', 'header'); ?>
<?php

get_template_part('menu', 'header'); ?>

<?php get_search_form(); ?>
</nav>
Expand Down
1 change: 1 addition & 0 deletions themes/jquery/menu-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function menu_header_jquery_com() {
'https://blog.jquery.com/' => 'Blog',
'https://plugins.jquery.com/' => 'Plugins',
'https://jquery.com/browser-support/' => 'Browser Support',
'https://jquery.com/support/' => 'Version Support',
);
}

Expand Down