settings: Changed checkbox and close icons on settings.

Introduced a new checkmark icon in the settings page
from entypo ( www.entypo.com )  to make icons more
consistent between user and organization settings.
This commit is contained in:
Armaan Ahluwalia 2018-04-03 16:39:52 +05:30 committed by Tim Abbott
parent 58d07fabef
commit 7b8da9b6c0
5 changed files with 19 additions and 13 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 B

View File

@ -4,9 +4,9 @@ var exports = {};
exports.display_checkmark = function ($elem) {
var check_mark = document.createElement("img");
check_mark.src = "/static/images/checkbox-green.svg";
check_mark.src = "/static/images/icon-checkbox-green.svg";
$elem.prepend(check_mark);
$(check_mark).css("width", "13px");
$(check_mark).css("width", "10px");
};
exports.strings = {};

View File

@ -361,9 +361,9 @@ input[type=checkbox] + .inline-block {
display: inline-block;
cursor: pointer;
font-size: 14px;
padding: 3px 12px 4px 10px;
padding: 3px 14px 4px 11px;
text-decoration: none;
color: hsl(0, 0%, 43%);
color: hsl(0, 0%, 46%);
font-weight: 400;
}
@ -389,17 +389,21 @@ input[type=checkbox] + .inline-block {
}
#settings_page .icon-button .icon-button-icon {
color: #969696;
vertical-align: bottom;
margin-right: 3px;
font-size: 24px;
line-height: 19px;
font-weight: 600;
}
#settings_page .icon-button.primary .icon-button-icon {
color: white;
width: 10px;
margin-bottom: 2px;
margin-right: 3px;
}
#settings_page .icon-button .icon-button-text,
#settings_page .icon-button .icon-button-icon {
#settings_page .icon-button .icon-button-text {
vertical-align: baseline;
margin-right: 2px;
}
#settings_page .save-button-controls {
@ -426,6 +430,7 @@ input[type=checkbox] + .inline-block {
#settings_page .save-button.saving .icon-button-loading {
display: inline-block;
margin-right: 2px;
}
#settings_page .save-button .icon-button-loading {
@ -570,6 +575,7 @@ input[type=checkbox].inline-block {
width: 13px;
height: 20px;
margin: 0;
margin-right: 3px;
}
#settings_page .alert-notification .loading_indicator_text {
@ -579,9 +585,9 @@ input[type=checkbox].inline-block {
}
#settings_page .alert-notification img {
margin-right: 5px;
margin-right: 6px;
vertical-align: middle;
margin-top: -1px;
margin-top: -2px;
}
#notification-settings .notification-reminder {

View File

@ -3,7 +3,7 @@
<div class="input-group organization-submission subsection-changes-save">
<div class="icon-button button primary save-button" type="button" id="org-submit-{{section_name}}" data-status="save">
<span class="fa fa-spinner fa-spin icon-button-loading"></span>
<span class="fa fa-check icon-button-icon"></span>
<img class="icon-button-icon" src="static/images/icon-checkbox-white.svg" />
<span class="icon-button-text">
{{t 'Save changes' }}
</span>
@ -11,7 +11,7 @@
</div>
<div class="input-group subsection-changes-discard">
<div class="icon-button button discard-button" type="button" id="org-discard-{{section_name}}">
<span class="fa fa-times icon-button-icon"></span>
<span class="icon-button-icon">×</span>
<span class="icon-button-text">
{{t 'Discard' }}
</span>