Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
die_coolen_jungs
our_own_cloud_project
Commits
de213782
Commit
de213782
authored
13 years ago
by
Marvin Thomas Rabe
Browse files
Options
Downloads
Patches
Plain Diff
fixed scrollbar issues
parent
b60f755f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
apps/media/css/music.css
+1
-1
1 addition, 1 deletion
apps/media/css/music.css
core/css/styles.css
+1
-1
1 addition, 1 deletion
core/css/styles.css
core/js/js.js
+29
-0
29 additions, 0 deletions
core/js/js.js
with
31 additions
and
2 deletions
apps/media/css/music.css
+
1
−
1
View file @
de213782
...
...
@@ -18,7 +18,7 @@ a.jp-mute,a.jp-unmute { left:24em; }
div
.jp-volume-bar
{
position
:
absolute
;
overflow
:
hidden
;
background
:
#eee
;
width
:
4em
;
height
:
0.4em
;
cursor
:
pointer
;
top
:
1.3em
;
left
:
27em
;
}
div
.jp-volume-bar-value
{
background
:
#ccc
;
width
:
0
;
height
:
0.4em
;
}
#collection
{
padding-top
:
1em
;
position
:
relative
;
width
:
70em
;
float
:
left
;
}
#collection
{
padding-top
:
1em
;
position
:
relative
;
width
:
100%
;
float
:
left
;
}
#collection
li
.album
,
#collection
li
.song
{
margin-left
:
3em
;
}
#leftcontent
img
.remove
{
display
:
none
;
float
:
right
;
cursor
:
pointer
;
}
#leftcontent
li
:hover
img
.remove
{
display
:
inline
;
}
...
...
This diff is collapsed.
Click to expand it.
core/css/styles.css
+
1
−
1
View file @
de213782
...
...
@@ -53,7 +53,7 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-
#controls
{
width
:
100%
;
top
:
3.5em
;
height
:
2.8em
;
margin
:
0
;
background
:
#f7f7f7
;
border-bottom
:
1px
solid
#eee
;
position
:
fixed
;
z-index
:
50
;
-moz-box-shadow
:
0
-3px
7px
#000
;
-webkit-box-shadow
:
0
-3px
7px
#000
;
box-shadow
:
0
-3px
7px
#000
;
}
#controls
.button
{
display
:
inline-block
;
}
#content
{
margin
:
3.5em
0
0
12.5em
;
}
#leftcontent
,
.leftcontent
{
position
:
absol
ut
e
;
top
:
6.4em
;
width
:
20em
;
background
:
#f8f8f8
;
height
:
100%
;
border-right
:
1px
solid
#ddd
;
}
#leftcontent
,
.leftcontent
{
position
:
fixed
;
overflow
:
a
ut
o
;
top
:
6.4em
;
width
:
20em
;
background
:
#f8f8f8
;
border-right
:
1px
solid
#ddd
;
}
#leftcontent
li
,
.leftcontent
li
{
padding
:
.3em
.8em
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
-webkit-transition
:
background-color
500ms
;
-moz-transition
:
background-color
500ms
;
-o-transition
:
background-color
500ms
;
transition
:
background-color
500ms
;
}
#leftcontent
li
:hover
,
#leftcontent
li
:active
,
#leftcontent
li
.active
,
.leftcontent
li
:hover
,
.leftcontent
li
:active
,
.leftcontent
li
.active
{
background
:
#eee
;
}
#rightcontent
,
.rightcontent
{
position
:
absolute
;
top
:
6.4em
;
left
:
33em
;
}
...
...
This diff is collapsed.
Click to expand it.
core/js/js.js
+
29
−
0
View file @
de213782
...
...
@@ -244,7 +244,36 @@ function object(o) {
return
new
F
();
}
/**
* Fills height of window. (more precise than height: 100%;)
*/
function
fillHeight
(
selector
)
{
var
height
=
parseFloat
(
$
(
window
).
height
())
-
parseFloat
(
selector
.
css
(
'
top
'
));
selector
.
css
(
'
height
'
,
height
+
'
px
'
);
if
(
selector
.
outerHeight
()
>
selector
.
height
())
selector
.
css
(
'
height
'
,
height
-
(
selector
.
outerHeight
()
-
selector
.
height
())
+
'
px
'
);
}
/**
* Fills height and width of window. (more precise than height: 100%; or width: 100%;)
*/
function
fillWindow
(
selector
)
{
fillHeight
(
selector
);
var
width
=
parseFloat
(
$
(
window
).
width
())
-
parseFloat
(
selector
.
css
(
'
left
'
));
selector
.
css
(
'
width
'
,
width
+
'
px
'
);
if
(
selector
.
outerWidth
()
>
selector
.
width
())
selector
.
css
(
'
width
'
,
width
-
(
selector
.
outerWidth
()
-
selector
.
width
())
+
'
px
'
);
}
$
(
document
).
ready
(
function
(){
$
(
window
).
resize
(
function
()
{
fillHeight
(
$
(
'
#leftcontent
'
));
fillWindow
(
$
(
'
#rightcontent
'
));
});
$
(
window
).
trigger
(
'
resize
'
);
if
(
!
SVGSupport
()){
//replace all svg images with png images for browser that dont support svg
replaceSVG
();
}
else
{
...
...
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