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
1c643ce4
Commit
1c643ce4
authored
12 years ago
by
Bernhard Posselt
Committed by
Tom Needham
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
made upload button the same height in chrome and firefox
Signed-off-by:
Tom Needham
<
needham.thomas@gmail.com
>
parent
edbbb2bd
No related branches found
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
apps/files/css/files.css
+1
-2
1 addition, 2 deletions
apps/files/css/files.css
apps/files/templates/index.php
+1
-1
1 addition, 1 deletion
apps/files/templates/index.php
with
2 additions
and
3 deletions
apps/files/css/files.css
+
1
−
2
View file @
1c643ce4
...
...
@@ -29,8 +29,7 @@
.file_upload_start
{
-ms-filter
:
"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
;
filter
:
alpha
(
opacity
=
0
);
opacity
:
0
;
z-index
:
1
;
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100%
;
cursor
:
pointer
;}
.file_upload_filename.active
{
border-bottom-right-radius
:
0
}
.file_upload_filename
{
z-index
:
100
;
padding-left
:
0.8em
;
padding-right
:
0.8em
;
cursor
:
pointer
;
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
}
.file_upload_filename
img
{
position
:
absolute
;
top
:
0.4em
;
left
:
0.4em
;
-ms-filter
:
"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
;
filter
:
alpha
(
opacity
=
100
);
opacity
:
1
;
}
.file_upload_filename
{
z-index
:
100
;
cursor
:
pointer
;
border-top-left-radius
:
0
;
border-bottom-left-radius
:
0
;
background-image
:
url('%webroot%/core/img/actions/upload-white.svg')
;
background-repeat
:
no-repeat
;
background-position
:
center
;
height
:
2.29em
;
width
:
2.5em
;
}
#upload
{
position
:
absolute
;
right
:
13.5em
;
top
:
0em
;
}
#upload
#uploadprogressbar
{
position
:
relative
;
display
:
inline-block
;
width
:
10em
;
height
:
1.5em
;
top
:
.4em
;
}
...
...
This diff is collapsed.
Click to expand it.
apps/files/templates/index.php
+
1
−
1
View file @
1c643ce4
...
...
@@ -16,7 +16,7 @@
<input
type=
"hidden"
name=
"MAX_FILE_SIZE"
value=
"
<?php
echo
$_
[
'uploadMaxFilesize'
]
?>
"
id=
"max_upload"
>
<input
type=
"hidden"
class=
"max_human_file_size"
value=
"(max
<?php
echo
$_
[
'uploadMaxHumanFilesize'
];
?>
)"
>
<input
type=
"hidden"
name=
"dir"
value=
"
<?php
echo
$_
[
'dir'
]
?>
"
id=
"dir"
>
<button
class=
"file_upload_filename"
>
<img
class=
'svg action'
alt=
"Upload"
src=
"
<?php
echo
OCP\image_path
(
"core"
,
"actions/upload-white.svg"
);
?>
"
/>
</button>
<button
class=
"file_upload_filename"
></button>
<input
class=
"file_upload_start"
type=
"file"
name=
'files[]'
/>
<a
href=
"#"
class=
"file_upload_button_wrapper"
onclick=
"return false;"
title=
"
<?php
echo
$l
->
t
(
'Upload'
);
echo
' max. '
.
$_
[
'uploadMaxHumanFilesize'
]
?>
"
></a>
<iframe
name=
"file_upload_target_1"
class=
'file_upload_target'
src=
""
></iframe>
...
...
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