diff --git a/assets/modern/live.rcss b/assets/modern/live.rcss index d24a1f1..03a3bfc 100644 --- a/assets/modern/live.rcss +++ b/assets/modern/live.rcss @@ -137,8 +137,13 @@ body.matchday {--live-bg:#242426;--live-surface:#302f34ec;--live-wash:#efc7ce0a; .live-demo-tag {border-radius:10dp;padding:10dp 22dp;} .live-body {left:48dp;right:48dp;top:128dp;bottom:150dp;height:auto;flex-direction:column;gap:28dp;} .live-cards {padding:0;display:flex;flex-wrap:wrap;gap:16dp;flex-shrink:0;} -.live-stage .live-game {position:relative;display:block;width:100%;height:600dp;flex-grow:0;flex-shrink:0;padding:18dp 40dp;border:2dp #00000090;border-radius:16dp;background-color:transparent;decorator:linear-gradient(180deg,#1d2832,#0f161d);color:#f1f4f6;overflow:hidden;} +.live-stage .live-game,.postmatch-stage .live-game {position:relative;display:block;width:100%;height:600dp;flex-grow:0;flex-shrink:0;padding:18dp 40dp;border:2dp #00000090;border-radius:16dp;background-color:transparent;decorator:linear-gradient(180deg,#1d2832,#0f161d);color:#f1f4f6;overflow:hidden;} .live-stage .live-game:hover,.live-stage .live-game:focus-visible {background-color:transparent;border-color:#ffffff66;} +.postmatch-stage {flex-shrink:0;margin-bottom:24dp;} +.postmatch-stage .live-game {pointer-events:none;font-size:36dp;} +.postmatch-stage .live-game .live-timeline {width:100%;} +.live-timeline-ticks {position:relative;height:30dp;margin:0 auto;color:#aab6c0;font-size:24dp;} +.live-timeline-ticks span {position:absolute;top:0;width:80dp;margin-left:-40dp;text-align:center;display:block;} .live-stage .live-game.duo {width:1296dp;} .live-stage .live-game.quad {width:1296dp;height:292dp;padding:10dp 28dp;} .live-stage .live-game.active {border-color:#00000090;} @@ -176,7 +181,7 @@ body.matchday {--live-bg:#242426;--live-surface:#302f34ec;--live-wash:#efc7ce0a; .live-game.duo .live-press {width:330dp;} .live-press-home {height:100%;} .live-press-away {flex:1;height:100%;} -.live-timeline {display:flex;justify-content:center;height:124dp;} +.live-timeline {display:flex;justify-content:center;height:112dp;} .live-game.quad .live-timeline {height:84dp;} @keyframes live-moment-in {from {opacity:0;transform:translateX(-220dp);} to {opacity:1;transform:translateX(0dp);}} .live-moment {position:absolute;left:0;right:0;top:120dp;height:260dp;display:flex;align-items:center;justify-content:center;gap:48dp;border-top:4dp #ffffffb0;border-bottom:4dp #ffffffb0;box-shadow:0dp 10dp 40dp #000000a0;color:#ffffff;pointer-events:none;} diff --git a/assets/modern/theme.rcss b/assets/modern/theme.rcss index 72f578f..8c24237 100644 --- a/assets/modern/theme.rcss +++ b/assets/modern/theme.rcss @@ -186,4 +186,12 @@ body.silver .titlebar {border-bottom-color:#4a433438;} .sheet-under.window-in {animation:0.3s cubic-out sheet-in;} body.calm .window.window-in,body.calm .sheet-under.window-in {animation:none;} button {transition:background-color border-color 0.12s cubic-out;} -.desktop-button img,.desktop-card {transition:transform 0.14s cubic-out;} +/* the desk: cards and tiles lie above the stadium and answer the pointer */ +.desktop-card {box-shadow:0dp 10dp 30dp #00000055;} +.desktop-card[data-action] {transition:transform box-shadow 0.14s cubic-out;} +.desktop-card[data-action]:hover {transform:translateY(-4dp);box-shadow:0dp 16dp 40dp #00000070;} +.desktop-app .app-tile {transition:transform 0.12s cubic-out;box-shadow:0dp 8dp 20dp #00000060;} +.desktop-app:hover .app-tile {transform:translateY(-6dp) scale(1.04);} +.desktop-app:active .app-tile {transform:scale(0.97);} +body.calm .desktop-app:hover .app-tile,body.calm .desktop-card[data-action]:hover {transform:none;} +.identity strong {font-family:Display;font-size:44dp;} diff --git a/src/modern/ui/engine_screens.inc b/src/modern/ui/engine_screens.inc index c4ae077..6d692a4 100644 --- a/src/modern/ui/engine_screens.inc +++ b/src/modern/ui/engine_screens.inc @@ -61,7 +61,11 @@ void App::engine_render() { } else { const auto &desk = engine_data_.at("desktop").at("data"), &meta = engine_data_.at("desktop").at("meta"); const auto &team = desk.at("team"), &person = desk.at("manager"); - out = "