📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-21 01:24:01
📂
/ (Root)
/
home
/
xeqi7597
/
public_html
/
wp-content
/
themes
/
ClrD
/
sass
📍 /home/xeqi7597/public_html/wp-content/themes/ClrD/sass
🔄 Refresh
✏️
Editing: _header.scss
Writable
header { display: flex; justify-content: space-between; align-items: center; margin: 0 auto; box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1); position: fixed; z-index: 900; background: white; width: 100%; height: 80px; .logo-header { height: 80px; display: flex; align-items: center; justify-content: center; position: absolute; right: 47%; width: 6%; transition: all 0.3s ease; @media (max-width: $breakpoint__large_phone) { justify-content: flex-end; right: 50px; transition: all 0.3s ease-in-out; } img { height: 55px; width: auto; } } .menuToggle { display: block; position: relative; z-index: 1; user-select: none; a { text-decoration: none; transition: all 0.3s ease; } input { display: block; width: 40px; height: 32px; position: absolute; top: -7px; cursor: pointer; opacity: 0; z-index: 2; -webkit-touch-callout: none; } span { position: relative; display: block; width: 33px; height: 3px; margin-bottom: 6px; position: relative; background: var(--red2); border-radius: 3px; z-index: 1; transform-origin: 4px 0px; transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease; &:first-child { transform-origin: 0% 0%; } &:nth-last-child(2) { transform-origin: 0% 100%; } } input:checked ~ span { opacity: 1; transform: rotate(45deg) translate(-2px, -1px); background: white; &:nth-last-child(3) { opacity: 0; transform: rotate(0deg) scale(0.2, 0.2); } &:nth-last-child(2) { transform: rotate(-45deg) translate(0, -1px); } } input:checked ~ .menuItem { transform: none; } } } .menuItem { position: absolute; width: 250px; padding: 80px 50px 50px 50px; background: var(--red2); list-style-type: none; transform-origin: 0% 0%; transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0); left: -250px; /* Déplacer le menu hors de la vue par défaut */ top: 0; height: 100vh; margin: 0; li { padding: 10px 0; font-size: 22px; color: white; } .current-menu-item { color: #f7aa9c; } .menu-item:hover { color: #f7aa9c; } } .menu--left { position: absolute; top: 0; .menuToggle { input { left: 50px; top: 28px; } span { left: 50px; top: 28px; } } .menuItem { left: 0; transform: translateX(-100%); /* Cacher le menu en dehors de l'écran */ } .menuToggle input:checked ~ .menuItem { transform: none; /* Afficher le menu lorsque le toggle est activé */ } }
💾 Save Changes
❌ Cancel