Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
colorbox-3127345
Commits
09fb82e9
Commit
09fb82e9
authored
Apr 03, 2010
by
frjo
Browse files
#759602
A better way to display the title in the Colorbox.
parent
73efd209
Changes
2
Hide whitespace changes
Inline
Side-by-side
colorbox.css
View file @
09fb82e9
...
...
@@ -99,9 +99,12 @@
}
#cboxTitle
{
position
:
absolute
;
bottom
:
4px
;
left
:
100px
;
color
:
#949494
;
background
:
rgba
(
255
,
255
,
255
,
0.7
);
bottom
:
28px
;
left
:
0
;
color
:
#535353
;
width
:
100%
;
padding
:
4px
;
}
#cboxCurrent
{
position
:
absolute
;
...
...
@@ -136,7 +139,7 @@
#cboxPrevious
{
position
:
absolute
;
bottom
:
0
;
left
:
0
px
;
left
:
0
;
background
:
url(images/controls.png)
-75px
0px
no-repeat
;
width
:
25px
;
height
:
25px
;
...
...
@@ -175,3 +178,8 @@
#cboxClose
.hover
{
background-position
:
-25px
-25px
;
}
/* The following are fixes for IE. */
.cboxIE
#cboxTitle
{
background
:
#fff
;
}
js/colorbox_default_style.js
0 → 100644
View file @
09fb82e9
// $Id$
Drupal
.
behaviors
.
initColorboxDefaultStyle
=
function
(
context
)
{
$
(
document
).
bind
(
'
cbox_complete
'
,
function
(){
setTimeout
(
function
(){
$
(
'
#cboxTitle
'
).
slideUp
()
},
1500
);
$
(
'
#cboxLoadedContent
'
).
bind
(
'
mouseover
'
,
function
(){
$
(
'
#cboxTitle
'
).
slideDown
();
});
$
(
'
#cboxOverlay
'
).
bind
(
'
mouseover
'
,
function
(){
$
(
'
#cboxTitle
'
).
slideUp
();
});
});
};
\ No newline at end of file
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