Add Language Menu
This commit is contained in:
parent
bb097b1027
commit
c700c61f85
37
css/app.css
37
css/app.css
|
|
@ -80,6 +80,43 @@
|
|||
font-style: normal;
|
||||
} */
|
||||
|
||||
.wpml-ls-item a span{
|
||||
background-color: #fef4f6;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu{
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li > a {
|
||||
padding: 0px 12px;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-en li a {
|
||||
font-family: "Montserrat", sans-serif!important;
|
||||
font-weight: 500!important;
|
||||
font-size: 15px!important;
|
||||
color: #000!important;
|
||||
transition: all 0.2s ease-in!important;
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-en .current-menu-item a, .navigation #menu-primary-en a:hover {
|
||||
color: var(--pink)!important;
|
||||
}
|
||||
|
||||
#wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li:hover>a, #wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li.current-menu-ancestor>a, #wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li.active>a, .wpmm-woo-product-category ul li.cat-list a:hover, .wpmm-woo-product-category.layout_2 ul li a:hover{
|
||||
color: var(--pink)!important;
|
||||
}
|
||||
|
||||
/* Ajustements Mobiles */
|
||||
|
||||
.wpmm-mobile-menu .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li > a {
|
||||
padding: 0px 0px;
|
||||
}
|
||||
|
||||
.wp-admin.post-type-portfolio .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -324,7 +324,8 @@ p:empty {
|
|||
color: rgba(33, 213, 245, 1);
|
||||
}
|
||||
|
||||
.desktopMenu #menu-primary-beta {
|
||||
.desktopMenu #menu-primary-beta,
|
||||
.desktopMenu #menu-primary-en {
|
||||
display: flex !important;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
|
@ -2977,7 +2978,8 @@ p:empty {
|
|||
}
|
||||
|
||||
@media screen and (min-width: 991px) and (max-width: 1200px) {
|
||||
.navigation #menu-primary-beta > li {
|
||||
.navigation #menu-primary-beta > li,
|
||||
.navigation #menu-primary-en > li {
|
||||
margin-left: 25px;
|
||||
}
|
||||
}
|
||||
|
|
@ -2999,17 +3001,20 @@ p:empty {
|
|||
margin-left: 61px;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-beta {
|
||||
.navigation #menu-primary-beta,
|
||||
.navigation #menu-primary-en {
|
||||
text-align: left;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-beta li:first-child {
|
||||
.navigation #menu-primary-beta li:first-child,
|
||||
.navigation #menu-primary-en li:first-child{
|
||||
margin-right: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-beta li {
|
||||
.navigation #menu-primary-beta li,
|
||||
.navigation #menu-primary-en li {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
|
@ -3125,7 +3130,8 @@ p:empty {
|
|||
font-size: 20px;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-beta {
|
||||
.navigation #menu-primary-beta,
|
||||
.navigation #menu-primary-en{
|
||||
list-style: none;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
|
|
@ -3134,7 +3140,8 @@ p:empty {
|
|||
background-color: rgb(237, 216, 216);
|
||||
}
|
||||
|
||||
.navigation #menu-primary-beta .wp-megamenu-sub-menu li {
|
||||
.navigation #menu-primary-beta .wp-megamenu-sub-menu li,
|
||||
.navigation #menu-primary-en .wp-megamenu-sub-menu li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? { get: () => module.default, enumerable: true } : { value: module, enumerable: true })), module);
|
||||
};
|
||||
|
||||
// node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/cjs/popper.js
|
||||
// node_modules/@popperjs/core/dist/cjs/popper.js
|
||||
var require_popper = __commonJS({
|
||||
"node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/dist/cjs/popper.js"(exports) {
|
||||
"node_modules/@popperjs/core/dist/cjs/popper.js"(exports) {
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function getWindow(node) {
|
||||
|
|
@ -1366,9 +1366,9 @@
|
|||
}
|
||||
});
|
||||
|
||||
// node_modules/.pnpm/bootstrap@5.3.3_@popperjs+core@2.11.8/node_modules/bootstrap/dist/js/bootstrap.js
|
||||
// node_modules/bootstrap/dist/js/bootstrap.js
|
||||
var require_bootstrap = __commonJS({
|
||||
"node_modules/.pnpm/bootstrap@5.3.3_@popperjs+core@2.11.8/node_modules/bootstrap/dist/js/bootstrap.js"(exports, module) {
|
||||
"node_modules/bootstrap/dist/js/bootstrap.js"(exports, module) {
|
||||
(function(global, factory) {
|
||||
typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory(require_popper()) : typeof define === "function" && define.amd ? define(["@popperjs/core"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, global.bootstrap = factory(global.Popper));
|
||||
})(exports, function(Popper) {
|
||||
|
|
|
|||
3973
package-lock.json
generated
Normal file
3973
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -3,6 +3,7 @@
|
|||
@import "tailwindcss/utilities"; */
|
||||
/* @import url("css/font.css"); */
|
||||
@import "./base/font.css";
|
||||
@import "./base/menuLang.css";
|
||||
@import "./editor/editor.css";
|
||||
|
||||
@import "./pages/single-portfolio.css";
|
||||
|
|
|
|||
|
|
@ -281,7 +281,8 @@ p:empty {
|
|||
.navigation #menu-primary-beta li a.bleu {
|
||||
color: rgba(33, 213, 245, 1);
|
||||
}
|
||||
.desktopMenu #menu-primary-beta {
|
||||
.desktopMenu #menu-primary-beta,
|
||||
.desktopMenu #menu-primary-en {
|
||||
display: flex !important;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
|
@ -2046,7 +2047,7 @@ p:empty {
|
|||
background-color: var(--pink);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 32px 64px;
|
||||
background-image: url("images/mapMoin.svg");
|
||||
background-image: url("../images/mapMoin.svg");
|
||||
}
|
||||
.no-touch #cd-zoom-in:hover,
|
||||
.no-touch #cd-zoom-out:hover {
|
||||
|
|
@ -2543,7 +2544,8 @@ p:empty {
|
|||
}
|
||||
}
|
||||
@media screen and (min-width: 991px) and (max-width: 1200px) {
|
||||
.navigation #menu-primary-beta > li {
|
||||
.navigation #menu-primary-beta > li,
|
||||
.navigation #menu-primary-en > li {
|
||||
margin-left: 25px;
|
||||
}
|
||||
}
|
||||
|
|
@ -2562,18 +2564,22 @@ p:empty {
|
|||
.page-template-template-portfolio .button-group button {
|
||||
margin-left: 61px;
|
||||
}
|
||||
.navigation #menu-primary-beta {
|
||||
.navigation #menu-primary-beta,
|
||||
.navigation #menu-primary-en {
|
||||
text-align: left;
|
||||
margin-top: 50px;
|
||||
}
|
||||
.navigation #menu-primary-beta li:first-child {
|
||||
.navigation #menu-primary-beta li:first-child,
|
||||
.navigation #menu-primary-en li:first-child{
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
.navigation #menu-primary-beta li:first-child {
|
||||
.navigation #menu-primary-beta li:first-child,
|
||||
.navigation #menu-primary-en li:first-child {
|
||||
margin-left: 0px;
|
||||
}
|
||||
.navigation #menu-primary-beta li {
|
||||
.navigation #menu-primary-beta li,
|
||||
.navigation #menu-primary-en li {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
|
@ -2673,7 +2679,8 @@ p:empty {
|
|||
color: #000000 !important;
|
||||
font-size: 20px;
|
||||
}
|
||||
.navigation #menu-primary-beta {
|
||||
.navigation #menu-primary-beta,
|
||||
.navigation #menu-primary-en{
|
||||
list-style: none;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
|
|
@ -2681,7 +2688,8 @@ p:empty {
|
|||
text-align: left;
|
||||
background-color: rgb(237, 216, 216);
|
||||
}
|
||||
.navigation #menu-primary-beta .wp-megamenu-sub-menu li {
|
||||
.navigation #menu-primary-beta .wp-megamenu-sub-menu li,
|
||||
.navigation #menu-primary-en .wp-megamenu-sub-menu li {
|
||||
margin: 0;
|
||||
}
|
||||
.page-template-template-contact .information h2 {
|
||||
|
|
|
|||
42
resources/css/base/menuLang.css
Normal file
42
resources/css/base/menuLang.css
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
.wpml-ls-item{
|
||||
a {
|
||||
span{
|
||||
background-color: #fef4f6;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu{
|
||||
background-color: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li > a {
|
||||
padding: 0px 12px;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-en li a {
|
||||
font-family: "Montserrat", sans-serif!important;
|
||||
font-weight: 500!important;
|
||||
font-size: 15px!important;
|
||||
color: #000!important;
|
||||
transition: all 0.2s ease-in!important;
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
.navigation #menu-primary-en .current-menu-item a, .navigation #menu-primary-en a:hover {
|
||||
color: var(--pink)!important;
|
||||
}
|
||||
|
||||
#wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li:hover>a, #wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li.current-menu-ancestor>a, #wp-megamenu-primary-en>.wpmm-nav-wrap ul.wp-megamenu>li ul.wp-megamenu-sub-menu li.active>a, .wpmm-woo-product-category ul li.cat-list a:hover, .wpmm-woo-product-category.layout_2 ul li a:hover{
|
||||
color: var(--pink)!important;
|
||||
}
|
||||
|
||||
|
||||
/* Ajustements Mobiles */
|
||||
.wpmm-mobile-menu{
|
||||
.wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li > a {
|
||||
padding: 0px 0px;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user