bitburner-src/css/missions.scss

120 lines
2.0 KiB
SCSS
Raw Normal View History

@import "mixins";
@import "theme";
/* css for Missions */
/* Hacking missions */
#mission-container {
2021-09-05 01:09:30 +02:00
overflow: hidden;
}
.hack-mission-grid {
2021-09-05 01:09:30 +02:00
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
grid-gap: 2.5%;
height: 90%;
position: absolute;
width: 100%;
overflow-y: auto;
padding-right: 10px;
&::-webkit-scrollbar {
display: none;
}
}
.hack-mission-node {
2021-09-05 01:09:30 +02:00
z-index: 5;
background-color: #808080;
align-self: center;
justify-self: center;
display: inline-block;
p {
@include userSelect(none);
margin-top: 8px;
color: #fff;
font-size: $defaultFontSize * 0.75;
text-align: center;
}
}
.hack-mission-player-node {
2021-09-05 01:09:30 +02:00
color: #fff;
background-color: #00f;
}
.hack-mission-player-node-active {
2021-09-05 01:09:30 +02:00
border: 2px solid #fff;
background-color: #66f;
}
.hack-mission-enemy-node {
2021-09-05 01:09:30 +02:00
color: #fff;
background-color: #f00;
}
.hack-mission-cpu-node {
2021-09-05 01:09:30 +02:00
@include borderRadius(50%);
width: 100%;
height: 100%;
}
.hack-mission-firewall-node {
2021-09-05 01:09:30 +02:00
width: 90%;
height: 100%;
}
.hack-mission-database-node {
2021-09-05 01:09:30 +02:00
@include transform(skew(20deg));
2018-07-17 16:17:30 +02:00
2021-09-05 01:09:30 +02:00
width: 100%;
height: 90%;
2021-09-05 01:09:30 +02:00
p {
@include transform(skew(-20deg));
@include userSelect(none);
2018-07-17 16:17:30 +02:00
2021-09-05 01:09:30 +02:00
color: #fff;
font-size: $defaultFontSize * 0.75;
margin-top: 8px;
text-align: center;
}
}
.hack-mission-transfer-node {
2021-09-05 01:09:30 +02:00
@include transform(skew(-20deg));
2018-07-17 16:17:30 +02:00
2021-09-05 01:09:30 +02:00
width: 100%;
height: 90%;
2021-09-05 01:09:30 +02:00
p {
@include transform(skew(20deg));
@include userSelect(none);
2018-07-17 16:17:30 +02:00
2021-09-05 01:09:30 +02:00
color: #fff;
font-size: $defaultFontSize * 0.75;
margin-top: 8px;
text-align: center;
}
}
.hack-mission-spam-node,
.hack-mission-shield-node {
2021-09-05 01:09:30 +02:00
height: 100%;
width: 100%;
}
/* Non-map related DOM elements */
/* Element at the top of the Hacking Mission page (intro page, start button, guide buttons, etc.) */
.hack-mission-header-element {
2021-09-05 01:09:30 +02:00
margin: 6px;
}
.hack-mission-action-buttons-container {
2021-09-05 01:09:30 +02:00
border: 2px solid #fff;
}