Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ryan Dee
UNL_Search
Commits
a1c4217b
Commit
a1c4217b
authored
Mar 14, 2019
by
Ryan Dee
Browse files
Replace background styles with utility classes
parent
71cc7ff5
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/scss/search.scss
View file @
a1c4217b
...
...
@@ -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')
;
...
...
www/templates/search-form.tpl.php
View file @
a1c4217b
<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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment