2015-10-10 21:08:02 +03:00
|
|
|
// Default flash
|
|
|
|
.flash {
|
2015-03-21 02:30:22 +03:00
|
|
|
position: relative;
|
2015-10-10 21:08:02 +03:00
|
|
|
padding: 15px;
|
2015-03-21 02:30:22 +03:00
|
|
|
font-size: 14px;
|
2015-10-10 21:08:02 +03:00
|
|
|
line-height: 1.5;
|
2015-03-21 02:30:22 +03:00
|
|
|
color: #246;
|
|
|
|
background-color: #e2eef9;
|
2015-10-10 21:08:02 +03:00
|
|
|
border: 1px solid #bac6d3;
|
|
|
|
border-radius: 3px;
|
2015-03-21 02:30:22 +03:00
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-10-10 21:08:02 +03:00
|
|
|
}
|
2015-03-21 02:30:22 +03:00
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
// Contain the flash messages
|
|
|
|
.flash-messages {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2015-03-21 02:30:22 +03:00
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
// Close button
|
|
|
|
.flash-close {
|
|
|
|
float: right;
|
|
|
|
width: 34px;
|
|
|
|
height: 44px;
|
|
|
|
margin: -11px;
|
|
|
|
color: inherit;
|
|
|
|
line-height: 40px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.6;
|
|
|
|
// Undo `<button>` styles
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
2015-03-21 02:30:22 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
// Action button
|
|
|
|
.flash-action {
|
|
|
|
float: right;
|
|
|
|
margin-top: -4px;
|
|
|
|
margin-left: 20px;
|
2015-03-21 02:30:22 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
//
|
|
|
|
// Variations
|
|
|
|
//
|
2015-03-21 02:30:22 +03:00
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
.flash-warn {
|
|
|
|
color: #4c4a42;
|
|
|
|
background-color: #fff9ea;
|
|
|
|
border-color: #dfd8c2;
|
|
|
|
}
|
2015-03-21 02:30:22 +03:00
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
.flash-error {
|
|
|
|
color: #911;
|
|
|
|
background-color: #fcdede;
|
|
|
|
border-color: #d2b2b2;
|
|
|
|
}
|
2015-03-21 02:30:22 +03:00
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
.flash-full {
|
2015-03-21 02:30:22 +03:00
|
|
|
margin-top: -1px;
|
|
|
|
border-width: 1px 0;
|
2015-10-10 21:08:02 +03:00
|
|
|
border-radius: 0;
|
|
|
|
}
|
2015-03-21 02:30:22 +03:00
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
.flash-with-icon {
|
|
|
|
.container {
|
|
|
|
padding-left: 40px;
|
2015-03-21 02:30:22 +03:00
|
|
|
}
|
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
.flash-icon {
|
|
|
|
float: left;
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-left: -25px;
|
2015-03-21 02:30:22 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-10 21:08:02 +03:00
|
|
|
// Content within
|
|
|
|
//
|
|
|
|
// Reset margins on headings and paragraphs within alerts.
|
|
|
|
.flash-content {
|
2015-03-21 02:30:22 +03:00
|
|
|
margin-top: 0;
|
2015-10-10 21:08:02 +03:00
|
|
|
margin-bottom: 0;
|
|
|
|
line-height: 1.5;
|
2015-03-21 02:30:22 +03:00
|
|
|
}
|