2019-06-20 11:49:14 +02:00
|
|
|
$alert-red: hsl(16, 60%, 45%);
|
|
|
|
$alert-error-red: hsl(0, 80%, 40%);
|
|
|
|
|
2019-06-20 11:47:08 +02:00
|
|
|
.alert-display {
|
2017-03-23 20:37:08 +01:00
|
|
|
display: none;
|
|
|
|
|
2019-06-06 06:49:31 +02:00
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-06-20 11:47:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-animations {
|
|
|
|
&.show {
|
|
|
|
animation-name: fadeIn;
|
|
|
|
animation-duration: 0.3s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fade-out {
|
|
|
|
animation-name: fadeOut;
|
|
|
|
animation-duration: 0.3s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.faded {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* general alert styling changes */
|
|
|
|
.alert {
|
|
|
|
@extend .alert-display;
|
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 {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 10px 10px 0 10px;
|
2019-06-06 06:49:31 +02:00
|
|
|
}
|
2020-03-28 19:33:46 +01:00
|
|
|
|
|
|
|
.bankruptcy_unread_count {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
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;
|
2020-08-06 02:42:07 +02:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2017-03-23 20:37:08 +01:00
|
|
|
width: 900px;
|
|
|
|
margin-left: calc(50% - 450px);
|
2018-03-14 17:17:55 +01:00
|
|
|
z-index: 220;
|
2019-06-20 11:59:55 +02:00
|
|
|
max-height: 100%;
|
|
|
|
overflow-y: auto;
|
|
|
|
overscroll-behavior: contain;
|
|
|
|
|
|
|
|
.stacktrace {
|
2020-08-06 02:34:58 +02:00
|
|
|
@extend .alert-display, .alert-animations;
|
2019-06-20 11:59:55 +02:00
|
|
|
|
|
|
|
font-size: 1rem;
|
|
|
|
color: hsl(0, 80%, 40%);
|
|
|
|
|
|
|
|
margin-top: 5px;
|
|
|
|
padding: 1rem 0;
|
|
|
|
|
|
|
|
background-color: hsl(0, 100%, 98%);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid hsl(0, 80%, 40%);
|
|
|
|
box-shadow: 0 0 2px hsl(0, 80%, 40%);
|
|
|
|
|
|
|
|
.stacktrace-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.message {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warning-symbol,
|
|
|
|
.exit {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.exit::after {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 2.3rem;
|
|
|
|
content: "\d7";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.stacktrace-content {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
|
|
|
.stackframe {
|
|
|
|
padding-left: calc(3.3rem - 14px);
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.expand {
|
|
|
|
cursor: pointer;
|
|
|
|
color: hsl(0, 32%, 83%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: hsl(0, 0%, 20%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.subtle {
|
|
|
|
color: hsl(0, 7%, 45%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-context {
|
|
|
|
color: hsl(0, 7%, 15%);
|
|
|
|
background-color: hsl(0, 7%, 98%);
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: inset 0 11px 10px -10px hsl(0, 7%, 70%),
|
|
|
|
inset 0 -11px 10px -10px hsl(0, 7%, 70%);
|
2019-06-20 11:59:55 +02:00
|
|
|
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.code-context-content {
|
|
|
|
padding: 1rem 0;
|
|
|
|
white-space: pre;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-number {
|
|
|
|
width: 3rem;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: right;
|
|
|
|
color: hsl(0, 7%, 35%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.focus-line {
|
|
|
|
background-color: hsl(0, 7%, 90%);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-23 20:37:08 +01:00
|
|
|
|
2019-06-06 07:06:45 +02:00
|
|
|
.alert {
|
2019-06-20 11:47:08 +02:00
|
|
|
@extend .alert-animations;
|
|
|
|
|
2019-06-06 07:06:45 +02:00
|
|
|
font-size: 1rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
2019-06-06 07:04:45 +02:00
|
|
|
|
2019-06-06 07:06:45 +02:00
|
|
|
position: relative;
|
2019-06-06 07:04:45 +02:00
|
|
|
|
2020-12-28 23:33:26 +01:00
|
|
|
/* gives room for the error icon and the exit button. */
|
|
|
|
padding: 10px 50px;
|
2019-06-06 07:04:45 +02:00
|
|
|
|
2019-06-06 07:06:45 +02:00
|
|
|
text-shadow: none;
|
2019-06-06 07:04:45 +02:00
|
|
|
|
2019-06-20 11:49:14 +02:00
|
|
|
color: $alert-red;
|
|
|
|
border: 1px solid $alert-red;
|
|
|
|
box-shadow: 0 0 2px $alert-red;
|
2017-03-23 20:37:08 +01:00
|
|
|
|
2019-06-06 07:12:00 +02:00
|
|
|
&::before {
|
2020-12-28 23:33:26 +01:00
|
|
|
float: left;
|
|
|
|
margin-left: -38px;
|
2019-06-06 07:12:00 +02:00
|
|
|
|
2020-08-05 00:43:16 +02:00
|
|
|
font-family: FontAwesome;
|
2019-06-06 07:12:00 +02:00
|
|
|
font-size: 1.3em;
|
2020-12-28 23:33:26 +01:00
|
|
|
line-height: 1;
|
|
|
|
overflow: hidden;
|
2019-06-06 07:12:00 +02:00
|
|
|
content: "\f071";
|
|
|
|
|
|
|
|
color: hsl(16, 60%, 55%);
|
|
|
|
}
|
|
|
|
|
2020-12-28 23:33:26 +01:00
|
|
|
&::after {
|
|
|
|
clear: both;
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
2019-06-06 07:12:00 +02:00
|
|
|
&.alert-error {
|
2019-06-20 11:49:14 +02:00
|
|
|
color: $alert-error-red;
|
|
|
|
border: 1px solid $alert-error-red;
|
|
|
|
box-shadow: 0 0 2px $alert-error-red;
|
2019-06-06 07:12:00 +02:00
|
|
|
|
|
|
|
&::before {
|
2019-06-20 11:49:14 +02:00
|
|
|
color: $alert-error-red;
|
2019-06-06 07:12:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.exit {
|
2020-12-28 23:33:26 +01:00
|
|
|
float: right;
|
|
|
|
margin: -10px -50px -10px 0;
|
|
|
|
padding: 10px;
|
2019-06-06 07:12:00 +02:00
|
|
|
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: 300;
|
2020-12-28 23:33:26 +01:00
|
|
|
line-height: 1ex;
|
|
|
|
overflow: hidden;
|
2019-06-06 07:12:00 +02:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "\d7";
|
|
|
|
}
|
|
|
|
}
|
2019-06-06 07:06:45 +02:00
|
|
|
}
|
2017-09-15 22:33:43 +02:00
|
|
|
}
|
|
|
|
|
2017-03-23 20:37:08 +01:00
|
|
|
/* animation section */
|
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-100px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
2020-08-06 02:42:07 +02:00
|
|
|
transform: translateY(0);
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOut {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
2020-08-06 02:42:07 +02:00
|
|
|
transform: translateY(0);
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
display: none;
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-100px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* @media queries */
|
2021-01-25 09:18:09 +01:00
|
|
|
@media (max-width: $lg_max) {
|
2017-03-23 20:37:08 +01:00
|
|
|
.alert-box {
|
|
|
|
width: 80%;
|
|
|
|
left: 10%;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2017-03-23 20:37:08 +01:00
|
|
|
}
|
|
|
|
}
|