Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SWITCHwayf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Rousse
SWITCHwayf
Commits
e6ad98cb
Commit
e6ad98cb
authored
Mar 26, 2012
by
haemmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS optimizations for mobile devices
parent
cb806863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletion
+37
-1
css/default-styles.css
css/default-styles.css
+35
-0
default-header.php
default-header.php
+2
-1
No files found.
css/default-styles.css
View file @
e6ad98cb
...
@@ -173,6 +173,41 @@ input {
...
@@ -173,6 +173,41 @@ input {
-moz-box-shadow
:
1px
1px
8px
#999999
;
-moz-box-shadow
:
1px
1px
8px
#999999
;
}
}
/* Device specific styles */
@media
only
screen
and
(
max-device-width
:
480px
){
.box
{
width
:
auto
;
box-shadow
:
none
;
border-radius
:
0
;
-webkit-box-shadow
:
none
;
-webkit-border-radius
:
0
;
-moz-box-shadow
:
none
;
-moz-border-radius
:
0
;
padding
:
0
;
}
#content
{
width
:
96%
;
}
#container
{
width
:
96%
;
position
:
auto
;
left
:
auto
;
top
:
auto
;
margin-left
:
0
;
margin-top
:
0
;
}
#userIdPSelection
{
width
:
60%
;
}
}
html
,
body
,
form
,
fieldset
,
p
,
div
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
-webkit-text-size-adjust
:
none
;
}
/* Dropdown list */
/* Dropdown list */
div
.idd_list
{
div
.idd_list
{
border
:
thin
solid
#848484
;
border
:
thin
solid
#848484
;
...
...
default-header.php
View file @
e6ad98cb
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
<
title
><?
php
echo
getLocalString
(
'title'
)
?>
</title>
<
title
><?
php
echo
getLocalString
(
'title'
)
?>
</title>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=utf-8"
>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=utf-8"
>
<meta
name=
"keywords"
content=
"Home Organisation, Discovery Service, WAYF, Shibboleth, Login, AAI"
>
<meta
name=
"keywords"
content=
"Home Organisation, Discovery Service, WAYF, Shibboleth, Login, AAI"
>
<meta
name=
"description"
content=
"Choose your home organization to authenticate"
>
<meta
name=
"description"
content=
"Choose your home organisation to authenticate"
>
<meta
name=
"viewport"
content=
"width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"
/>
<script
type=
"text/javascript"
src=
"
<?php
echo
$javascriptURL
?>
/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"
<?php
echo
$javascriptURL
?>
/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"
<?php
echo
$javascriptURL
?>
/improvedDropDown.js"
></script>
<script
type=
"text/javascript"
src=
"
<?php
echo
$javascriptURL
?>
/improvedDropDown.js"
></script>
<script
language=
"JavaScript"
type=
"text/javascript"
>
<script
language=
"JavaScript"
type=
"text/javascript"
>
...
...
Write
Preview
Markdown
is supported
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