assets/css/common.css in appscms-tools-theme-4.7.5 vs assets/css/common.css in appscms-tools-theme-4.7.6

- old
+ new

@@ -1,9 +1,313 @@ body { font-family: Inter, sans-serif } +/* search bar css */ +.search-container { + display: flex; + border: 1px solid #ccc; + border-radius: 5px; + overflow: hidden; + height: 38px; + width: 400px; + background-color: white; + position: relative; +} + +.search-input { + flex: 1; + border: none; + padding: 12px 16px; + font-size: 16px; + outline: none; +} + +.search-input::placeholder { + color: #888; +} + +.search-button { + background-color: var(--primary-color); + border: none; + padding: 0 16px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + outline: none; +} + +.search-button svg { + /* fill: #fff; */ + height: 20px; +} + +.search-button:active { + background-color: #555; +} + +.nav-search { + position: relative; +} + +.result-item { + padding: 9px 12px; +} + +.result-item a { + color: #222325; +} + +.searchbarResults { + overflow: scroll; + height: 60vh; + background-color: #fff; + border: 1px solid #e4e5e7; + border-radius: 6px; + -webkit-box-shadow: 0 17px 58px rgba(0, 0, 0, .08); + box-shadow: 0 17px 58px rgba(0, 0, 0, .08); + -webkit-box-sizing: border-box; + box-sizing: border-box; + color: #74767e; + cursor: default; + margin-top: 8px; + padding: 12px; + position: absolute; + width: 100%; + z-index: 101; + display: none; +} + +/* toolbar css */ +.appscms-toolbar { + background-color: var(--primary-color); + box-shadow: 1px 4px 10 #00000026; + position: sticky; + z-index: 999; + top: 60px; +} + +.appscms-toolbar .appscms-toolbar-list { + list-style: none; + display: flex; + padding: 0; + margin: 0; + height: 40px; +} + +.appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item { + color: var(--black-light); + display: block; + font-size: 16px; + line-height: 24px; + padding: 10px; + position: relative; + text-decoration: none; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + padding-left: 30px; + padding-right: 30px; +} + +.appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item:first-child { + padding-left: 0px; +} + +.appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item:first-child { + padding-right: 0px; +} + +.appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item:hover>.list-item-dropdown { + display: block; + opacity: 1; + white-space: nowrap; +} + +.appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item:hover { + border-bottom: 2px solid white; + padding-bottom: 8px; + position: relative; +} + +.appscms-toolbar-list { + overflow-y: hidden; + overflow-x: auto; +} + +.appscms-toolbar-list::-webkit-scrollbar { + width: 0; + height: 0; +} + +.appscms-toolbar-list::-webkit-scrollbar-track { + background-color: transparent; +} + +.appscms-toolbar-list::-webkit-scrollbar-thumb { + background-color: transparent; +} + +.appscms-toolbar .list-item-dropdown { + border: 5px solid #fff; + left: 0px; + position: fixed; + top: 100px; + min-width: 100%; + max-height: 500px; + overflow-y: auto; + width: 90vw; + box-shadow: 3px 10px 40px rgba(24, 29, 32, 0.05); + z-index: 200; + border-bottom-left-radius: 10px; + border-bottom-right-radius: 10px; + padding: 25px 50px 50px 50px; + display: none; + background-color: var(--white-color); +} + +.list-item-dropdown-heading { + font-weight: 600; + font-size: 13px; + color: var(--black-light); + margin-bottom: 8px; +} + +.list-item-dropdown li { + padding-top: 1px; + padding-bottom: 1px; + list-style: none; +} + +.list-item-dropdown .toolbar-link { + font-weight: 600; + display: block; + line-height: 1.7; + color: var(--dark-gray); + /* padding-top: 10px; + padding-bottom: 8px; */ + align-items: center; + width: 100%; + font-size: 16px; + text-decoration: none; + text-transform: capitalize; + white-space: nowrap; +} + +.list-item-dropdown .toolbar-link:hover { + background-color: rgba(241, 241, 241, 0.279); + box-shadow: 0px 0px 5px rgba(241, 241, 241, 0.279); + border-radius: 5px; + color: #323232; +} + +.appscms-toolbar-list-item-span { + color: var(--white-color); + display: block; + font-size: 15px; + line-height: 24px; + width: 100%; + white-space: nowrap; + padding: 8px 0; + position: relative; + text-decoration: none; +} + +.appscms-toolbar { + background-color: var(--primary-color); + box-shadow: 1px 4px 10 #00000026; + position: sticky; + z-index: 999; + top: 60px; +} + +.close-nav-ham { + display: none; +} + +.appscms-toolbar-list-item-span::after { + content: ""; + width: 10px; + height: 10px; + position: absolute; + margin-left: 7px; + right: -16px; + top: 16px; + margin-top: -4px; + border-right: 2px solid #fff; + border-bottom: 2px solid #fff; + -webkit-transform: rotate(45deg); + transform: rotate(46deg); +} + +.appscms-toolbar-list-item:hover .appscms-toolbar-list-item-span::after { + transform: rotate(220deg); + /* Rotation on hover */ + top: 20px; +} + +.expand_menu-name-categiry { + overflow: hidden; + font-weight: 600; + font-size: 12px; + color: #828586; + margin-bottom: 8px; + text-align: left; +} + +.mega_menu { + padding: 0; +} + +.category-tools__item { + display: flex; + padding-left: 0px; +} + +.category-tools__item { + padding: 8px; + border-radius: 8px; + margin-top: 8px; +} + +.category-tools__item h4 { + margin: 0; + font-weight: 600; + font-size: 17px; + line-height: 1.5; + color: #181d20; + white-space: nowrap; +} + +.category-tools__content { + margin-left: 10px; +} + +.category-tools__descr { + font-weight: 400; + font-size: 13px; + color: #000; +} + +.icon_box { + border-radius: 8px; + display: -webkit-inline-box; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-box-align: center; + -ms-flex-align: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + margin-top: 3px; + flex-shrink: 0; +} + +/* close */ + /************************** HEADER | NAVBAR DESIGN CSS **************************/ .home1-nav-header { position: sticky; @@ -13,11 +317,12 @@ border: none !important; box-shadow: 0 1px 0 0 rgb(38 38 40 / 9%) !important; } .header-navbar { - padding: 12px; + padding: 12px !important; + height: 60px; } .header-logo-height { height: 35px; width: 35px; @@ -431,14 +736,103 @@ font-weight: 400; max-width: 600px; } + /*********************************** MEDIA QUERIES FOR MOBILE RESPONSIVE ************************************/ @media (max-width:768px) { + .category-tools__item h4 { + color: #fff; + } + + .appscms-toolbar { + background-color: var(--black-color); + box-shadow: 1px 4px 10 #00000026; + overflow-x: hidden; + } + + .appscms-toolbar { + top: 0px; + position: fixed; + transition: all 0.3s ease; + width: 272px; + right: -272px; + display: none; + z-index: 1000; + } + + .close-nav-ham { + display: flex !important; + justify-content: end; + } + + .mobile-search-bar { + display: block !important; + } + + .appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item { + align-items: flex-start; + flex-direction: column; + } + + .category-tools__item { + padding: 0 !important; + } + + .expand_menu-name-categiry { + color: #fff; + margin: 20px 0; + } + .appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item:hover { + border-bottom: none; + padding-bottom: 10px; + } + + .appscms-toolbar .list-item-dropdown { + padding: 0; + width: 100%; + border: none; + position: static; + display: block; + overflow: hidden; + transition: all .3s ease; + background-color: transparent; + opacity: 0; + height: 0; + max-height: 0; + } + + .mega_menu li a { + color: #fff !important; + } + + .appscms-toolbar .appscms-toolbar-list { + height: 100vh; + flex-direction: column; + gap: 0; + overflow-y: scroll; + overflow-x: hidden; + } + + .nav-search { + display: none; + } + + .appscms-navbar-nav-links { + display: none; + } + + #hamburger { + display: block; + cursor: pointer; + position: absolute; + right: 20px; + z-index: 9999; + } .home1-top-h1, .feature1-h1 { padding-bottom: 1rem; margin-bottom: 0px; \ No newline at end of file