| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- /* General Container Styling (similar to character sheet) */
- .inventory-sheet-container {
- flex-grow: 1;
- padding: 10px;
- background-color: rgba(40, 40, 60, 0.8); /* Dark background to match theme */
- border-color: rgba(100, 120, 150, 0.8);
- border-width: 2px;
- margin: 5px; /* Add some margin */
- }
- /* Headings (reuse from CharacterSheet if desired, or define specific ones) */
- .MainHeading {
- font-size: 20px;
- -unity-font-style: bold;
- -unity-text-align: upper-center;
- margin-bottom: 15px;
- color: rgb(255, 255, 255);
- }
- .InventoryHeading {
- -unity-font-style: bold;
- font-size: 16px;
- margin-bottom: 8px;
- padding-bottom: 4px;
- border-bottom-width: 1px;
- border-bottom-color: rgba(255, 255, 255, 0.3);
- color: rgb(255, 255, 255);
- }
- /* Section Styling */
- .inventory-section, .bank-section {
- margin-bottom: 15px;
- padding: 10px;
- background-color: rgba(50, 50, 70, 0.6); /* Dark section background */
- border-radius: 4px;
- border: 1px solid rgba(150, 150, 170, 0.4);
- }
- /* Item List Styling */
- .item-list {
- margin-bottom: 10px; /* Space before the add button */
- min-height: 50px; /* Ensure list has some height even when empty */
- /* Add scrollbars if content overflows */
- /* overflow: scroll; */ /* Uncomment if you expect many items */
- }
- /* Individual Item Row Styling */
- .inventory-item-row {
- flex-direction: row;
- justify-content: space-between; /* Pushes label left, button right */
- align-items: center;
- padding: 4px 8px;
- margin-bottom: 4px;
- border-bottom: 1px solid rgba(0, 0, 0, 0.15);
- background-color: rgb(250, 250, 250);
- border-radius: 3px;
- min-height: 28px;
- }
- .item-name-label {
- font-size: 14px;
- color: rgb(220, 220, 220);
- flex-grow: 1; /* Takes up available space */
- margin-right: 10px; /* Space between label and button */
- }
- /* Button Styling */
- .remove-item-button {
- font-size: 11px;
- min-width: 60px;
- max-height: 22px;
- padding: 2px 6px;
- /* Add specific button styling (colors, borders) */
- background-color: rgb(217, 83, 79); /* Reddish */
- color: white;
- border-width: 0;
- border-radius: 3px;
- }
- .remove-item-button:hover {
- background-color: rgb(201, 48, 44);
- }
- .remove-item-button:active {
- background-color: rgb(172, 41, 37);
- }
- .add-item-button {
- font-size: 12px;
- min-width: 80px;
- max-height: 25px;
- padding: 3px 8px;
- /* Align button to the right or center if desired */
- align-self: flex-end; /* Puts button on the right */
- margin-top: 5px;
- /* Add specific button styling */
- background-color: rgb(92, 184, 92); /* Greenish */
- color: white;
- border-width: 0;
- border-radius: 3px;
- }
- .add-item-button:hover {
- background-color: rgb(76, 174, 76);
- }
- .add-item-button:active {
- background-color: rgb(68, 157, 68);
- }
- /* Bank Section Styling */
- .bank-row {
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 5px;
- padding: 1px 5px;
- min-height: 24px;
- }
- .bank-label {
- font-size: 14px;
- color: rgb(220, 220, 220);
- min-width: 50px; /* Ensure labels align */
- margin-right: 10px;
- }
- /* Reusing/Adapting stat-input styles for bank inputs */
- .bank-input {
- min-width: 80px; /* Wider for currency */
- max-width: 100px;
- font-size: 14px;
- -unity-text-align: middle-right;
- border-width: 1px;
- color: rgb(255, 255, 255);
- height: 22px;
- margin: 0;
- padding: 0;
- border-radius: 5px; /* Simplified border-radius */
- background-color: rgba(255, 255, 255, 0.1);
- border-color: rgba(150, 150, 150, 0.5);
- }
- .bank-input > .unity-base-field__input {
- background-color: rgba(255, 255, 255, 0.05);
- color: rgb(255, 255, 255);
- border-width: 0;
- margin: 0;
- padding: 0 4px 0 0; /* Adjust padding */
- height: 100%;
- line-height: 20px; /* Adjust line-height if needed */
- }
- .bank-input:focus {
- border-color: rgb(66, 139, 202);
- outline-color: rgb(66, 139, 202);
- outline-width: 1px;
- }
|