mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
90 lines
1.8 KiB
SCSS
90 lines
1.8 KiB
SCSS
|
@import "mixins";
|
||
|
@import "theme";
|
||
|
|
||
|
/**
|
||
|
* Styling for the Character Overview Panel (top-right)
|
||
|
*/
|
||
|
|
||
|
#character-overview-wrapper {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
#character-overview-container {
|
||
|
display: none;
|
||
|
position: absolute; /* Stay in place */
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
height: auto; /* Full height */
|
||
|
padding: 10px 2px;
|
||
|
border: 2px solid var(--my-highlight-color);
|
||
|
width: auto;
|
||
|
max-width: 280px;
|
||
|
overflow: auto; /* Enable scroll if needed */
|
||
|
background-color: rgba(57, 54, 54, 0.9); /* Fallback color */
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
#character-overview-text {
|
||
|
color: $my-stat-physical;
|
||
|
|
||
|
table {
|
||
|
border-collapse: collapse;
|
||
|
margin: auto;
|
||
|
}
|
||
|
|
||
|
td {
|
||
|
padding: 2px;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.character-stat-text {
|
||
|
color: #fff;
|
||
|
background-color: #444;
|
||
|
}
|
||
|
|
||
|
.character-stat-cell {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
#character-hack-wrapper td,
|
||
|
#character-agi-wrapper td {
|
||
|
border-bottom: 1px #aaa solid;
|
||
|
padding-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
#character-str-wrapper td,
|
||
|
#character-cha-wrapper td {
|
||
|
padding-top: 10px;
|
||
|
}
|
||
|
|
||
|
#character-hp-wrapper { color: $my-stat-hp-color; }
|
||
|
#character-money-wrapper { color: $my-stat-money-color; }
|
||
|
#character-hack-wrapper { color: $my-stat-hack-color; }
|
||
|
#character-cha-wrapper { color: $my-stat-cha-color; }
|
||
|
#character-int-wrapper { color: $my-stat-int-color; }
|
||
|
|
||
|
.character-overview-btn {
|
||
|
@include borderRadius(12px);
|
||
|
@include boxShadow(1px 1px 3px #000);
|
||
|
color: #cecece;
|
||
|
display: inline-block;
|
||
|
font-size: $defaultFontSize * 0.875;
|
||
|
font-weight: bold;
|
||
|
height: 25px;
|
||
|
background-color: #000;
|
||
|
padding: 5px 8px;
|
||
|
}
|
||
|
|
||
|
.character-quick-options {
|
||
|
margin-top: 10px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.character-overview-btn:hover,
|
||
|
.character-overview-btn:focus {
|
||
|
color: #fff;
|
||
|
text-decoration: none;
|
||
|
cursor: pointer;
|
||
|
}
|