From ae624838c07c6687302cf62941c5fde6bd7a0cba Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 29 Jul 2026 15:45:52 +1000 Subject: [PATCH 1/2] Delete duplicates --- APSIM.POStats.Portal/wwwroot/css/site.css | 66 ----------------------- 1 file changed, 66 deletions(-) diff --git a/APSIM.POStats.Portal/wwwroot/css/site.css b/APSIM.POStats.Portal/wwwroot/css/site.css index a55c3f8..470bd04 100644 --- a/APSIM.POStats.Portal/wwwroot/css/site.css +++ b/APSIM.POStats.Portal/wwwroot/css/site.css @@ -137,70 +137,4 @@ body { border: 1px solid black; display: inline-block; overflow: hidden; -} - -/* Styles for the tab container on the main page --------------------------------------------------- */ - -/* Tab Container */ -.tab-container { - max-width: 600px; - margin: 0 auto; - background: #ffffff; - border-radius: 8px; - box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); - overflow: hidden; -} - -/* Tab Headers */ -.tab-menu { - display: flex; - background-color: #f8fafc; - border-bottom: 2px solid #e2e8f0; - margin: 0; - padding: 0; - list-style: none; -} - -.tab-button { - flex: 1; - padding: 1rem; - border: none; - background: none; - font-size: 1rem; - font-weight: 600; - color: #64748b; - cursor: pointer; - transition: all 0.2s ease; - text-align: center; -} - -.tab-button:hover { - background-color: #f1f5f9; - color: #0f172a; -} - -/* Active Tab Style */ -.tab-button.active { - color: #3b82f6; - border-bottom: 2px solid #3b82f6; - background-color: #ffffff; - margin-bottom: -2px; /* Overlaps container border */ -} - -/* Tab Content Panels */ -.tab-panel { - display: none; - padding: 1.5rem; - animation: fadeIn 0.3s ease; -} - -.tab-panel.active { - display: block; -} - -/* Simple Entry Animation */ -@keyframes fadeIn { - from { opacity: 0; transform: translateY(2px); } - to { opacity: 1; transform: translateY(0); } } \ No newline at end of file From b1084dd08adf142dec5456cd80e6abdada1b9fce Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 29 Jul 2026 15:53:13 +1000 Subject: [PATCH 2/2] add scrollbars --- APSIM.POStats.Portal/wwwroot/css/tabs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APSIM.POStats.Portal/wwwroot/css/tabs.css b/APSIM.POStats.Portal/wwwroot/css/tabs.css index 3df90a8..d07e92a 100644 --- a/APSIM.POStats.Portal/wwwroot/css/tabs.css +++ b/APSIM.POStats.Portal/wwwroot/css/tabs.css @@ -7,7 +7,7 @@ background: #ffffff; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); - overflow: hidden; + overflow: visible; } /* Tab Headers */