1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 12:01:57 +08:00

feat: Remove common styles and duplicate css rules (#852)

* feat: Remove common styles and duplicate css rules

* change standard licese

Co-authored-by: EdwinBetanc0urt <EdwinBetanco0urt@outlook.com>
This commit is contained in:
Edwin Betancourt 2021-05-17 21:25:27 -04:00 committed by GitHub
parent 1967b7032c
commit 467a948d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 269 additions and 377 deletions

View File

@ -354,6 +354,7 @@ export default {
} }
} }
</script> </script>
<style> <style>
.el-dropdown-menu--medium .el-dropdown-menu__item { .el-dropdown-menu--medium .el-dropdown-menu__item {
line-height: 17px; line-height: 17px;
@ -399,62 +400,9 @@ export default {
color: #FFFFFF; color: #FFFFFF;
} }
</style> </style>
<style lang='scss' scoped src='./contextMenuStyleScoped.scss'>
<style scoped>
.el-tree-node__children {
overflow: hidden;
background-color: transparent;
max-width: 99%;
overflow: auto;
}
.el-dropdown .el-button-group {
display: flex;
}
.el-dropdown-menu { .el-dropdown-menu {
position: absolute;
top: 0;
left: 0;
z-index: 10;
padding: 10px 0;
margin: 0px 0;
background-color: #FFFFFF;
border: 1px solid #e6ebf5;
border-radius: 4px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
max-height: 300px; max-height: 300px;
max-width: 220px;
overflow: hidden; overflow: hidden;
} }
.el-dropdown-menu--mini .el-dropdown-menu__item {
line-height: 14px;
padding: 0px 15px;
font-size: 10px;
}
.el-dropdown-menu__item--divided {
position: relative;
/* margin-top: 6px; */
border-top: 1px solid #e6ebf5;
}
.svg-icon {
width: 1em;
height: 2em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.label {
font-size: 14px;
margin-top: 0% !important;
margin-left: 0px;
text-align: initial;
}
.description {
margin: 0px;
font-size: 12px;
text-align: initial;
}
.contents {
display: inline-flex;
}
</style> </style>

View File

@ -319,6 +319,7 @@ export default {
} }
} }
</script> </script>
<style> <style>
.el-button-group > .el-button:not(:last-child) { .el-button-group > .el-button:not(:last-child) {
margin-right: -1px; margin-right: -1px;
@ -335,61 +336,9 @@ export default {
border-color: #1682e6; border-color: #1682e6;
} }
</style> </style>
<style scoped> <style lang="scss" scoped src='./contextMenuStyleScoped.scss'>
.el-tree-node__children {
overflow: hidden;
background-color: transparent;
max-width: 99%;
overflow: auto;
}
.el-dropdown .el-button-group {
display: flex;
}
.el-dropdown-menu { .el-dropdown-menu {
position: absolute;
top: 0;
left: 0;
z-index: 10;
padding: 10px 0;
margin: 5px 0;
background-color: #FFFFFF;
border: 1px solid #e6ebf5;
border-radius: 4px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
max-height: 250px; max-height: 250px;
max-width: 220px;
overflow: auto; overflow: auto;
} }
.el-dropdown-menu--mini .el-dropdown-menu__item {
line-height: 14px;
padding: 0px 15px;
font-size: 10px;
}
.el-dropdown-menu__item--divided {
position: relative;
/* margin-top: 6px; */
border-top: 1px solid #e6ebf5;
}
.svg-icon {
width: 1em;
height: 2em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.label {
font-size: 14px;
margin-top: 0% !important;
margin-left: 0px;
text-align: initial;
}
.description {
margin: 0px;
font-size: 12px;
text-align: initial;
}
.contents {
display: inline-flex;
}
</style> </style>

View File

@ -0,0 +1,75 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
.el-dropdown-menu {
position: absolute;
top: 0;
left: 0;
z-index: 10;
padding: 10px 0;
margin: 0px 0;
background-color: #FFFFFF;
border: 1px solid #e6ebf5;
border-radius: 4px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
max-width: 220px;
}
.el-tree-node__children {
overflow: hidden;
background-color: transparent;
max-width: 99%;
overflow: auto;
}
.el-dropdown .el-button-group {
display: flex;
}
.el-dropdown-menu--mini .el-dropdown-menu__item {
line-height: 14px;
padding: 0px 15px;
font-size: 10px;
}
.el-dropdown-menu__item--divided {
position: relative;
/* margin-top: 6px; */
border-top: 1px solid #e6ebf5;
}
.svg-icon {
width: 1em;
height: 2em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
.label {
font-size: 14px;
margin-top: 0% !important;
margin-left: 0px;
text-align: initial;
}
.description {
margin: 0px;
font-size: 12px;
text-align: initial;
}
.contents {
display: inline-flex;
}

View File

@ -0,0 +1,17 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
@import './view.scss';

View File

@ -1,17 +1,68 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
// content of the main views
.view-base { .view-base {
// TODO: Add display stop for views without fields (like cache reset process)
height: 100%; height: 100%;
min-height: calc(100vh - 84px); min-height: calc(100vh - 84px);
} }
// content of main views when loading
.view-loading { .view-loading {
padding: 100px 100px; padding: 100px 100px;
height: 100%; height: 100%;
} }
// title of the main views
.custom-title { .custom-title {
color: #000000; color: #000000;
text-size-adjust: 20px; text-size-adjust: 20px;
font-size: 100%; font-size: 100%;
font-weight: 605!important; font-weight: 605 !important;
}
// title of the main views in mobile
.custom-title-mobile {
text-align: center;
color: #000000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605!important;
/* left: 50%; */
}
// smart browser help in title popover
.content-help {
width: 100%;
height: 200%;
padding-left: 39px !important;
}
// mobile smart browser help in title popover
.content-help-mobile {
width: 50%;
height: 50%;
padding-left: 15px !important;
}
.content-collapse {
padding-left: 20 px !important;
padding-top: 50 px !important;
}
// title content
.warn-content {
margin: 0px 0px !important;
padding-top: 0px !important;
} }

View File

@ -4,6 +4,7 @@
@import './element-ui.scss'; @import './element-ui.scss';
@import './sidebar.scss'; @import './sidebar.scss';
@import './btn.scss'; @import './btn.scss';
@import './ADempiere/index.scss';
body { body {
height: 100%; height: 100%;

View File

@ -1,7 +1,7 @@
<!-- <!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt edwinBetanc0urt@hotmail.com www.erpya.com Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -88,7 +88,7 @@
:element-loading-text="$t('notifications.loading')" :element-loading-text="$t('notifications.loading')"
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(255, 255, 255, 0.8)" element-loading-background="rgba(255, 255, 255, 0.8)"
class="loading-browser" class="view-loading"
/> />
</template> </template>
@ -147,9 +147,9 @@ export default {
}, },
cssClassTitle() { cssClassTitle() {
if (this.isMobile) { if (this.isMobile) {
return 'title-mobile' return 'custom-title-mobile'
} }
return 'title' return 'custom-title'
}, },
cssClassHelp() { cssClassHelp() {
if (this.isMobile) { if (this.isMobile) {
@ -252,16 +252,6 @@ export default {
} }
</style> </style>
<style scoped> <style scoped>
.view-base {
height: 100%;
min-height: calc(100vh - 84px);
}
.loading-browser {
padding: 100px 100px;
height: 100%;
}
.el-main { .el-main {
display: block; display: block;
-webkit-box-flex: 1; -webkit-box-flex: 1;
@ -288,29 +278,10 @@ export default {
.menu { .menu {
height: 40px; height: 40px;
} }
.title {
color: #000000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605!important;
/* left: 50%; */
}
.title-mobile {
text-align: center;
color: #000000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605!important;
/* left: 50%; */
}
.content-help { .content-help {
width: 100%;
height: 100%;
padding-left: 15px !important; padding-left: 15px !important;
} }
.content-help-mobile { .content-help-mobile {
width: 50%;
height: 50%;
padding-left: 15px !important; padding-left: 15px !important;
} }
.center{ .center{

View File

@ -1,7 +1,7 @@
<!-- <!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt edwinBetanc0urt@hotmail.com www.erpya.com Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -58,7 +58,7 @@
<el-button <el-button
v-popover:helpTitle v-popover:helpTitle
type="text" type="text"
class="title text-center" class="custom-title text-center"
> >
{{ formTitle }} {{ formTitle }}
</el-button> </el-button>
@ -205,9 +205,9 @@ export default {
width: 100%; width: 100%;
height: 100%!important; height: 100%!important;
} }
.view-base { .view-base {
height: 100%; /** Add this rule to view base */
min-height: calc(100vh - 84px);
overflow: hidden; overflow: hidden;
} }
.show-header-view-base { .show-header-view-base {
@ -215,41 +215,16 @@ export default {
min-height: calc(100vh - 26px); min-height: calc(100vh - 26px);
overflow: hidden; overflow: hidden;
} }
.view-loading {
padding: 100px 100px;
height: 100%;
}
.title, .custom-title {
color: #000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605 !important;
/* left: 50%; */
}
.w-33 { .w-33 {
width: 100%; width: 100%;
background-color: transparent; background-color: transparent;
} }
.warn-content {
margin: 0px 0px !important;
padding-top: 0px !important;
}
.content-help {
width: 100%;
height: 200%;
padding-left: 39px !important;
}
.el-card { .el-card {
width: 100% !important; width: 100% !important;
height: 100% !important; height: 100% !important;
} }
.content-collapse {
padding-left: 20 px !important;
padding-top: 50 px !important;
}
.center{ .center{
text-align: center; text-align: center;

View File

@ -1,7 +1,7 @@
<!-- <!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt edwinBetanc0urt@hotmail.com www.erpya.com Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -51,7 +51,7 @@
<el-button <el-button
v-popover:helpTitle v-popover:helpTitle
type="text" type="text"
class="title text-center" class="custom-title text-center"
> >
{{ processMetadata.name }} {{ processMetadata.name }}
</el-button> </el-button>
@ -75,7 +75,7 @@
:element-loading-text="$t('notifications.loading')" :element-loading-text="$t('notifications.loading')"
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(255, 255, 255, 0.8)" element-loading-background="rgba(255, 255, 255, 0.8)"
class="loading-process" class="view-loading"
/> />
</template> </template>
@ -154,31 +154,6 @@ export default {
} }
</style> </style>
<style scoped > <style scoped >
.view-base {
height: 100%;
min-height: calc(100vh - 84px);
}
.loading-process {
padding: 100px 100px;
height: 100%;
}
.title {
color: #000000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605!important;
}
.warn-content {
margin: 0px 0px !important;
padding-top: 0px !important;
}
.content-help {
width: 100%;
height: 100%;
padding-left: 39px !important;
}
.el-card { .el-card {
width: 100% !important; width: 100% !important;
height: 100% !important; height: 100% !important;
@ -188,8 +163,4 @@ export default {
right: 0; right: 0;
top: 0; top: 0;
} }
.content-collapse {
padding-left: 20 px !important;
padding-top: 50 px !important;
}
</style> </style>

View File

@ -186,43 +186,7 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped src="./processActivityStyle.scss">
a, a:focus, a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
color: #409EFF;
}
.el-popover {
position: absolute;
background: #FFFFFF;
overflow: auto;
min-width: 84px;
border-radius: 4px;
border: 1px solid #e6ebf5;
padding: 12px;
max-height: 174px;
z-index: 2000;
color: #606266;
line-height: 1.4;
text-align: justify;
max-width: 600px;
font-size: 14px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
word-break: break-all;
}
.loading-div {
padding: 100px 100px;
height: 100%;
}
.actions {
float: right
}
.el-dropdown-link {
cursor: pointer;
color: #409EFF;
}
</style> </style>
<style> <style>
.popover-scroll { .popover-scroll {

View File

@ -2,6 +2,7 @@
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Leonel Matos lmatos@erpya.com www.erpya.com Contributor(s): Leonel Matos lmatos@erpya.com www.erpya.com
Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -145,43 +146,7 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped src="./processActivityStyle.scss">
a, a:focus, a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
color: #409EFF;
}
.el-popover {
position: absolute;
background: #FFFFFF;
overflow: auto;
min-width: 84px;
border-radius: 4px;
border: 1px solid #e6ebf5;
padding: 12px;
max-height: 174px;
z-index: 2000;
color: #606266;
line-height: 1.4;
text-align: justify;
max-width: 600px;
font-size: 14px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
word-break: break-all;
}
.loading-div {
padding: 100px 100px;
height: 100%;
}
.actions {
float: right
}
.el-dropdown-link {
cursor: pointer;
color: #409EFF;
}
</style> </style>
<style> <style>
.popover-scroll { .popover-scroll {

View File

@ -2,6 +2,7 @@
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Leonel Matos lmatos@erpya.com www.erpya.com Contributor(s): Leonel Matos lmatos@erpya.com www.erpya.com
Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -151,43 +152,7 @@ export default {
} }
</script> </script>
<style scoped> <style lang="scss" scoped src="./processActivityStyle.scss">
a, a:focus, a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
color: #409EFF;
}
.el-popover {
position: absolute;
background: #FFFFFF;
overflow: auto;
min-width: 84px;
border-radius: 4px;
border: 1px solid #e6ebf5;
padding: 12px;
max-height: 174px;
z-index: 2000;
color: #606266;
line-height: 1.4;
text-align: justify;
max-width: 600px;
font-size: 14px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
word-break: break-all;
}
.loading-div {
padding: 100px 100px;
height: 100%;
}
.actions {
float: right
}
.el-dropdown-link {
cursor: pointer;
color: #409EFF;
}
</style> </style>
<style> <style>
.popover-scroll { .popover-scroll {

View File

@ -0,0 +1,48 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
a, a:focus, a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
color: #409EFF;
}
.el-popover {
position: absolute;
background: #FFFFFF;
overflow: auto;
min-width: 84px;
border-radius: 4px;
border: 1px solid #e6ebf5;
padding: 12px;
max-height: 174px;
z-index: 2000;
color: #606266;
line-height: 1.4;
text-align: justify;
max-width: 600px;
font-size: 14px;
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
word-break: break-all;
}
.actions {
float: right
}
.el-dropdown-link {
cursor: pointer;
color: #409EFF;
}

View File

@ -2,6 +2,7 @@
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Leonel Matos lmatos@erpya.com www.erpya.com Contributor(s): Leonel Matos lmatos@erpya.com www.erpya.com
Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -43,7 +44,7 @@
<el-button <el-button
v-popover:helpTitle v-popover:helpTitle
type="text" type="text"
class="title" class="custom-title"
> >
{{ reportTitle }} {{ reportTitle }}
</el-button> </el-button>
@ -94,7 +95,7 @@
:element-loading-text="$t('notifications.loading')" :element-loading-text="$t('notifications.loading')"
element-loading-spinner="el-icon-loading" element-loading-spinner="el-icon-loading"
element-loading-background="rgba(255, 255, 255, 0.8)" element-loading-background="rgba(255, 255, 255, 0.8)"
class="loading-report-viewer" class="view-loading"
/> />
</template> </template>
@ -196,17 +197,6 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.loading-report-viewer {
padding: 100px 100px;
height: 100%;
}
.title {
color: #000000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605!important;
}
.content { .content {
width: 100%; width: 100%;
height: 100%; height: 100%;

View File

@ -2,6 +2,7 @@
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Yamel Senih ysenih@erpya.com www.erpya.com Contributor(s): Yamel Senih ysenih@erpya.com www.erpya.com
Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -18,7 +19,7 @@
<template> <template>
<el-container <el-container
class="view-base" class="view-base"
style="height: max-content!important;" style="height: max-content !important;"
> >
<el-header style="height: 39px;"> <el-header style="height: 39px;">
<context-menu <context-menu
@ -50,7 +51,7 @@
<el-button <el-button
v-popover:helpTitle v-popover:helpTitle
type="text" type="text"
class="title text-center" class="custom-title text-center"
> >
{{ formTitle }} {{ formTitle }}
</el-button> </el-button>
@ -149,46 +150,10 @@ export default {
} }
</style> </style>
<style scoped > <style scoped >
.view-base {
height: 100%;
min-height: calc(100vh - 84px);
}
.view-loading {
padding: 100px 100px;
height: 100%;
}
.title, .custom-title {
color: #000;
text-size-adjust: 20px;
font-size: 100%;
font-weight: 605 !important;
/* left: 50%; */
}
.w-33 {
width: 100%;
background-color: transparent;
}
.warn-content {
margin: 0px 0px !important;
padding-top: 0px !important;
}
.content-help {
width: 100%;
height: 100%;
padding-left: 39px !important;
}
.el-card { .el-card {
width: 100% !important; width: 100% !important;
height: 100% !important; height: 100% !important;
} }
.content-collapse {
padding-left: 20 px !important;
padding-top: 50 px !important;
}
.center{ .center{
text-align: center; text-align: center;

View File

@ -1,10 +1,35 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->
<template> <template>
<div class="wscn-http404-container"> <div class="wscn-http404-container">
<div class="unsupported"> <div class="unsupported">
<div class="unsupported__oops">{{ $t('views.unsupportedSorry') }}</div> <div class="unsupported__oops">
<div class="unsupported__headline">{{ $t('views.unsupportedHeadline') }}</div> {{ $t('views.unsupportedSorry') }}
<div class="unsupported__info">{{ $t('views.unsupportedInfo') }}</div> </div>
<el-button type="primary" round @click="redirect">{{ $t('views.unsupportedButton') }}</el-button> <div class="unsupported__headline">
{{ $t('views.unsupportedHeadline') }}
</div>
<div class="unsupported__info">
{{ $t('views.unsupportedInfo') }}
</div>
<el-button type="primary" round @click="redirect">
{{ $t('views.unsupportedButton') }}
</el-button>
</div> </div>
</div> </div>
</template> </template>

View File

@ -1,7 +1,7 @@
<!-- <!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt edwinBetanc0urt@hotmail.com www.erpya.com Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
@ -354,7 +354,7 @@
v-loading="!isLoaded" v-loading="!isLoaded"
:element-loading-text="$t('notifications.loading')" :element-loading-text="$t('notifications.loading')"
element-loading-background="rgba(255, 255, 255, 0.8)" element-loading-background="rgba(255, 255, 255, 0.8)"
class="loading-window" class="view-loading"
/> />
</template> </template>

View File

@ -1,3 +1,19 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
.scroll { .scroll {
max-height: 60vh; max-height: 60vh;
} }
@ -94,14 +110,14 @@ aside {
top: 41%; top: 41%;
display: none; display: none;
z-index: 5; z-index: 5;
right: 1%!important; right: 1% !important;
} }
.open-datatable-aside-mobile { .open-datatable-aside-mobile {
position: absolute; position: absolute;
top: 41%; top: 41%;
display: grid; display: grid;
z-index: 5; z-index: 5;
right: 1%!important; right: 1% !important;
} }
.button { .button {
display: none; display: none;
@ -158,7 +174,3 @@ aside {
.vertical-panes > .pane ~ .pane { .vertical-panes > .pane ~ .pane {
border-left: 1px solid #ccc; border-left: 1px solid #ccc;
} }
.loading-window {
padding: 100px 100px;
height: 100%;
}