-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alert redesign #1 - React and redesign
- Loading branch information
Showing
19 changed files
with
867 additions
and
266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,53 @@ | ||
.alert { | ||
padding: 15px; | ||
.alert-page h3 { | ||
flex-grow: 1; | ||
|
||
span { | ||
cursor: pointer; | ||
input { | ||
margin: -0.2em 0; // | ||
width: 100%; | ||
min-width: 170px; | ||
} | ||
} | ||
|
||
.alert-dismissable, | ||
.alert-dismissible { | ||
padding-right: 44px; | ||
} | ||
|
||
.alert-inverse { | ||
.alert-variant(@alert-inverse-bg; @alert-inverse-border; @alert-inverse-text); | ||
.btn-create-alert[disabled] { | ||
display: block; | ||
margin-top: -20px; | ||
} | ||
|
||
.alert-link { | ||
color: #fff !important; | ||
font-weight: normal !important; | ||
text-decoration: underline; | ||
} | ||
.alert-state { | ||
border-bottom: 1px solid #e8e8e8; | ||
padding-bottom: 30px; | ||
|
||
.growl-animated { | ||
&.alert-inverse { | ||
box-shadow: 0 0 5px fade(@alert-inverse-bg, 50%); | ||
} | ||
|
||
&.alert-info { | ||
box-shadow: 0 0 5px fade(@alert-info-bg, 50%); | ||
.alert-state-indicator { | ||
text-transform: uppercase; | ||
font-size: 14px; | ||
padding: 5px 8px; | ||
} | ||
|
||
&.alert-success { | ||
box-shadow: 0 0 5px fade(@alert-success-bg, 50%); | ||
.alert-last-triggered { | ||
color: #333; | ||
} | ||
} | ||
|
||
&.alert-warning { | ||
box-shadow: 0 0 5px fade(@alert-warning-bg, 50%); | ||
} | ||
.alert-query-selector { | ||
min-width: 250px; | ||
width: auto !important; | ||
} | ||
|
||
&.alert-danger { | ||
box-shadow: 0 0 5px fade(@alert-danger-bg, 50%); | ||
// allow form item labels to gracefully break line | ||
.alert-form-item label { | ||
white-space: initial; | ||
padding-right: 8px; | ||
line-height: 21px; | ||
|
||
&::after { | ||
margin-right: 0 !important; | ||
} | ||
} | ||
|
||
.alert-actions { | ||
flex-grow: 1; | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: center; | ||
margin-right: -15px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.