remaining changes...
This commit is contained in:
parent
3cbaa00449
commit
a50cd7e37d
23 changed files with 162 additions and 97 deletions
|
@ -19,7 +19,8 @@ import {
|
|||
faPollH,
|
||||
faUpload,
|
||||
faBan,
|
||||
faTimes
|
||||
faTimes,
|
||||
faCircleNotch
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
|
@ -28,7 +29,8 @@ library.add(
|
|||
faPollH,
|
||||
faUpload,
|
||||
faBan,
|
||||
faTimes
|
||||
faTimes,
|
||||
faCircleNotch
|
||||
)
|
||||
|
||||
const buildMentionsString = ({ user, attentions = [] }, currentUser) => {
|
||||
|
|
|
@ -85,9 +85,10 @@
|
|||
{{ $t('post_status.preview') }}
|
||||
<i :class="showPreview ? 'icon-left-open' : 'icon-right-open'" />
|
||||
</a>
|
||||
<i
|
||||
<FAIcon
|
||||
v-show="previewLoading"
|
||||
class="icon-spin3 animate-spin"
|
||||
spin
|
||||
icon="circle-notch"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -284,8 +285,10 @@
|
|||
class="alert error"
|
||||
>
|
||||
Error: {{ error }}
|
||||
<i
|
||||
class="button-icon" icon="times"
|
||||
<FAIcon
|
||||
class="button-icon"
|
||||
size="lg"
|
||||
icon="times"
|
||||
@click="clearError"
|
||||
/>
|
||||
</div>
|
||||
|
@ -295,7 +298,7 @@
|
|||
:key="file.url"
|
||||
class="media-upload-wrapper"
|
||||
>
|
||||
<i
|
||||
<FAIcon
|
||||
class="button-icon" icon="times"
|
||||
@click="removeMediaFile(file)"
|
||||
/>
|
||||
|
@ -379,10 +382,6 @@
|
|||
padding-left: 0.5em;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
.icon-spin3 {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.preview-toggle {
|
||||
|
@ -477,7 +476,7 @@
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
.icon-chart-bar {
|
||||
.poll-icon {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
@ -490,19 +489,6 @@
|
|||
margin-bottom: .5em;
|
||||
width: 18em;
|
||||
|
||||
.icon-cancel {
|
||||
display: inline-block;
|
||||
position: static;
|
||||
margin: 0;
|
||||
padding-bottom: 0;
|
||||
margin-left: $fallback--attachmentRadius;
|
||||
margin-left: var(--attachmentRadius, $fallback--attachmentRadius);
|
||||
background-color: $fallback--fg;
|
||||
background-color: var(--btn, $fallback--fg);
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
img, video {
|
||||
object-fit: contain;
|
||||
max-height: 10em;
|
||||
|
@ -525,7 +511,7 @@
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
.media-upload-wrapper .attachments {
|
||||
.attachments .media-upload-wrapper{
|
||||
padding: 0 0.5em;
|
||||
|
||||
.attachment {
|
||||
|
@ -534,11 +520,14 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
i {
|
||||
.button-icon {
|
||||
position: absolute;
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
margin: .75em;
|
||||
padding: .5em;
|
||||
background: rgba(230,230,230,0.6);
|
||||
z-index: 2;
|
||||
color: black;
|
||||
border-radius: $fallback--attachmentRadius;
|
||||
border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
|
||||
font-weight: bold;
|
||||
|
@ -615,11 +604,6 @@
|
|||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.icon-cancel {
|
||||
cursor: pointer;
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
@keyframes fade-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 0.6; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue