| 1 |
.wp-bottom-menu{ |
| 2 |
display: none; |
| 3 |
background: var(--wpbottommenu-bgcolor); |
| 4 |
width: 100%; |
| 5 |
position: fixed; |
| 6 |
bottom: 0; |
| 7 |
left: 0; |
| 8 |
justify-content: space-around; |
| 9 |
padding: var(--wpbottommenu-wrapper-padding); |
| 10 |
box-shadow: 0 -5px 10px rgba(0,0,0, 0.1); |
| 11 |
z-index: var(--wpbottommenu-zindex); |
| 12 |
transition: all 200ms; |
| 13 |
} |
| 14 |
|
| 15 |
.wp-bottom-menu-item{ |
| 16 |
position: relative; |
| 17 |
display: flex; |
| 18 |
flex-direction: column; |
| 19 |
justify-content: center; |
| 20 |
align-items: center; |
| 21 |
height: auto; |
| 22 |
flex: 1; |
| 23 |
font-size: var(--wpbottommenu-font-size); |
| 24 |
text-decoration: none; |
| 25 |
color: var(--wpbottommenu-text-color); |
| 26 |
cursor: pointer; |
| 27 |
user-select: none; |
| 28 |
text-decoration: none!important; |
| 29 |
transition: color 200ms; |
| 30 |
} |
| 31 |
|
| 32 |
.wp-bottom-menu-item:hover, |
| 33 |
.wp-bottom-menu-item.active, |
| 34 |
.wp-bottom-menu.sf-active .wp-bottom-menu-item.wp-bottom-menu-search-form-trigger{ |
| 35 |
color: var(--wpbottommenu-h-text-color); |
| 36 |
} |
| 37 |
|
| 38 |
.wp-bottom-menu-item span{ |
| 39 |
margin-top: 5px; |
| 40 |
color: inherit; |
| 41 |
} |
| 42 |
|
| 43 |
.wp-bottom-menu-item i{ |
| 44 |
font-size: var(--wpbottommenu-icon-size); |
| 45 |
color: var(--wpbottommenu-icon-color); |
| 46 |
font-family: FontAwesome; |
| 47 |
transition: color 200ms; |
| 48 |
} |
| 49 |
|
| 50 |
.wp-bottom-menu-item:hover i, |
| 51 |
.wp-bottom-menu-item.active i, |
| 52 |
.wp-bottom-menu.sf-active .wp-bottom-menu-item.wp-bottom-menu-search-form-trigger i{ |
| 53 |
color: var(--wpbottommenu-h-icon-color); |
| 54 |
} |
| 55 |
|
| 56 |
.wp-bottom-menu-item svg{ |
| 57 |
fill: var(--wpbottommenu-icon-color); |
| 58 |
width: var(--wpbottommenu-icon-size); |
| 59 |
height: var(--wpbottommenu-icon-size); |
| 60 |
} |
| 61 |
|
| 62 |
.wp-bottom-menu-item:hover svg, |
| 63 |
.wp-bottom-menu-item.active svg{ |
| 64 |
fill: var(--wpbottommenu-h-icon-color); |
| 65 |
} |
| 66 |
|
| 67 |
.wp-bottom-menu-icon-wrapper{ |
| 68 |
position: relative; |
| 69 |
line-height: 0; |
| 70 |
} |
| 71 |
|
| 72 |
.wp-bottom-menu-cart-count{ |
| 73 |
position: absolute; |
| 74 |
box-sizing: content-box; |
| 75 |
top: -5px; |
| 76 |
left: 50%; |
| 77 |
width: calc(var(--wpbottommenu-icon-size) * .75); |
| 78 |
height: calc(var(--wpbottommenu-icon-size) * .75); |
| 79 |
font-size: calc(var(--wpbottommenu-icon-size) * .5); |
| 80 |
line-height: calc(var(--wpbottommenu-icon-size) * .75); |
| 81 |
border: 2px solid var(--wpbottommenu-bgcolor); |
| 82 |
border-radius: 100%; |
| 83 |
text-align: center; |
| 84 |
background: var(--wpbottommenu-cart-count-bgcolor); |
| 85 |
color: var(--wpbottommenu-bgcolor); |
| 86 |
font-weight:bold; |
| 87 |
} |
| 88 |
|
| 89 |
.wp-bottom-menu-search-form-wrapper{ |
| 90 |
display: none; |
| 91 |
position: fixed; |
| 92 |
bottom: 0; |
| 93 |
left: 0; |
| 94 |
width: 100%; |
| 95 |
background: var(--wpbottommenu-bgcolor); |
| 96 |
padding: 10px; |
| 97 |
transition: all 200ms; |
| 98 |
transform: translateY(100%); |
| 99 |
box-sizing: border-box; |
| 100 |
} |
| 101 |
|
| 102 |
.wp-bottom-menu-search-form-wrapper form{ |
| 103 |
position: relative; |
| 104 |
} |
| 105 |
|
| 106 |
.wp-bottom-menu-search-form input[type="search"]{ |
| 107 |
border: 1px solid #eee; |
| 108 |
border-radius: 8px; |
| 109 |
width: 100%; |
| 110 |
font-size: 16px; |
| 111 |
height: 40px; |
| 112 |
padding-left: 50px; |
| 113 |
padding-right: 30px; |
| 114 |
} |
| 115 |
|
| 116 |
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-decoration, |
| 117 |
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-cancel-button, |
| 118 |
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-results-button, |
| 119 |
.wp-bottom-menu-search-form input[type="search"]::-webkit-search-results-decoration { |
| 120 |
display: none; |
| 121 |
} |
| 122 |
|
| 123 |
.wp-bottom-menu-search-form i, |
| 124 |
.wp-bottom-menu-search-form svg{ |
| 125 |
position: absolute; |
| 126 |
top: 50%; |
| 127 |
left: 30px; |
| 128 |
transform: translate(-50%,-50%); |
| 129 |
} |
| 130 |
|
| 131 |
/* Search Form Active */ |
| 132 |
|
| 133 |
.wp-bottom-menu-search-form-wrapper.sf-active{ |
| 134 |
z-index: calc(var(--wpbottommenu-zindex) - 1); |
| 135 |
box-shadow: 0 -5px 10px rgba(0,0,0, 0.1); |
| 136 |
transform: translateY(0); |
| 137 |
} |
| 138 |
|
| 139 |
.wp-bottom-menu.sf-active{ |
| 140 |
box-shadow: none; |
| 141 |
} |
| 142 |
|
| 143 |
/* Nav */ |
| 144 |
|
| 145 |
.wp-bottom-menu-nav-wrapper{ |
| 146 |
display: none; |
| 147 |
width: 100%; |
| 148 |
height: 100%; |
| 149 |
z-index: calc(var(--wpbottommenu-zindex) + 2 ); |
| 150 |
position: fixed; |
| 151 |
left: 0; |
| 152 |
top: 0; |
| 153 |
background: var(--wpbottommenu-bgcolor); |
| 154 |
color: var(--wpbottommenu-text-color); |
| 155 |
} |
| 156 |
|
| 157 |
.wp-bottom-menu-nav-wrapper.active{ |
| 158 |
display: grid; |
| 159 |
place-items: center; |
| 160 |
text-align: center; |
| 161 |
} |
| 162 |
|
| 163 |
.wpbm-nav-items{ |
| 164 |
position: relative; |
| 165 |
list-style-type: none; |
| 166 |
margin: 0; |
| 167 |
padding: 1em; |
| 168 |
} |
| 169 |
|
| 170 |
.wpbm-nav-items li:not(:last-child){ |
| 171 |
margin-bottom: 1em; |
| 172 |
} |
| 173 |
|
| 174 |
.wpbm-nav-items li a{ |
| 175 |
color: inherit; |
| 176 |
} |
| 177 |
|
| 178 |
.wpbm-nav-items li.current-menu-item a, |
| 179 |
.wpbm-nav-items li a:hover{ |
| 180 |
color: var(--wpbottommenu-h-text-color); |
| 181 |
} |
| 182 |
|
| 183 |
.wpbm-nav-close{ |
| 184 |
position: absolute; |
| 185 |
right: 10%; |
| 186 |
top: 10%; |
| 187 |
font-size: var(--wpbottommenu-icon-size); |
| 188 |
color: inherit; |
| 189 |
cursor: pointer; |
| 190 |
} |