2017-03-23 20:37:08 +01:00
|
|
|
|
/* general alert styling changes */
|
|
|
|
|
.alert {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.alert.show {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-07 21:39:58 +02:00
|
|
|
|
.alert#organization-status {
|
2017-03-23 20:37:08 +01:00
|
|
|
|
margin: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* alert box compoent changes */
|
|
|
|
|
.alert-box {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
width: 900px;
|
|
|
|
|
margin-left: calc(50% - 450px);
|
|
|
|
|
z-index: 102;
|
|
|
|
|
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
|
|
|
|
|
border-radius: 0px;
|
|
|
|
|
border: none;
|
2017-04-05 23:33:14 +02:00
|
|
|
|
|
|
|
|
|
background-color: #f9f0c1;
|
|
|
|
|
|
|
|
|
|
box-shadow: 0px 0px 30px rgba(214, 192, 115, 0.35);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.alert-box .alert-error {
|
|
|
|
|
box-shadow: 0px 0px 30px rgba(220, 78, 78, 0.3);
|
2017-03-23 20:37:08 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.alert-box .alert a {
|
|
|
|
|
color: #90deff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.alert-box .alert .faded {
|
|
|
|
|
opacity: 0.7;
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-04 01:18:59 +02:00
|
|
|
|
.alert-box .alert .restart_get_events_button {
|
2017-03-23 20:37:08 +01:00
|
|
|
|
color: #89dcff;
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-04 01:18:59 +02:00
|
|
|
|
.alert-box .alert .restart_get_events_button:hover {
|
2017-03-23 20:37:08 +01:00
|
|
|
|
color: #89dcff;
|
|
|
|
|
}
|
|
|
|
|
|
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-03-23 20:37:08 +01:00
|
|
|
|
left: 10px;
|
|
|
|
|
|
|
|
|
|
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-04-05 23:33:14 +02:00
|
|
|
|
color: #c09853;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.alert-box .alert.alert-error::before {
|
2017-03-23 20:37:08 +01:00
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
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-03-23 20:37:08 +01:00
|
|
|
|
|
2017-04-05 23:33:14 +02:00
|
|
|
|
.alert-box .alert.alert-error {
|
2017-03-23 20:37:08 +01:00
|
|
|
|
background-color: #bd6767;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
content: "×";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
|
}
|
|
|
|
|
}
|