diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-08-03 13:20:45 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-08-03 13:20:45 +0200 |
commit | 2fb6799ad6159f434c594260c8f90acc906d0d75 (patch) | |
tree | 1fa966fc69bc547bf2b7cdcf4e4e9512cb5c533e /core | |
parent | 4574698443fd38ef4e31ce126838474369c7a30a (diff) | |
download | nextcloud-server-2fb6799ad6159f434c594260c8f90acc906d0d75.tar.gz nextcloud-server-2fb6799ad6159f434c594260c8f90acc906d0d75.zip |
Use images instead of inline SVG and unicode
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/css/guest.css | 14 | ||||
-rw-r--r-- | core/img/actions/error-white.svg | 1 | ||||
-rw-r--r-- | core/templates/update.admin.php | 2 |
3 files changed, 13 insertions, 4 deletions
diff --git a/core/css/guest.css b/core/css/guest.css index 626fb67718b..ca7676c00ff 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -626,19 +626,27 @@ p.info { display: block; opacity: .75; } +.update-show-detailed .icon-caret-white { + display: inline-block; + vertical-align: middle; +} #update-progress-icon { height: 32px; margin: 10px; background-size: 32px; } -#update-progress-icon.icon-error-white { - background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewbox="0 0 16 16" width="16" height="16"><path d="M5.516 2L2 5.516v4.968L5.516 14h4.968L14 10.484V5.516L10.484 2H5.516zM7 4h2v5H7V4zm0 6h2v2H7v-2z" fill="%23fff"/></svg>'); -} + /* Icons */ .icon-info-white { background-image: url('../img/actions/info-white.svg?v=2'); } +.icon-error-white { + background-image: url('../img/actions/error-white.svg?v=1'); +} +.icon-caret-white { + background-image: url('../img/actions/caret-white.svg?v=1'); +} .icon-confirm { background-image: url('../img/actions/confirm.svg?v=2'); } diff --git a/core/img/actions/error-white.svg b/core/img/actions/error-white.svg new file mode 100644 index 00000000000..9558c998c30 --- /dev/null +++ b/core/img/actions/error-white.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewbox="0 0 16 16" width="16" height="16"><path d="M5.516 2L2 5.516v4.968L5.516 14h4.968L14 10.484V5.516L10.484 2H5.516zM7 4h2v5H7V4zm0 6h2v2H7v-2z" fill="#fff"/></svg> diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php index fecb53bee83..2ad15117327 100644 --- a/core/templates/update.admin.php +++ b/core/templates/update.admin.php @@ -49,7 +49,7 @@ <p id="update-progress-message-error" class="hidden"></p> <ul id="update-progress-message-warnings" class="hidden"></ul> <p id="update-progress-message"></p> - <a class="update-show-detailed"><?php p($l->t( 'Detailed logs' )); ?> ⏷</a> + <a class="update-show-detailed"><?php p($l->t( 'Detailed logs' )); ?> <span class="icon-caret-white"></span></a> <div id="update-progress-detailed" class="hidden"></div> </div> </div> |