mirror of
https://github.com/moparisthebest/mail
synced 2025-01-31 07:00:17 -05:00
transition to red buttons in writer for all elements when receiver insecure
This commit is contained in:
parent
396906ffd8
commit
441562285c
@ -105,6 +105,7 @@ define(function(require) {
|
|||||||
// set display to insecure while fetching keys
|
// set display to insecure while fetching keys
|
||||||
recipient.key = undefined;
|
recipient.key = undefined;
|
||||||
recipient.secure = false;
|
recipient.secure = false;
|
||||||
|
$scope.checkSendStatus();
|
||||||
|
|
||||||
// verify email address
|
// verify email address
|
||||||
if (!util.validateEmailAddress(recipient.address)) {
|
if (!util.validateEmailAddress(recipient.address)) {
|
||||||
@ -466,7 +467,8 @@ define(function(require) {
|
|||||||
|
|
||||||
ngModule.directive('attachmentBtn', function() {
|
ngModule.directive('attachmentBtn', function() {
|
||||||
return function(scope, elm) {
|
return function(scope, elm) {
|
||||||
elm.on('click', function() {
|
elm.on('click touchstart', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
document.querySelector('#attachment-input').click();
|
document.querySelector('#attachment-input').click();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
background-image: none;
|
background-image: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
left: 1px;
|
right: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled,
|
&.disabled,
|
||||||
|
@ -70,14 +70,8 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
padding: em(7.5) em(7.5) em(4) em(7.5);
|
padding: em(7.5) em(7.5) em(4) em(7.5);
|
||||||
margin: em(5);
|
margin: em(5);
|
||||||
outline: none;
|
font-size: 1em;
|
||||||
color: $color-grey-lightest;
|
outline: 0;
|
||||||
background-color: $color-blue;
|
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
background-color: lighten($color-blue, 10%);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:active,
|
&:active,
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
<input ng-model="subject" class="subject" spellcheck="true" tabindex="2" placeholder="Subject" ng-change="updatePreview()">
|
<input ng-model="subject" class="subject" spellcheck="true" tabindex="2" placeholder="Subject" ng-change="updatePreview()">
|
||||||
</div><!--/.subject-line-->
|
</div><!--/.subject-line-->
|
||||||
<input id="attachment-input" type="file" multiple attachment-input>
|
<input id="attachment-input" type="file" multiple attachment-input>
|
||||||
<button class="btn-attachment" attachment-btn>
|
<button class="btn btn-attachment" ng-class="{'btn-primary': sendBtnSecure === false}" attachment-btn>
|
||||||
<div data-icon=""></div>
|
<div data-icon=""></div>
|
||||||
</button><!--/.btn-attachment-->
|
</button><!--/.btn-attachment-->
|
||||||
</div><!--/.subject-box-->
|
</div><!--/.subject-box-->
|
||||||
|
Loading…
Reference in New Issue
Block a user