rimworld typa stuff
This commit is contained in:
+328
-186
@@ -91,74 +91,12 @@ body {
|
||||
background: #b91c1c;
|
||||
}
|
||||
|
||||
.combat-panel {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(15, 15, 26, 0.75);
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 16px 60px 24px;
|
||||
}
|
||||
|
||||
.combat-over-panel {
|
||||
z-index: 101;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.combat-over-title {
|
||||
color: #fbbf24;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.combat-over-btns {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.combat-over-btn {
|
||||
background: #2e303a;
|
||||
.game-time-display {
|
||||
color: #e0e0e0;
|
||||
border: 1px solid #5F71C5;
|
||||
border-radius: 1px;
|
||||
padding: 10px 24px;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.combat-over-btn:hover {
|
||||
background: #5F71C5;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.combat-over-btn.primary {
|
||||
background: #5F71C5;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.combat-over-btn.primary:hover {
|
||||
background: #4a5cb0;
|
||||
}
|
||||
|
||||
.combat-top-bar {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.combat-top-left {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.combat-timer {
|
||||
color: #e0e0e0;
|
||||
font-size: 20px;
|
||||
@@ -204,12 +142,13 @@ body {
|
||||
|
||||
|
||||
.combat-layout {
|
||||
position: absolute;
|
||||
top: 72px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
position: relative;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.combat-left {
|
||||
@@ -1163,34 +1102,6 @@ body {
|
||||
background: #5F71C5;
|
||||
}
|
||||
|
||||
.zoom-controls {
|
||||
position: absolute;
|
||||
bottom: 40px;
|
||||
right: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.zoom-controls button {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background: #1e1e30;
|
||||
border: 1px solid #5F71C5;
|
||||
border-radius: 1px;
|
||||
color: #5F71C5;
|
||||
font-size: 22px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.zoom-controls button:hover {
|
||||
background: #2a2a44;
|
||||
}
|
||||
|
||||
.pass-time-panel {
|
||||
position: absolute;
|
||||
@@ -1441,7 +1352,7 @@ body {
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 16px;
|
||||
z-index: 10;
|
||||
z-index: 200;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -1480,31 +1391,12 @@ body {
|
||||
}
|
||||
|
||||
.top-bar-right {
|
||||
pointer-events: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.time-display {
|
||||
color: #9ca3af;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
background: #1e1e30;
|
||||
border: 1px solid #2e303a;
|
||||
border-radius: 1px;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
.weather-display {
|
||||
color: #5F71C5;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
background: #1e1e30;
|
||||
border: 1px solid #5F71C5;
|
||||
border-radius: 1px;
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
.inv-btn {
|
||||
background: #1e1e30;
|
||||
color: #5F71C5;
|
||||
@@ -1520,51 +1412,36 @@ body {
|
||||
background: #2a2a44;
|
||||
}
|
||||
|
||||
.shop-section {
|
||||
border-top: 1px solid #2e303a;
|
||||
margin-top: 12px;
|
||||
padding-top: 12px;
|
||||
.context-menu {
|
||||
position: absolute;
|
||||
z-index: 300;
|
||||
background: #1a1a2e;
|
||||
border: 1px solid #2d2d44;
|
||||
border-radius: 4px;
|
||||
padding: 4px 0;
|
||||
min-width: 120px;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
.shop-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 4px 0;
|
||||
.context-menu-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background: none;
|
||||
border: none;
|
||||
color: #e0e0e0;
|
||||
padding: 8px 16px;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.shop-item-name {
|
||||
flex: 1;
|
||||
text-align: left;
|
||||
color: #e0e0e0;
|
||||
.context-menu-btn:hover:not(.disabled) {
|
||||
background: #2d2d44;
|
||||
}
|
||||
|
||||
.shop-item-price {
|
||||
color: #fbbf24;
|
||||
width: 40px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.buy-btn {
|
||||
background: #22c55e;
|
||||
color: #000;
|
||||
border: none;
|
||||
border-radius: 1px;
|
||||
padding: 4px 12px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.buy-btn:disabled {
|
||||
background: #4b5563;
|
||||
color: #9ca3af;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.buy-btn:hover:not(:disabled) {
|
||||
background: #16a34a;
|
||||
.context-menu-btn.disabled {
|
||||
color: #5a5a6a;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.inventory-overlay {
|
||||
@@ -2054,8 +1931,8 @@ body {
|
||||
background: rgba(15, 15, 26, 0.75);
|
||||
border: 2px solid #5F71C5;
|
||||
border-radius: 3px;
|
||||
width: 900px;
|
||||
height: 640px;
|
||||
width: 1100px;
|
||||
height: 780px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
@@ -2227,13 +2104,6 @@ body {
|
||||
border-bottom: 1px solid #1f2028;
|
||||
}
|
||||
|
||||
.location-surrounding-shop {
|
||||
color: #e0e0e0;
|
||||
font-size: 13px;
|
||||
padding: 10px 16px;
|
||||
border-bottom: 1px solid #1f2028;
|
||||
}
|
||||
|
||||
.location-surrounding-corpse {
|
||||
color: #6b7280;
|
||||
font-size: 13px;
|
||||
@@ -2247,6 +2117,11 @@ body {
|
||||
gap: 12px;
|
||||
padding: 10px 16px;
|
||||
border-bottom: 1px solid #1f2028;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.location-npc-row:hover {
|
||||
background: rgba(95, 113, 197, 0.15);
|
||||
}
|
||||
|
||||
.location-npc-name {
|
||||
@@ -2256,37 +2131,30 @@ body {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.location-action-btn {
|
||||
background: #5F71C5;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 1px;
|
||||
padding: 8px 20px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
.location-npc-arrow {
|
||||
color: #5F71C5;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.location-action-btn:hover {
|
||||
background: #5F71C5;
|
||||
.location-back {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #5F71C5;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.action-modal {
|
||||
background: rgba(15, 15, 26, 0.75);
|
||||
border: 2px solid #5F71C5;
|
||||
border-radius: 3px;
|
||||
width: 600px;
|
||||
height: 500px;
|
||||
max-width: 90vw;
|
||||
max-height: 80vh;
|
||||
position: relative;
|
||||
.location-back:hover {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.action-body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.action-fight-btn {
|
||||
@@ -2362,3 +2230,277 @@ body {
|
||||
.arm-choice-cancel:hover {
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.menu-screen {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #0f0f1a;
|
||||
background-image: radial-gradient(ellipse at 50% 30%, #1a1a3a 0%, #0f0f1a 70%);
|
||||
}
|
||||
|
||||
.menu-content {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.menu-title {
|
||||
font-size: 64px;
|
||||
font-weight: bold;
|
||||
color: #fbbf24;
|
||||
letter-spacing: 8px;
|
||||
text-transform: uppercase;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu-subtitle {
|
||||
font-size: 18px;
|
||||
color: #6b7280;
|
||||
margin: 0 0 24px;
|
||||
}
|
||||
|
||||
.menu-btn {
|
||||
background: #5F71C5;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
padding: 14px 48px;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.menu-btn:hover {
|
||||
background: #4a5cb0;
|
||||
}
|
||||
|
||||
.char-create-panel {
|
||||
background: #1a1a2e;
|
||||
border: 1px solid #2d2d44;
|
||||
border-radius: 8px;
|
||||
padding: 32px 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
min-width: 400px;
|
||||
}
|
||||
|
||||
.char-create-title {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
color: #fbbf24;
|
||||
text-align: center;
|
||||
margin: 0 0 8px;
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.char-create-field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.char-create-field label {
|
||||
color: #9ca3af;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.char-create-input {
|
||||
background: #0f0f1a;
|
||||
border: 1px solid #2d2d44;
|
||||
border-radius: 3px;
|
||||
padding: 10px 14px;
|
||||
color: #e0e0e0;
|
||||
font-size: 16px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.char-create-input:focus {
|
||||
border-color: #5F71C5;
|
||||
}
|
||||
|
||||
.char-create-options {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.char-create-option {
|
||||
background: #0f0f1a;
|
||||
border: 1px solid #2d2d44;
|
||||
border-radius: 3px;
|
||||
padding: 8px 14px;
|
||||
color: #9ca3af;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
|
||||
.char-create-option:hover {
|
||||
border-color: #5F71C5;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
|
||||
.char-create-option.selected {
|
||||
border-color: #5F71C5;
|
||||
background: #2a2a44;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.char-create-color {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
padding: 2px;
|
||||
border: 1px solid #2d2d44;
|
||||
border-radius: 4px;
|
||||
background: #0f0f1a;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* ═══════════════════════════════════════ TRADE WINDOW */
|
||||
.trade-overlay {
|
||||
position: fixed;
|
||||
top: 0; right: 0; bottom: 0; left: 0;
|
||||
background: rgba(0,0,0,0.6);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 10000;
|
||||
}
|
||||
.trade-panel {
|
||||
background: #1e1e2e;
|
||||
border: 1px solid #4a4a6a;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
min-width: 600px;
|
||||
max-width: 700px;
|
||||
max-height: 80vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.trade-close {
|
||||
position: absolute;
|
||||
top: 8px; right: 10px;
|
||||
background: none;
|
||||
border: none;
|
||||
color: #9ca3af;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.trade-close:hover { color: #fff; }
|
||||
.trade-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
color: #e0e0e0;
|
||||
margin-bottom: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.trade-layout {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
.trade-col {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.trade-col-header {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #9ca3af;
|
||||
margin-bottom: 8px;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid #2d2d44;
|
||||
}
|
||||
.trade-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
max-height: 40vh;
|
||||
}
|
||||
.trade-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: #2a2a3e;
|
||||
border-radius: 4px;
|
||||
padding: 6px 10px;
|
||||
gap: 8px;
|
||||
}
|
||||
.trade-item-name {
|
||||
font-size: 13px;
|
||||
color: #e0e0e0;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.trade-qty-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.trade-qty-btn {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 1px solid #4a4a6a;
|
||||
border-radius: 3px;
|
||||
background: #1e1e2e;
|
||||
color: #e0e0e0;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.trade-qty-btn:hover {
|
||||
background: #3a3a5e;
|
||||
}
|
||||
.trade-qty {
|
||||
font-size: 13px;
|
||||
color: #9ca3af;
|
||||
min-width: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.trade-bar {
|
||||
margin-top: 12px;
|
||||
padding: 10px 12px;
|
||||
background: #2a2a3e;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.trade-give-val { color: #f59e0b; font-weight: bold; }
|
||||
.trade-take-val { color: #10b981; font-weight: bold; }
|
||||
.trade-propose-btn {
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: #374151;
|
||||
border: 1px solid #5F71C5;
|
||||
border-radius: 4px;
|
||||
color: #e0e0e0;
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.trade-propose-btn:hover {
|
||||
background: #4b5563;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user