Files
shoptime/com.twin.app.shoptime/src/components/TabLayout/TabLayout.module.less
2024-02-06 18:33:50 +09:00

91 lines
1.3 KiB
Plaintext

@import "../../style/utils.module.less";
@import "../../style/CommonStyle.module.less";
.tabLayoutWrap {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
display: flex;
&.hide {
width: auto;
}
}
.expandedRootContainer {
position: absolute;
display: flex;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
&.hide {
width: auto;
z-index: 0;
}
}
.tabWrap {
width: 120px;
height: 100%;
left: 0;
top: 0;
background-color: #222222;
display: flex;
flex-direction: column;
justify-content: center;
z-index: 1;
flex-grow: 0;
// transition: width 0.5s ease;
> img {
width: 54px;
height: 54px;
margin: -40px 24px 84px 42px;
}
&.expanded {
width: 402px;
> img {
width: 234px;
height: 54px;
}
}
&.secondDepthLayout {
width: 386px;
height: calc(100%);
opacity: 0.95;
box-shadow: 8px 0 36px rgba(33, 33, 32, 0.08);
padding-bottom: unset;
padding-top: 71px;
z-index: 0;
justify-content: flex-start;
&.secondDepthReduce {
width: 216px;
// transition: width 0.5s ease;
// > div {
// margin-bottom: 90px;
// }
}
}
&.extraArea {
flex-grow: 1;
background-color: rgba(0, 0, 0, 0);
transition: initial;
}
&.hide {
width: 0;
}
}