Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Remove Vuetify Alert Component overridden style - MEED-2627 - Meeds-io/MIPs#99 #689

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions platform-ui-skin/src/main/webapp/skin/less/core/helpers.less
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@
.error-color-background {
background-color: @errorColor !important;
}
.success-color-background {
background-color: @successColor !important;
}
.info-color-background {
background-color: @infoColor !important;
}
.warning-color-background {
background-color: @warningColor !important;
}
.light-grey-background {
background-color: @greyColorOpacity1 !important;
}
Expand Down Expand Up @@ -498,6 +507,9 @@
color: @mediumGrey !important;
}

.z-index-snackbar {
z-index: @zindexSnackBar!important;
}
.z-index-modal {
z-index: @zindexModal!important;
}
Expand Down
2 changes: 1 addition & 1 deletion platform-ui-skin/src/main/webapp/skin/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
@zindexTooltip: var(--allPagesZindexTooltip, 1040);
@zindexModalBackdrop: var(--allPagesZindexModalBackdrop, 1040);
@zindexModal: var(--allPagesZindexModal, 1050);

@zindexSnackBar: var(--allPagesZindexSnackbar, 1060);


// Hr border color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,25 +334,6 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
margin-top: -23px;
}

.v-alert:not(.position-static):not(.position-relative) {
position: fixed;
z-index: 1000;
bottom: 15px;
left: 35px;
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
border-left: 5px solid;
}

.v-alert__content{
padding-right: 50px ~'; /** orientation=lt */ ';
padding-left: 50px ~'; /** orientation=rt */ ';
}

.v-alert__icon.v-icon {
margin-top: auto;
margin-bottom: auto;
}

.warning {
background: @warningBackground !important;
border-color: @warningBorder !important;
Expand Down Expand Up @@ -564,7 +545,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
}

.v-snack {
z-index: @zindexModal!important;
z-index: @zindexSnackBar!important;
}
}
}