Skip to content

Commit

Permalink
Merge pull request #33 from codersaiful/1.0.2.1
Browse files Browse the repository at this point in the history
1.0.2.1
  • Loading branch information
codersaiful authored Mar 1, 2021
2 parents 4db4a37 + 2d6afbb commit bbe0ff9
Show file tree
Hide file tree
Showing 11 changed files with 1,214 additions and 32 deletions.
20 changes: 19 additions & 1 deletion assets/css/widgets.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Style for Header
* and for Footer
*/
body.ultraaddons-header-css .site-header,
body.ultraaddons-header-css #site-header,
body.ultraaddons-header-css #masthead,
Expand Down Expand Up @@ -43,5 +47,19 @@ body:not(.elementor-page) .ultraaddons-container{
max-width: 1170px;
}
}
/*******Header Footer Style END here********/


/*******************************
* Common of All Widgets
********************************/
.ultraaddons-element .hidden_text,
.ultraaddons-element .hidden_message,
.ultraaddons-element .hidden{
display: none;
}
.elementor-element-edit-mode.ultraaddons-element .hidden_text,
.elementor-element-edit-mode.ultraaddons-element .hidden_message,
.elementor-element-edit-mode.ultraaddons-element .hidden{
display: block !important;
color: #D00;
}
38 changes: 31 additions & 7 deletions assets/css/widgets/cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
justify-content: flex-end;
list-style: none;
position: relative;
padding: 0;
margin: 0;
}
.ua-ultraaddons-cart .ultraaddons-cart-wrapper ul.site-elementor-cart > li.minicart-content-wrapper {
display: none;
position: absolute;
z-index: 10;
z-index: 210;
width: 400px;
top: 0;
top: 100%;
}

.ua-ultraaddons-cart .ultraaddons-cart-wrapper ul.site-elementor-cart li.minicart-content-wrapper .widget_shopping_cart {
Expand All @@ -35,7 +37,7 @@
}
.ua-ultraaddons-cart .widget_shopping_cart_content ul.woocommerce-mini-cart li.woocommerce-mini-cart-item.mini_cart_item {
display: flex;
align-items: center;
align-items: flex-start;
padding: 20px 0;
position: relative;
border-bottom: 1px solid #d7d7d77d;
Expand All @@ -52,14 +54,15 @@

.ultraaddons-cart-wrapper li.cart-text-li {
padding: 0 12px;
white-space: nowrap;
}

.ultraaddons-cart-wrapper .site-elementor-cart li.cart-link-li {
}
.ultraaddons-cart-wrapper .site-elementor-cart li.cart-link-li {white-space: nowrap;display: flex;align-items: center;}

.ultraaddons-cart-wrapper li.cart-link-li a {
text-decoration: none;
display: flex;
/* display: flex; */
/*margin-right: 15px;*/
}

.ultraaddons-cart-wrapper .site-elementor-cart li.cart-link-li span.woocommerce-Price-amount.amount {
Expand All @@ -69,11 +72,13 @@
}
.ua-ultraaddons-cart .ultraaddons-cart-wrapper ul.site-elementor-cart:hover > li.minicart-content-wrapper,
.elementor-element.elementor-element-edit-mode.see-hover-in-admin-yes .ultraaddons-cart-wrapper ul.site-elementor-cart > li.minicart-content-wrapper,
.elementor-element.expand-always-yes .ultraaddons-cart-wrapper ul.site-elementor-cart > li.minicart-content-wrapper,
/*.elementor-element.see-hover-in-admin-yes .ultraaddons-cart-wrapper ul.site-elementor-cart > li.minicart-content-wrapper,*/
.ua-ultraaddons-cart .ultraaddons-cart-wrapper ul.site-elementor-cart:focus > li.minicart-content-wrapper {
display: block;
}
.elementor-element.elementor-element-edit-mode.see-hover-in-admin-yes li.minicart-content-wrapper{}
.elementor-element.expand-always-yes li.minicart-content-wrapper{}

.ua-ultraaddons-cart .widget_shopping_cart_content ul.woocommerce-mini-cart li.woocommerce-mini-cart-item.mini_cart_item a {
font-size: 16px;
Expand Down Expand Up @@ -106,7 +111,9 @@
position: relative;
width: 100%;
padding-right: 75px;
align-items: center;
align-items: flex-start;
/* justify-content: flex-start; */
text-align: left;
}
.ua-ultraaddons-cart .widget_shopping_cart_content ul.woocommerce-mini-cart li.woocommerce-mini-cart-item.mini_cart_item a>img,
.ua-ultraaddons-cart .widget_shopping_cart_content ul.product_list_widget li a>img {
Expand Down Expand Up @@ -179,4 +186,21 @@
}
.cart-title-align-right h2.widgettitle {
text-align: right;
}
.ua-ultraaddons-cart .ultraaddons-cart-wrapper .hide-content-yes{
display: none !important;
}
.ultraaddons-cart-wrapper span.count {
padding-left: 11px;
padding-right: 11px;
}
.ultraaddons-cart-wrapper .icon-wrapper.icon-svg {}

.ultraaddons-cart-wrapper .icon-wrapper.icon-svg {
display: inline;
padding: 0;
}

.ultraaddons-cart-wrapper .icon-wrapper.icon-svg img {
width: 25px;
}
180 changes: 180 additions & 0 deletions assets/css/widgets/menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
.ua-ultraaddons-menu ul.ua-menu {
/*display: none;*/
list-style: none;
margin: 0;
padding-left: 0;
}
.ua-ultraaddons-menu ul.ua-menu li > ul{
/*display: none;*/
list-style: none;
}

button.ua-menu-toggle {
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItbWVudSI+PGxpbmUgeDE9IjMiIHkxPSIxMiIgeDI9IjIxIiB5Mj0iMTIiPjwvbGluZT48bGluZSB4MT0iMyIgeTE9IjYiIHgyPSIyMSIgeTI9IjYiPjwvbGluZT48bGluZSB4MT0iMyIgeTE9IjE4IiB4Mj0iMjEiIHkyPSIxOCI+PC9saW5lPjwvc3ZnPg==);
color: #0fc392;
}
.ua-ultraaddons-menu ul.ua-menu > li {
position: relative;
display: block;
}
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children {
position: relative;
margin-right: 20px;
padding-right: 20px;
}
.ua-ultraaddons-menu ul.ua-menu li:after,
.ua-ultraaddons-menu ul.ua-menu li:before {
content: "";
display: block;
clear: both;
}
.ua-ultraaddons-menu ul.ua-menu > li > a,
.ua-ultraaddons-menu ul.ua-menu .focus a,
.ua-ultraaddons-menu ul.ua-menu a {
color: #21272c;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: 500;
position: relative;
padding: 10px;
}
.ua-ultraaddons-menu ul.ua-menu li a {
display: block;
}
.ua-ultraaddons-menu ul.ua-menu li::before {
position: absolute;
color: #21272c;
}
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children::before {
right: 5px;
top: 34%;
}
.ua-ultraaddons-menu ul.ua-menu .menu-item-has-children::before {
content: "\f107";
font-family: "Font Awesome 5 Free";
font-weight: 800;
font-style: normal;
font-size: 20px;
}
/*.ua-ultraaddons-menu ul.ua-menu .focus > .available-submenu::before {
content: "\f106";
}*/

/* Sub Menu */
/*.ua-ultraaddons-menu ul.ua-menu ul {
box-shadow: 0 3px 3px rgb(0 0 0 / 20%);
float: left;
position: absolute;
top: 100%;
left: -999em;
z-index: 99999;
}*/


@media (min-width: 37.5em){
.ua-ultraaddons-menu .ua-nav-inside button.ua-menu-toggle {
display: none;
}

}
@media only screen and (min-width: 991px){
/*.menu-toggle,*/
.ua-ultraaddons-menu ul.ua-menu {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.ua-ultraaddons-menu ul.ua-menu > li > .available-submenu {
right: -4px;
top: 31px;
}
.ua-ultraaddons-menu ul.ua-menu .available-submenu::before {
font-size: 14px;
}
.ua-ultraaddons-menu ul.ua-menu li > ul{
display: none;
}
.ua-ultraaddons-menu ul.ua-menu > li > a:before {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
content: "";
background-color: #0fc392;
background-color: var(--medilac-primary);
width: 0;
height: 2px;
visibility: hidden;
opacity: 0;
transition: 0.3s;
-webkit-transition: 0.3s;
}
.ua-ultraaddons-menu ul.ua-menu > li.current-menu-ancestor > a:before,
.ua-ultraaddons-menu ul.ua-menu > li.current-menu-item >a:before,
.ua-ultraaddons-menu ul.ua-menu > li > a:focus:before,
.ua-ultraaddons-menu ul.ua-menu > li.focus > a:hover:before,
.ua-ultraaddons-menu ul.ua-menu > li > a:hover:before {
width: 100%;
visibility: visible;
opacity: 1;
}
.ua-ultraaddons-menu ul.ua-menu > li > a {
padding: 30px 10px;
}
.ua-ultraaddons-menu ul.ua-menu > li.current-menu-ancestor > a,
.ua-ultraaddons-menu ul.ua-menu > li.current-menu-item > a,
.ua-ultraaddons-menu ul.ua-menu > li > a:focus,
.ua-ultraaddons-menu ul.ua-menu > li > a:hover {
color: #0fc392;
outline: none;
}
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children .sub-menu>li>a {
display: inline-block;
transition: 0.3s;
font-weight: 500;
padding: 12px 15px 12px 15px;
color: #21272C;
font-size: 15px;
display: block;
width: 100%;
background-color: #fff;
border-bottom: 1px solid #ddd;
transition: 0.3s;
border-radius: 0;
transition: 0.3s;
-webkit-transition: 0.3s;
}
.ua-ultraaddons-menu ul.ua-menu li:active .sub-menu,
.ua-ultraaddons-menu ul.ua-menu li:hover .sub-menu,
.ua-ultraaddons-menu ul.ua-menu li:focus .sub-menu,
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children.focus>ul.sub-menu,
.ua-ultraaddons-menu ul.ua-menu li.focus .sub-menu {
display: block;
position: absolute;
text-align: left;
background: #fff;
background: var(--medilac-foreground);
z-index: 9;
width: 200px;
padding: 0;
box-shadow: 0 0 10px #0000001f;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
flex-direction: column;
}
.ua-ultraaddons-menu ul.ua-menu li:hover .sub-menu .sub-menu {
display: none;
}
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children:hover>.sub-menu,
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children:focus>.sub-menu,
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children:active>.sub-menu {
transition-delay: 0s;
visibility: visible;
opacity: 1;
display: block;
}
.ua-ultraaddons-menu ul.ua-menu li.menu-item-has-children .sub-menu li.menu-item-has-children .sub-menu {
top: 0;
left: 100%;
}
}
69 changes: 69 additions & 0 deletions assets/css/widgets/search.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

.ultraaddons-element form.search-form,
.ultraaddons-element form.woocommerce-product-search{
position: relative;
display: flex;
}

.ultraaddons-element form.search-form input.search-field,
.ultraaddons-element form.woocommerce-product-search input.search-field{
width: 100%;
height: 58px;
border: 1px solid #e2ebf1;
border: 1px solid var(--medilac-secondary-deep);
/*border-radius: 0;*/
padding: 10px 15px;
color: #5c6b79;
color: var(--medilac-light-dark);
}
.ultraaddons-element form.search-form label{width: 100%;}
.ultraaddons-element form.search-form input.search-field::-webkit-input-placeholder,
.ultraaddons-element form.woocommerce-product-search input.search-field::-webkit-input-placeholder{
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.ultraaddons-element form.search-form input.search-field::-moz-placeholder,
.ultraaddons-element form.woocommerce-product-search input.search-field::-moz-placeholder{
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.ultraaddons-element form.search-form input.search-field:-ms-input-placeholder,
.ultraaddons-element form.woocommerce-product-search input.search-field:-ms-input-placeholder{
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.ultraaddons-element form.search-form input.search-field::placeholder,
.ultraaddons-element form.woocommerce-product-search input.search-field::placeholder{
opacity:1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.ultraaddons-element form.search-form input.search-submit,
.ultraaddons-element form.woocommerce-product-search button{
/* position: absolute; */
top: 0;
right: 0;
border: none;
/* height: 100%; */
/*border-radius: 0;*/
font-size: 0;
min-width: 60px;
width: 26%;
max-width: 190px;
color: transparent;
background: url('../../../assets/images/search-icon.png') no-repeat center center;
background-color: #0fc392;
cursor: pointer;
}
.ultraaddons-element form.search-form input.search-submit:hover,
.ultraaddons-element form.woocommerce-product-search button:hover,
.ultraaddons-element form.search-form input.search-submit:focus,
.ultraaddons-element form.woocommerce-product-search button:focus,
.ultraaddons-element form.search-form input.search-submit:active,
.ultraaddons-element form.woocommerce-product-search button:active
{
background-color: #0c9e77;
}
Binary file added assets/images/search-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit bbe0ff9

Please sign in to comment.