From fdffb3462e2860c6de109d3876e64631700a45b9 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 18 Jul 2013 23:00:04 +0200 Subject: [PATCH] replace external storage status images with CSS, also use form to distinguish, fix #3910 --- apps/files_external/css/settings.css | 24 +++++++++++++++++++----- apps/files_external/img/error.png | Bin 533 -> 0 bytes apps/files_external/img/success.png | Bin 545 -> 0 bytes apps/files_external/img/waiting.png | Bin 512 -> 0 bytes 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 apps/files_external/img/error.png delete mode 100644 apps/files_external/img/success.png delete mode 100644 apps/files_external/img/waiting.png diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css index 94b453793b1..f2f40247b28 100644 --- a/apps/files_external/css/settings.css +++ b/apps/files_external/css/settings.css @@ -1,10 +1,24 @@ -td.status>span { display:inline-block; height:16px; width:16px; } -span.success { background-image: url('../img/success.png'); background-repeat:no-repeat; } -span.error { background-image: url('../img/error.png'); background-repeat:no-repeat; } -span.waiting { background-image: url('../img/waiting.png'); background-repeat:no-repeat; } +td.status > span { + display: inline-block; + height: 16px; + width: 16px; + vertical-align: text-bottom; +} + +span.success { + background: #37ce02; + border-radius: 8px; +} +span.error { + background: #ce3702; +} +span.waiting { + background: none; +} + td.mountPoint, td.backend { width:10em; } td.remove>img { visibility:hidden; padding-top:0.8em; } tr:hover>td.remove>img { visibility:visible; cursor:pointer; } #addMountPoint>td { border:none; } #addMountPoint>td.applicable { visibility:hidden; } -#selectBackend { margin-left:-10px; } \ No newline at end of file +#selectBackend { margin-left:-10px; } diff --git a/apps/files_external/img/error.png b/apps/files_external/img/error.png deleted file mode 100644 index e8cf45e7a41e358da5d573dc48edf966b9d8d3cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 533 zcmV+w0_y#VP)WFU8GbZ8()Nlj2>E@cM*00DVPL_t(I%XO2zP9s4O zguh~X5z9j$Ik*!Eu?ZcT0EtI%c=tr!kViP_BtS$Cae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