@@ -69,6 +69,9 @@ class EditTemplate extends Component<typeof Account> {
69
69
<FieldContainer @ label =' CRM App' >
70
70
<@ fields.crmApp />
71
71
</FieldContainer >
72
+ <FieldContainer @ label =' Logo URL' >
73
+ <@ fields.thumbnailURL />
74
+ </FieldContainer >
72
75
</div >
73
76
<style scoped >
74
77
.account-form {
@@ -383,8 +386,8 @@ class IsolatedTemplate extends Component<typeof Account> {
383
386
</: header >
384
387
385
388
<: summary >
386
- <SummaryGridContainer >
387
- <SummaryCard >
389
+ <SummaryGridContainer class = ' summary-grid ' >
390
+ <SummaryCard class = ' info-card ' >
388
391
<: title >
389
392
<h3 class =' summary-title' >Company Info</h3 >
390
393
</: title >
@@ -393,8 +396,8 @@ class IsolatedTemplate extends Component<typeof Account> {
393
396
</: icon >
394
397
<: content >
395
398
{{#if this . hasCompanyInfo }}
396
- <@ fields.headquartersAddress @ format =' atom' />
397
399
<@ fields.website @ format =' atom' />
400
+ <@ fields.headquartersAddress @ format =' atom' />
398
401
{{else }}
399
402
<div class =' default-value' >
400
403
Missing Company Info
@@ -403,7 +406,7 @@ class IsolatedTemplate extends Component<typeof Account> {
403
406
</: content >
404
407
</SummaryCard >
405
408
406
- <SummaryCard >
409
+ <SummaryCard class = ' info-card ' >
407
410
<: title >
408
411
<h3 class =' summary-title' >Contacts</h3 >
409
412
</: title >
@@ -431,7 +434,7 @@ class IsolatedTemplate extends Component<typeof Account> {
431
434
</: content >
432
435
</SummaryCard >
433
436
434
- <SummaryCard >
437
+ <SummaryCard class = ' info-card ' >
435
438
<: title >
436
439
<h3 class =' summary-title' >Lifetime Value</h3 >
437
440
</: title >
@@ -457,7 +460,7 @@ class IsolatedTemplate extends Component<typeof Account> {
457
460
</: content >
458
461
</SummaryCard >
459
462
460
- <SummaryCard >
463
+ <SummaryCard class = ' info-card ' >
461
464
<: title >
462
465
<h3 class =' summary-title' >Active Deals</h3 >
463
466
</: title >
@@ -560,21 +563,32 @@ class IsolatedTemplate extends Component<typeof Account> {
560
563
font : 600 var (--boxel-font-lg );
561
564
margin : 0 ;
562
565
}
563
- /* Summary */
566
+ /* Summary Grid & Card */
567
+ .summary-grid {
568
+ --summary-card-min-height : 170px ;
569
+ }
564
570
.summary-title {
565
- font : 600 var (--boxel-font-sm );
571
+ font : 600 var (--boxel-font );
566
572
letter-spacing : var (--boxel-lsp-xxs );
567
- margin : 0 ;
573
+ align-self : flex-start ;
574
+ }
575
+ .summary-highlight {
576
+ font : 600 var (--boxel-font-xl );
577
+ }
578
+ .description {
579
+ font : var (--boxel-font-sm );
580
+ letter-spacing : var (--boxel-lsp-sm );
568
581
}
569
582
.header-icon {
570
583
width : var (--boxel-icon-sm );
571
584
height : var (--boxel-icon-sm );
572
585
flex-shrink : 0 ;
573
586
margin-left : auto ;
574
587
}
575
- .summary-highlight {
576
- font : 600 var (--boxel-font-lg );
577
- margin : 0 ;
588
+ .info-card {
589
+ --summary-card-gap : var (--boxel-sp-xl );
590
+ --summary-card-padding : var (--boxel-sp );
591
+ --entity-display-title-font-weight : 400 ;
578
592
}
579
593
.primary-contact {
580
594
width : fit-content ;
@@ -592,10 +606,6 @@ class IsolatedTemplate extends Component<typeof Account> {
592
606
--pill-border : none ;
593
607
flex-shrink : 0 ;
594
608
}
595
- .description {
596
- font : 500 var (--boxel-font-sm );
597
- letter-spacing : var (--boxel-lsp-xs );
598
- }
599
609
.tag-container {
600
610
display : flex ;
601
611
flex-wrap : wrap ;
@@ -1340,6 +1350,7 @@ class AccountPageLayout extends GlimmerComponent<AccountPageLayoutArgs> {
1340
1350
width : 100% ;
1341
1351
padding : var (--account-page-layout-padding , 20px );
1342
1352
box-sizing : border-box ;
1353
+ background-color : var (--boxel-100 );
1343
1354
}
1344
1355
< /style >
1345
1356
</template >
0 commit comments