Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Mobile Navigation Trigger */
- .ov-vfn-nav-trigger {
- display: block;
- position: fixed;
- z-index: 1000;
- bottom: 30px;
- right: 5%;
- width: 44px;
- height: 44px;
- border-radius: 8px;
- background: rgba(234, 242, 227, 0.9);
- border: none;
- cursor: pointer;
- }
- .ov-vfn-nav-trigger .et_pb_row,
- .ov-vfn-nav-trigger .et_pb_column,
- .ov-vfn-nav-trigger .et_pb_code,
- .ov-vfn-nav-trigger .et_pb_code_inner {
- height: 100%;
- }
- .ov-vfn-nav-trigger.ov-vfn-nav-trigger span {
- position: absolute;
- width: 4px;
- height: 4px;
- background: #3a2c41;
- border-radius: 50%;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- }
- .ov-vfn-nav-trigger span::before,
- .ov-vfn-nav-trigger span::after {
- content: '';
- position: absolute;
- width: 100%;
- height: 100%;
- background: #3a2c41;
- border-radius: 50%;
- left: 0;
- }
- .ov-vfn-nav-trigger span::before {
- top: -9px;
- }
- .ov-vfn-nav-trigger span::after {
- bottom: -9px;
- }
- /* Mobile Navigation */
- .ov-vfn-vertical-nav {
- position: fixed !important;
- z-index: 999 !important;
- right: 5%;
- bottom: 30px;
- width: 90%;
- max-width: 400px;
- border-radius: 8px;
- background: rgba(234, 242, 227, 0.95);
- transform: scale(0);
- transform-origin: right bottom;
- transition: transform 0.3s ease;
- }
- .ov-vfn-vertical-nav.ov-vfn-open {
- transform: scale(1);
- }
- .ov-vfn-vertical-nav ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- .ov-vfn-vertical-nav a {
- display: block;
- padding: 1rem;
- color: #3a2c41;
- text-decoration: none;
- font-weight: 600;
- border-bottom: 1px solid rgba(58, 44, 65, 0.1);
- }
- .ov-vfn-vertical-nav a:hover,
- .ov-vfn-vertical-nav a.ov-vfn-active {
- color: #c0a672;
- }
- /* Desktop Navigation */
- @media (min-width: 800px) {
- .ov-vfn-nav-trigger {
- display: none;
- }
- .ov-vfn-vertical-nav {
- right: 0;
- top: 0;
- bottom: auto;
- height: 100vh;
- width: 90px;
- max-width: none;
- transform: scale(1);
- background: transparent;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /* Dark background that slides in on hover */
- .ov-vfn-vertical-nav::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.8);
- transform: translateX(100%);
- transition: transform 0.4s ease;
- }
- .ov-vfn-vertical-nav:hover::before {
- transform: translateX(0);
- }
- .ov-vfn-vertical-nav ul {
- position: relative;
- z-index: 2;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- /* LI elements - start with no margin, expand on hover */
- .ov-vfn-vertical-nav li {
- position: relative;
- margin: 0;
- transition: margin 0.4s ease;
- }
- .ov-vfn-vertical-nav:hover li {
- margin: 1.4rem 0;
- }
- .ov-vfn-vertical-nav a {
- position: relative;
- display: block;
- width: 32px;
- height: 32px;
- padding: 0;
- border: none;
- color: #eaf2e3;
- text-decoration: none;
- }
- /* Small dots - always visible */
- .ov-vfn-vertical-nav a::before {
- content: '';
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%) scale(0.25);
- width: 32px;
- height: 32px;
- background: #eaf2e3;
- border-radius: 50%;
- transition: all 0.4s ease;
- }
- .ov-vfn-vertical-nav a.ov-vfn-active::before {
- background: #c0a672;
- }
- /* Font Awesome Icons - hidden by default, shown on navigation hover */
- .ov-vfn-vertical-nav a::after {
- content: '';
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%) scale(0);
- width: 16px;
- height: 16px;
- opacity: 0;
- transition: all 0.4s ease;
- font-family: FontAwesome !important;
- font-weight: 900 !important;
- font-size: 16px;
- color: #000000;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- /* Font Awesome Icon definitions */
- .ov-vfn-vertical-nav a[href="#intro"]::after {
- content: "\f007"; /* fa-user */
- }
- .ov-vfn-vertical-nav a[href="#events"]::after {
- content: "\f073"; /* fa-calendar */
- }
- .ov-vfn-vertical-nav a[href="#help"]::after {
- content: "\f059"; /* fa-question-circle */
- }
- .ov-vfn-vertical-nav a[href="#share"]::after {
- content: "\f1e0"; /* fa-share-alt */
- }
- /* Text labels - positioned below the dots with slide-in effect */
- .ov-vfn-vertical-nav .ov-vfn-label {
- position: absolute;
- left: 50%;
- top: 40px;
- transform: translateX(-50%) translateX(100%);
- font-size: 12px;
- font-weight: 600;
- color: #eaf2e3;
- white-space: nowrap;
- opacity: 0;
- transition: all 0.4s ease;
- }
- /* Show icons and labels on navigation hover with scale effect */
- .ov-vfn-vertical-nav:hover a::before {
- transform: translate(-50%, -50%) scale(1);
- }
- .ov-vfn-vertical-nav:hover a::after {
- opacity: 1;
- transform: translate(-50%, -50%) scale(1);
- }
- .ov-vfn-vertical-nav:hover .ov-vfn-label {
- opacity: 1;
- transform: translateX(-50%) translateX(0);
- }
- /* Individual dot hover effect when navigation is expanded */
- .ov-vfn-vertical-nav:hover a:hover::before {
- background: #c0a672;
- }
- /* Active state colors */
- .ov-vfn-vertical-nav a.ov-vfn-active::after {
- color: #000000;
- }
- .ov-vfn-vertical-nav a.ov-vfn-active .ov-vfn-label {
- color: #c0a672;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment