diff --git a/stirling-pdf/src/main/resources/static/css/home.css b/stirling-pdf/src/main/resources/static/css/home.css index 44bd98935..9ff2c00a7 100644 --- a/stirling-pdf/src/main/resources/static/css/home.css +++ b/stirling-pdf/src/main/resources/static/css/home.css @@ -26,10 +26,6 @@ transform-origin: center center; } -.filter-button:hover { - transform: scale(1.08); -} - .search-icon { position: absolute; margin: 0.75rem 1rem; @@ -57,7 +53,7 @@ } .favorite-icon:hover .material-symbols-rounded { - transform: scale(1.2); + transform: scale(1.1); } .favorite-icon .material-symbols-rounded.fill{ @@ -109,21 +105,3 @@ .add-icon { color: var(--favourite-add) !important; } - -@media (max-width: 767.98px) { - #scale-wrap { - transform: scale(0.8) !important; - } - - .lead { - display: none; - - } - .filter-button { - transform-origin: center left; - } -} - -.dropdown-contents { - min-width: none m !important; -} diff --git a/stirling-pdf/src/main/resources/static/css/navbar.css b/stirling-pdf/src/main/resources/static/css/navbar.css index 342f05329..731b554b9 100644 --- a/stirling-pdf/src/main/resources/static/css/navbar.css +++ b/stirling-pdf/src/main/resources/static/css/navbar.css @@ -439,7 +439,6 @@ span.icon-text::after { /* Dropdown min-width */ .dropdown-mw-28 { - min-width: 280px; min-height: 50px; } @@ -453,7 +452,6 @@ html[dir="ltr"] .dropdown-menu { top: auto; left: auto; right: 0; - transform: scale(1) !important; } html[dir="rtl"] .dropdown-menu { @@ -461,7 +459,6 @@ html[dir="rtl"] .dropdown-menu { top: auto; left: 0; right: auto; - transform: scale(1) !important; } /* Bootstrap Popper positioning overrides removed - dropdowns now position naturally relative to their buttons */ @@ -486,37 +483,27 @@ html[dir="rtl"] .dropdown-menu { display: inline-flex; } -@media (max-width:1199px) { - .icon-hide { - display: inline-flex; - } - .nav-link .chevron-icon { - display: inline-flex !important; - margin-left: auto; - } - .dropdown-mega .dropdown-menu.show { - position: fixed; - width: 100%; - left: 0; - } - .dropdown-mega .dropdown-menu.show .dropdown-menu-wrapper { - width: 100%; - height: 60vh; - overflow-y: auto; - } -} - -@media (min-width:1200px) { +@media (min-width:992px) { .dropdown:hover .dropdown-menu { display: block; margin-top: 0; } + + /* .icon-hide { + display: none; + } */ +} + +@media (max-width:1199px) { + .icon-hide { + display: inline-flex; + } +} + +@media (min-width:1200px) { .icon-hide { display: none; } - .nav-link .chevron-icon { - display: none !important; - } } .go-pro-link { @@ -646,10 +633,19 @@ html[dir="rtl"] .dropdown-menu { } .update-notice { - font-size: 0.8em; - animation: Pulse 2s infinite; + animation: scale 1s infinite alternate; +} + +@keyframes scale { + 0% { + transform: scale(0.96); + } + + 100% { + transform: scale(1); + } } .hidden { - display: none !important; + visibility: hidden; } diff --git a/stirling-pdf/src/main/resources/templates/fragments/navbar.html b/stirling-pdf/src/main/resources/templates/fragments/navbar.html index 50b7589bd..f0c73b6c8 100644 --- a/stirling-pdf/src/main/resources/templates/fragments/navbar.html +++ b/stirling-pdf/src/main/resources/templates/fragments/navbar.html @@ -120,7 +120,7 @@ expand_more -