Skip to content

Commit

Permalink
XWIKI-21452: Macros info, success, warning and error are only disting…
Browse files Browse the repository at this point in the history
…uished by colors

* Factorized some style
* Added a space on the line `border: none`
  • Loading branch information
Sereza7 committed Jan 29, 2024
1 parent 17c87ea commit 4e5bee5
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ div.successmessage, div.errormessage, div.warningmessage, div.infomessage {
justify-content: left;
align-items: baseline;
padding: 2rem;
border: none;
border-left: 4px solid;
box-shadow: none;

& > img {
Expand Down Expand Up @@ -65,29 +67,25 @@ fieldset.xwikimessage { // Used by: Login form, Delete messages
.successmessage {
.alert-success;
background-color: @state-success-bg;
border:none;
border-left: 4px solid @brand-success;
border-color: @brand-success;
}

.errormessage {
.alert-danger;
background-color: @state-danger-bg;
border:none;
border-left: 4px solid @brand-danger;
border-color: @brand-danger;
}

.warningmessage {
.alert-warning;
background-color: @state-warning-bg;
border:none;
border-left: 4px solid @brand-warning;
border-color: @brand-warning;
}

.infomessage {
.alert-info;
background-color: @state-info-bg;
border:none;
border-left: 4px solid @brand-primary;
border-color: @brand-primary;
}

// --------------------------------------------------
Expand Down

0 comments on commit 4e5bee5

Please sign in to comment.