remove fa-plus from upload dialog button

This commit is contained in:
Jeff Atwood 2015-07-22 01:12:03 -07:00
parent 703927d1c0
commit ccdcca578d
3 changed files with 4 additions and 16 deletions

View File

@ -38,7 +38,7 @@
<div class="modal-footer">
<button class="btn btn-primary" {{action "upload" target="view"}}>
<span class='add-upload'><i {{bind-attr class=":fa view.uploadIcon"}}></i><i class='fa fa-plus'></i></span>
<span class='add-upload'><i {{bind-attr class=":fa view.uploadIcon"}}></i></span>
{{i18n 'upload'}}
</button>
<a {{action "closeModal"}}>{{i18n 'cancel'}}</a>

View File

@ -1,15 +1,3 @@
.add-upload .fa-plus {
font-size: 0.714em;
position: relative;
left: -5px;
bottom: -5px;
text-shadow:
-1px -1px 0 scale-color($tertiary, $lightness: -10%),
1px 1px 0 scale-color($tertiary, $lightness: -10%),
1px -1px 0 scale-color($tertiary, $lightness: -10%),
-1px 1px 0 scale-color($tertiary, $lightness: -10%);
}
.uploaded-image-preview {
background-position: center center;
background-size: cover;

View File

@ -870,10 +870,10 @@ en:
from_the_web: "From the web"
remote_tip: "link to image"
remote_tip_with_attachments: "link to image or file ({{authorized_extensions}})"
local_tip: "click to select up to 10 images from your device"
local_tip_with_attachments: "click to select up to 10 images or files from your device ({{authorized_extensions}})"
local_tip: "select images from your device"
local_tip_with_attachments: "select images or files from your device ({{authorized_extensions}})"
hint: "(you can also drag & drop into the editor to upload them)"
hint_for_supported_browsers: "(you can also drag and drop or paste images into the editor to upload them)"
hint_for_supported_browsers: "you can also drag and drop or paste images into the editor to upload them"
uploading: "Uploading"
select_file: "Select File"
image_link: "link your image will point to"