2018-11-01 19:18:32 +01:00
|
|
|
@import "mixins";
|
|
|
|
@import "theme";
|
|
|
|
|
|
|
|
/**
|
2019-03-25 04:03:24 +01:00
|
|
|
* Styling for the Character Overview Panel (top-right panel)
|
2018-11-01 19:18:32 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2021-04-30 05:52:56 +02:00
|
|
|
.character-stat-cell {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2018-11-01 19:18:32 +01:00
|
|
|
|
|
|
|
#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; }
|
2021-03-07 22:32:16 +01:00
|
|
|
.character-hp-cell { color: $my-stat-hp-color; }
|
2018-11-01 19:18:32 +01:00
|
|
|
#character-money-wrapper { color: $my-stat-money-color; }
|
2021-03-07 22:32:16 +01:00
|
|
|
.character-money-cell { color: $my-stat-money-color; }
|
2018-11-01 19:18:32 +01:00
|
|
|
#character-hack-wrapper { color: $my-stat-hack-color; }
|
2021-03-07 22:32:16 +01:00
|
|
|
.character-hack-cell { color: $my-stat-hack-color; }
|
2018-11-01 19:18:32 +01:00
|
|
|
#character-cha-wrapper { color: $my-stat-cha-color; }
|
2021-03-07 22:32:16 +01:00
|
|
|
.character-cha-cell { color: $my-stat-cha-color; }
|
2018-11-01 19:18:32 +01:00
|
|
|
#character-int-wrapper { color: $my-stat-int-color; }
|
2021-03-07 22:32:16 +01:00
|
|
|
.character-int-cell { color: $my-stat-int-color; }
|
|
|
|
.character-combat-cell { color: $my-stat-physical; }
|
2018-11-01 19:18:32 +01:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|