diff --git a/app/game-frontend/src/assets/main.css b/app/game-frontend/src/assets/main.css index 481bac0..da34ee9 100644 --- a/app/game-frontend/src/assets/main.css +++ b/app/game-frontend/src/assets/main.css @@ -24,6 +24,12 @@ body { line-height: 1.3; } +body:has(.battle-page), +body:has(.chief-page), +body:has(.global-page) { + line-height: 1.5; +} + button, input, select, diff --git a/app/game-frontend/src/assets/styles/legacy-controls.css b/app/game-frontend/src/assets/styles/legacy-controls.css index 00b8289..0334988 100644 --- a/app/game-frontend/src/assets/styles/legacy-controls.css +++ b/app/game-frontend/src/assets/styles/legacy-controls.css @@ -12,6 +12,11 @@ text-align: center; text-decoration: none; cursor: pointer; + transition: + color 0.15s ease-in-out, + background-color 0.15s ease-in-out, + border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out; } .legacy-button:hover, @@ -23,8 +28,8 @@ } .legacy-button:focus-visible { - outline: 2px solid var(--sammo-color-accent); - outline-offset: 1px; + outline: 0; + box-shadow: 0 0 0 0.25rem rgb(85 115 146 / 50%); } .legacy-button:disabled, @@ -105,6 +110,10 @@ box-shadow: none; } +.legacy-button.legacy-button--primary:not(:disabled):active { + background: #2d4967; +} + .legacy-button:is( .legacy-button--primary, .legacy-button--secondary, diff --git a/app/game-frontend/src/views/AuctionView.vue b/app/game-frontend/src/views/AuctionView.vue index ada5444..0ac7ec3 100644 --- a/app/game-frontend/src/views/AuctionView.vue +++ b/app/game-frontend/src/views/AuctionView.vue @@ -482,6 +482,9 @@ onMounted(() => { font-size: 14px; line-height: 21px; } +.legacy-auction-page.bg0 { + background-color: transparent; +} .bg0 { background-color: #302016; background-image: var(--sammo-texture-walnut); @@ -565,8 +568,8 @@ onMounted(() => { } .tab-button:hover, .tab-button:focus { - border-color: #353535; - background: #393939; + border-color: #3d3d3d; + background: #444; } .section-title, .subsection-title, @@ -576,6 +579,9 @@ onMounted(() => { font: inherit; font-weight: 400; } +.unique-detail .section-title { + background-color: transparent; +} .resource-kind.buy-rice { color: #000; background: orange; @@ -605,7 +611,7 @@ onMounted(() => { .clickable-row:hover, .clickable-row:focus-visible, .clickable-row.selected { - background-color: rgb(255 255 255 / 12%); + background-color: rgb(255 255 255 / 30%); outline: 0; } .no-bid { diff --git a/app/game-frontend/src/views/BattleSimulatorView.vue b/app/game-frontend/src/views/BattleSimulatorView.vue index 88c154e..1bf21d8 100644 --- a/app/game-frontend/src/views/BattleSimulatorView.vue +++ b/app/game-frontend/src/views/BattleSimulatorView.vue @@ -1387,7 +1387,7 @@ button { } .primary:active { - background: #c0392b; + background: #b93d30; } .header-actions .primary, diff --git a/app/game-frontend/src/views/BoardView.vue b/app/game-frontend/src/views/BoardView.vue index e9118ee..519ef82 100644 --- a/app/game-frontend/src/views/BoardView.vue +++ b/app/game-frontend/src/views/BoardView.vue @@ -1,6 +1,6 @@