PHP Classes

File: src/components/tabs/PageTabs.vue

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WP Emailer   src/components/tabs/PageTabs.vue   Download  
File: src/components/tabs/PageTabs.vue
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WP Emailer
Allow WordPress users to configure email settings
Author: By
Last change:
Date: 1 year ago
Size: 1,446 bytes
 

Contents

Class file image Download
<script setup> import { __ } from '@wordpress/i18n'; </script> <template> <div id="wp-emailer-tabs"> <div class="tab-item"> <router-link to="/"> {{ __("Settings", "wp-emailer") }} </router-link> </div> <div class="tab-item"> <router-link to="/list"> {{ __("Top Pages", "wp-emailer") }} </router-link> </div> <div class="tab-item"> <router-link to="/graph"> {{ __("Graph", "wp-emailer") }} </router-link> </div> </div> </template> <script> export default { name: "PageTabs", }; </script> <style lang="scss" scoped> #wp-emailer-tabs { display: flex; flex-direction: row; background-color: var(--color-white); font-size: 14px; margin: 0 0 20px -20px; padding: 0 20px; position: sticky; top: 0px; z-index: 99; .tab-item { a { transition: all; box-shadow: none; color: #666666; display: inline-block; margin-right: 30px; padding: 20px 10px 18px 10px; border-bottom: 2px solid transparent; text-decoration: none; &:focus, &.router-link-active, &:hover { outline: none; } &:hover { border-bottom: 2px solid var(--color-secondary); } &.router-link-active { border-bottom: 2px solid var(--color-primary); } } } // Medium screen @media only screen and (min-width: 600px) { top: 32px; } } </style>