From 5b5587ae266d790863e177a77fb3455adc7caa2e Mon Sep 17 00:00:00 2001 From: Raydo M <126121348+burnt-exe@users.noreply.github.com> Date: Fri, 6 Sep 2024 11:59:00 +0200 Subject: [PATCH] Update index.html Signed-off-by: Raydo M <126121348+burnt-exe@users.noreply.github.com> --- comptia/index.html | 112 ++++++++++++++++++++++++++++++++------------- 1 file changed, 81 insertions(+), 31 deletions(-) diff --git a/comptia/index.html b/comptia/index.html index 2edf9ba..ac2ea50 100644 --- a/comptia/index.html +++ b/comptia/index.html @@ -110,48 +110,63 @@ /* Input field styles */ .numInputWrapper .numInput { - -moz-appearance: textfield; + -moz-appearance: textfield; /* For older Firefox versions */ + appearance: textfield; /* For modern browsers */ } + /* Modal container layout with grid support for IE */ .bx--modal-container > *:nth-child(1), .bx--modal-container > *:nth-child(2), .bx--modal-container > *:nth-child(3) { - -ms-grid-column: 1; + -ms-grid-column: 1; /* For older versions of IE */ + grid-column: 1; /* For modern browsers */ } .bx--modal-container > *:nth-child(1) { - -ms-grid-row: 1; + -ms-grid-row: 1; /* For older versions of IE */ + grid-row: 1; /* For modern browsers */ } + .bx--modal-container > *:nth-child(2) { - -ms-grid-row: 2; + -ms-grid-row: 2; /* For older versions of IE */ + grid-row: 2; /* For modern browsers */ } .bx--modal-container > *:nth-child(3) { - -ms-grid-row: 3; + -ms-grid-row: 3; /* For older versions of IE */ + grid-row: 3; /* For modern browsers */ } /* Tabs scrollable: hide scrollbar for Firefox */ .bx--tabs--scrollable .bx--tabs--scrollable__nav { - scrollbar-width: none; + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE and Edge */ } +/* Hide scrollbar for WebKit browsers like Chrome, Safari */ +.bx--tabs--scrollable .bx--tabs--scrollable__nav::-webkit-scrollbar { + display: none; +} + + /* Button adjustments for smaller toolbar */ .bx--table-toolbar--small .bx--btn--primary, .bx--table-toolbar--sm .bx--btn--primary { - min-height: auto; + min-height: initial; /* Fallback for Firefox and others */ } + /* Accordion animation keyframes */ @keyframes collapse-accordion { 0% { - height: 100%; + transform: scaleY(1); opacity: 1; - visibility: inherit; + visibility: visible; } 100% { - height: 0; + transform: scaleY(0); opacity: 0; visibility: hidden; } @@ -159,14 +174,14 @@ @keyframes expand-accordion { 0% { - height: 0; + transform: scaleY(0); opacity: 0; visibility: hidden; } 100% { - height: 100%; + transform: scaleY(1); opacity: 1; - visibility: inherit; + visibility: visible; } } @@ -524,29 +539,64 @@

Proud CompTIA Authorized Partner< - + -