2017-09-21 23:27:31 +02:00
|
|
|
/* css for Missions */
|
|
|
|
|
|
|
|
/* Hacking missions */
|
2017-09-29 17:02:33 +02:00
|
|
|
#mission-container {
|
|
|
|
overflow:hidden;
|
|
|
|
}
|
2017-09-21 23:27:31 +02:00
|
|
|
|
|
|
|
.hack-mission-grid {
|
|
|
|
display: grid;
|
2017-09-29 17:02:33 +02:00
|
|
|
/*grid-template-columns: 11% 11% 11% 11% 11% 11% 11% 11%;*/
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
|
|
|
|
/*grid-template-rows: 10% 10% 10% 10% 10% 10% 10% 10%;*/
|
|
|
|
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%;
|
2017-09-29 17:02:33 +02:00
|
|
|
position:absolute;
|
2017-09-21 23:27:31 +02:00
|
|
|
width: 100%;
|
2017-09-25 14:50:19 +02:00
|
|
|
overflow-y:auto;
|
2017-09-29 17:02:33 +02:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-grid::-webkit-scrollbar {
|
|
|
|
display:none;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-node {
|
|
|
|
z-index:5;
|
|
|
|
background-color:gray;
|
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
2017-09-25 14:50:19 +02:00
|
|
|
display:inline-block;
|
2017-10-13 17:19:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-node p {
|
|
|
|
margin-top:8px;
|
2017-09-21 23:27:31 +02:00
|
|
|
color:white;
|
|
|
|
font-size:12px;
|
|
|
|
text-align:center;
|
2017-10-10 06:56:48 +02:00
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-player-node {
|
2017-09-25 14:50:19 +02:00
|
|
|
color:white;
|
2017-09-21 23:27:31 +02:00
|
|
|
background-color:blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-player-node-active {
|
|
|
|
border: 2px solid white;
|
|
|
|
background-color: #6666ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-enemy-node {
|
2017-10-12 22:10:34 +02:00
|
|
|
color:white;
|
2017-09-21 23:27:31 +02:00
|
|
|
background-color:red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-cpu-node {
|
|
|
|
width:100%;
|
|
|
|
height:100%;
|
|
|
|
-moz-border-radius: 50%;
|
|
|
|
-webkit-border-radius: 50%;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-firewall-node {
|
2017-09-25 14:50:19 +02:00
|
|
|
width:90%;
|
|
|
|
height:100%;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-database-node {
|
|
|
|
width: 100%;
|
2017-09-25 14:50:19 +02:00
|
|
|
height: 90%;
|
2017-09-21 23:27:31 +02:00
|
|
|
-webkit-transform: skew(20deg);
|
|
|
|
-moz-transform: skew(20deg);
|
|
|
|
-o-transform: skew(20deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-database-node p {
|
|
|
|
-webkit-transform: skew(-20deg);
|
|
|
|
-moz-transform: skew(-20deg);
|
|
|
|
-o-transform: skew(-20deg);
|
2017-10-12 22:10:34 +02:00
|
|
|
color:white;
|
|
|
|
font-size:12px;
|
|
|
|
margin-top: 8px;
|
|
|
|
text-align:center;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-transfer-node {
|
|
|
|
width: 100%;
|
|
|
|
height: 90%;
|
|
|
|
-webkit-transform: skew(-20deg);
|
|
|
|
-moz-transform: skew(-20deg);
|
|
|
|
-o-transform: skew(-20deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-transfer-node p {
|
|
|
|
-webkit-transform: skew(20deg);
|
|
|
|
-moz-transform: skew(20deg);
|
|
|
|
-o-transform: skew(20deg);
|
|
|
|
color:white;
|
|
|
|
font-size:12px;
|
|
|
|
margin-top: 8px;
|
|
|
|
text-align:center;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2017-09-21 23:27:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-spam-node,
|
|
|
|
.hack-mission-shield-node {
|
|
|
|
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 {
|
|
|
|
margin: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hack-mission-action-buttons-container {
|
|
|
|
border: 2px solid white;
|
|
|
|
}
|