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
42c5a24d
Commit
42c5a24d
authored
13 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
more fancy fading
parent
c2a5b498
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/css/files.css
+8
-8
8 additions, 8 deletions
files/css/files.css
files/js/fileactions.js
+6
-1
6 additions, 1 deletion
files/js/fileactions.js
with
14 additions
and
9 deletions
files/css/files.css
+
8
−
8
View file @
42c5a24d
...
...
@@ -26,19 +26,19 @@
/* FILE TABLE */
span
#emptyfolder
{
position
:
absolute
;
margin
:
10em
0
0
10em
;
font-size
:
1.5em
;
font-weight
:
bold
;
color
:
#888
;
text-shadow
:
#fff
0
1px
0
;
}
table
{
position
:
relative
;
top
:
37px
;
width
:
100%
;
}
table
tr
{
-webkit-transition
:
background-color
100ms
ease-in
1
00ms
;
-moz-transition
:
background-color
100ms
ease-in
1
00ms
;
-o-transition
:
background-color
100ms
ease-in
1
00ms
;
transition
:
background-color
100ms
ease-in
1
00ms
;
}
table
tr
{
-webkit-transition
:
background-color
ease-in
2
00ms
;
-moz-transition
:
background-color
ease-in
2
00ms
;
-o-transition
:
background-color
ease-in
2
00ms
;
transition
:
background-color
ease-in
2
00ms
;
}
tbody
tr
:hover
,
tbody
tr
:active
,
tbody
tr
.selected
{
background-color
:
#f8f8f8
;
height
:
1em
;
}
tbody
tr
.selected
{
background-color
:
#eee
;
}
tbody
a
{
color
:
#000
;
}
span
.extention
,
td
.date
{
color
:
#999
;
}
span
.extention
{
opacity
:
0
;
-webkit-transition
:
opacity
100ms
ease-in
1
00ms
;
-moz-transition
:
opacity
100ms
ease-in
1
00ms
;
-o-transition
:
opacity
100ms
ease-in
1
00ms
;
transition
:
opacity
100ms
ease-in
1
00ms
;
}
-webkit-transition
:
opacity
ease-in
2
00ms
;
-moz-transition
:
opacity
ease-in
2
00ms
;
-o-transition
:
opacity
ease-in
2
00ms
;
transition
:
opacity
ease-in
2
00ms
;
}
tr
:hover
span
.extention
{
opacity
:
1
;
}
div
.crumb
{
float
:
left
;
display
:
block
;
background
:
no-repeat
right
0
;
padding
:
.75em
1.5em
0
1em
;
height
:
2.9em
;
}
div
.crumb
:first-child
{
padding-left
:
1.5em
;
}
...
...
This diff is collapsed.
Click to expand it.
files/js/fileactions.js
+
6
−
1
View file @
42c5a24d
...
...
@@ -53,6 +53,7 @@ FileActions={
},
display
:
function
(
parent
){
FileActions
.
currentFile
=
parent
;
$
(
'
.file_action
'
).
remove
();
var
actions
=
FileActions
.
get
(
FileActions
.
getCurrentMimeType
(),
FileActions
.
getCurrentType
());
var
file
=
FileActions
.
getCurrentFile
();
if
(
$
(
'
tr[data-file="
'
+
file
+
'
"]
'
).
data
(
'
renaming
'
)){
...
...
@@ -100,10 +101,14 @@ FileActions={
});
parent
.
parent
().
children
().
last
().
append
(
element
);
}
$
(
'
.file_action
'
).
hide
();
$
(
'
.file_action
'
).
fadeIn
(
200
);
return
false
;
},
hide
:
function
(){
$
(
'
.file_action
'
).
remove
();
$
(
'
.file_action
'
).
fadeOut
(
200
,
function
(){
$
(
this
).
remove
();
});
},
getCurrentFile
:
function
(){
return
FileActions
.
currentFile
.
parent
().
attr
(
'
data-file
'
);
...
...
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