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
Prev Previous commit
Next Next commit
Revert "462: Add herodevs support."
This reverts commit 74165f7.
  • Loading branch information
aangelinsf committed Aug 23, 2024
commit fe80572bd301428cba78c6ebc6925c972807b934
39 changes: 11 additions & 28 deletions themes/jquery/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -881,25 +881,6 @@ 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 @@ -1255,11 +1236,10 @@ nav#main li.current a {
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

typesense-minibar {
.tsmb-form {
--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 @@ -1271,29 +1251,32 @@ typesense-minibar {
--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 typesense-minibar {
.jquery-ui .tsmb-form {
--tsmb-color-primary50: #b24926; /* jQuery UI Secondary Orange */
--tsmb-color-primary90: #ffddb2; /* = #b4efff + oklch(hue=70) of #FAA523 (jQuery UI Primary Orange) */
}
.jquery-mobile typesense-minibar {
.jquery-mobile .tsmb-form {
--tsmb-color-primary50: #108040; /* jQuery Mobile Secondary Green */
--tsmb-color-primary90: #c9f2c8; /* = #b4efff + oklch(hue=144) of #3EB249 (jQuery UI Primary Orange) */
}
.jquery-foundation typesense-minibar {
.jquery-foundation .tsmb-form {
--tsmb-color-primary50: #333; /* jQuery Black */
--tsmb-color-primary90: #ccc;
}
.jquery-learn typesense-minibar {
.jquery-learn .tsmb-form {
--tsmb-color-primary50: #222;
--tsmb-color-primary90: #ccc;
}
typesense-minibar form:not(:focus-within)::before {
.tsmb-form:not(:focus-within)::before {
filter: invert();
}
typesense-minibar input[type=search] {
.tsmb-form input[type=search] {
border-width: 0;
}
typesense-minibar[role="option"] mark {
.tsmb-form [role="listbox"] {
right: 0;
}
.tsmb-form [role="option"] mark {
border-bottom: 2px solid var(--tsmb-color-primary90);
}

Expand Down
8 changes: 1 addition & 7 deletions themes/jquery/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
</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 @@ -97,9 +93,7 @@
</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: 0 additions & 1 deletion themes/jquery/menu-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ 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