From cbb39d8abe9012b12a279b075b55908facfd4015 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Sat, 29 Jul 2023 11:26:52 -0500 Subject: [PATCH] updated styling --- frontend/src/components/prompts/Prompts.vue | 11 ----------- frontend/src/css/base.css | 2 +- frontend/src/css/dashboard.css | 12 ------------ frontend/src/css/styles.css | 14 -------------- frontend/src/store/mutations.js | 2 -- frontend/src/views/files/Listing.vue | 3 --- 6 files changed, 1 insertion(+), 43 deletions(-) diff --git a/frontend/src/components/prompts/Prompts.vue b/frontend/src/components/prompts/Prompts.vue index 36cb0349..18b0c9a6 100644 --- a/frontend/src/components/prompts/Prompts.vue +++ b/frontend/src/components/prompts/Prompts.vue @@ -1,7 +1,6 @@ @@ -104,16 +103,6 @@ export default { return (matched && this.show) || null; }, - showOverlay: function () { - return ( - this.show !== null && this.show !== "search" && this.show !== "more" - ); - }, - }, - methods: { - resetPrompts() { - this.$store.commit("closeHovers"); - }, }, }; diff --git a/frontend/src/css/base.css b/frontend/src/css/base.css index 9e06d9e7..720316b5 100644 --- a/frontend/src/css/base.css +++ b/frontend/src/css/base.css @@ -182,7 +182,7 @@ body.rtl .breadcrumbs a { background: #fff; box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 3px, rgba(0, 0, 0, 0.12) 0px 1px 2px; width: 95%; - max-width: 20em; + max-width: 25em; z-index: 1; } #file-selection .action { diff --git a/frontend/src/css/dashboard.css b/frontend/src/css/dashboard.css index e36a7bd5..9d3ebcce 100644 --- a/frontend/src/css/dashboard.css +++ b/frontend/src/css/dashboard.css @@ -311,18 +311,6 @@ body.rtl .card .card-title>*:first-child { 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 * * * * * * * * * * * * * * * * */ diff --git a/frontend/src/css/styles.css b/frontend/src/css/styles.css index 2ba99532..4496d3ab 100644 --- a/frontend/src/css/styles.css +++ b/frontend/src/css/styles.css @@ -117,20 +117,6 @@ main .spinner .bounce2 { 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 { display: block; position: absolute; diff --git a/frontend/src/store/mutations.js b/frontend/src/store/mutations.js index 31ea1b51..b60973b7 100644 --- a/frontend/src/store/mutations.js +++ b/frontend/src/store/mutations.js @@ -3,7 +3,6 @@ import moment from "moment"; const mutations = { closeHovers: (state) => { - console.log("closing hovers") state.show = null; state.showConfirm = null; }, @@ -11,7 +10,6 @@ const mutations = { state.showShell = !state.showShell; }, showHover: (state, value) => { - console.log("showing hovers") if (typeof value !== "object") { state.show = value; return; diff --git a/frontend/src/views/files/Listing.vue b/frontend/src/views/files/Listing.vue index 4cc67562..c98fffe9 100644 --- a/frontend/src/views/files/Listing.vue +++ b/frontend/src/views/files/Listing.vue @@ -323,9 +323,6 @@ export default { copy: this.selectedCount > 0 && this.user.perm.create, }; }, - isMobile() { - return this.width <= 736; - }, }, watch: { req: function () {