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
ISRIC
wsm.rest
Commits
2fd14351
Commit
2fd14351
authored
Aug 11, 2016
by
IngridHaas
Browse files
add . inframe class if not topwindow to gallery
parent
77226dc0
Changes
2
Show whitespace changes
Inline
Side-by-side
www/assets/css/styles.css
View file @
2fd14351
...
...
@@ -2028,7 +2028,15 @@ cursor:pointer;
padding-top
:
10px
;
padding-bottom
:
10px
;
}
.in-iframe
.logo
,
.in-iframe
#left-sidebar
,
.in-iframe
#footer
,
.in-iframe
#intro
,
.in-iframe
#ts_1
,
.in-iframe
#ts_2
,
.in-iframe
#ts_3
,
.in-iframe
#ts_4
,
.in-iframe
#ts_5
,
.in-iframe
#ts_6
,
.in-iframe
#links
,
.in-iframe
#visit
,
.in-iframe
#staff
,
.in-iframe
#WSRC
,
.in-iframe
#education
,
.in-iframe
#mapsMono
,
.in-iframe
#tourGoogle
{
display
:
none
!important
;}
.in-iframe
#gallery
{
margin-top
:
-200px
;
}
@media
(
min-width
:
768px
)
{
.content-wrapper-top
{
...
...
www/gallery.html
View file @
2fd14351
...
...
@@ -44,22 +44,6 @@ function proxyPopulateAndOpenModal(event,modal_content_id,$filename, $classifica
win
.
focus
();
};
//
var
css
=
function
(
callback
)
{
var
head
=
document
.
getElementsByTagName
(
'
head
'
)[
0
];
var
cssnode
=
document
.
createElement
(
'
link
'
);
cssnode
.
type
=
'
text/css
'
;
cssnode
.
rel
=
'
stylesheet
'
;
cssnode
.
href
=
"
assets/css/embedded_styles.css
"
;
cssnode
.
onreadystatechange
=
callback
;
cssnode
.
onload
=
callback
;
head
.
appendChild
(
cssnode
);
}
...
...
@@ -103,7 +87,9 @@ function getOwl(){
};
(
function
(){
if
(
window
.
self
!=
window
.
top
)
{
$
(
document
.
body
).
addClass
(
"
in-iframe
"
);
}
/* GALLERY JAVASCRIPT LOAD CONTENTS */
jQuery
.
ajax
({
type
:
"
GET
"
,
...
...
de Sousa, Luis
@duque004
mentioned in commit
999b8080
·
Dec 01, 2017
mentioned in commit
999b8080
mentioned in commit 999b8080dbb7562383086d6284d82ab16548f8c5
Toggle commit list
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