Skip to content
Snippets Groups Projects
Commit 3f861585 authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Remove WDN references

parent 502180c9
No related branches found
No related tags found
1 merge request!42Remove WDN references
......@@ -3,7 +3,6 @@
/node_modules
/.project
/.settings
/www/less/lib
/www/wdn
/.buildpath
/vendor
......
......@@ -19,17 +19,6 @@ module.exports = function (grunt) {
jsDir + '/search-tabs.js'
];
//TODO Update or remove for 5.0?
var wdnMixinLibBaseUrl = 'https://raw.githubusercontent.com/unl/wdntemplates/4.1/wdn/templates_4.1/less/_mixins/';
var wdnMixins = [
'breakpoints.less',
'colors.less',
'fonts.less',
];
var allMixinsExist = every(wdnMixins, function(value) {
return fs.existsSync(lessVendorDir + '/' + value);
});
var lessFiles = {};
cssFiles.forEach(function(file) {
lessFiles[cssDir + '/' + file + '.css'] = lessDir + '/' + file + '.less';
......@@ -52,15 +41,6 @@ module.exports = function (grunt) {
grunt.initConfig({
'curl-dir': {
'less-libs': {
src: wdnMixins.map(function(file) {
return wdnMixinLibBaseUrl + file;
}),
dest: lessVendorDir
}
},
less: {
all: {
files: lessFiles,
......@@ -158,9 +138,6 @@ module.exports = function (grunt) {
// establish grunt default
var defaultTasks = ['less', 'sass', 'postcss', 'uglify', 'requirejs'];
var localTasks = defaultTasks.slice();
if (!allMixinsExist) {
defaultTasks.unshift('curl-dir');
}
grunt.registerTask('default', defaultTasks);
grunt.registerTask('all-local', localTasks);
......
This diff is collapsed.
......@@ -65,9 +65,6 @@ if ($isEmbed && $_GET['embed'] === '1') {
$page->doctitle = '<title>Search | University of Nebraska&ndash;Lincoln</title>';
$page->head .= '<link rel="home" href="./" />';
// Add WDN Deprecated Styles
$page->head .= '<link rel="preload" href="/wdn/templates_5.3/css/deprecated.css" as="style" onload="this.onload=null;this.rel=\'stylesheet\'"> <noscript><link rel="stylesheet" href="/wdn/templates_5.3/css/deprecated.css"></noscript>';
// no menu items, so hide mobile menu
$page->addStyleDeclaration("#dcf-mobile-toggle-menu {display: none!important}");
......
@charset "UTF-8";
@import "shared.less";
@import "lib/breakpoints.less";
@import "lib/colors.less";
@import "lib/fonts.less";
// Google Styles
/* Google Styles */
.gsc-control-cse,
.gsc-control-cse .gsc-table-result {
font-family: inherit;
......
@charset "UTF-8";
@import "shared.less";
@import "lib/breakpoints.less";
@import "lib/colors.less";
@import "lib/fonts.less";
// Template overrides
/* Template overrides */
.embed #visitorChat,
#wdn_search {
display: none !important;
......@@ -20,11 +17,6 @@
text-align: center;
background: #38431b url(../images/050419.jpg) 50% 50% no-repeat;
background-size: cover;
.wdn-input-group {
margin: 0 auto;
max-width: 30em;
}
}
#search_wrapper {
......@@ -73,7 +65,7 @@
}
&:before {
content: '\b7\a0'; // middle-dot + space
content: '\b7\a0'; /* middle-dot + space */
}
&:first-child:before {
......@@ -188,7 +180,7 @@
display: none;
}
// Directory Styles
/* Directory Styles */
#ppl_results {
h3, h4, .result_head {
display: none;
......
/* Colors */
/* Scarlet */
@scarlet: #d00000;
@brand: @scarlet;
/* Cream */
@cream: #fefdfa;
@page-background: @cream; // A color to represent the page background, used for WDN colors
/* A few neutral shades, light tan and dark brown */
@neutral: #4a3b13;
@light-neutral: lighten(desaturate(@neutral, 15%), 5%);
/* UI */
/* Light (<50%) */
@ui02: mix(#000, @cream, 4%); /* #f4f3f0 */
@ui03: mix(#000, @cream, 8%); /* #eae9e6 */
@ui04: mix(#000, @cream, 16%); /* #d5d5d2 */
/* Dark (>50%) */
@ui08: mix(#000, @cream, 64%); /* #5b5b5a */
@ui09: mix(#000, @cream, 72%); /* #474746 */
/* Break Points */
/* Standard, width-based media queries */
@bp768: ~" (min-width: 48em)";
/* Deprecated names */
@bp2: @bp768;
/* Fonts */
.sans-serif-font() {
font-family: 'Gotham SSm A', 'Gotham SSm B', Verdana, sans-serif;
font-weight: 400;
font-style: normal;
}
<div class="dcf-bleed dcf-wrapper dcf-pt-7 dcf-pb-7 dcf-txt-center dcf-bg-center dcf-bg-no-repeat dcf-bg-cover unl-bg-darker-gray search-bg" id="searchform">
<form action="./" method="get">
<form class="dcf-form" action="./" method="get">
<div class="dcf-input-group">
<input type="text" name="q" id="search_q" aria-label="Search Query" placeholder="e.g., Herbert Husker, Ph.D." />
<button class="button" type="submit"><span class="wdn-icon-search" aria-hidden="true"></span><span class="dcf-sr-only">Search</span></button>
<button class="dcf-btn dcf-btn-primary" type="submit">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" aria-labelledby="filled-search-content-edition-title" style="fill: rgb(254, 253, 250);">
<title id="filled-search-content-edition-title">Search</title>
<path d="M9,18c2.131,0,4.089-0.749,5.633-1.992l7.658,7.697c0.389,0.392,1.021,0.393,1.414,0.003 c0.392-0.39,0.393-1.023,0.004-1.414l-7.668-7.706C17.264,13.052,18,11.111,18,9c0-4.963-4.037-9-9-9S0,4.037,0,9 C0,13.962,4.037,18,9,18z M9,2c3.859,0,7,3.14,7,7c0,3.859-3.141,7-7,7c-3.86,0-7-3.141-7-7C2,5.14,5.14,2,9,2z"></path>
<g><path fill="none" d="M0 0H24V24H0z"></path></g>
</svg>
<span class="dcf-sr-only">Search</span>
</button>
</div>
<?php if (!empty($local_results)): ?>
<input type="hidden" name="u" value="<?php echo htmlentities($_GET['u'], ENT_QUOTES) ?>" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment