diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-12 18:15:54 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-12 18:15:54 +0200 |
commit | 5f6fb4570430184dd9849b457cbec44c1b328ca4 (patch) | |
tree | aea69fb7459df57c653d3dd432ca29556c2ee205 /apps/files/css | |
parent | e077d78ec98a992530661e3801fbdaf43198d187 (diff) | |
parent | cacf5ed23f74524e537b5c51a55f4a406a7fa5fb (diff) | |
download | nextcloud-server-5f6fb4570430184dd9849b457cbec44c1b328ca4.tar.gz nextcloud-server-5f6fb4570430184dd9849b457cbec44c1b328ca4.zip |
Merge branch 'Superduper-Progressbar-branch-thingie' of https://github.com/luckydonald/core into luckydonald-Superduper-Progressbar-branch-thingie
Diffstat (limited to 'apps/files/css')
-rw-r--r-- | apps/files/css/mobile.css | 10 | ||||
-rw-r--r-- | apps/files/css/upload.css | 32 |
2 files changed, 41 insertions, 1 deletions
diff --git a/apps/files/css/mobile.css b/apps/files/css/mobile.css index 0641304d211..bb20c8c3f77 100644 --- a/apps/files/css/mobile.css +++ b/apps/files/css/mobile.css @@ -67,7 +67,15 @@ table td.filename .nametext .innernametext { } /* shorten elements for mobile */ -#uploadprogressbar { +#uploadprogressbar, #uploadprogressbar .label.inner { width: 50px; } +/* hide desktop-only parts */ +#uploadprogressbar .desktop { + display: none !important; } +#uploadprogressbar .mobile { + display: block !important; +} + +}
\ No newline at end of file diff --git a/apps/files/css/upload.css b/apps/files/css/upload.css index 07b788b937f..f0ffb9ac99e 100644 --- a/apps/files/css/upload.css +++ b/apps/files/css/upload.css @@ -47,7 +47,39 @@ width: 200px; height: 36px; display:inline-block; + text-align: center; +} +#uploadprogressbar .ui-progressbar-value.ui-widget-header.ui-corner-left { + height: 100%; + top: 0px; + left: 0px; + position: absolute; + overflow: hidden; +} +#uploadprogressbar .label { + top: 6px; + opacity: 1; + overflow: hidden; + white-space: nowrap; + font-weight: normal; +} +#uploadprogressbar .label.inner { + color:white; + position: absolute; + display: block; + width: 200px; +} +#uploadprogressbar .label.outer { + position: relative; + color: black; +} +#uploadprogressbar .desktop { + display: block; +} +#uploadprogressbar .mobile { + display: none; } + #uploadprogressbar + stop { font-size: 13px; } |