2017-03-23 20:37:08 +01:00
|
|
|
/* general alert styling changes */
|
|
|
|
.alert {
|
|
|
|
display: none;
|
|
|
|
|
2019-06-06 06:49:31 +02:00
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-03-23 20:37:08 +01:00
|
|
|
|
2019-06-06 06:49:31 +02:00
|
|
|
&#organization-status {
|
|
|
|
margin: 20px;
|
|
|
|
}
|
2017-03-23 20:37:08 +01:00
|
|
|
|
2019-06-06 06:49:31 +02:00
|
|
|
&.stream_create_info {
|
|
|
|
margin: 10px 10px 0px 10px;
|
|
|
|
}
|
2018-01-16 18:31:15 +01:00
|
|
|
}
|
|
|
|
|
2018-03-14 17:17:55 +01:00
|
|
|
/* alert box component changes */
|
2017-03-23 20:37:08 +01:00
|
|
|
.alert-box {
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 900px;
|
|
|
|
margin-left: calc(50% - 450px);
|
2018-03-14 17:17:55 +01:00
|
|
|
z-index: 220;
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert.show {
|
|
|
|
animation-name: fadeIn;
|
|
|
|
animation-duration: 0.3s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert.fade-out {
|
|
|
|
animation-name: fadeOut;
|
|
|
|
animation-duration: 0.3s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert {
|
|
|
|
font-size: 1rem;
|
2017-05-07 00:04:48 +02:00
|
|
|
border-radius: 4px;
|
2017-11-13 16:34:06 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert .faded {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2017-04-05 23:33:14 +02:00
|
|
|
.alert-box .alert::before {
|
2017-03-23 20:37:08 +01:00
|
|
|
position: absolute;
|
2017-04-05 23:33:14 +02:00
|
|
|
top: 10px;
|
2017-05-07 00:04:48 +02:00
|
|
|
left: 12px;
|
2017-03-23 20:37:08 +01:00
|
|
|
|
|
|
|
font-family: "FontAwesome";
|
2017-04-05 23:33:14 +02:00
|
|
|
font-size: 1.3em;
|
2017-03-23 20:37:08 +01:00
|
|
|
content: "\f071";
|
|
|
|
|
2017-05-07 00:04:48 +02:00
|
|
|
color: hsl(16, 60%, 55%);
|
2017-04-05 23:33:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert.alert-error::before {
|
2017-05-07 00:04:48 +02:00
|
|
|
color: hsl(0, 80%, 40%);
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
|
2017-04-05 23:33:14 +02:00
|
|
|
.alert-box .alert {
|
2017-03-23 20:37:08 +01:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
/* gives room for the error icon. */
|
|
|
|
padding-left: 50px;
|
2017-04-05 23:33:14 +02:00
|
|
|
padding-top: 10px;
|
2017-04-28 21:58:30 +02:00
|
|
|
padding-bottom: 10px;
|
2017-04-05 23:33:14 +02:00
|
|
|
|
|
|
|
text-shadow: none;
|
2017-05-07 00:04:48 +02:00
|
|
|
|
|
|
|
color: hsl(16, 60%, 45%);
|
|
|
|
border: 1px solid hsl(16, 60%, 45%);
|
|
|
|
box-shadow: 0 0 2px hsl(16, 60%, 45%);
|
2017-04-05 23:33:14 +02:00
|
|
|
}
|
2017-03-23 20:37:08 +01:00
|
|
|
|
2017-04-05 23:33:14 +02:00
|
|
|
.alert-box .alert.alert-error {
|
2017-05-07 00:04:48 +02:00
|
|
|
color: hsl(0, 80%, 40%);
|
|
|
|
border: 1px solid hsl(0, 80%, 40%);
|
|
|
|
box-shadow: 0 0 2px hsl(0, 80%, 40%);
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert .exit {
|
|
|
|
position: absolute;
|
2017-04-05 23:33:14 +02:00
|
|
|
top: 10px;
|
2017-03-23 20:37:08 +01:00
|
|
|
right: 0px;
|
|
|
|
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: 300;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-box .alert .exit::after {
|
|
|
|
padding: 10px;
|
2017-08-23 00:58:22 +02:00
|
|
|
content: "\d7";
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
|
2017-09-15 22:33:43 +02:00
|
|
|
.alert-box .browser-alert .error::before {
|
|
|
|
content: "Browser Error: ";
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2017-03-23 20:37:08 +01:00
|
|
|
/* animation section */
|
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-100px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOut {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translateY(0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
display: none;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-100px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @media queries */
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
.alert-box {
|
|
|
|
width: 80%;
|
|
|
|
left: 10%;
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
}
|