From a1c4217bd7e3c00838e51c08a573cfd1a02342d8 Mon Sep 17 00:00:00 2001 From: Ryan Dee <ryan@skoolbus39.com> Date: Thu, 14 Mar 2019 16:14:31 -0500 Subject: [PATCH] Replace background styles with utility classes --- www/scss/search.scss | 6 ------ www/templates/search-form.tpl.php | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/www/scss/search.scss b/www/scss/search.scss index 200ce98..dc6c282 100644 --- a/www/scss/search.scss +++ b/www/scss/search.scss @@ -10,12 +10,6 @@ // TODO: update search form to use app sub-theme -#searchform { - background: #38431b url(../images/050419.jpg) 50% 50% no-repeat; - background-size: cover; - text-align: center; -} - .search-bg { background-image: url('../images/search-bg-640.jpg'); diff --git a/www/templates/search-form.tpl.php b/www/templates/search-form.tpl.php index 9a67d77..f1f42b1 100644 --- a/www/templates/search-form.tpl.php +++ b/www/templates/search-form.tpl.php @@ -1,5 +1,5 @@ -<div id="searchform" class="dcf-bleed dcf-p-6"> - <form action="./" method="get" class="dcf-wrapper"> +<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"> <div class="dcf-input-group"> <input type="text" name="q" id="search_q" aria-label="Search Query" placeholder="e.g., Herbert Husker, Ph.D." /> <span class="wdn-input-group-btn"><button class="button" type="submit"><span class="wdn-icon-search" aria-hidden="true"></span><span class="dcf-sr-only">Search</span></button></span> -- GitLab