diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-09-27 12:18:52 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-09-27 12:20:26 +0200 |
commit | d4f15185332a679771e2e59a0505954f22f7dea9 (patch) | |
tree | 2939f5e0c3892fee796302a4ab1fb075dc46f54c /settings | |
parent | 90d7e8f6f4efcdf158136683e554e1c94509beb2 (diff) | |
download | nextcloud-server-d4f15185332a679771e2e59a0505954f22f7dea9.tar.gz nextcloud-server-d4f15185332a679771e2e59a0505954f22f7dea9.zip |
Fix style of federation scope menu triangles, simplify CSS
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.scss | 21 | ||||
-rw-r--r-- | settings/templates/settings/personal/personal.info.php | 28 |
2 files changed, 29 insertions, 20 deletions
diff --git a/settings/css/settings.scss b/settings/css/settings.scss index ab8d69b3a42..c3b1243f87e 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -13,11 +13,6 @@ input { clear: both; } -.icon-federation-menu { - width: 16px; - float: right; -} - /* icons for sidebar */ .nav-icon-personal-settings { background-image: url('../img/personal.svg?v=1'); @@ -121,12 +116,19 @@ input { } } -#personal-settings-avatar-container h2 span[class^="icon-"] { +.icon-federation-menu { + float: right; padding-left: 16px; background-size: 16px; background-position: left 8px; opacity: .3; cursor: pointer; + + .icon-triangle-s { + display: inline-block; + vertical-align: middle; + cursor: pointer; + } } .personal-show-container { @@ -167,13 +169,6 @@ input { h2 { position: relative; margin-bottom: 5px; - span[class^="icon-"] { - padding-left: 16px; - background-size: 16px; - background-position: left 8px; - opacity: .3; - cursor: pointer; - } } > form span { &[class^="icon-checkmark"], &[class^="icon-error"] { diff --git a/settings/templates/settings/personal/personal.info.php b/settings/templates/settings/personal/personal.info.php index 7ed617a939e..084b34af96c 100644 --- a/settings/templates/settings/personal/personal.info.php +++ b/settings/templates/settings/personal/personal.info.php @@ -56,7 +56,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <div id="personal-settings-avatar-container"> <form id="avatarform" class="section" method="post" action="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.postAvatar')); ?>"> <h2> - <label><?php p($l->t('Profile picture')); ?></label><span class="icon-federation-menu icon-password">▾<span/> + <label><?php p($l->t('Profile picture')); ?></label><span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <div id="displayavatar"> <div class="avatardiv"></div> @@ -90,7 +92,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <form id="displaynameform" class="section"> <h2> <label for="displayname"><?php p($l->t('Full name')); ?></label> - <span class="icon-federation-menu icon-password">▾<span/> + <span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <input type="text" id="displayname" name="displayname" <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> @@ -110,7 +114,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <form id="emailform" class="section"> <h2> <label for="email"><?php p($l->t('Email')); ?></label> - <span class="icon-federation-menu icon-password">▾<span/> + <span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <div class="verify <?php if ($_['email'] === '' || $_['emailScope'] !== 'public') p('hidden'); ?>"> <img id="verify-email" title="<?php p($_['emailMessage']); ?>" data-status="<?php p($_['emailVerification']) ?>" src=" @@ -149,7 +155,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <form id="phoneform" class="section"> <h2> <label for="phone"><?php p($l->t('Phone number')); ?></label> - <span class="icon-federation-menu icon-password">▾<span/> + <span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <input type="tel" id="phone" name="phone" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> value="<?php p($_['phone']) ?>" @@ -167,7 +175,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <form id="addressform" class="section"> <h2> <label for="address"><?php p($l->t('Address')); ?></label> - <span class="icon-federation-menu icon-password">▾<span/> + <span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <input type="text" id="address" name="address" <?php if(!$_['lookupServerUploadEnabled']) print_unescaped('disabled="1"'); ?> placeholder="<?php p($l->t('Your postal address')); ?>" @@ -185,7 +195,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <form id="websiteform" class="section"> <h2> <label for="website"><?php p($l->t('Website')); ?></label> - <span class="icon-federation-menu icon-password">▾<span/> + <span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <?php if($_['lookupServerUploadEnabled']) { ?> <div class="verify <?php if ($_['website'] === '' || $_['websiteScope'] !== 'public') p('hidden'); ?>"> @@ -230,7 +242,9 @@ vendor_style('jcrop/css/jquery.Jcrop'); <form id="twitterform" class="section"> <h2> <label for="twitter"><?php p($l->t('Twitter')); ?></label> - <span class="icon-federation-menu icon-password">▾<span/> + <span class="icon-federation-menu icon-password"> + <span class="icon-triangle-s"></span> + </span> </h2> <?php if($_['lookupServerUploadEnabled']) { ?> <div class="verify <?php if ($_['twitter'] === '' || $_['twitterScope'] !== 'public') p('hidden'); ?>"> |