Skip to content
Snippets Groups Projects
Commit 3dae1cf3 authored by kaniini's avatar kaniini
Browse files

Merge branch 'ocd-triggered' into 'develop'

achieve the perfect speeeeen in media-upload

See merge request !991
parents 7502ee97 9e774fff
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!991achieve the perfect speeeeen in media-upload
Pipeline #19919 passed
......@@ -6,16 +6,16 @@
@drop="fileDrop"
>
<label
class="btn btn-default"
class="label"
:title="$t('tool_tip.media_upload')"
>
<i
v-if="uploading"
class="icon-spin4 animate-spin"
class="progress-icon icon-spin4 animate-spin"
/>
<i
v-if="!uploading"
class="icon-upload"
class="new-icon icon-upload"
/>
<input
v-if="uploadReady"
......@@ -30,15 +30,24 @@
<script src="./media_upload.js" ></script>
<style>
<style lang="scss">
.media-upload {
.icon-upload {
.label {
display: inline-block;
}
.new-icon {
cursor: pointer;
}
label {
display: block;
width: 100%;
.progress-icon {
display: inline-block;
line-height: 0;
&::before {
/* Overriding fontello to achieve the perfect speeeen */
margin: 0;
line-height: 0;
}
}
}
</style>
</style>
......@@ -339,11 +339,6 @@
font-size: 26px;
flex: 1;
i {
display: block;
width: 100%;
}
&.selected, &:hover {
// needs to be specific to override icon default color
i, label {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment