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
Container Registry
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
Ryan Dee
UNL_Search
Commits
9661cba1
Commit
9661cba1
authored
12 years ago
by
Seth Meranda
Browse files
Options
Downloads
Patches
Plain Diff
Add specific media queries for better layout presentation.
parent
0eec55b9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
www/index.php
+3
-7
3 additions, 7 deletions
www/index.php
www/searchCSS.css
+29
-15
29 additions, 15 deletions
www/searchCSS.css
with
33 additions
and
22 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
9661cba1
/UNL_Search.esproj/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
www/index.php
+
3
−
7
View file @
9661cba1
...
...
@@ -96,17 +96,13 @@ $page->maincontentarea = '
<div id="searchform">
<form action="./" method="get">
<fieldset>
<div class="grid10 first">
<label for="q">Search</label>
<input class="search-query" type="text" name="q" id="search_q" title="search" />'
;
if
(
!
empty
(
$local_results
))
{
$page
->
maincontentarea
.
=
'<input type="hidden" name="u" value="'
.
htmlentities
(
$_GET
[
'u'
],
ENT_QUOTES
)
.
'" />'
;
}
$page
->
maincontentarea
.
=
'
</div>
<div class="grid2">
<input class="search-button" title="search" type="submit" value="Search" />
</div>
<input class="search-button" title="search" type="submit" value="Search" />
</fieldset>
</form>
<noscript>
...
...
@@ -116,12 +112,12 @@ $page->maincontentarea .= '
</form>
</noscript>
</div>
<div class="grid8 first">
<div class="grid8 first"
id="search_results"
>
'
.
$local_results
.
'
<h3 class="sec_header">UNL Web</h3>
<div id="unl_results" class="google-results"></div>
</div>
<div class="grid4">
<div class="grid4"
id="directory_results"
>
<h3 class="sec_header">UNL Directory</h3>
<div id="ppl_results"></div>
<a href="http://www1.unl.edu/wdn/wiki/About_Peoplefinder">About the UNL Directory</a>
...
...
This diff is collapsed.
Click to expand it.
www/searchCSS.css
+
29
−
15
View file @
9661cba1
...
...
@@ -8,14 +8,7 @@
#searchform
fieldset
{
}
#searchform
.grid10
{
width
:
90%
;
}
#searchform
.grid2
{
margin-left
:
0
;
width
:
10%
;
text-align
:
right
;
}
#searchform
label
{
display
:
none
;
}
...
...
@@ -28,8 +21,11 @@
border-radius
:
5px
;
-moz-border-radius
:
5px
;
-webkit-border-radius
:
5px
;
width
:
auto
;
width
:
100%
;
overflow
:
auto
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
#searchform
input
.search-query
{
...
...
@@ -38,7 +34,7 @@
font-size
:
1.5em
;
height
:
31px
;
padding
:
2px
0
0
8px
;
width
:
99
%
;
width
:
70
%
;
}
#searchform
input
.search-button
{
-moz-border-radius
:
5px
;
...
...
@@ -52,12 +48,30 @@
cursor
:
pointer
;
}
@media
only
screen
and
(
max-device-width
:
480px
),
only
screen
and
(
max-width
:
480px
)
{
#searchform
.grid10
,
#searchform
.grid2
{
width
:
auto
;
float
:
none
;
@media
(
min-width
:
480px
)
and
(
max-width
:
599px
)
{
#maincontent
.grid8
{
width
:
49%
;
margin-left
:
0
;
/* It's the first column */
}
#maincontent
#directory_results
.grid4
{
width
:
49%
;
clear
:
none
;
margin-left
:
2%
;
}
}
@media
(
min-width
:
600px
)
{
#maincontent
.grid8
{
width
:
65.78%
;
margin-left
:
0
;
/* It's the first column */
}
#maincontent
.grid4
{
width
:
31.62%
;
margin-left
:
2.54%
;
clear
:
none
;
}
}
@media
(
min-width
:
768px
)
{
}
/** Overridden directory styles **/
...
...
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