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
|
||||
recipient.key = undefined;
|
||||
recipient.secure = false;
|
||||
$scope.checkSendStatus();
|
||||
|
||||
// verify email address
|
||||
if (!util.validateEmailAddress(recipient.address)) {
|
||||
@ -466,7 +467,8 @@ define(function(require) {
|
||||
|
||||
ngModule.directive('attachmentBtn', function() {
|
||||
return function(scope, elm) {
|
||||
elm.on('click', function() {
|
||||
elm.on('click touchstart', function(e) {
|
||||
e.preventDefault();
|
||||
document.querySelector('#attachment-input').click();
|
||||
});
|
||||
};
|
||||
|
@ -32,7 +32,7 @@
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
right: -1px;
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
|
@ -70,14 +70,8 @@
|
||||
right: 0;
|
||||
padding: em(7.5) em(7.5) em(4) em(7.5);
|
||||
margin: em(5);
|
||||
outline: none;
|
||||
color: $color-grey-lightest;
|
||||
background-color: $color-blue;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: lighten($color-blue, 10%);
|
||||
}
|
||||
font-size: 1em;
|
||||
outline: 0;
|
||||
|
||||
&:active,
|
||||
&.active {
|
||||
|
@ -26,7 +26,7 @@
|
||||
<input ng-model="subject" class="subject" spellcheck="true" tabindex="2" placeholder="Subject" ng-change="updatePreview()">
|
||||
</div><!--/.subject-line-->
|
||||
<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>
|
||||
</button><!--/.btn-attachment-->
|
||||
</div><!--/.subject-box-->
|
||||
|
Loading…
Reference in New Issue
Block a user