From b0a738bef8fcc80db512791838fa4c7725434585 Mon Sep 17 00:00:00 2001 From: theJohnnyMe Date: Fri, 25 Oct 2024 10:41:10 +0200 Subject: [PATCH] chore: test tooltip in table --- .../tabs-subpage/tabs-subpage.component.html | 122 +++++++++++++++++- .../tabs-subpage/tabs-subpage.component.ts | 34 ++++- 2 files changed, 147 insertions(+), 9 deletions(-) diff --git a/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.html b/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.html index 9feaf8f..b112b75 100644 --- a/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.html +++ b/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.html @@ -1,9 +1,117 @@ -
Tab {{ pathIndex }}
-

- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Sequi aut sit, accusantium, voluptatum - dicta nisi laudantium sunt eum, velit porro quas dignissimos obcaecati. Veritatis exercitationem - possimus quos animi atque maxime fuga, voluptatum nostrum ab ea voluptate dignissimos non error - nobis beatae fugiat temporibus cum at molestias et perferendis iste! Hic? -

+
+
Tab {{ pathIndex }}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CompanyContactCountry
+ Element with tooltip & ID + +

+ Paragraph tag inside Tooltip with + bold + and + italic + tags too. +

+
+
Maria AndersGermany
+ Element with tooltip & no selector + +

+ Paragraph tag inside Tooltip with + bold + and + italic + tags too. +

+
+
Christina BerglundSweden
Centro comercial MoctezumaFrancisco ChangMexico
Ernst HandelRoland MendelAustria
Island TradingHelen BennettUK
Königlich EssenPhilip CramerGermany
Laughing Bacchus WinecellarsYoshi TannamuriCanada
Magazzini Alimentari RiunitiGiovanni RovelliItaly
North/SouthSimon CrowtherUK
Paris spécialitésMarie BertrandFrance
+
+
+
Tab {{ pathIndex }}
+

+ Locked and loaded pro-sumer software. Feature creep. Product management + breakout fastworks lose client to 10:00 meeting, but what do you feel you + would bring to the table if you were hired for this position. Regroup make + sure to include in your wheelhouse, yet make it more corporate please + regroup. Circle back target rich environment cross sabers, so everyone + thinks the soup tastes better after they’ve pissed in it, nor we're + building the plane while we're flying it. +

+
+
+
Tab {{ pathIndex }}
+

+ That's mint, well done work, but peel the onion. We’re all in this + together, even if our businesses function differently great plan! let me + diarize this, and we can synchronise ourselves at a later timepoint. Get + buy-in zoom meeting at 2:30 today the horse is out of the barn we should + leverage existing asserts that ladder up to the message, but per my + previous email. Business impact dear hiring manager:, and usabiltiy, and + waste of resources drink from the firehose drill down. +

+
diff --git a/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.ts b/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.ts index 63268e2..2321668 100644 --- a/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.ts +++ b/src/app/pages/tabs-links-page/tabs-subpage/tabs-subpage.component.ts @@ -1,11 +1,41 @@ import { Component, Input } from "@angular/core"; import { TegelModule } from "@scania/tegel-angular-17"; - +import { CommonModule } from "@angular/common"; @Component({ selector: "app-tabs-subpage", standalone: true, templateUrl: "./tabs-subpage.component.html", - imports: [TegelModule], + imports: [TegelModule, CommonModule], + styles: [ + ` + #customers { + font-family: Arial, Helvetica, sans-serif; + border-collapse: collapse; + } + + #customers td, + #customers th { + border: 1px solid #ddd; + padding: 8px; + } + + #customers tr:nth-child(even) { + background-color: #f2f2f2; + } + + #customers tr:hover { + background-color: #ddd; + } + + #customers th { + padding-top: 12px; + padding-bottom: 12px; + text-align: left; + background-color: #04aa6d; + color: white; + } + `, + ], }) export default class TabsSubpageComponent { @Input() pathIndex: number;