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

65 lines
1.2 KiB
SCSS
Raw Normal View History

2021-09-05 02:21:11 +03:00
@import '../config/main';
.boot {
margin: 1em 0em 1em 1em;
font-size: 1.5em;
#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] {
&::after {
content: '[OK]';
float: right;
color: $ok_colour;
}
2021-09-05 02:21:11 +03:00
&::before {
content: ' * ';
color: $ok_colour;
}
}
.bmsg[bmsg_type=warn] {
&::after {
content: '[WARNING]';
float: right;
color: $warn_colour;
}
2021-09-05 02:21:11 +03:00
&::before {
content: ' * ';
color: $warn_colour;
}
}
.bmsg[bmsg_type=error] {
&::after {
content: '[ERROR]';
float: right;
color: $error_colour;
}
2021-09-05 02:21:11 +03:00
&::before {
content: ' * ';
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;
}
}