Widget:SocialIconsMobileButtons
<style>
.page-Main_Page #mobile-buttons { display: none; }
- mobile-buttons {
position: fixed; bottom: 0px; right: 7px; z-index: 4000; margin: 0; padding: 0; }
- mobile-buttons a,
- mobile-buttons a:hover,
- mobile-buttons a:active {
display: block; text-decoration: none; color: inherit; }
- mobile-buttons i {
padding: .3em; background: #fffcf5; border-radius: 25%; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; padding-top: 7px; -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12); }
- mobile-buttons ul,
- mobile-buttons li {
list-style: none; }
- mobile-buttons ul {
margin: 0 !important; }
- mobile-buttons li {
height: 40px !important; margin: 0 0 8px 0 !important; }
- social-toggle-list-item {
position: relative; min-height: 40px; }
- social-icons {
position: absolute; bottom: 100%; right: 0; margin-bottom: 8px !important; transform-origin: bottom; transform: scaleY(0); opacity: 0; transition: transform 0.3s ease, opacity 0.2s ease; pointer-events: none; }
- social-icons.active {
transform: scaleY(1); opacity: 1; pointer-events: all; }
</style><script>
// Toggle social icons (function() { 'use strict';
document.addEventListener('DOMContentLoaded', function() { const socialToggle = document.getElementById('social-toggle'); const socialList = document.getElementById('social-icons');
if (socialToggle && socialList) { socialToggle.addEventListener('click', function() { const isExpanded = socialList.classList.contains('active'); socialList.classList.toggle('active'); socialToggle.setAttribute('aria-expanded', !isExpanded); socialList.setAttribute('aria-hidden', isExpanded); if (socialToggle.classList.contains('fa-hashtag')) { socialToggle.classList.remove('fa-hashtag'); socialToggle.classList.add('fa-xmark-large'); } else { socialToggle.classList.remove('fa-xmark-large'); socialToggle.classList.add('fa-hashtag'); } }); } }); })();
</script>