2018-07-16 16:38:14 +02:00
|
|
|
@import "mixins";
|
2018-07-17 05:59:25 +02:00
|
|
|
@import "theme";
|
|
|
|
|
2017-09-21 23:27:31 +02:00
|
|
|
/* css for Missions */
|
|
|
|
|
|
|
|
/* Hacking missions */
|
2017-09-29 17:02:33 +02:00
|
|
|
#mission-container {
|
2018-07-09 22:42:54 +02:00
|
|
|
overflow: hidden;
|
2017-09-29 17:02:33 +02:00
|
|
|
}
|
2017-09-21 23:27:31 +02:00
|
|
|
|
|
|
|
.hack-mission-grid {
|
|
|
|
display: grid;
|
2017-09-29 17:02:33 +02:00
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
|
|
grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
2017-09-25 14:50:19 +02:00
|
|
|
grid-gap: 2.5%;
|
2017-10-02 04:35:22 +02:00
|
|
|
height: 90%;
|
2018-07-09 22:42:54 +02:00
|
|
|
position: absolute;
|
2017-09-21 23:27:31 +02:00
|
|
|
width: 100%;
|
2018-07-09 22:42:54 +02:00
|
|
|
overflow-y: auto;
|
2017-09-29 17:02:33 +02:00
|
|
|
padding-right: 10px;
|
|
|
|
|
2018-07-17 16:17:30 +02:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-node {
|
2018-07-09 22:42:54 +02:00
|
|
|
z-index: 5;
|
|
|
|
background-color: #808080;
|
2017-09-21 23:27:31 +02:00
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
2018-07-09 22:42:54 +02:00
|
|
|
display: inline-block;
|
2017-10-13 17:19:42 +02:00
|
|
|
|
2018-07-17 16:17:30 +02:00
|
|
|
p {
|
|
|
|
@include userSelect(none);
|
|
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: $defaultFontSize * 0.75;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-player-node {
|
2018-07-09 22:42:54 +02:00
|
|
|
color: #fff;
|
|
|
|
background-color: #00f;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-player-node-active {
|
2018-07-09 22:11:18 +02:00
|
|
|
border: 2px solid #fff;
|
|
|
|
background-color: #66f;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-enemy-node {
|
2018-07-09 22:42:54 +02:00
|
|
|
color: #fff;
|
|
|
|
background-color: #f00;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-cpu-node {
|
2018-07-16 16:38:14 +02:00
|
|
|
@include borderRadius(50%);
|
2018-07-09 22:42:54 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-firewall-node {
|
2018-07-09 22:42:54 +02:00
|
|
|
width: 90%;
|
|
|
|
height: 100%;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-database-node {
|
2018-07-17 16:17:30 +02:00
|
|
|
@include transform(skew(20deg));
|
|
|
|
|
2017-09-21 23:27:31 +02:00
|
|
|
width: 100%;
|
2018-07-10 05:10:31 +02:00
|
|
|
height: 90%;
|
2017-09-21 23:27:31 +02:00
|
|
|
|
2018-07-17 16:17:30 +02:00
|
|
|
p {
|
|
|
|
@include transform(skew(-20deg));
|
|
|
|
@include userSelect(none);
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
font-size: $defaultFontSize * 0.75;
|
|
|
|
margin-top: 8px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-10-12 22:10:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-transfer-node {
|
2018-07-17 16:17:30 +02:00
|
|
|
@include transform(skew(-20deg));
|
|
|
|
|
2017-10-12 22:10:34 +02:00
|
|
|
width: 100%;
|
2018-07-10 05:10:31 +02:00
|
|
|
height: 90%;
|
2017-10-12 22:10:34 +02:00
|
|
|
|
2018-07-17 16:17:30 +02:00
|
|
|
p {
|
|
|
|
@include transform(skew(20deg));
|
|
|
|
@include userSelect(none);
|
|
|
|
|
|
|
|
color: #fff;
|
|
|
|
font-size: $defaultFontSize * 0.75;
|
|
|
|
margin-top: 8px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-spam-node,
|
|
|
|
.hack-mission-shield-node {
|
2018-07-09 22:42:54 +02:00
|
|
|
height: 100%;
|
2017-09-21 23:27:31 +02:00
|
|
|
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 {
|
|
|
|
margin: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-action-buttons-container {
|
2018-07-09 22:11:18 +02:00
|
|
|
border: 2px solid #fff;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|