Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_Search
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_Search
Commits
a1c4217b
Commit
a1c4217b
authored
6 years ago
by
Ryan Dee
Browse files
Options
Downloads
Patches
Plain Diff
Replace background styles with utility classes
parent
71cc7ff5
No related branches found
No related tags found
1 merge request
!21
Optimize search form background image
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
www/scss/search.scss
+0
-6
0 additions, 6 deletions
www/scss/search.scss
www/templates/search-form.tpl.php
+2
-2
2 additions, 2 deletions
www/templates/search-form.tpl.php
with
2 additions
and
8 deletions
www/scss/search.scss
+
0
−
6
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')
;
...
...
This diff is collapsed.
Click to expand it.
www/templates/search-form.tpl.php
+
2
−
2
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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment