ari.lt/content/styles/boot/main.scss

76 lines
1.4 KiB
SCSS
Raw Normal View History

@import "../config/_main.scss";
2021-09-05 02:21:11 +03:00
.boot {
margin: 1em 0em 1em 1em;
font-size: 1.5em;
-ms-overflow-style: none;
scrollbar-width: none;
2021-09-05 02:21:11 +03:00
& * {
-ms-overflow-style: none;
scrollbar-width: none;
}
2021-09-05 02:21:11 +03:00
#bootver {
color: $boot_header_colour;
margin-left: 1.12em; /* makes it that it aligns with 'boot' messages */
}
2021-09-05 02:21:11 +03:00
#bootver::before {
content: "WebRC version " $boot_ver;
2021-09-05 02:21:11 +03:00
}
.bmsg[bmsg_type="ok"] {
2021-09-05 02:21:11 +03:00
&::after {
content: "[OK]";
2021-09-05 02:21:11 +03:00
float: right;
color: $ok_colour;
}
2021-09-05 02:21:11 +03:00
&::before {
content: " * ";
2021-09-05 02:21:11 +03:00
color: $ok_colour;
}
}
.bmsg[bmsg_type="warn"] {
2021-09-05 02:21:11 +03:00
&::after {
content: "[WARNING]";
2021-09-05 02:21:11 +03:00
float: right;
color: $warn_colour;
}
2021-09-05 02:21:11 +03:00
&::before {
content: " * ";
2021-09-05 02:21:11 +03:00
color: $warn_colour;
}
}
.bmsg[bmsg_type="error"] {
2021-09-05 02:21:11 +03:00
&::after {
content: "[ERROR]";
2021-09-05 02:21:11 +03:00
float: right;
color: $error_colour;
}
2021-09-05 02:21:11 +03:00
&::before {
content: " * ";
2021-09-05 02:21:11 +03:00
color: $error_colour;
}
}
2021-09-27 21:08:53 +03:00
.bmsg::first-letter {
text-transform: uppercase;
}
2021-09-05 02:21:11 +03:00
.bmsg {
word-wrap: break-word;
word-break: break-all;
}
}
.boot::-webkit-scrollbar,
.boot *::-webkit-scrollbar {
display: none;
}