UNPKG

isite

Version:

Create High Level Multi-Language Web Site [Fast and Easy]

127 lines (112 loc) 2.6 kB
.tabs { display: inline-block; padding: 5px; width: 100%; transition: all 0.1s ease; } .links .tabs { display: none; transition: all 0.1s ease; } .links .tabs .tabs-header { width: 100%; } .tabs .tabs-header { padding: 1px; width: var(--tabs-header-width); margin: 0px; display: inline-block; float: var(--float); overflow: hidden; background: none; } .tabs .tabs-header .tab-link { border-radius: var(--tabs-header-link-radius); background: var(--tabs-header-link-background); border: var(--tabs-header-link-border); border-bottom: var(--tabs-header-link-border-bottom); outline: none; cursor: pointer; padding: 10px 12px; transition: 0.1s; font-size: var(--tabs-header-link-font-size); font-weight: var(--tabs-header-link-font-weight); color: var(--tabs-header-link-color); margin: 10px; display: block; text-decoration: none; } .tabs .tabs-header .tab-link:hover { background-color: var(--tabs-background-color2); color: var(--tabs-header-link-color2); } .tabs .tabs-header .tab-link.active { background-color: var(--tabs-background-color); color: var(--tabs-color); } .tabs .tabs-content { width: var(--tabs-content-width); display: inline-block; } .tabs .tabs-content .tab-content { display: none; padding: 6px 12px; width: 100%; overflow: visible; -webkit-animation-name: var(--tab-animation-name); -webkit-animation-duration: var(--tab-animation-duration); animation-name: var(--tab-animation-name); animation-duration: var(--tab-animation-duration); } .tabs .full { width: 100% !important; } .tabs.full .tabs-header, .tabs.full .tabs-content { width: 100% !important; } .tabs.full .tabs-header .tab-link { display: inline-block; } .tabs .full .tab-link { display: inline-block; } @media screen and (max-width: 768px /*mobile*/) { /* .tabs .tabs-content, .tabs .tabs-header { width: 100% !important; } .tabs .tab-link { display: inline-block !important; margin: 0px; padding: 0px; } .tabs .tabs-header .tab-link:hover { background-color: var(--tabs-background-color2); color: var(--tabs-header-link-color2); padding-right: 12px; } */ } @-webkit-keyframes animatetabs { from { width: 50%; opacity: 0; } to { width: 100%; opacity: 1; } } @keyframes animatetabs { from { width: 50%; opacity: 0; } to { width: 100%; opacity: 1; } }