html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
.cp_fulltab03 {
position: relative;
float: left;
display: inline-block;
width: 100%;
height: 100%;
background: #37474F;
overflow: hidden;
}
.tabs_menu {
float: left;
display: inline-block;
width: 4rem;
height: 100%;
}
.tabs_menu, .tabs_menu * {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
.tabs_menu > input[type='radio'] {
-webkit-appearance: none;
appearance: none;
display: none;
}
.tabs_menu > input[type='radio']:checked + label {
background: white;
}
.tabs_menu > input[type='radio']:checked + label:before {
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%);
-webkit-transform: translate3d(0, -50%, 0);
transform: translate3d(0, -50%, 0);
-webkit-transition: -webkit-transform 0.35s;
transition: transform 0.35s;
}
.tabs_menu > input[type='radio']:checked + label:after {
color: #37474F;
}
.tabs_menu > label {
border: none;
padding: 0;
background: none;
outline: none;
border-radius: 0;
-webkit-transition: background-position 0.25s, box-shadow 0.25s;
transition: background-position 0.25s, box-shadow 0.25s;
position: relative;
float: left;
display: inline-block;
width: 100%;
height: 25%;
text-align: center;
line-height: 25vh;
margin: 0;
background: #FF4081;
box-shadow: inset 0px 1px 0 white, inset -1px 0 0px 0px white;
}
.tabs_menu > label:first-of-type {
box-shadow: inset -1px 0 0px 0px white;
}
.tabs_menu > label:after {
content: attr(data-text);
position: absolute;
top: 50%;
left: 50%;
display: inline-block;
width: 100%;
color: white;
text-align: center;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
-webkit-transition: color 0.25s;
transition: color 0.25s;
}
.tabs_menu > label:before {
content: '';
position: absolute;
left: 100%;
top: 50%;
display: inline-block;
width: 0;
height: 0;
border-style: solid;
border-width: 1rem;
border-color: transparent transparent transparent #ffffff;
-webkit-transform: translate(-5.5rem, -50%);
transform: translate(-5.5rem, -50%);
-webkit-transform: translate3d(-5.5rem, -50%, 0);
transform: translate3d(-5.5rem, -50%, 0);
-webkit-transition: -webkit-transform 0.2s;
transition: transform 0.2s;
}
.tabs_menu > .tabs_cont {
position: absolute;
display: inline-block;
width: 100%;
height: 90%;
left: 4rem;
text-align: center;
-webkit-transition: -webkit-transform 0.5s;
transition: transform 0.5s;
}
.tabs_menu > .tabs_cont > .card {
position: absolute;
left: 50%;
top: 50%;
display: inline-block;
width: 70%;
max-height: 50%;
overflow-x: hidden;
overflow-y: auto;
padding: 2rem;
box-shadow: 0 0 0 1px white;
color: white;
-webkit-overflow-scrolling: touch;
-webkit-transform: translate(-50%, -50%) translate(-1.5rem, 0);
transform: translate(-50%, -50%) translate(-1.5rem, 0);
-webkit-transform: translate3d(-50%, -50%, 0) translate3d(-1.5rem, 0, 0);
transform: translate3d(-50%, -50%, 0) translate3d(-1.5rem, 0, 0);
}
.tabs_menu > .tabs_cont > .card > h1 {
margin-top: 0;
}
.tabs_menu > input[type='radio']:nth-of-type(1):checked ~ .tabs_cont:nth-of-type(1) {
-webkit-transform: translate(0, 0%);
transform: translate(0, 0%);
-webkit-transform: translate3d(0, 0%, 0);
transform: translate3d(0, 0%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(1):checked ~ .tabs_cont:nth-of-type(2) {
-webkit-transform: translate(0, 100%);
transform: translate(0, 100%);
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(1):checked ~ .tabs_cont:nth-of-type(3) {
-webkit-transform: translate(0, 200%);
transform: translate(0, 200%);
-webkit-transform: translate3d(0, 200%, 0);
transform: translate3d(0, 200%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(1):checked ~ .tabs_cont:nth-of-type(4) {
-webkit-transform: translate(0, 300%);
transform: translate(0, 300%);
-webkit-transform: translate3d(0, 300%, 0);
transform: translate3d(0, 300%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(2):checked ~ .tabs_cont:nth-of-type(1) {
-webkit-transform: translate(0, -100%);
transform: translate(0, -100%);
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(2):checked ~ .tabs_cont:nth-of-type(2) {
-webkit-transform: translate(0, 0%);
transform: translate(0, 0%);
-webkit-transform: translate3d(0, 0%, 0);
transform: translate3d(0, 0%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(2):checked ~ .tabs_cont:nth-of-type(3) {
-webkit-transform: translate(0, 100%);
transform: translate(0, 100%);
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(2):checked ~ .tabs_cont:nth-of-type(4) {
-webkit-transform: translate(0, 200%);
transform: translate(0, 200%);
-webkit-transform: translate3d(0, 200%, 0);
transform: translate3d(0, 200%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(3):checked ~ .tabs_cont:nth-of-type(1) {
-webkit-transform: translate(0, -200%);
transform: translate(0, -200%);
-webkit-transform: translate3d(0, -200%, 0);
transform: translate3d(0, -200%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(3):checked ~ .tabs_cont:nth-of-type(2) {
-webkit-transform: translate(0, -100%);
transform: translate(0, -100%);
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(3):checked ~ .tabs_cont:nth-of-type(3) {
-webkit-transform: translate(0, 0%);
transform: translate(0, 0%);
-webkit-transform: translate3d(0, 0%, 0);
transform: translate3d(0, 0%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(3):checked ~ .tabs_cont:nth-of-type(4) {
-webkit-transform: translate(0, 100%);
transform: translate(0, 100%);
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(4):checked ~ .tabs_cont:nth-of-type(1) {
-webkit-transform: translate(0, -300%);
transform: translate(0, -300%);
-webkit-transform: translate3d(0, -300%, 0);
transform: translate3d(0, -300%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(4):checked ~ .tabs_cont:nth-of-type(2) {
-webkit-transform: translate(0, -200%);
transform: translate(0, -200%);
-webkit-transform: translate3d(0, -200%, 0);
transform: translate3d(0, -200%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(4):checked ~ .tabs_cont:nth-of-type(3) {
-webkit-transform: translate(0, -100%);
transform: translate(0, -100%);
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
.tabs_menu > input[type='radio']:nth-of-type(4):checked ~ .tabs_cont:nth-of-type(4) {
-webkit-transform: translate(0, 0%);
transform: translate(0, 0%);
-webkit-transform: translate3d(0, 0%, 0);
transform: translate3d(0, 0%, 0);
}