Skip to content

Commit 59fbeef

Browse files
committed
Make success done button nicer
1 parent c75cda8 commit 59fbeef

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

src/lib/components/inventory/list_item_modal.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ export class ListItemModal extends FloatElement {
323323
View Your Stall on CSFloat
324324
</a>
325325
</div>
326-
<button class="close-modal-button" @click="${this.handleClose}">Done</button>
326+
<button class="base-button primary-button success-button" @click="${this.handleClose}">
327+
Done
328+
</button>
327329
</div>
328330
</div>
329331
</div>

src/lib/components/inventory/list_item_modal_styles.ts

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -397,25 +397,13 @@ export const listItemModalStyles = [
397397
text-decoration: none;
398398
}
399399
400-
.divider {
401-
border-top: 1px solid #4b5f73;
402-
margin: 20px 0;
403-
}
404-
405-
.close-modal-button {
400+
.success-button {
406401
width: 100%;
407-
padding: 10px;
408-
background: #2a475e;
409-
border: none;
410-
border-radius: 4px;
411-
color: #ffffff;
412-
font-size: 16px;
413-
cursor: pointer;
414-
transition: background-color 0.2s;
415402
}
416403
417-
.close-modal-button:hover {
418-
background: #3d6c8d;
404+
.divider {
405+
border-top: 1px solid #4b5f73;
406+
margin: 20px 0;
419407
}
420408
421409
.tradable-warning {

0 commit comments

Comments
 (0)