| @@ -1,1145 +1,1145 @@ | ||
| 1 | -@horizontal-padding: @gutter * 0.5px; | |
| 2 | - | |
| 3 | -@import "mixins.less"; | |
| 4 | -@import "themes/general.less"; | |
| 5 | -@import "themes/grid.less"; | |
| 6 | - | |
| 7 | -// Locations | |
| 8 | -// ----------------------------------------------------------------------------- | |
| 9 | - | |
| 10 | -.loop(@i: length(@themes)) when (@i > 0) and not (@themes = '') { | |
| 11 | - | |
| 12 | - @theme: e(extract(@themes, @i)); | |
| 13 | - | |
| 14 | - @class: ~"quadmenu-@{theme}"; | |
| 15 | - | |
| 16 | - @font_font-family: "@{theme}_font_font-family"; | |
| 17 | - @font_font-weight: "@{theme}_font_font-weight"; | |
| 18 | - @font_font-size: "@{theme}_font_font-size"; | |
| 19 | - @font_font-style: "@{theme}_font_font-style"; | |
| 20 | - @font_letter-spacing: "@{theme}_font_letter-spacing"; | |
| 21 | - | |
| 22 | - @navbar_font_font-family: "@{theme}_navbar_font_font-family"; | |
| 23 | - @navbar_font_font-weight: "@{theme}_navbar_font_font-weight"; | |
| 24 | - @navbar_font_font-size: "@{theme}_navbar_font_font-size"; | |
| 25 | - @navbar_font_font-style: "@{theme}_navbar_font_font-style"; | |
| 26 | - @navbar_font_letter-spacing: "@{theme}_navbar_font_letter-spacing"; | |
| 27 | - | |
| 28 | - @dropdown_font_font-family: "@{theme}_dropdown_font_font-family"; | |
| 29 | - @dropdown_font_font-weight: "@{theme}_dropdown_font_font-weight"; | |
| 30 | - @dropdown_font_font-size: "@{theme}_dropdown_font_font-size"; | |
| 31 | - @dropdown_font_font-style: "@{theme}_dropdown_font_font-style"; | |
| 32 | - @dropdown_font_letter-spacing: "@{theme}_dropdown_font_letter-spacing"; | |
| 33 | - | |
| 34 | - @navbar_width: "@{theme}_navbar_width"; | |
| 35 | - @navbar_height: "@{theme}_navbar_height"; | |
| 36 | - @sticky_height: "@{theme}_sticky_height"; | |
| 37 | - | |
| 38 | - @navbar_background_color: "@{theme}_navbar_background_color"; | |
| 39 | - @navbar_background_to: "@{theme}_navbar_background_to"; | |
| 40 | - @navbar_background_deg: "@{theme}_navbar_background_deg"; | |
| 41 | - | |
| 42 | - @sticky_background_color: "@{theme}_sticky_background"; | |
| 43 | - | |
| 44 | - @navbar_mobile_border_color: "@{theme}_navbar_mobile_border"; | |
| 45 | - | |
| 46 | - @navbar_logo_bg: "@{theme}_navbar_logo_bg"; | |
| 47 | - @navbar_logo_height: "@{theme}_navbar_logo_height"; | |
| 48 | - @sticky_logo_height: "@{theme}_sticky_logo_height"; | |
| 49 | - | |
| 50 | - @navbar_link_bg: "@{theme}_navbar_link_bg"; | |
| 51 | - | |
| 52 | - @navbar_link_bg_hover: "@{theme}_navbar_link_bg_hover"; | |
| 53 | - | |
| 54 | - @navbar_divider: "@{theme}_navbar_divider"; | |
| 55 | - | |
| 56 | - @navbar_link_hover_effect: "@{theme}_navbar_link_hover_effect"; | |
| 57 | - | |
| 58 | - @navbar_link_margin_top: "@{theme}_navbar_link_margin_border-top"; | |
| 59 | - @navbar_link_margin_bottom: "@{theme}_navbar_link_margin_border-bottom"; | |
| 60 | - @navbar_link_margin_left: "@{theme}_navbar_link_margin_border-left"; | |
| 61 | - @navbar_link_margin_right: "@{theme}_navbar_link_margin_border-right"; | |
| 62 | - | |
| 63 | - @navbar_link_radius_top: "@{theme}_navbar_link_radius_border-top"; | |
| 64 | - @navbar_link_radius_bottom: "@{theme}_navbar_link_radius_border-bottom"; | |
| 65 | - @navbar_link_radius_left: "@{theme}_navbar_link_radius_border-left"; | |
| 66 | - @navbar_link_radius_right: "@{theme}_navbar_link_radius_border-right"; | |
| 67 | - | |
| 68 | - @navbar_button_radius_top: "@{theme}_navbar_button_radius_border-top"; | |
| 69 | - @navbar_button_radius_bottom: "@{theme}_navbar_button_radius_border-bottom"; | |
| 70 | - @navbar_button_radius_left: "@{theme}_navbar_button_radius_border-left"; | |
| 71 | - @navbar_button_radius_right: "@{theme}_navbar_button_radius_border-right"; | |
| 72 | - | |
| 73 | - @dropdown_margin: "@{theme}_dropdown_margin"; | |
| 74 | - @dropdown_radius_top: "@{theme}_dropdown_radius_border-top"; | |
| 75 | - @dropdown_radius_right: "@{theme}_dropdown_radius_border-right"; | |
| 76 | - @dropdown_radius_bottom: "@{theme}_dropdown_radius_border-bottom"; | |
| 77 | - @dropdown_radius_left: "@{theme}_dropdown_radius_border-left"; | |
| 78 | - @dropdown_border_color: "@{theme}_dropdown_border_border-color"; | |
| 79 | - @dropdown_border_top: "@{theme}_dropdown_border_border-top"; | |
| 80 | - @dropdown_border_right: "@{theme}_dropdown_border_border-right"; | |
| 81 | - @dropdown_border_bottom: "@{theme}_dropdown_border_border-bottom"; | |
| 82 | - @dropdown_border_left: "@{theme}_dropdown_border_border-left"; | |
| 83 | - | |
| 84 | - @dropdown_background: "@{theme}_dropdown_background"; | |
| 85 | - | |
| 86 | - @dropdown_title_border_width: "@{theme}_dropdown_title_border_border-top"; | |
| 87 | - @dropdown_title_border_style: "@{theme}_dropdown_title_border_border-style"; | |
| 88 | - @dropdown_title_border_color: "@{theme}_dropdown_title_border_border-color"; | |
| 89 | - | |
| 90 | - @dropdown_link: "@{theme}_dropdown_link"; | |
| 91 | - | |
| 92 | - @dropdown_link_hover: "@{theme}_dropdown_link_hover"; | |
| 93 | - @dropdown_link_bg_hover: "@{theme}_dropdown_link_bg_hover"; | |
| 94 | - | |
| 95 | - @dropdown_link_border_width: "@{theme}_dropdown_link_border_border-top"; | |
| 96 | - @dropdown_link_border_style: "@{theme}_dropdown_link_border_border-style"; | |
| 97 | - @dropdown_link_border_color: "@{theme}_dropdown_link_border_border-color"; | |
| 98 | - | |
| 99 | - //@dropdown_link_padding_top: "@{theme}_dropdown_link_padding_border-top"; | |
| 100 | - //@dropdown_link_padding_bottom: "@{theme}_dropdown_link_padding_border-bottom"; | |
| 101 | - //@dropdown_link_padding_left: "@{theme}_dropdown_link_padding_border-left"; | |
| 102 | - //@dropdown_link_padding_right: "@{theme}_dropdown_link_padding_border-right"; | |
| 103 | - | |
| 104 | - @mobile_link_padding_top: "@{theme}_mobile_link_padding_border-top"; | |
| 105 | - @mobile_link_padding_bottom: "@{theme}_mobile_link_padding_border-bottom"; | |
| 106 | - @mobile_link_padding_left: "@{theme}_mobile_link_padding_border-left"; | |
| 107 | - @mobile_link_padding_right: "@{theme}_mobile_link_padding_border-right"; | |
| 108 | - | |
| 109 | - @mobile_link_border_width: "@{theme}_mobile_link_border_border-top"; | |
| 110 | - @mobile_link_border_style: "@{theme}_mobile_link_border_border-style"; | |
| 111 | - @mobile_link_border_color: "@{theme}_mobile_link_border_border-color"; | |
| 112 | - | |
| 113 | - // Button | |
| 114 | - // ------------------------------------------------------------------------- | |
| 115 | - | |
| 116 | - @dropdown_button_radius_top: "@{theme}_dropdown_button_radius_border-top"; | |
| 117 | - @dropdown_button_radius_right: "@{theme}_dropdown_button_radius_border-right"; | |
| 118 | - @dropdown_button_radius_bottom: "@{theme}_dropdown_button_radius_border-bottom"; | |
| 119 | - @dropdown_button_radius_left: "@{theme}_dropdown_button_radius_border-left"; | |
| 120 | - | |
| 121 | - // Tab | |
| 122 | - // ------------------------------------------------------------------------- | |
| 123 | - | |
| 124 | - @dropdown_tab_bg: "@{theme}_dropdown_tab_bg"; | |
| 125 | - @dropdown_tab_bg_hover: "@{theme}_dropdown_tab_bg_hover"; | |
| 126 | - | |
| 127 | - .quadmenu-sticky-wrapper { | |
| 128 | - &.@{class} { | |
| 129 | - background-color: @@navbar_background_color; | |
| 130 | - } | |
| 131 | - } | |
| 132 | - | |
| 133 | - #quadmenu { | |
| 134 | - &.@{class} { | |
| 135 | - background-color: @@navbar_background_color; | |
| 136 | - color: ~"@{@{theme}_navbar_text}"; | |
| 137 | - | |
| 138 | - &.quadmenu-background-gradient { | |
| 139 | - .navbar-gradient(@@navbar_background_color, @@navbar_background_to, @@navbar_background_deg); | |
| 140 | - } | |
| 141 | - | |
| 142 | - // Fonts | |
| 143 | - // ----------------------------------------------------------------- | |
| 144 | - | |
| 145 | - font-family: @@font_font-family; | |
| 146 | - font-weight: @@font_font-weight; | |
| 147 | - font-size: @@font_font-size * 1px; | |
| 148 | - font-style: @@font_font-style; | |
| 149 | - .letter-spacing(@@font_letter-spacing); | |
| 150 | - | |
| 151 | - .quadmenu-navbar-nav { | |
| 152 | - | |
| 153 | - > li { | |
| 154 | - | |
| 155 | - &.quadmenu-item { | |
| 156 | - | |
| 157 | - > a, | |
| 158 | - > form { | |
| 159 | - font-family: @@navbar_font_font-family; | |
| 160 | - font-size: @@navbar_font_font-size * 1px; | |
| 161 | - font-weight: @@navbar_font_font-weight; | |
| 162 | - font-style: @@navbar_font_font-style; | |
| 163 | - .letter-spacing(@@navbar_font_letter-spacing); | |
| 164 | - } | |
| 165 | - | |
| 166 | - > form { | |
| 167 | - &.quadmenu-has-icon:not(.quadmenu-item-type-icon) { | |
| 168 | - > a > .quadmenu-item-content { | |
| 169 | - padding-left: @horizontal-padding*2px + @@navbar_font_font-size *1px; | |
| 170 | - } | |
| 171 | - } | |
| 172 | - } | |
| 173 | - | |
| 174 | - } | |
| 175 | - | |
| 176 | - } | |
| 177 | - | |
| 178 | - .quadmenu-dropdown-menu { | |
| 179 | - | |
| 180 | - .quadmenu-title { | |
| 181 | - font-family: @@navbar_font_font-family; | |
| 182 | - font-size: @@navbar_font_font-size * 1px; | |
| 183 | - } | |
| 184 | - | |
| 185 | - li { | |
| 186 | - &.quadmenu-item { | |
| 187 | - > a { | |
| 188 | - font-family: @@dropdown_font_font-family; | |
| 189 | - font-size: @@dropdown_font_font-size * 1px; | |
| 190 | - font-weight: @@dropdown_font_font-weight; | |
| 191 | - font-style: @@dropdown_font_font-style; | |
| 192 | - .letter-spacing(@@dropdown_font_letter-spacing); | |
| 193 | - | |
| 194 | - > .quadmenu-item-content { | |
| 195 | - | |
| 196 | - .quadmenu-product-price, | |
| 197 | - .quadmenu-product-rating { | |
| 198 | - &, | |
| 199 | - ins, | |
| 200 | - .woocommerce-Price-currencySymbol, | |
| 201 | - .woocommerce-Price-amount amount { | |
| 202 | - font-family: @@dropdown_font_font-family; | |
| 203 | - font-size: @@dropdown_font_font-size * 1px; | |
| 204 | - font-weight: @@dropdown_font_font-weight; | |
| 205 | - font-style: @@dropdown_font_font-style; | |
| 206 | - .letter-spacing(@@dropdown_font_letter-spacing); | |
| 207 | - } | |
| 208 | - } | |
| 209 | - | |
| 210 | - } | |
| 211 | - | |
| 212 | - } | |
| 213 | - } | |
| 214 | - } | |
| 215 | - | |
| 216 | - } | |
| 217 | - | |
| 218 | - } | |
| 219 | - | |
| 220 | - // Horizontal | |
| 221 | - // ----------------------------------------------------------------- | |
| 222 | - | |
| 223 | - .quadmenu-navbar-header { | |
| 224 | - | |
| 225 | - .quadmenu-navbar-brand { | |
| 226 | - margin-top: @@navbar_link_margin_top*1px; | |
| 227 | - margin-bottom: @@navbar_link_margin_bottom*1px; | |
| 228 | - } | |
| 229 | - | |
| 230 | - } | |
| 231 | - | |
| 232 | - &.quadmenu-is-horizontal { | |
| 233 | - | |
| 234 | - &.js { | |
| 235 | - .height(@@navbar_height); | |
| 236 | - } | |
| 237 | - | |
| 238 | - &.quadmenu-divider-show { | |
| 239 | - .quadmenu-navbar-nav { | |
| 240 | - > li > a:after, | |
| 241 | - > li.quadmenu-item-type-search > form:after { | |
| 242 | - margin-left: -@@navbar_link_margin_left*1px; | |
| 243 | - background-color: @@navbar_divider; | |
| 244 | - } | |
| 245 | - } | |
| 246 | - } | |
| 247 | - | |
| 248 | - .quadmenu-navbar-nav { | |
| 249 | - | |
| 250 | - // Tabs | |
| 251 | - // --------------------------------------------------------- | |
| 252 | - | |
| 253 | - > li { | |
| 254 | - &.quadmenu-item-type-tabs { | |
| 255 | - | |
| 256 | - > .quadmenu-dropdown-menu { | |
| 257 | - > ul { | |
| 258 | - > li { | |
| 259 | - > ul.quadmenu-tabs { | |
| 260 | - | |
| 261 | - > li.quadmenu-item-type-tab { | |
| 262 | - background-color: @@dropdown_tab_bg; | |
| 263 | - | |
| 264 | - &:hover, | |
| 265 | - &.open { | |
| 266 | - background-color: @@dropdown_tab_bg_hover; | |
| 267 | - } | |
| 268 | - } | |
| 269 | - } | |
| 270 | - | |
| 271 | - } | |
| 272 | - } | |
| 273 | - } | |
| 274 | - } | |
| 275 | - } | |
| 276 | - | |
| 277 | - > li { | |
| 278 | - > .quadmenu-dropdown-menu { | |
| 279 | - margin-top: @@dropdown_margin * 1px; | |
| 280 | - } | |
| 281 | - } | |
| 282 | - | |
| 283 | - // Button | |
| 284 | - // --------------------------------------------------------- | |
| 285 | - | |
| 286 | - li.quadmenu-item-type-button { | |
| 287 | - > a { | |
| 288 | - > .quadmenu-item-content { | |
| 289 | - border-radius: @@navbar_button_radius_top*1px @@navbar_button_radius_right*1px @@navbar_button_radius_bottom*1px @@navbar_button_radius_left*1px; | |
| 290 | - } | |
| 291 | - } | |
| 292 | - } | |
| 293 | - | |
| 294 | - .quadmenu-dropdown-menu { | |
| 295 | - border-top-left-radius: @@dropdown_radius_top*1px; | |
| 296 | - border-top-right-radius: @@dropdown_radius_right*1px; | |
| 297 | - border-bottom-right-radius: @@dropdown_radius_bottom*1px; | |
| 298 | - border-bottom-left-radius: @@dropdown_radius_left*1px; | |
| 299 | - border-top-width: @@dropdown_border_top*1px; | |
| 300 | - border-right-width: @@dropdown_border_right*1px; | |
| 301 | - border-bottom-width: @@dropdown_border_bottom*1px; | |
| 302 | - border-left-width: @@dropdown_border_left*1px; | |
| 303 | - border-color: @@dropdown_border_color; | |
| 304 | - border-style: solid; | |
| 305 | - background-color: @@dropdown_background; | |
| 306 | - | |
| 307 | - .dropdown-inner-radius(ceil(@@dropdown_radius_top - @@dropdown_border_top), ceil(@@dropdown_radius_right - @@dropdown_border_right), ceil(@@dropdown_radius_bottom - @@dropdown_border_bottom), ceil(@@dropdown_radius_left - @@dropdown_border_left)); | |
| 308 | - | |
| 309 | - // Border | |
| 310 | - // ----------------------------------------------------- | |
| 311 | - | |
| 312 | - li { | |
| 313 | - &.quadmenu-item { | |
| 314 | - | |
| 315 | - &:not(.quadmenu-item-type-tab) { | |
| 316 | - | |
| 317 | - &:not(:last-child):not(:only-child) { | |
| 318 | - > a { | |
| 319 | - border-color: @@dropdown_link_border_color; | |
| 320 | - border-style: @@dropdown_link_border_style; | |
| 321 | - border-width: 0 0 @@dropdown_link_border_width*1px 0; | |
| 322 | - } | |
| 323 | - } | |
| 324 | - } | |
| 325 | - | |
| 326 | - } | |
| 327 | - | |
| 328 | - } | |
| 329 | - | |
| 330 | - } | |
| 331 | - | |
| 332 | - .quadmenu-dropdown-submenu { | |
| 333 | - &:not(.quadmenu-item-type-tab) > .quadmenu-dropdown-menu { | |
| 334 | - margin: @@dropdown_border_top * -1px @@dropdown_margin*1px+@@dropdown_border_right*1px 0 @@dropdown_margin*1px+@@dropdown_border_left*1px; | |
| 335 | - } | |
| 336 | - } | |
| 337 | - } | |
| 338 | - } | |
| 339 | - | |
| 340 | - // Sicky | |
| 341 | - // ----------------------------------------------------------------- | |
| 342 | - | |
| 343 | - &.quadmenu-sticky-top { | |
| 344 | - | |
| 345 | - &.js { | |
| 346 | - .height(@@sticky_height); | |
| 347 | - } | |
| 348 | - | |
| 349 | - background-color: @@sticky_background_color; | |
| 350 | - | |
| 351 | - .quadmenu-navbar-brand { | |
| 352 | - > img { | |
| 353 | - height: @@sticky_logo_height * 1px; | |
| 354 | - } | |
| 355 | - } | |
| 356 | - } | |
| 357 | - | |
| 358 | - // Brand | |
| 359 | - // ----------------------------------------------------------------- | |
| 360 | - | |
| 361 | - .quadmenu-navbar-brand { | |
| 362 | - color: ~"@{@{theme}_navbar_link}"; | |
| 363 | - &:hover, | |
| 364 | - &:focus { | |
| 365 | - color: ~"@{@{theme}_navbar_link_hover}"; | |
| 366 | - } | |
| 367 | - | |
| 368 | - &.img { | |
| 369 | - background-color: @@navbar_logo_bg; | |
| 370 | - } | |
| 371 | - | |
| 372 | - > img { | |
| 373 | - height: @@navbar_logo_height * 1px; | |
| 374 | - } | |
| 375 | - } | |
| 376 | - | |
| 377 | - .quadmenu-navbar-toggle { | |
| 378 | - &.collapsed { | |
| 379 | - .icon-bar { | |
| 380 | - background-color: ~"@{@{theme}_navbar_toggle_open}"; | |
| 381 | - } | |
| 382 | - } | |
| 383 | - .icon-bar { | |
| 384 | - background-color: ~"@{@{theme}_navbar_toggle_close}"; | |
| 385 | - } | |
| 386 | - } | |
| 387 | - | |
| 388 | - // Perfect Scrollbar | |
| 389 | - // ----------------------------------------------------------------- | |
| 390 | - | |
| 391 | - .ps-container { | |
| 392 | - | |
| 393 | - >.ps-scrollbar-y-rail { | |
| 394 | - background-color: ~"@{@{theme}_navbar_scrollbar_rail}"; | |
| 395 | - | |
| 396 | - >.ps-scrollbar-y { | |
| 397 | - background-color: ~"@{@{theme}_navbar_scrollbar}"; | |
| 398 | - } | |
| 399 | - | |
| 400 | - &:hover, | |
| 401 | - &:active { | |
| 402 | - >.ps-scrollbar-y { | |
| 403 | - background-color: ~"@{@{theme}_navbar_scrollbar}"; | |
| 404 | - } | |
| 405 | - } | |
| 406 | - } | |
| 407 | - } | |
| 408 | - | |
| 409 | - .quadmenu-dropdown-menu { | |
| 410 | - | |
| 411 | - .ps-container { | |
| 412 | - >.ps-scrollbar-y-rail { | |
| 413 | - | |
| 414 | - >.ps-scrollbar-y { | |
| 415 | - background-color: ~"@{@{theme}_dropdown_scrollbar}"; | |
| 416 | - } | |
| 417 | - | |
| 418 | - &:hover, | |
| 419 | - &:active { | |
| 420 | - >.ps-scrollbar-y { | |
| 421 | - background-color: ~"@{@{theme}_dropdown_scrollbar}"; | |
| 422 | - } | |
| 423 | - } | |
| 424 | - } | |
| 425 | - | |
| 426 | - } | |
| 427 | - } | |
| 428 | - | |
| 429 | - // Effect | |
| 430 | - // ----------------------------------------------------------------- | |
| 431 | - | |
| 432 | - &.quadmenu-hover-ripple, | |
| 433 | - &.quadmenu-hover-slidebar { | |
| 434 | - | |
| 435 | - .quadmenu-navbar-nav { | |
| 436 | - | |
| 437 | - > li { | |
| 438 | - | |
| 439 | - &.quadmenu-item { | |
| 440 | - &.quadmenu-has-link { | |
| 441 | - > a:before { | |
| 442 | - background-color: @@navbar_link_hover_effect; | |
| 443 | - } | |
| 444 | - } | |
| 445 | - } | |
| 446 | - | |
| 447 | - &.quadmenu-slidebar { | |
| 448 | - > .bar { | |
| 449 | - background-color: @@navbar_link_hover_effect; | |
| 450 | - } | |
| 451 | - } | |
| 452 | - | |
| 453 | - } | |
| 454 | - } | |
| 455 | - | |
| 456 | - } | |
| 457 | - // UL | |
| 458 | - // ----------------------------------------------------------------- | |
| 459 | - .quadmenu-navbar-nav { | |
| 460 | - | |
| 461 | - > li { | |
| 462 | - | |
| 463 | - &.quadmenu-item { | |
| 464 | - &.quadmenu-has-link { | |
| 465 | - > a:before, | |
| 466 | - > span.bar { | |
| 467 | - background-color: @@navbar_link_hover_effect; | |
| 468 | - } | |
| 469 | - } | |
| 470 | - } | |
| 471 | - | |
| 472 | - } | |
| 473 | - | |
| 474 | - > li { | |
| 475 | - &:not(.quadmenu-item-type-button) { | |
| 476 | - margin: @@navbar_link_margin_top*1px @@navbar_link_margin_right*1px @@navbar_link_margin_bottom*1px @@navbar_link_margin_left*1px; | |
| 477 | - border-radius: @@navbar_link_radius_top*1px @@navbar_link_radius_right*1px @@navbar_link_radius_bottom*1px @@navbar_link_radius_left*1px; | |
| 478 | - | |
| 479 | - > a { | |
| 480 | - | |
| 481 | - > .quadmenu-item-content { | |
| 482 | - color: ~"@{@{theme}_navbar_link}"; | |
| 483 | - text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 484 | - | |
| 485 | - > .quadmenu-icon { | |
| 486 | - color: ~"@{@{theme}_navbar_link_icon}"; | |
| 487 | - } | |
| 488 | - | |
| 489 | - > .quadmenu-subtitle { | |
| 490 | - color: ~"@{@{theme}_navbar_link_subtitle}"; | |
| 491 | - } | |
| 492 | - | |
| 493 | - > .quadmenu-badge { | |
| 494 | - | |
| 495 | - > .quadmenu-badge-bubble { | |
| 496 | - background-color: ~"@{@{theme}_navbar_badge}"; | |
| 497 | - color: ~"@{@{theme}_navbar_badge_color}"; | |
| 498 | - } | |
| 499 | - } | |
| 500 | - } | |
| 501 | - | |
| 502 | - } | |
| 503 | - | |
| 504 | - &.quadmenu-has-link { | |
| 505 | - | |
| 506 | - background-color: @@navbar_link_bg; | |
| 507 | - | |
| 508 | - &:hover, | |
| 509 | - &.open { | |
| 510 | - | |
| 511 | - background-color: @@navbar_link_bg_hover; | |
| 512 | - | |
| 513 | - > a { | |
| 514 | - | |
| 515 | - > .quadmenu-item-content { | |
| 516 | - color: ~"@{@{theme}_navbar_link_hover}"; | |
| 517 | - > .quadmenu-icon { | |
| 518 | - color: ~"@{@{theme}_navbar_link_icon_hover}"; | |
| 519 | - } | |
| 520 | - > .quadmenu-subtitle { | |
| 521 | - color: ~"@{@{theme}_navbar_link_subtitle_hover}";//!important; | |
| 522 | - } | |
| 523 | - } | |
| 524 | - } | |
| 525 | - } | |
| 526 | - } | |
| 527 | - } | |
| 528 | - } | |
| 529 | - | |
| 530 | - // Button | |
| 531 | - // ------------------------------------------------------------- | |
| 532 | - | |
| 533 | - > li.quadmenu-item-type-button { | |
| 534 | - | |
| 535 | - > a { | |
| 536 | - | |
| 537 | - > .quadmenu-item-content { | |
| 538 | - color: ~"@{@{theme}_navbar_button}"; | |
| 539 | - text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 540 | - background-color: ~"@{@{theme}_navbar_button_background}"; | |
| 541 | - | |
| 542 | - > .quadmenu-icon { | |
| 543 | - color: ~"@{@{theme}_navbar_button}"; | |
| 544 | - } | |
| 545 | - } | |
| 546 | - } | |
| 547 | - | |
| 548 | - &:active, | |
| 549 | - &:focus, | |
| 550 | - &:hover, | |
| 551 | - &.open { | |
| 552 | - > a { | |
| 553 | - > .quadmenu-item-content { | |
| 554 | - color: ~"@{@{theme}_navbar_button_hover}"; | |
| 555 | - background-color: ~"@{@{theme}_navbar_button_hover_background}"; | |
| 556 | - | |
| 557 | - > .quadmenu-icon { | |
| 558 | - color: ~"@{@{theme}_navbar_button_hover}"; | |
| 559 | - } | |
| 560 | - } | |
| 561 | - } | |
| 562 | - } | |
| 563 | - } | |
| 564 | - | |
| 565 | - // Search | |
| 566 | - // ------------------------------------------------------------- | |
| 567 | - | |
| 568 | - > li.quadmenu-item-type-search { | |
| 569 | - | |
| 570 | - > form { | |
| 571 | - ::placeholder { | |
| 572 | - color: ~"@{@{theme}_navbar_link}"; | |
| 573 | - font-family: @@navbar_font_font-family; | |
| 574 | - font-size: @@navbar_font_font-size * 1px; | |
| 575 | - font-weight: @@navbar_font_font-weight; | |
| 576 | - font-style: @@navbar_font_font-style; | |
| 577 | - text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 578 | - .letter-spacing(@@navbar_font_letter-spacing); | |
| 579 | - } | |
| 580 | - | |
| 581 | - input { | |
| 582 | - color: ~"@{@{theme}_navbar_link}"; | |
| 583 | - font-family: @@navbar_font_font-family; | |
| 584 | - font-size: @@navbar_font_font-size * 1px; | |
| 585 | - font-weight: @@navbar_font_font-weight; | |
| 586 | - font-style: @@navbar_font_font-style; | |
| 587 | - text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 588 | - .letter-spacing(@@navbar_font_letter-spacing); | |
| 589 | - } | |
| 590 | - | |
| 591 | - i { | |
| 592 | - color: ~"@{@{theme}_navbar_link_icon}"; | |
| 593 | - } | |
| 594 | - } | |
| 595 | - } | |
| 596 | - | |
| 597 | - // Cart & Login | |
| 598 | - // ------------------------------------------------------------- | |
| 599 | - | |
| 600 | - > li.quadmenu-item-type-login, | |
| 601 | - > li.quadmenu-item-type-cart { | |
| 602 | - | |
| 603 | - > .quadmenu-dropdown-menu { | |
| 604 | - | |
| 605 | - .quadmenu-bottom-text { | |
| 606 | - font-family: @@navbar_font_font-family; | |
| 607 | - font-size: @@navbar_font_font-size * 1px; | |
| 608 | - font-weight: @@navbar_font_font-weight; | |
| 609 | - font-style: @@navbar_font_font-style; | |
| 610 | - text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 611 | - .letter-spacing(@@navbar_font_letter-spacing); | |
| 612 | - | |
| 613 | - .background-color-diff(@@dropdown_background, 4); | |
| 614 | - } | |
| 615 | - | |
| 616 | - li.woocommerce-mini-cart-item { | |
| 617 | - .blockUI.blockOverlay { | |
| 618 | - background-color: @@dropdown_background!important; | |
| 619 | - } | |
| 620 | - } | |
| 621 | - } | |
| 622 | - | |
| 623 | - } | |
| 624 | - | |
| 625 | - // Cart | |
| 626 | - // ------------------------------------------------------------- | |
| 627 | - | |
| 628 | - > li.quadmenu-item-type-cart { | |
| 629 | - | |
| 630 | - > a > .quadmenu-item-content { | |
| 631 | - | |
| 632 | - > .quadmenu-cart-magic { | |
| 633 | - | |
| 634 | - > .quadmenu-icon { | |
| 635 | - color: ~"@{@{theme}_navbar_link_icon}"; | |
| 636 | - } | |
| 637 | - | |
| 638 | - > .quadmenu-cart-qty { | |
| 639 | - background-color: ~"@{@{theme}_navbar_badge}"; | |
| 640 | - color: ~"@{@{theme}_navbar_badge_color}"; | |
| 641 | - } | |
| 642 | - } | |
| 643 | - | |
| 644 | - } | |
| 645 | - &:hover, | |
| 646 | - &.open { | |
| 647 | - > a > .quadmenu-item-content { | |
| 648 | - | |
| 649 | - > .quadmenu-cart-magic { | |
| 650 | - | |
| 651 | - > .quadmenu-icon { | |
| 652 | - color: ~"@{@{theme}_navbar_link_icon_hover}"; | |
| 653 | - } | |
| 654 | - } | |
| 655 | - | |
| 656 | - } | |
| 657 | - } | |
| 658 | - | |
| 659 | - &.quadmenu-cart-empty { | |
| 660 | - | |
| 661 | - > .quadmenu-dropdown-menu { | |
| 662 | - | |
| 663 | - .widget_shopping_cart { | |
| 664 | - &, | |
| 665 | - li { | |
| 666 | - font-family: @@navbar_font_font-family; | |
| 667 | - font-size: @@navbar_font_font-size * 1px; | |
| 668 | - font-weight: @@navbar_font_font-weight; | |
| 669 | - font-style: @@navbar_font_font-style; | |
| 670 | - text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 671 | - .letter-spacing(@@navbar_font_letter-spacing); | |
| 672 | - | |
| 673 | - } | |
| 674 | - } | |
| 675 | - | |
| 676 | - } | |
| 677 | - | |
| 678 | - } | |
| 679 | - } | |
| 680 | - | |
| 681 | - // Social | |
| 682 | - // ------------------------------------------------------------- | |
| 683 | - | |
| 684 | - > li.quadmenu-item-type-social { | |
| 685 | - | |
| 686 | - > .quadmenu-toggle-container > a { | |
| 687 | - | |
| 688 | - color: ~"@{@{theme}_navbar_link}"; | |
| 689 | - | |
| 690 | - > .quadmenu-icon { | |
| 691 | - color: ~"@{@{theme}_navbar_link_icon}"; | |
| 692 | - } | |
| 693 | - | |
| 694 | - &:hover, | |
| 695 | - &:focus { | |
| 696 | - | |
| 697 | - > .quadmenu-icon { | |
| 698 | - color: ~"@{@{theme}_navbar_link_icon_hover}"; | |
| 699 | - } | |
| 700 | - | |
| 701 | - } | |
| 702 | - | |
| 703 | - } | |
| 704 | - | |
| 705 | - } | |
| 706 | - | |
| 707 | - // Carousel | |
| 708 | - // ------------------------------------------------------------- | |
| 709 | - | |
| 710 | - .owl-carousel { | |
| 711 | - | |
| 712 | - .owl-dots { | |
| 713 | - .owl-dot span { | |
| 714 | - background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 715 | - } | |
| 716 | - } | |
| 717 | - | |
| 718 | - .owl-nav { | |
| 719 | - | |
| 720 | - .owl-prev, | |
| 721 | - .owl-next { | |
| 722 | - color: ~"@{@{theme}_dropdown_button}"; | |
| 723 | - background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 724 | - | |
| 725 | - &:active, | |
| 726 | - &:focus, | |
| 727 | - &:hover { | |
| 728 | - color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 729 | - background-color: ~"@{@{theme}_dropdown_button_bg_hover}"; | |
| 730 | - } | |
| 731 | - | |
| 732 | - } | |
| 733 | - | |
| 734 | - } | |
| 735 | - | |
| 736 | - } | |
| 737 | - | |
| 738 | - // Login | |
| 739 | - // ------------------------------------------------------------- | |
| 740 | - | |
| 741 | - > li.quadmenu-item-type-login { | |
| 742 | - | |
| 743 | - > a { | |
| 744 | - | |
| 745 | - > .quadmenu-item-content { | |
| 746 | - | |
| 747 | - > .quadmenu-avatar { | |
| 748 | - | |
| 749 | - > img { | |
| 750 | - height: @@navbar_logo_height*1px; | |
| 751 | - width: @@navbar_logo_height*1px; | |
| 752 | - } | |
| 753 | - } | |
| 754 | - } | |
| 755 | - | |
| 756 | - } | |
| 757 | - | |
| 758 | - a { | |
| 759 | - color: @@dropdown_link; | |
| 760 | - &:hover { | |
| 761 | - color: @@dropdown_link_hover; | |
| 762 | - } | |
| 763 | - } | |
| 764 | - | |
| 765 | - } | |
| 766 | - | |
| 767 | - // Dropdown Menu | |
| 768 | - // ------------------------------------------------------------- | |
| 769 | - | |
| 770 | - .quadmenu-dropdown-menu { | |
| 771 | - background-color: @@dropdown_background; | |
| 772 | - | |
| 773 | - .quadmenu-title { | |
| 774 | - color: ~"@{@{theme}_dropdown_title}"; | |
| 775 | - .link-border(@@dropdown_title_border_width,@@dropdown_title_border_style,@@dropdown_title_border_color, @vertical-padding); | |
| 776 | - } | |
| 777 | - | |
| 778 | - form { | |
| 779 | - ::placeholder { | |
| 780 | - color: @@dropdown_link; | |
| 781 | - } | |
| 782 | - } | |
| 783 | - | |
| 784 | - input, | |
| 785 | - textarea, | |
| 786 | - select, | |
| 787 | - .button { | |
| 788 | - font-family: @@dropdown_font_font-family; | |
| 789 | - font-size: @@dropdown_font_font-size * 1px; | |
| 790 | - font-weight: @@dropdown_font_font-weight; | |
| 791 | - font-style: @@dropdown_font_font-style; | |
| 792 | - text-transform: ~"@{@{theme}_dropdown_link_transform}"; | |
| 793 | - .letter-spacing(@@dropdown_font_letter-spacing); | |
| 794 | - } | |
| 795 | - | |
| 796 | - .button { | |
| 797 | - color: ~"@{@{theme}_dropdown_button}"; | |
| 798 | - background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 799 | - border-top-left-radius: @@navbar_button_radius_top*1px; | |
| 800 | - border-top-right-radius: @@navbar_button_radius_right*1px; | |
| 801 | - border-bottom-right-radius: @@navbar_button_radius_bottom*1px; | |
| 802 | - border-bottom-left-radius: @@navbar_button_radius_left*1px; | |
| 803 | - | |
| 804 | - &:hover, | |
| 805 | - &.active { | |
| 806 | - color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 807 | - background-color: ~"@{@{theme}_dropdown_button_bg_hover}"; | |
| 808 | - } | |
| 809 | - } | |
| 810 | - | |
| 811 | - li { | |
| 812 | - &.quadmenu-item { | |
| 813 | - | |
| 814 | - > a { | |
| 815 | - border-color: @@dropdown_link_border_color; | |
| 816 | - | |
| 817 | - > .quadmenu-item-content { | |
| 818 | - color: @@dropdown_link; | |
| 819 | - text-transform: ~"@{@{theme}_dropdown_link_transform}"; | |
| 820 | - //padding: @@dropdown_link_padding_top*1px @@dropdown_link_padding_right*1px @@dropdown_link_padding_bottom*1px @@dropdown_link_padding_left*1px; | |
| 821 | - | |
| 822 | - > .quadmenu-icon { | |
| 823 | - color: ~"@{@{theme}_dropdown_link_icon}"; | |
| 824 | - } | |
| 825 | - > .quadmenu-subtitle, | |
| 826 | - > .quadmenu-description { | |
| 827 | - color: ~"@{@{theme}_dropdown_link_subtitle}"; | |
| 828 | - } | |
| 829 | - | |
| 830 | - > .quadmenu-badge { | |
| 831 | - | |
| 832 | - > .quadmenu-badge-bubble { | |
| 833 | - background-color: ~"@{@{theme}_navbar_badge}"; | |
| 834 | - color: ~"@{@{theme}_navbar_badge_color}"; | |
| 835 | - } | |
| 836 | - } | |
| 837 | - } | |
| 838 | - } | |
| 839 | - | |
| 840 | - &:hover, | |
| 841 | - &.open { | |
| 842 | - | |
| 843 | - > a { | |
| 844 | - | |
| 845 | - > .quadmenu-item-content { | |
| 846 | - | |
| 847 | - color: @@dropdown_link_hover;//!important; | |
| 848 | - | |
| 849 | - > .quadmenu-icon { | |
| 850 | - color: ~"@{@{theme}_dropdown_link_icon_hover}"; | |
| 851 | - } | |
| 852 | - | |
| 853 | - > .quadmenu-description, | |
| 854 | - > .quadmenu-subtitle { | |
| 855 | - color: ~"@{@{theme}_dropdown_link_subtitle_hover}"; | |
| 856 | - } | |
| 857 | - } | |
| 858 | - } | |
| 859 | - | |
| 860 | - } | |
| 861 | - | |
| 862 | - &.quadmenu-has-link { | |
| 863 | - &:hover, | |
| 864 | - &.open { | |
| 865 | - background-color: @@dropdown_link_bg_hover; | |
| 866 | - } | |
| 867 | - } | |
| 868 | - } | |
| 869 | - } | |
| 870 | - | |
| 871 | - // Button | |
| 872 | - // --------------------------------------------------------- | |
| 873 | - | |
| 874 | - li.quadmenu-item-type-button { | |
| 875 | - > a { | |
| 876 | - > .quadmenu-item-content { | |
| 877 | - color: ~"@{@{theme}_dropdown_button}"; | |
| 878 | - background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 879 | - > .quadmenu-icon { | |
| 880 | - color: ~"@{@{theme}_dropdown_button}"; | |
| 881 | - } | |
| 882 | - } | |
| 883 | - } | |
| 884 | - | |
| 885 | - &:active, | |
| 886 | - &:focus, | |
| 887 | - &:hover, | |
| 888 | - &.open { | |
| 889 | - > a { | |
| 890 | - > .quadmenu-item-content { | |
| 891 | - color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 892 | - background-color: ~"@{@{theme}_dropdown_button_bg_hover}"; | |
| 893 | - | |
| 894 | - > .quadmenu-icon { | |
| 895 | - color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 896 | - } | |
| 897 | - } | |
| 898 | - } | |
| 899 | - } | |
| 900 | - } | |
| 901 | - } | |
| 902 | - } | |
| 903 | - | |
| 904 | - // Mobile | |
| 905 | - // ----------------------------------------------------------------- | |
| 906 | - | |
| 907 | - &:not(.quadmenu-is-horizontal) { | |
| 908 | - | |
| 909 | - .quadmenu-navbar-collapse { | |
| 910 | - | |
| 911 | - &.collapsing, | |
| 912 | - &.in { | |
| 913 | - box-shadow: inset 0 1px 0 @@navbar_mobile_border_color; | |
| 914 | - } | |
| 915 | - } | |
| 916 | - | |
| 917 | - .quadmenu-navbar-nav { | |
| 918 | - | |
| 919 | - > li.quadmenu-item-type-login, | |
| 920 | - > li.quadmenu-item-type-cart { | |
| 921 | - | |
| 922 | - > .quadmenu-dropdown-menu { | |
| 923 | - | |
| 924 | - padding-top: @@mobile_link_padding_top*2px; | |
| 925 | - padding-bottom: @@mobile_link_padding_bottom*2px; | |
| 926 | - padding-left: @@mobile_link_padding_left*1px; | |
| 927 | - padding-right: @@mobile_link_padding_right*1px; | |
| 928 | - | |
| 929 | - .quadmenu-bottom-text { | |
| 930 | - margin-top: @@mobile_link_padding_top*2px; | |
| 931 | - margin-bottom: -@@mobile_link_padding_bottom*2px; | |
| 932 | - margin-left: -@@mobile_link_padding_left*1px; | |
| 933 | - margin-right: -@@mobile_link_padding_right*1px; | |
| 934 | - } | |
| 935 | - | |
| 936 | - } | |
| 937 | - } | |
| 938 | - | |
| 939 | - > li.quadmenu-item-type-login { | |
| 940 | - | |
| 941 | - > .quadmenu-dropdown-menu { | |
| 942 | - > ul { | |
| 943 | - width: auto; | |
| 944 | - margin: 0 -@@mobile_link_padding_right 0 -@@mobile_link_padding_left; | |
| 945 | - } | |
| 946 | - } | |
| 947 | - } | |
| 948 | - | |
| 949 | - > li.quadmenu-item-type-cart { | |
| 950 | - | |
| 951 | - &.quadmenu-cart-empty { | |
| 952 | - | |
| 953 | - > .quadmenu-dropdown-menu { | |
| 954 | - .widget_shopping_cart { | |
| 955 | - padding-bottom: @@mobile_link_padding_bottom*2px; | |
| 956 | - } | |
| 957 | - } | |
| 958 | - } | |
| 959 | - | |
| 960 | - > .quadmenu-dropdown-menu { | |
| 961 | - | |
| 962 | - .quadmenu-empty-icon { | |
| 963 | - padding-top: @@mobile_link_padding_top*2px; | |
| 964 | - padding-bottom: @@mobile_link_padding_bottom*2px; | |
| 965 | - } | |
| 966 | - | |
| 967 | - } | |
| 968 | - } | |
| 969 | - | |
| 970 | - > li.quadmenu-item-type-social { | |
| 971 | - | |
| 972 | - > .quadmenu-toggle-container { | |
| 973 | - | |
| 974 | - > a { | |
| 975 | - padding-left: @@mobile_link_padding_left; | |
| 976 | - padding-right: @@mobile_link_padding_right; | |
| 977 | - } | |
| 978 | - } | |
| 979 | - | |
| 980 | - } | |
| 981 | - | |
| 982 | - | |
| 983 | - > li { | |
| 984 | - &.quadmenu-item { | |
| 985 | - | |
| 986 | - &:not(.open) { | |
| 987 | - &:not(:last-child):not(:only-child) { | |
| 988 | - > a { | |
| 989 | - border-color: @@mobile_link_border_color; | |
| 990 | - border-style: @@mobile_link_border_style; | |
| 991 | - border-width: 0 0 @@mobile_link_border_width*1px 0; | |
| 992 | - } | |
| 993 | - } | |
| 994 | - } | |
| 995 | - | |
| 996 | - .owl-carousel { | |
| 997 | - | |
| 998 | - &:not(:last-child):not(:only-child) { | |
| 999 | - border-color: @@mobile_link_border_color; | |
| 1000 | - border-style: @@mobile_link_border_style; | |
| 1001 | - border-width: 0 0 @@mobile_link_border_width*1px 0; | |
| 1002 | - } | |
| 1003 | - | |
| 1004 | - } | |
| 1005 | - | |
| 1006 | - } | |
| 1007 | - | |
| 1008 | - } | |
| 1009 | - | |
| 1010 | - > li { | |
| 1011 | - &.quadmenu-item-type-search { | |
| 1012 | - | |
| 1013 | - > form { | |
| 1014 | - | |
| 1015 | - > .quadmenu-item-content { | |
| 1016 | - margin: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px; | |
| 1017 | - padding: 0; | |
| 1018 | - } | |
| 1019 | - | |
| 1020 | - } | |
| 1021 | - } | |
| 1022 | - } | |
| 1023 | - | |
| 1024 | - li { | |
| 1025 | - | |
| 1026 | - | |
| 1027 | - &.quadmenu-dropdown { | |
| 1028 | - | |
| 1029 | - form { | |
| 1030 | - | |
| 1031 | - .quadmenu-item-content + .quadmenu-item-content { | |
| 1032 | - margin-top: @@mobile_link_padding_top*1px; | |
| 1033 | - } | |
| 1034 | - | |
| 1035 | - } | |
| 1036 | - | |
| 1037 | - } | |
| 1038 | - | |
| 1039 | - &.quadmenu-item { | |
| 1040 | - | |
| 1041 | - .quadmenu-item-content { | |
| 1042 | - &, | |
| 1043 | - > .quadmenu-caret { | |
| 1044 | - padding: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px; | |
| 1045 | - } | |
| 1046 | - | |
| 1047 | - } | |
| 1048 | - | |
| 1049 | - .quadmenu-item-widget { | |
| 1050 | - padding: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px; | |
| 1051 | - } | |
| 1052 | - | |
| 1053 | - &.open { | |
| 1054 | - | |
| 1055 | - > a { | |
| 1056 | - | |
| 1057 | - > .quadmenu-item-content { | |
| 1058 | - | |
| 1059 | - > .quadmenu-caret { | |
| 1060 | - color: @@dropdown_link; | |
| 1061 | - background-color: @@dropdown_background; | |
| 1062 | - } | |
| 1063 | - } | |
| 1064 | - } | |
| 1065 | - } | |
| 1066 | - } | |
| 1067 | - | |
| 1068 | - } | |
| 1069 | - | |
| 1070 | - // Button | |
| 1071 | - // --------------------------------------------------------- | |
| 1072 | - | |
| 1073 | - li { | |
| 1074 | - &.quadmenu-item-type-button { | |
| 1075 | - padding-left: @@mobile_link_padding_right*1px; | |
| 1076 | - padding-right: @@mobile_link_padding_left*1px; | |
| 1077 | - } | |
| 1078 | - } | |
| 1079 | - | |
| 1080 | - // Dropdown | |
| 1081 | - // --------------------------------------------------------- | |
| 1082 | - | |
| 1083 | - .quadmenu-dropdown-menu { | |
| 1084 | - | |
| 1085 | - border-color: @@mobile_link_border_color; | |
| 1086 | - border-style: @@mobile_link_border_style; | |
| 1087 | - border-width: 0 0 @@mobile_link_border_width*1px 0; | |
| 1088 | - | |
| 1089 | - li { | |
| 1090 | - &.quadmenu-item { | |
| 1091 | - | |
| 1092 | - &:not(:last-child):not(:only-child) { | |
| 1093 | - > a { | |
| 1094 | - border-style: @@dropdown_link_border_style; | |
| 1095 | - border-width: 0 0 @@dropdown_link_border_width*1px 0; | |
| 1096 | - } | |
| 1097 | - } | |
| 1098 | - | |
| 1099 | - .owl-carousel { | |
| 1100 | - | |
| 1101 | - &:not(:last-child):not(:only-child) { | |
| 1102 | - | |
| 1103 | - border-style: @@dropdown_link_border_style; | |
| 1104 | - border-width: 0 0 @@dropdown_link_border_width*1px 0; | |
| 1105 | - border-color: @@dropdown_link_border_color; | |
| 1106 | - } | |
| 1107 | - | |
| 1108 | - } | |
| 1109 | - | |
| 1110 | - } | |
| 1111 | - | |
| 1112 | - } | |
| 1113 | - | |
| 1114 | - } | |
| 1115 | - | |
| 1116 | - } | |
| 1117 | - | |
| 1118 | - } | |
| 1119 | - | |
| 1120 | - // Offcanvas | |
| 1121 | - // ----------------------------------------------------------------- | |
| 1122 | - | |
| 1123 | - &:not(.quadmenu-is-horizontal) { | |
| 1124 | - | |
| 1125 | - &.quadmenu-background-gradient { | |
| 1126 | - | |
| 1127 | - .navbar-offcanvas { | |
| 1128 | - .navbar-gradient(@@navbar_background_color, @@navbar_background_to, @@navbar_background_deg); | |
| 1129 | - } | |
| 1130 | - | |
| 1131 | - } | |
| 1132 | - | |
| 1133 | - .navbar-offcanvas { | |
| 1134 | - background-color: @@navbar_background_color; | |
| 1135 | - width: @@navbar_width * 1px; | |
| 1136 | - max-width: 80%; | |
| 1137 | - } | |
| 1138 | - | |
| 1139 | - } | |
| 1140 | - | |
| 1141 | - } | |
| 1142 | - } | |
| 1143 | - | |
| 1144 | - .loop((@i - 1)); | |
| 1 | +@horizontal-padding: @gutter * 0.5px; | |
| 2 | + | |
| 3 | +@import "mixins.less"; | |
| 4 | +@import "themes/general.less"; | |
| 5 | +@import "themes/grid.less"; | |
| 6 | + | |
| 7 | +// Locations | |
| 8 | +// ----------------------------------------------------------------------------- | |
| 9 | + | |
| 10 | +.loop(@i: length(@themes)) when (@i > 0) and not (@themes = '') { | |
| 11 | + | |
| 12 | + @theme: e(extract(@themes, @i)); | |
| 13 | + | |
| 14 | + @class: ~"quadmenu-@{theme}"; | |
| 15 | + | |
| 16 | + @font_font-family: "@{theme}_font_font-family"; | |
| 17 | + @font_font-weight: "@{theme}_font_font-weight"; | |
| 18 | + @font_font-size: "@{theme}_font_font-size"; | |
| 19 | + @font_font-style: "@{theme}_font_font-style"; | |
| 20 | + @font_letter-spacing: "@{theme}_font_letter-spacing"; | |
| 21 | + | |
| 22 | + @navbar_font_font-family: "@{theme}_navbar_font_font-family"; | |
| 23 | + @navbar_font_font-weight: "@{theme}_navbar_font_font-weight"; | |
| 24 | + @navbar_font_font-size: "@{theme}_navbar_font_font-size"; | |
| 25 | + @navbar_font_font-style: "@{theme}_navbar_font_font-style"; | |
| 26 | + @navbar_font_letter-spacing: "@{theme}_navbar_font_letter-spacing"; | |
| 27 | + | |
| 28 | + @dropdown_font_font-family: "@{theme}_dropdown_font_font-family"; | |
| 29 | + @dropdown_font_font-weight: "@{theme}_dropdown_font_font-weight"; | |
| 30 | + @dropdown_font_font-size: "@{theme}_dropdown_font_font-size"; | |
| 31 | + @dropdown_font_font-style: "@{theme}_dropdown_font_font-style"; | |
| 32 | + @dropdown_font_letter-spacing: "@{theme}_dropdown_font_letter-spacing"; | |
| 33 | + | |
| 34 | + @navbar_width: "@{theme}_navbar_width"; | |
| 35 | + @navbar_height: "@{theme}_navbar_height"; | |
| 36 | + @sticky_height: "@{theme}_sticky_height"; | |
| 37 | + | |
| 38 | + @navbar_background_color: "@{theme}_navbar_background_color"; | |
| 39 | + @navbar_background_to: "@{theme}_navbar_background_to"; | |
| 40 | + @navbar_background_deg: "@{theme}_navbar_background_deg"; | |
| 41 | + | |
| 42 | + @sticky_background_color: "@{theme}_sticky_background"; | |
| 43 | + | |
| 44 | + @navbar_mobile_border_color: "@{theme}_navbar_mobile_border"; | |
| 45 | + | |
| 46 | + @navbar_logo_bg: "@{theme}_navbar_logo_bg"; | |
| 47 | + @navbar_logo_height: "@{theme}_navbar_logo_height"; | |
| 48 | + @sticky_logo_height: "@{theme}_sticky_logo_height"; | |
| 49 | + | |
| 50 | + @navbar_link_bg: "@{theme}_navbar_link_bg"; | |
| 51 | + | |
| 52 | + @navbar_link_bg_hover: "@{theme}_navbar_link_bg_hover"; | |
| 53 | + | |
| 54 | + @navbar_divider: "@{theme}_navbar_divider"; | |
| 55 | + | |
| 56 | + @navbar_link_hover_effect: "@{theme}_navbar_link_hover_effect"; | |
| 57 | + | |
| 58 | + @navbar_link_margin_top: "@{theme}_navbar_link_margin_border-top"; | |
| 59 | + @navbar_link_margin_bottom: "@{theme}_navbar_link_margin_border-bottom"; | |
| 60 | + @navbar_link_margin_left: "@{theme}_navbar_link_margin_border-left"; | |
| 61 | + @navbar_link_margin_right: "@{theme}_navbar_link_margin_border-right"; | |
| 62 | + | |
| 63 | + @navbar_link_radius_top: "@{theme}_navbar_link_radius_border-top"; | |
| 64 | + @navbar_link_radius_bottom: "@{theme}_navbar_link_radius_border-bottom"; | |
| 65 | + @navbar_link_radius_left: "@{theme}_navbar_link_radius_border-left"; | |
| 66 | + @navbar_link_radius_right: "@{theme}_navbar_link_radius_border-right"; | |
| 67 | + | |
| 68 | + @navbar_button_radius_top: "@{theme}_navbar_button_radius_border-top"; | |
| 69 | + @navbar_button_radius_bottom: "@{theme}_navbar_button_radius_border-bottom"; | |
| 70 | + @navbar_button_radius_left: "@{theme}_navbar_button_radius_border-left"; | |
| 71 | + @navbar_button_radius_right: "@{theme}_navbar_button_radius_border-right"; | |
| 72 | + | |
| 73 | + @dropdown_margin: "@{theme}_dropdown_margin"; | |
| 74 | + @dropdown_radius_top: "@{theme}_dropdown_radius_border-top"; | |
| 75 | + @dropdown_radius_right: "@{theme}_dropdown_radius_border-right"; | |
| 76 | + @dropdown_radius_bottom: "@{theme}_dropdown_radius_border-bottom"; | |
| 77 | + @dropdown_radius_left: "@{theme}_dropdown_radius_border-left"; | |
| 78 | + @dropdown_border_color: "@{theme}_dropdown_border_border-color"; | |
| 79 | + @dropdown_border_top: "@{theme}_dropdown_border_border-top"; | |
| 80 | + @dropdown_border_right: "@{theme}_dropdown_border_border-right"; | |
| 81 | + @dropdown_border_bottom: "@{theme}_dropdown_border_border-bottom"; | |
| 82 | + @dropdown_border_left: "@{theme}_dropdown_border_border-left"; | |
| 83 | + | |
| 84 | + @dropdown_background: "@{theme}_dropdown_background"; | |
| 85 | + | |
| 86 | + @dropdown_title_border_width: "@{theme}_dropdown_title_border_border-top"; | |
| 87 | + @dropdown_title_border_style: "@{theme}_dropdown_title_border_border-style"; | |
| 88 | + @dropdown_title_border_color: "@{theme}_dropdown_title_border_border-color"; | |
| 89 | + | |
| 90 | + @dropdown_link: "@{theme}_dropdown_link"; | |
| 91 | + | |
| 92 | + @dropdown_link_hover: "@{theme}_dropdown_link_hover"; | |
| 93 | + @dropdown_link_bg_hover: "@{theme}_dropdown_link_bg_hover"; | |
| 94 | + | |
| 95 | + @dropdown_link_border_width: "@{theme}_dropdown_link_border_border-top"; | |
| 96 | + @dropdown_link_border_style: "@{theme}_dropdown_link_border_border-style"; | |
| 97 | + @dropdown_link_border_color: "@{theme}_dropdown_link_border_border-color"; | |
| 98 | + | |
| 99 | + //@dropdown_link_padding_top: "@{theme}_dropdown_link_padding_border-top"; | |
| 100 | + //@dropdown_link_padding_bottom: "@{theme}_dropdown_link_padding_border-bottom"; | |
| 101 | + //@dropdown_link_padding_left: "@{theme}_dropdown_link_padding_border-left"; | |
| 102 | + //@dropdown_link_padding_right: "@{theme}_dropdown_link_padding_border-right"; | |
| 103 | + | |
| 104 | + @mobile_link_padding_top: "@{theme}_mobile_link_padding_border-top"; | |
| 105 | + @mobile_link_padding_bottom: "@{theme}_mobile_link_padding_border-bottom"; | |
| 106 | + @mobile_link_padding_left: "@{theme}_mobile_link_padding_border-left"; | |
| 107 | + @mobile_link_padding_right: "@{theme}_mobile_link_padding_border-right"; | |
| 108 | + | |
| 109 | + @mobile_link_border_width: "@{theme}_mobile_link_border_border-top"; | |
| 110 | + @mobile_link_border_style: "@{theme}_mobile_link_border_border-style"; | |
| 111 | + @mobile_link_border_color: "@{theme}_mobile_link_border_border-color"; | |
| 112 | + | |
| 113 | + // Button | |
| 114 | + // ------------------------------------------------------------------------- | |
| 115 | + | |
| 116 | + @dropdown_button_radius_top: "@{theme}_dropdown_button_radius_border-top"; | |
| 117 | + @dropdown_button_radius_right: "@{theme}_dropdown_button_radius_border-right"; | |
| 118 | + @dropdown_button_radius_bottom: "@{theme}_dropdown_button_radius_border-bottom"; | |
| 119 | + @dropdown_button_radius_left: "@{theme}_dropdown_button_radius_border-left"; | |
| 120 | + | |
| 121 | + // Tab | |
| 122 | + // ------------------------------------------------------------------------- | |
| 123 | + | |
| 124 | + @dropdown_tab_bg: "@{theme}_dropdown_tab_bg"; | |
| 125 | + @dropdown_tab_bg_hover: "@{theme}_dropdown_tab_bg_hover"; | |
| 126 | + | |
| 127 | + .quadmenu-sticky-wrapper { | |
| 128 | + &.@{class} { | |
| 129 | + background-color: @@navbar_background_color; | |
| 130 | + } | |
| 131 | + } | |
| 132 | + | |
| 133 | + #quadmenu { | |
| 134 | + &.@{class} { | |
| 135 | + background-color: @@navbar_background_color; | |
| 136 | + color: ~"@{@{theme}_navbar_text}"; | |
| 137 | + | |
| 138 | + &.quadmenu-background-gradient { | |
| 139 | + .navbar-gradient(@@navbar_background_color, @@navbar_background_to, @@navbar_background_deg); | |
| 140 | + } | |
| 141 | + | |
| 142 | + // Fonts | |
| 143 | + // ----------------------------------------------------------------- | |
| 144 | + | |
| 145 | + font-family: @@font_font-family; | |
| 146 | + font-weight: @@font_font-weight; | |
| 147 | + font-size: @@font_font-size * 1px; | |
| 148 | + font-style: @@font_font-style; | |
| 149 | + .letter-spacing(@@font_letter-spacing); | |
| 150 | + | |
| 151 | + .quadmenu-navbar-nav { | |
| 152 | + | |
| 153 | + > li { | |
| 154 | + | |
| 155 | + &.quadmenu-item { | |
| 156 | + | |
| 157 | + > a, | |
| 158 | + > form { | |
| 159 | + font-family: @@navbar_font_font-family; | |
| 160 | + font-size: @@navbar_font_font-size * 1px; | |
| 161 | + font-weight: @@navbar_font_font-weight; | |
| 162 | + font-style: @@navbar_font_font-style; | |
| 163 | + .letter-spacing(@@navbar_font_letter-spacing); | |
| 164 | + } | |
| 165 | + | |
| 166 | + > form { | |
| 167 | + &.quadmenu-has-icon:not(.quadmenu-item-type-icon) { | |
| 168 | + > a > .quadmenu-item-content { | |
| 169 | + padding-left: @horizontal-padding*2px + @@navbar_font_font-size *1px; | |
| 170 | + } | |
| 171 | + } | |
| 172 | + } | |
| 173 | + | |
| 174 | + } | |
| 175 | + | |
| 176 | + } | |
| 177 | + | |
| 178 | + .quadmenu-dropdown-menu { | |
| 179 | + | |
| 180 | + .quadmenu-title { | |
| 181 | + font-family: @@navbar_font_font-family; | |
| 182 | + font-size: @@navbar_font_font-size * 1px; | |
| 183 | + } | |
| 184 | + | |
| 185 | + li { | |
| 186 | + &.quadmenu-item { | |
| 187 | + > a { | |
| 188 | + font-family: @@dropdown_font_font-family; | |
| 189 | + font-size: @@dropdown_font_font-size * 1px; | |
| 190 | + font-weight: @@dropdown_font_font-weight; | |
| 191 | + font-style: @@dropdown_font_font-style; | |
| 192 | + .letter-spacing(@@dropdown_font_letter-spacing); | |
| 193 | + | |
| 194 | + > .quadmenu-item-content { | |
| 195 | + | |
| 196 | + .quadmenu-product-price, | |
| 197 | + .quadmenu-product-rating { | |
| 198 | + &, | |
| 199 | + ins, | |
| 200 | + .woocommerce-Price-currencySymbol, | |
| 201 | + .woocommerce-Price-amount amount { | |
| 202 | + font-family: @@dropdown_font_font-family; | |
| 203 | + font-size: @@dropdown_font_font-size * 1px; | |
| 204 | + font-weight: @@dropdown_font_font-weight; | |
| 205 | + font-style: @@dropdown_font_font-style; | |
| 206 | + .letter-spacing(@@dropdown_font_letter-spacing); | |
| 207 | + } | |
| 208 | + } | |
| 209 | + | |
| 210 | + } | |
| 211 | + | |
| 212 | + } | |
| 213 | + } | |
| 214 | + } | |
| 215 | + | |
| 216 | + } | |
| 217 | + | |
| 218 | + } | |
| 219 | + | |
| 220 | + // Horizontal | |
| 221 | + // ----------------------------------------------------------------- | |
| 222 | + | |
| 223 | + .quadmenu-navbar-header { | |
| 224 | + | |
| 225 | + .quadmenu-navbar-brand { | |
| 226 | + margin-top: @@navbar_link_margin_top*1px; | |
| 227 | + margin-bottom: @@navbar_link_margin_bottom*1px; | |
| 228 | + } | |
| 229 | + | |
| 230 | + } | |
| 231 | + | |
| 232 | + &.quadmenu-is-horizontal { | |
| 233 | + | |
| 234 | + &.js { | |
| 235 | + .height(@@navbar_height); | |
| 236 | + } | |
| 237 | + | |
| 238 | + &.quadmenu-divider-show { | |
| 239 | + .quadmenu-navbar-nav { | |
| 240 | + > li > a:after, | |
| 241 | + > li.quadmenu-item-type-search > form:after { | |
| 242 | + margin-left: -@@navbar_link_margin_left*1px; | |
| 243 | + background-color: @@navbar_divider; | |
| 244 | + } | |
| 245 | + } | |
| 246 | + } | |
| 247 | + | |
| 248 | + .quadmenu-navbar-nav { | |
| 249 | + | |
| 250 | + // Tabs | |
| 251 | + // --------------------------------------------------------- | |
| 252 | + | |
| 253 | + > li { | |
| 254 | + &.quadmenu-item-type-tabs { | |
| 255 | + | |
| 256 | + > .quadmenu-dropdown-menu { | |
| 257 | + > ul { | |
| 258 | + > li { | |
| 259 | + > ul.quadmenu-tabs { | |
| 260 | + | |
| 261 | + > li.quadmenu-item-type-tab { | |
| 262 | + background-color: @@dropdown_tab_bg; | |
| 263 | + | |
| 264 | + &:hover, | |
| 265 | + &.open { | |
| 266 | + background-color: @@dropdown_tab_bg_hover; | |
| 267 | + } | |
| 268 | + } | |
| 269 | + } | |
| 270 | + | |
| 271 | + } | |
| 272 | + } | |
| 273 | + } | |
| 274 | + } | |
| 275 | + } | |
| 276 | + | |
| 277 | + > li { | |
| 278 | + > .quadmenu-dropdown-menu { | |
| 279 | + margin-top: @@dropdown_margin * 1px; | |
| 280 | + } | |
| 281 | + } | |
| 282 | + | |
| 283 | + // Button | |
| 284 | + // --------------------------------------------------------- | |
| 285 | + | |
| 286 | + li.quadmenu-item-type-button { | |
| 287 | + > a { | |
| 288 | + > .quadmenu-item-content { | |
| 289 | + border-radius: @@navbar_button_radius_top*1px @@navbar_button_radius_right*1px @@navbar_button_radius_bottom*1px @@navbar_button_radius_left*1px; | |
| 290 | + } | |
| 291 | + } | |
| 292 | + } | |
| 293 | + | |
| 294 | + .quadmenu-dropdown-menu { | |
| 295 | + border-top-left-radius: @@dropdown_radius_top*1px; | |
| 296 | + border-top-right-radius: @@dropdown_radius_right*1px; | |
| 297 | + border-bottom-right-radius: @@dropdown_radius_bottom*1px; | |
| 298 | + border-bottom-left-radius: @@dropdown_radius_left*1px; | |
| 299 | + border-top-width: @@dropdown_border_top*1px; | |
| 300 | + border-right-width: @@dropdown_border_right*1px; | |
| 301 | + border-bottom-width: @@dropdown_border_bottom*1px; | |
| 302 | + border-left-width: @@dropdown_border_left*1px; | |
| 303 | + border-color: @@dropdown_border_color; | |
| 304 | + border-style: solid; | |
| 305 | + background-color: @@dropdown_background; | |
| 306 | + | |
| 307 | + .dropdown-inner-radius(ceil(@@dropdown_radius_top - @@dropdown_border_top), ceil(@@dropdown_radius_right - @@dropdown_border_right), ceil(@@dropdown_radius_bottom - @@dropdown_border_bottom), ceil(@@dropdown_radius_left - @@dropdown_border_left)); | |
| 308 | + | |
| 309 | + // Border | |
| 310 | + // ----------------------------------------------------- | |
| 311 | + | |
| 312 | + li { | |
| 313 | + &.quadmenu-item { | |
| 314 | + | |
| 315 | + &:not(.quadmenu-item-type-tab) { | |
| 316 | + | |
| 317 | + &:not(:last-child):not(:only-child) { | |
| 318 | + > a { | |
| 319 | + border-color: @@dropdown_link_border_color; | |
| 320 | + border-style: @@dropdown_link_border_style; | |
| 321 | + border-width: 0 0 @@dropdown_link_border_width*1px 0; | |
| 322 | + } | |
| 323 | + } | |
| 324 | + } | |
| 325 | + | |
| 326 | + } | |
| 327 | + | |
| 328 | + } | |
| 329 | + | |
| 330 | + } | |
| 331 | + | |
| 332 | + .quadmenu-dropdown-submenu { | |
| 333 | + &:not(.quadmenu-item-type-tab) > .quadmenu-dropdown-menu { | |
| 334 | + margin: @@dropdown_border_top * -1px @@dropdown_margin*1px+@@dropdown_border_right*1px 0 @@dropdown_margin*1px+@@dropdown_border_left*1px; | |
| 335 | + } | |
| 336 | + } | |
| 337 | + } | |
| 338 | + } | |
| 339 | + | |
| 340 | + // Sicky | |
| 341 | + // ----------------------------------------------------------------- | |
| 342 | + | |
| 343 | + &.quadmenu-sticky-top { | |
| 344 | + | |
| 345 | + &.js { | |
| 346 | + .height(@@sticky_height); | |
| 347 | + } | |
| 348 | + | |
| 349 | + background-color: @@sticky_background_color; | |
| 350 | + | |
| 351 | + .quadmenu-navbar-brand { | |
| 352 | + > img { | |
| 353 | + height: @@sticky_logo_height * 1px; | |
| 354 | + } | |
| 355 | + } | |
| 356 | + } | |
| 357 | + | |
| 358 | + // Brand | |
| 359 | + // ----------------------------------------------------------------- | |
| 360 | + | |
| 361 | + .quadmenu-navbar-brand { | |
| 362 | + color: ~"@{@{theme}_navbar_link}"; | |
| 363 | + &:hover, | |
| 364 | + &:focus { | |
| 365 | + color: ~"@{@{theme}_navbar_link_hover}"; | |
| 366 | + } | |
| 367 | + | |
| 368 | + &.img { | |
| 369 | + background-color: @@navbar_logo_bg; | |
| 370 | + } | |
| 371 | + | |
| 372 | + > img { | |
| 373 | + height: @@navbar_logo_height * 1px; | |
| 374 | + } | |
| 375 | + } | |
| 376 | + | |
| 377 | + .quadmenu-navbar-toggle { | |
| 378 | + &.collapsed { | |
| 379 | + .icon-bar { | |
| 380 | + background-color: ~"@{@{theme}_navbar_toggle_open}"; | |
| 381 | + } | |
| 382 | + } | |
| 383 | + .icon-bar { | |
| 384 | + background-color: ~"@{@{theme}_navbar_toggle_close}"; | |
| 385 | + } | |
| 386 | + } | |
| 387 | + | |
| 388 | + // Perfect Scrollbar | |
| 389 | + // ----------------------------------------------------------------- | |
| 390 | + | |
| 391 | + .ps-container { | |
| 392 | + | |
| 393 | + >.ps-scrollbar-y-rail { | |
| 394 | + background-color: ~"@{@{theme}_navbar_scrollbar_rail}"; | |
| 395 | + | |
| 396 | + >.ps-scrollbar-y { | |
| 397 | + background-color: ~"@{@{theme}_navbar_scrollbar}"; | |
| 398 | + } | |
| 399 | + | |
| 400 | + &:hover, | |
| 401 | + &:active { | |
| 402 | + >.ps-scrollbar-y { | |
| 403 | + background-color: ~"@{@{theme}_navbar_scrollbar}"; | |
| 404 | + } | |
| 405 | + } | |
| 406 | + } | |
| 407 | + } | |
| 408 | + | |
| 409 | + .quadmenu-dropdown-menu { | |
| 410 | + | |
| 411 | + .ps-container { | |
| 412 | + >.ps-scrollbar-y-rail { | |
| 413 | + | |
| 414 | + >.ps-scrollbar-y { | |
| 415 | + background-color: ~"@{@{theme}_dropdown_scrollbar}"; | |
| 416 | + } | |
| 417 | + | |
| 418 | + &:hover, | |
| 419 | + &:active { | |
| 420 | + >.ps-scrollbar-y { | |
| 421 | + background-color: ~"@{@{theme}_dropdown_scrollbar}"; | |
| 422 | + } | |
| 423 | + } | |
| 424 | + } | |
| 425 | + | |
| 426 | + } | |
| 427 | + } | |
| 428 | + | |
| 429 | + // Effect | |
| 430 | + // ----------------------------------------------------------------- | |
| 431 | + | |
| 432 | + &.quadmenu-hover-ripple, | |
| 433 | + &.quadmenu-hover-slidebar { | |
| 434 | + | |
| 435 | + .quadmenu-navbar-nav { | |
| 436 | + | |
| 437 | + > li { | |
| 438 | + | |
| 439 | + &.quadmenu-item { | |
| 440 | + &.quadmenu-has-link { | |
| 441 | + > a:before { | |
| 442 | + background-color: @@navbar_link_hover_effect; | |
| 443 | + } | |
| 444 | + } | |
| 445 | + } | |
| 446 | + | |
| 447 | + &.quadmenu-slidebar { | |
| 448 | + > .bar { | |
| 449 | + background-color: @@navbar_link_hover_effect; | |
| 450 | + } | |
| 451 | + } | |
| 452 | + | |
| 453 | + } | |
| 454 | + } | |
| 455 | + | |
| 456 | + } | |
| 457 | + // UL | |
| 458 | + // ----------------------------------------------------------------- | |
| 459 | + .quadmenu-navbar-nav { | |
| 460 | + | |
| 461 | + > li { | |
| 462 | + | |
| 463 | + &.quadmenu-item { | |
| 464 | + &.quadmenu-has-link { | |
| 465 | + > a:before, | |
| 466 | + > span.bar { | |
| 467 | + background-color: @@navbar_link_hover_effect; | |
| 468 | + } | |
| 469 | + } | |
| 470 | + } | |
| 471 | + | |
| 472 | + } | |
| 473 | + | |
| 474 | + > li { | |
| 475 | + &:not(.quadmenu-item-type-button) { | |
| 476 | + margin: @@navbar_link_margin_top*1px @@navbar_link_margin_right*1px @@navbar_link_margin_bottom*1px @@navbar_link_margin_left*1px; | |
| 477 | + border-radius: @@navbar_link_radius_top*1px @@navbar_link_radius_right*1px @@navbar_link_radius_bottom*1px @@navbar_link_radius_left*1px; | |
| 478 | + | |
| 479 | + > a { | |
| 480 | + | |
| 481 | + > .quadmenu-item-content { | |
| 482 | + color: ~"@{@{theme}_navbar_link}"; | |
| 483 | + text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 484 | + | |
| 485 | + > .quadmenu-icon { | |
| 486 | + color: ~"@{@{theme}_navbar_link_icon}"; | |
| 487 | + } | |
| 488 | + | |
| 489 | + > .quadmenu-subtitle { | |
| 490 | + color: ~"@{@{theme}_navbar_link_subtitle}"; | |
| 491 | + } | |
| 492 | + | |
| 493 | + > .quadmenu-badge { | |
| 494 | + | |
| 495 | + > .quadmenu-badge-bubble { | |
| 496 | + background-color: ~"@{@{theme}_navbar_badge}"; | |
| 497 | + color: ~"@{@{theme}_navbar_badge_color}"; | |
| 498 | + } | |
| 499 | + } | |
| 500 | + } | |
| 501 | + | |
| 502 | + } | |
| 503 | + | |
| 504 | + &.quadmenu-has-link { | |
| 505 | + | |
| 506 | + background-color: @@navbar_link_bg; | |
| 507 | + | |
| 508 | + &:hover, | |
| 509 | + &.open { | |
| 510 | + | |
| 511 | + background-color: @@navbar_link_bg_hover; | |
| 512 | + | |
| 513 | + > a { | |
| 514 | + | |
| 515 | + > .quadmenu-item-content { | |
| 516 | + color: ~"@{@{theme}_navbar_link_hover}"; | |
| 517 | + > .quadmenu-icon { | |
| 518 | + color: ~"@{@{theme}_navbar_link_icon_hover}"; | |
| 519 | + } | |
| 520 | + > .quadmenu-subtitle { | |
| 521 | + color: ~"@{@{theme}_navbar_link_subtitle_hover}";//!important; | |
| 522 | + } | |
| 523 | + } | |
| 524 | + } | |
| 525 | + } | |
| 526 | + } | |
| 527 | + } | |
| 528 | + } | |
| 529 | + | |
| 530 | + // Button | |
| 531 | + // ------------------------------------------------------------- | |
| 532 | + | |
| 533 | + > li.quadmenu-item-type-button { | |
| 534 | + | |
| 535 | + > a { | |
| 536 | + | |
| 537 | + > .quadmenu-item-content { | |
| 538 | + color: ~"@{@{theme}_navbar_button}"; | |
| 539 | + text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 540 | + background-color: ~"@{@{theme}_navbar_button_background}"; | |
| 541 | + | |
| 542 | + > .quadmenu-icon { | |
| 543 | + color: ~"@{@{theme}_navbar_button}"; | |
| 544 | + } | |
| 545 | + } | |
| 546 | + } | |
| 547 | + | |
| 548 | + &:active, | |
| 549 | + &:focus, | |
| 550 | + &:hover, | |
| 551 | + &.open { | |
| 552 | + > a { | |
| 553 | + > .quadmenu-item-content { | |
| 554 | + color: ~"@{@{theme}_navbar_button_hover}"; | |
| 555 | + background-color: ~"@{@{theme}_navbar_button_hover_background}"; | |
| 556 | + | |
| 557 | + > .quadmenu-icon { | |
| 558 | + color: ~"@{@{theme}_navbar_button_hover}"; | |
| 559 | + } | |
| 560 | + } | |
| 561 | + } | |
| 562 | + } | |
| 563 | + } | |
| 564 | + | |
| 565 | + // Search | |
| 566 | + // ------------------------------------------------------------- | |
| 567 | + | |
| 568 | + > li.quadmenu-item-type-search { | |
| 569 | + | |
| 570 | + > form { | |
| 571 | + ::placeholder { | |
| 572 | + color: ~"@{@{theme}_navbar_link}"; | |
| 573 | + font-family: @@navbar_font_font-family; | |
| 574 | + font-size: @@navbar_font_font-size * 1px; | |
| 575 | + font-weight: @@navbar_font_font-weight; | |
| 576 | + font-style: @@navbar_font_font-style; | |
| 577 | + text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 578 | + .letter-spacing(@@navbar_font_letter-spacing); | |
| 579 | + } | |
| 580 | + | |
| 581 | + input { | |
| 582 | + color: ~"@{@{theme}_navbar_link}"; | |
| 583 | + font-family: @@navbar_font_font-family; | |
| 584 | + font-size: @@navbar_font_font-size * 1px; | |
| 585 | + font-weight: @@navbar_font_font-weight; | |
| 586 | + font-style: @@navbar_font_font-style; | |
| 587 | + text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 588 | + .letter-spacing(@@navbar_font_letter-spacing); | |
| 589 | + } | |
| 590 | + | |
| 591 | + i { | |
| 592 | + color: ~"@{@{theme}_navbar_link_icon}"; | |
| 593 | + } | |
| 594 | + } | |
| 595 | + } | |
| 596 | + | |
| 597 | + // Cart & Login | |
| 598 | + // ------------------------------------------------------------- | |
| 599 | + | |
| 600 | + > li.quadmenu-item-type-login, | |
| 601 | + > li.quadmenu-item-type-cart { | |
| 602 | + | |
| 603 | + > .quadmenu-dropdown-menu { | |
| 604 | + | |
| 605 | + .quadmenu-bottom-text { | |
| 606 | + font-family: @@navbar_font_font-family; | |
| 607 | + font-size: @@navbar_font_font-size * 1px; | |
| 608 | + font-weight: @@navbar_font_font-weight; | |
| 609 | + font-style: @@navbar_font_font-style; | |
| 610 | + text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 611 | + .letter-spacing(@@navbar_font_letter-spacing); | |
| 612 | + | |
| 613 | + .background-color-diff(@@dropdown_background, 4); | |
| 614 | + } | |
| 615 | + | |
| 616 | + li.woocommerce-mini-cart-item { | |
| 617 | + .blockUI.blockOverlay { | |
| 618 | + background-color: @@dropdown_background!important; | |
| 619 | + } | |
| 620 | + } | |
| 621 | + } | |
| 622 | + | |
| 623 | + } | |
| 624 | + | |
| 625 | + // Cart | |
| 626 | + // ------------------------------------------------------------- | |
| 627 | + | |
| 628 | + > li.quadmenu-item-type-cart { | |
| 629 | + | |
| 630 | + > a > .quadmenu-item-content { | |
| 631 | + | |
| 632 | + > .quadmenu-cart-magic { | |
| 633 | + | |
| 634 | + > .quadmenu-icon { | |
| 635 | + color: ~"@{@{theme}_navbar_link_icon}"; | |
| 636 | + } | |
| 637 | + | |
| 638 | + > .quadmenu-cart-qty { | |
| 639 | + background-color: ~"@{@{theme}_navbar_badge}"; | |
| 640 | + color: ~"@{@{theme}_navbar_badge_color}"; | |
| 641 | + } | |
| 642 | + } | |
| 643 | + | |
| 644 | + } | |
| 645 | + &:hover, | |
| 646 | + &.open { | |
| 647 | + > a > .quadmenu-item-content { | |
| 648 | + | |
| 649 | + > .quadmenu-cart-magic { | |
| 650 | + | |
| 651 | + > .quadmenu-icon { | |
| 652 | + color: ~"@{@{theme}_navbar_link_icon_hover}"; | |
| 653 | + } | |
| 654 | + } | |
| 655 | + | |
| 656 | + } | |
| 657 | + } | |
| 658 | + | |
| 659 | + &.quadmenu-cart-empty { | |
| 660 | + | |
| 661 | + > .quadmenu-dropdown-menu { | |
| 662 | + | |
| 663 | + .widget_shopping_cart { | |
| 664 | + &, | |
| 665 | + li { | |
| 666 | + font-family: @@navbar_font_font-family; | |
| 667 | + font-size: @@navbar_font_font-size * 1px; | |
| 668 | + font-weight: @@navbar_font_font-weight; | |
| 669 | + font-style: @@navbar_font_font-style; | |
| 670 | + text-transform: ~"@{@{theme}_navbar_link_transform}"; | |
| 671 | + .letter-spacing(@@navbar_font_letter-spacing); | |
| 672 | + | |
| 673 | + } | |
| 674 | + } | |
| 675 | + | |
| 676 | + } | |
| 677 | + | |
| 678 | + } | |
| 679 | + } | |
| 680 | + | |
| 681 | + // Social | |
| 682 | + // ------------------------------------------------------------- | |
| 683 | + | |
| 684 | + > li.quadmenu-item-type-social { | |
| 685 | + | |
| 686 | + > .quadmenu-toggle-container > a { | |
| 687 | + | |
| 688 | + color: ~"@{@{theme}_navbar_link}"; | |
| 689 | + | |
| 690 | + > .quadmenu-icon { | |
| 691 | + color: ~"@{@{theme}_navbar_link_icon}"; | |
| 692 | + } | |
| 693 | + | |
| 694 | + &:hover, | |
| 695 | + &:focus { | |
| 696 | + | |
| 697 | + > .quadmenu-icon { | |
| 698 | + color: ~"@{@{theme}_navbar_link_icon_hover}"; | |
| 699 | + } | |
| 700 | + | |
| 701 | + } | |
| 702 | + | |
| 703 | + } | |
| 704 | + | |
| 705 | + } | |
| 706 | + | |
| 707 | + // Carousel | |
| 708 | + // ------------------------------------------------------------- | |
| 709 | + | |
| 710 | + .owl-carousel { | |
| 711 | + | |
| 712 | + .owl-dots { | |
| 713 | + .owl-dot span { | |
| 714 | + background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 715 | + } | |
| 716 | + } | |
| 717 | + | |
| 718 | + .owl-nav { | |
| 719 | + | |
| 720 | + .owl-prev, | |
| 721 | + .owl-next { | |
| 722 | + color: ~"@{@{theme}_dropdown_button}"; | |
| 723 | + background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 724 | + | |
| 725 | + &:active, | |
| 726 | + &:focus, | |
| 727 | + &:hover { | |
| 728 | + color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 729 | + background-color: ~"@{@{theme}_dropdown_button_bg_hover}"; | |
| 730 | + } | |
| 731 | + | |
| 732 | + } | |
| 733 | + | |
| 734 | + } | |
| 735 | + | |
| 736 | + } | |
| 737 | + | |
| 738 | + // Login | |
| 739 | + // ------------------------------------------------------------- | |
| 740 | + | |
| 741 | + > li.quadmenu-item-type-login { | |
| 742 | + | |
| 743 | + > a { | |
| 744 | + | |
| 745 | + > .quadmenu-item-content { | |
| 746 | + | |
| 747 | + > .quadmenu-avatar { | |
| 748 | + | |
| 749 | + > img { | |
| 750 | + height: @@navbar_logo_height*1px; | |
| 751 | + width: @@navbar_logo_height*1px; | |
| 752 | + } | |
| 753 | + } | |
| 754 | + } | |
| 755 | + | |
| 756 | + } | |
| 757 | + | |
| 758 | + a { | |
| 759 | + color: @@dropdown_link; | |
| 760 | + &:hover { | |
| 761 | + color: @@dropdown_link_hover; | |
| 762 | + } | |
| 763 | + } | |
| 764 | + | |
| 765 | + } | |
| 766 | + | |
| 767 | + // Dropdown Menu | |
| 768 | + // ------------------------------------------------------------- | |
| 769 | + | |
| 770 | + .quadmenu-dropdown-menu { | |
| 771 | + background-color: @@dropdown_background; | |
| 772 | + | |
| 773 | + .quadmenu-title { | |
| 774 | + color: ~"@{@{theme}_dropdown_title}"; | |
| 775 | + .link-border(@@dropdown_title_border_width,@@dropdown_title_border_style,@@dropdown_title_border_color, @vertical-padding); | |
| 776 | + } | |
| 777 | + | |
| 778 | + form { | |
| 779 | + ::placeholder { | |
| 780 | + color: @@dropdown_link; | |
| 781 | + } | |
| 782 | + } | |
| 783 | + | |
| 784 | + input, | |
| 785 | + textarea, | |
| 786 | + select, | |
| 787 | + .button { | |
| 788 | + font-family: @@dropdown_font_font-family; | |
| 789 | + font-size: @@dropdown_font_font-size * 1px; | |
| 790 | + font-weight: @@dropdown_font_font-weight; | |
| 791 | + font-style: @@dropdown_font_font-style; | |
| 792 | + text-transform: ~"@{@{theme}_dropdown_link_transform}"; | |
| 793 | + .letter-spacing(@@dropdown_font_letter-spacing); | |
| 794 | + } | |
| 795 | + | |
| 796 | + .button { | |
| 797 | + color: ~"@{@{theme}_dropdown_button}"; | |
| 798 | + background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 799 | + border-top-left-radius: @@navbar_button_radius_top*1px; | |
| 800 | + border-top-right-radius: @@navbar_button_radius_right*1px; | |
| 801 | + border-bottom-right-radius: @@navbar_button_radius_bottom*1px; | |
| 802 | + border-bottom-left-radius: @@navbar_button_radius_left*1px; | |
| 803 | + | |
| 804 | + &:hover, | |
| 805 | + &.active { | |
| 806 | + color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 807 | + background-color: ~"@{@{theme}_dropdown_button_bg_hover}"; | |
| 808 | + } | |
| 809 | + } | |
| 810 | + | |
| 811 | + li { | |
| 812 | + &.quadmenu-item { | |
| 813 | + | |
| 814 | + > a { | |
| 815 | + border-color: @@dropdown_link_border_color; | |
| 816 | + | |
| 817 | + > .quadmenu-item-content { | |
| 818 | + color: @@dropdown_link; | |
| 819 | + text-transform: ~"@{@{theme}_dropdown_link_transform}"; | |
| 820 | + //padding: @@dropdown_link_padding_top*1px @@dropdown_link_padding_right*1px @@dropdown_link_padding_bottom*1px @@dropdown_link_padding_left*1px; | |
| 821 | + | |
| 822 | + > .quadmenu-icon { | |
| 823 | + color: ~"@{@{theme}_dropdown_link_icon}"; | |
| 824 | + } | |
| 825 | + > .quadmenu-subtitle, | |
| 826 | + > .quadmenu-description { | |
| 827 | + color: ~"@{@{theme}_dropdown_link_subtitle}"; | |
| 828 | + } | |
| 829 | + | |
| 830 | + > .quadmenu-badge { | |
| 831 | + | |
| 832 | + > .quadmenu-badge-bubble { | |
| 833 | + background-color: ~"@{@{theme}_navbar_badge}"; | |
| 834 | + color: ~"@{@{theme}_navbar_badge_color}"; | |
| 835 | + } | |
| 836 | + } | |
| 837 | + } | |
| 838 | + } | |
| 839 | + | |
| 840 | + &:hover, | |
| 841 | + &.open { | |
| 842 | + | |
| 843 | + > a { | |
| 844 | + | |
| 845 | + > .quadmenu-item-content { | |
| 846 | + | |
| 847 | + color: @@dropdown_link_hover;//!important; | |
| 848 | + | |
| 849 | + > .quadmenu-icon { | |
| 850 | + color: ~"@{@{theme}_dropdown_link_icon_hover}"; | |
| 851 | + } | |
| 852 | + | |
| 853 | + > .quadmenu-description, | |
| 854 | + > .quadmenu-subtitle { | |
| 855 | + color: ~"@{@{theme}_dropdown_link_subtitle_hover}"; | |
| 856 | + } | |
| 857 | + } | |
| 858 | + } | |
| 859 | + | |
| 860 | + } | |
| 861 | + | |
| 862 | + &.quadmenu-has-link { | |
| 863 | + &:hover, | |
| 864 | + &.open { | |
| 865 | + background-color: @@dropdown_link_bg_hover; | |
| 866 | + } | |
| 867 | + } | |
| 868 | + } | |
| 869 | + } | |
| 870 | + | |
| 871 | + // Button | |
| 872 | + // --------------------------------------------------------- | |
| 873 | + | |
| 874 | + li.quadmenu-item-type-button { | |
| 875 | + > a { | |
| 876 | + > .quadmenu-item-content { | |
| 877 | + color: ~"@{@{theme}_dropdown_button}"; | |
| 878 | + background-color: ~"@{@{theme}_dropdown_button_bg}"; | |
| 879 | + > .quadmenu-icon { | |
| 880 | + color: ~"@{@{theme}_dropdown_button}"; | |
| 881 | + } | |
| 882 | + } | |
| 883 | + } | |
| 884 | + | |
| 885 | + &:active, | |
| 886 | + &:focus, | |
| 887 | + &:hover, | |
| 888 | + &.open { | |
| 889 | + > a { | |
| 890 | + > .quadmenu-item-content { | |
| 891 | + color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 892 | + background-color: ~"@{@{theme}_dropdown_button_bg_hover}"; | |
| 893 | + | |
| 894 | + > .quadmenu-icon { | |
| 895 | + color: ~"@{@{theme}_dropdown_button_hover}"; | |
| 896 | + } | |
| 897 | + } | |
| 898 | + } | |
| 899 | + } | |
| 900 | + } | |
| 901 | + } | |
| 902 | + } | |
| 903 | + | |
| 904 | + // Mobile | |
| 905 | + // ----------------------------------------------------------------- | |
| 906 | + | |
| 907 | + &:not(.quadmenu-is-horizontal) { | |
| 908 | + | |
| 909 | + .quadmenu-navbar-collapse { | |
| 910 | + | |
| 911 | + &.collapsing, | |
| 912 | + &.in { | |
| 913 | + box-shadow: inset 0 1px 0 @@navbar_mobile_border_color; | |
| 914 | + } | |
| 915 | + } | |
| 916 | + | |
| 917 | + .quadmenu-navbar-nav { | |
| 918 | + | |
| 919 | + > li.quadmenu-item-type-login, | |
| 920 | + > li.quadmenu-item-type-cart { | |
| 921 | + | |
| 922 | + > .quadmenu-dropdown-menu { | |
| 923 | + | |
| 924 | + padding-top: @@mobile_link_padding_top*2px; | |
| 925 | + padding-bottom: @@mobile_link_padding_bottom*2px; | |
| 926 | + padding-left: @@mobile_link_padding_left*1px; | |
| 927 | + padding-right: @@mobile_link_padding_right*1px; | |
| 928 | + | |
| 929 | + .quadmenu-bottom-text { | |
| 930 | + margin-top: @@mobile_link_padding_top*2px; | |
| 931 | + margin-bottom: -@@mobile_link_padding_bottom*2px; | |
| 932 | + margin-left: -@@mobile_link_padding_left*1px; | |
| 933 | + margin-right: -@@mobile_link_padding_right*1px; | |
| 934 | + } | |
| 935 | + | |
| 936 | + } | |
| 937 | + } | |
| 938 | + | |
| 939 | + > li.quadmenu-item-type-login { | |
| 940 | + | |
| 941 | + > .quadmenu-dropdown-menu { | |
| 942 | + > ul { | |
| 943 | + width: auto; | |
| 944 | + margin: 0 -@@mobile_link_padding_right 0 -@@mobile_link_padding_left; | |
| 945 | + } | |
| 946 | + } | |
| 947 | + } | |
| 948 | + | |
| 949 | + > li.quadmenu-item-type-cart { | |
| 950 | + | |
| 951 | + &.quadmenu-cart-empty { | |
| 952 | + | |
| 953 | + > .quadmenu-dropdown-menu { | |
| 954 | + .widget_shopping_cart { | |
| 955 | + padding-bottom: @@mobile_link_padding_bottom*2px; | |
| 956 | + } | |
| 957 | + } | |
| 958 | + } | |
| 959 | + | |
| 960 | + > .quadmenu-dropdown-menu { | |
| 961 | + | |
| 962 | + .quadmenu-empty-icon { | |
| 963 | + padding-top: @@mobile_link_padding_top*2px; | |
| 964 | + padding-bottom: @@mobile_link_padding_bottom*2px; | |
| 965 | + } | |
| 966 | + | |
| 967 | + } | |
| 968 | + } | |
| 969 | + | |
| 970 | + > li.quadmenu-item-type-social { | |
| 971 | + | |
| 972 | + > .quadmenu-toggle-container { | |
| 973 | + | |
| 974 | + > a { | |
| 975 | + padding-left: @@mobile_link_padding_left; | |
| 976 | + padding-right: @@mobile_link_padding_right; | |
| 977 | + } | |
| 978 | + } | |
| 979 | + | |
| 980 | + } | |
| 981 | + | |
| 982 | + | |
| 983 | + > li { | |
| 984 | + &.quadmenu-item { | |
| 985 | + | |
| 986 | + &:not(.open) { | |
| 987 | + &:not(:last-child):not(:only-child) { | |
| 988 | + > a { | |
| 989 | + border-color: @@mobile_link_border_color; | |
| 990 | + border-style: @@mobile_link_border_style; | |
| 991 | + border-width: 0 0 @@mobile_link_border_width*1px 0; | |
| 992 | + } | |
| 993 | + } | |
| 994 | + } | |
| 995 | + | |
| 996 | + .owl-carousel { | |
| 997 | + | |
| 998 | + &:not(:last-child):not(:only-child) { | |
| 999 | + border-color: @@mobile_link_border_color; | |
| 1000 | + border-style: @@mobile_link_border_style; | |
| 1001 | + border-width: 0 0 @@mobile_link_border_width*1px 0; | |
| 1002 | + } | |
| 1003 | + | |
| 1004 | + } | |
| 1005 | + | |
| 1006 | + } | |
| 1007 | + | |
| 1008 | + } | |
| 1009 | + | |
| 1010 | + > li { | |
| 1011 | + &.quadmenu-item-type-search { | |
| 1012 | + | |
| 1013 | + > form { | |
| 1014 | + | |
| 1015 | + > .quadmenu-item-content { | |
| 1016 | + margin: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px; | |
| 1017 | + padding: 0; | |
| 1018 | + } | |
| 1019 | + | |
| 1020 | + } | |
| 1021 | + } | |
| 1022 | + } | |
| 1023 | + | |
| 1024 | + li { | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + &.quadmenu-dropdown { | |
| 1028 | + | |
| 1029 | + form { | |
| 1030 | + | |
| 1031 | + .quadmenu-item-content + .quadmenu-item-content { | |
| 1032 | + margin-top: @@mobile_link_padding_top*1px; | |
| 1033 | + } | |
| 1034 | + | |
| 1035 | + } | |
| 1036 | + | |
| 1037 | + } | |
| 1038 | + | |
| 1039 | + &.quadmenu-item { | |
| 1040 | + | |
| 1041 | + .quadmenu-item-content { | |
| 1042 | + &, | |
| 1043 | + > .quadmenu-caret { | |
| 1044 | + padding: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px; | |
| 1045 | + } | |
| 1046 | + | |
| 1047 | + } | |
| 1048 | + | |
| 1049 | + .quadmenu-item-widget { | |
| 1050 | + padding: @@mobile_link_padding_top*1px @@mobile_link_padding_right*1px @@mobile_link_padding_bottom*1px @@mobile_link_padding_left*1px; | |
| 1051 | + } | |
| 1052 | + | |
| 1053 | + &.open { | |
| 1054 | + | |
| 1055 | + > a { | |
| 1056 | + | |
| 1057 | + > .quadmenu-item-content { | |
| 1058 | + | |
| 1059 | + > .quadmenu-caret { | |
| 1060 | + color: @@dropdown_link; | |
| 1061 | + background-color: @@dropdown_background; | |
| 1062 | + } | |
| 1063 | + } | |
| 1064 | + } | |
| 1065 | + } | |
| 1066 | + } | |
| 1067 | + | |
| 1068 | + } | |
| 1069 | + | |
| 1070 | + // Button | |
| 1071 | + // --------------------------------------------------------- | |
| 1072 | + | |
| 1073 | + li { | |
| 1074 | + &.quadmenu-item-type-button { | |
| 1075 | + padding-left: @@mobile_link_padding_right*1px; | |
| 1076 | + padding-right: @@mobile_link_padding_left*1px; | |
| 1077 | + } | |
| 1078 | + } | |
| 1079 | + | |
| 1080 | + // Dropdown | |
| 1081 | + // --------------------------------------------------------- | |
| 1082 | + | |
| 1083 | + .quadmenu-dropdown-menu { | |
| 1084 | + | |
| 1085 | + border-color: @@mobile_link_border_color; | |
| 1086 | + border-style: @@mobile_link_border_style; | |
| 1087 | + border-width: 0 0 @@mobile_link_border_width*1px 0; | |
| 1088 | + | |
| 1089 | + li { | |
| 1090 | + &.quadmenu-item { | |
| 1091 | + | |
| 1092 | + &:not(:last-child):not(:only-child) { | |
| 1093 | + > a { | |
| 1094 | + border-style: @@dropdown_link_border_style; | |
| 1095 | + border-width: 0 0 @@dropdown_link_border_width*1px 0; | |
| 1096 | + } | |
| 1097 | + } | |
| 1098 | + | |
| 1099 | + .owl-carousel { | |
| 1100 | + | |
| 1101 | + &:not(:last-child):not(:only-child) { | |
| 1102 | + | |
| 1103 | + border-style: @@dropdown_link_border_style; | |
| 1104 | + border-width: 0 0 @@dropdown_link_border_width*1px 0; | |
| 1105 | + border-color: @@dropdown_link_border_color; | |
| 1106 | + } | |
| 1107 | + | |
| 1108 | + } | |
| 1109 | + | |
| 1110 | + } | |
| 1111 | + | |
| 1112 | + } | |
| 1113 | + | |
| 1114 | + } | |
| 1115 | + | |
| 1116 | + } | |
| 1117 | + | |
| 1118 | + } | |
| 1119 | + | |
| 1120 | + // Offcanvas | |
| 1121 | + // ----------------------------------------------------------------- | |
| 1122 | + | |
| 1123 | + &:not(.quadmenu-is-horizontal) { | |
| 1124 | + | |
| 1125 | + &.quadmenu-background-gradient { | |
| 1126 | + | |
| 1127 | + .navbar-offcanvas { | |
| 1128 | + .navbar-gradient(@@navbar_background_color, @@navbar_background_to, @@navbar_background_deg); | |
| 1129 | + } | |
| 1130 | + | |
| 1131 | + } | |
| 1132 | + | |
| 1133 | + .navbar-offcanvas { | |
| 1134 | + background-color: @@navbar_background_color; | |
| 1135 | + width: @@navbar_width * 1px; | |
| 1136 | + max-width: 80%; | |
| 1137 | + } | |
| 1138 | + | |
| 1139 | + } | |
| 1140 | + | |
| 1141 | + } | |
| 1142 | + } | |
| 1143 | + | |
| 1144 | + .loop((@i - 1)); | |
| 1145 | 1145 | } .loop; |