updated styling
This commit is contained in:
parent
a26f0a42c2
commit
cbb39d8abe
|
@ -1,7 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<component ref="currentComponent" :is="currentComponent"></component>
|
<component ref="currentComponent" :is="currentComponent"></component>
|
||||||
<div v-show="showOverlay" @click="resetPrompts" class="overlay"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -104,16 +103,6 @@ export default {
|
||||||
|
|
||||||
return (matched && this.show) || null;
|
return (matched && this.show) || null;
|
||||||
},
|
},
|
||||||
showOverlay: function () {
|
|
||||||
return (
|
|
||||||
this.show !== null && this.show !== "search" && this.show !== "more"
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
resetPrompts() {
|
|
||||||
this.$store.commit("closeHovers");
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -182,7 +182,7 @@ body.rtl .breadcrumbs a {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px;
|
box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
max-width: 20em;
|
max-width: 25em;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
#file-selection .action {
|
#file-selection .action {
|
||||||
|
|
|
@ -311,18 +311,6 @@ body.rtl .card .card-title>*:first-child {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay {
|
|
||||||
background-color: rgba(0, 0, 0, 0);
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
z-index: 9999;
|
|
||||||
animation: .1s show forwards;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * *
|
||||||
* PROMPT - MOVE *
|
* PROMPT - MOVE *
|
||||||
* * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * */
|
||||||
|
|
|
@ -117,20 +117,6 @@ main .spinner .bounce2 {
|
||||||
background-color: rgba(0, 0, 0, 0.04);
|
background-color: rgba(0, 0, 0, 0.04);
|
||||||
}
|
}
|
||||||
|
|
||||||
#click-overlay {
|
|
||||||
display: none;
|
|
||||||
position: fixed;
|
|
||||||
cursor: pointer;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#click-overlay.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.action .counter {
|
.action .counter {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -3,7 +3,6 @@ import moment from "moment";
|
||||||
|
|
||||||
const mutations = {
|
const mutations = {
|
||||||
closeHovers: (state) => {
|
closeHovers: (state) => {
|
||||||
console.log("closing hovers")
|
|
||||||
state.show = null;
|
state.show = null;
|
||||||
state.showConfirm = null;
|
state.showConfirm = null;
|
||||||
},
|
},
|
||||||
|
@ -11,7 +10,6 @@ const mutations = {
|
||||||
state.showShell = !state.showShell;
|
state.showShell = !state.showShell;
|
||||||
},
|
},
|
||||||
showHover: (state, value) => {
|
showHover: (state, value) => {
|
||||||
console.log("showing hovers")
|
|
||||||
if (typeof value !== "object") {
|
if (typeof value !== "object") {
|
||||||
state.show = value;
|
state.show = value;
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -323,9 +323,6 @@ export default {
|
||||||
copy: this.selectedCount > 0 && this.user.perm.create,
|
copy: this.selectedCount > 0 && this.user.perm.create,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
isMobile() {
|
|
||||||
return this.width <= 736;
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
req: function () {
|
req: function () {
|
||||||
|
|
Loading…
Reference in New Issue