/**Typeo CSS Start**/
* {
box-sizing: border-box;
}
body {
margin: 0px;
background-color: #ffffff;
}
.alert-colors-panel {
max-width: 900px;
margin: 50px auto;
width: 100%;
border: #ccc 1px solid;
padding: 40px;
font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.alert-colors-panel h2 {
text-align: center;
}
/**Typeo CSS End**/
/**Option 1 Start**/
.alert {
font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 16px;
padding: 0.8rem 1rem 0.9rem 1rem;
border-radius: 4px;
background-color: #ccc;
color: #fff;
margin: 5px 0px;
display: inline-block;
width: 100%;
}
.alert-info {
background-color: #3b82f6;
color: #fff;
}
.alert-error {
background-color: #ef4444;
color: #fff;
}
.alert-success {
background-color: #22c55e;
color: #fff;
}
.alert-warning {
background-color: #f97316;
color: #fff;
}
/**Option 1 End**/
/**Option 2 Start**/
.box-alert {
font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 16px;
display: flex;
flex-flow: row wrap;
width: 100%;
padding: 20px;
border-radius: 4px;
border-bottom: transparent 2px solid;
margin-bottom: 10px;
}
.box-alert .alert-icon {
width: 40px;
height: 40px;
padding: 6px;
background-color: #fff;
border-radius: 100%;
margin-right: 15px;
border: transparent 2px solid;
}
.alert-cont {
width: calc(100% - 55px);
}
.alert-cont strong {
display: block;
}
.box-alert-info {
background-color: #bee3f8;
color: #4299e1;
border-color: #4299e1;
}
.box-alert-info .alert-icon {
border-color: #4299e1;
}
.box-alert-info strong {
color: #2c5282;
}
.box-alert-error {
background-color: #fed7d7;
color: #e53e3e;
border-color: #e53e3e;
}
.box-alert-error .alert-icon {
border-color: #e53e3e;
}
.box-alert-error strong {
color: #9b2c2c;
}
.box-alert-success {
background-color: #c6f6d5;
color: #38a169;
border-color: #48bb78;
}
.box-alert-success .alert-icon {
border-color: #38a169;
}
.box-alert-success strong {
color: #276749;
}
.box-alert-warning {
background-color: #fefcbf;
color: #d69e2e;
border-color: #faf089;
}
.box-alert-warning .alert-icon {
border-color: #d69e2e;
}
.box-alert-warning strong {
color: #975a16;
}
/**Option 2 End**/
/**Option 3 Start**/
.alert-text {
padding: 5px 0;
display: inline-block;
width: 100%;
font-size: 16px;
}
.alert-text-info {
color: #4299e1;
}
.alert-text-error {
color: #e53e3e;
}
.alert-text-success {
color: #38a169;
}
.alert-text-warning {
color: #d69e2e;
}
/**Option 3 End**/