Tweak calendar widget styles
This commit is contained in:
1 parent
a465fba333
commit
e314744e77
3 files changed
+11
-10
No files matched your search
@@ -46,7 +46,7 @@ export default class BitcoinTickerComponent extends Component {
|
||||
type="button"
|
||||
{{on "click" this.openSettings}}
|
||||
aria-label="Edit Bitcoin ticker settings"
|
||||
class="cursor-pointer rounded-lg text-center text-white text-shadow-lg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/70"
|
||||
class="cursor-pointer rounded-lg text-center text-white text-shadow-md focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/70"
|
||||
>
|
||||
<div class="flex items-center justify-center gap-1.5">
|
||||
<span class="text-lg font-semibold">{{this.formattedPrice}}</span>
|
||||
|
||||
@@ -47,7 +47,10 @@ export default class UpcomingEventsComponent extends Component {
|
||||
|
||||
<template>
|
||||
{{#if this.calendar.enabled}}
|
||||
<div class="w-64 text-white text-shadow-lg" data-test-upcoming-events>
|
||||
<div
|
||||
class="max-w-full max-h-full rounded-md bg-gray-950/10 p-6 text-white"
|
||||
data-test-upcoming-events
|
||||
>
|
||||
{{#if this.events.today.length}}
|
||||
<h2
|
||||
class="text-xs font-semibold tracking-wide text-white/70 uppercase"
|
||||
@@ -56,9 +59,9 @@ export default class UpcomingEventsComponent extends Component {
|
||||
</h2>
|
||||
<ul class="mt-2 space-y-1">
|
||||
{{#each this.events.today as |event|}}
|
||||
<li class="flex gap-2 text-sm">
|
||||
<li class="flex gap-1 text-base">
|
||||
<span
|
||||
class="w-16 shrink-0 tabular-nums text-white/80"
|
||||
class="w-20 shrink-0 tabular-nums whitespace-nowrap text-white/80"
|
||||
>{{this.formatTime event}}</span>
|
||||
<span class="font-medium">{{event.name}}</span>
|
||||
</li>
|
||||
@@ -74,9 +77,9 @@ export default class UpcomingEventsComponent extends Component {
|
||||
</h2>
|
||||
<ul class="mt-2 space-y-1">
|
||||
{{#each day.events as |event|}}
|
||||
<li class="flex gap-2 text-sm">
|
||||
<li class="flex gap-1 text-base">
|
||||
<span
|
||||
class="w-16 shrink-0 tabular-nums text-white/80"
|
||||
class="w-20 shrink-0 tabular-nums whitespace-nowrap text-white/80"
|
||||
>{{this.formatTime event}}</span>
|
||||
<span class="font-medium">{{event.name}}</span>
|
||||
</li>
|
||||
@@ -85,7 +88,7 @@ export default class UpcomingEventsComponent extends Component {
|
||||
{{/each}}
|
||||
|
||||
{{#unless this.hasEvents}}
|
||||
<p class="text-sm text-white/80">No upcoming events</p>
|
||||
<p class="text-base text-white/80">No upcoming events</p>
|
||||
{{/unless}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
@@ -14,9 +14,7 @@ import UpcomingEvents from '../components/upcoming-events.gjs';
|
||||
<IntegrationsToolbar />
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="col-start-1 row-start-1 flex items-start justify-start pt-12 pl-12"
|
||||
>
|
||||
<div class="col-start-1 row-start-1 row-span-2 flex items-start p-12">
|
||||
<UpcomingEvents />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user