Files
scratch-gui/src/components/alerts/alert.css
T
Evelyn Eastmond 8a9d45108d Merge pull request #3851 from evhan55/localization/alerts
Alerts CSS width changes and hardware alerts localization
2018-11-25 17:52:25 -08:00

74 lines
1.4 KiB
CSS

@import "../../css/units.css";
@import "../../css/colors.css";
@import "../../css/z-index.css";
.alert {
width: 100%;
display: flex;
flex-direction: row;
overflow: hidden;
align-items: left;
border-radius: $space;
padding: $space;
margin-bottom: 7px;
min-height: 1.5rem;
}
.alert.warn {
background: #FFF0DF;
border: 1px solid #FF8C1A;
box-shadow: 0px 0px 0px 2px rgba(255, 140, 26, 0.25);
}
.alert.success {
background: $extensions-light;
border: 1px solid $extensions-tertiary;
box-shadow: 0px 0px 0px 2px $extensions-light;
}
.alert-icon {
margin-left: .25rem;
margin-right: .25rem;
vertical-align: middle;
}
.alert-message {
color: #555;
font-weight: bold;
font-size: .75rem;
line-height: 14px;
width: 100%;
display: flex;
align-items: center;
padding-left: .5rem;
padding-right: .5rem;
}
.alert-close-button {
outline-style:none;
}
.alert-close-button-container {
outline-style: none;
width: 30px;
height: 30px;
align-self: center;
}
.connection-button {
min-height: 2rem;
padding: 0.55rem 0.9rem;
border-radius: 0.35rem;
background: #FF8C1A;
color: white;
font-weight: 700;
font-size: 0.77rem;
border: none;
cursor: pointer;
display: flex;
align-items: center;
align-self: center;
margin-right: 13px;
outline-style:none;
}