plumes
Version:
Flying-fast Metro future vision components
158 lines (131 loc) • 2.72 kB
text/less
@import "../../common/less/common-mixins.less";
.pl-layout-platform {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
.pl-layout-platform-header {
z-index: 1000;
position: fixed;
top: -5rem;
left: 50%;
color: #333;
margin-left: -8rem;
.transition(all 0.35s @easeOutQuart);
&.empty {
opacity: 0;
}
&.show {
top: 1rem;
}
.pl-layout-platform-title-bg {
position: absolute;
top: -1rem;
left: 50%;
width: 0;
height: 0;
background: #333;
.transition(width 0.15s @easeOutQuart, margin-left 0.35s @easeOutQuart, opacity 0.35s @easeOutQuart);
&.opened {
.transition(width 0.25s @easeOutQuart, margin-left 0.35s @easeOutQuart, opacity 0.35s @easeOutQuart);
}
}
.pl-layout-title {
cursor: default;
display: block;
&.opened {
color: white;
h2 {
text-shadow: none;
color: white;
}
}
h2 {
text-shadow: 1px 0 1px white;
color: rgba(0, 0, 0, 0.75);
}
}
}
.pl-layout-platform-context-left, .pl-layout-platform-context-right {
z-index: 1;
position: fixed;
top: 0;
width: 0;
bottom: 0;
overflow: hidden;
.pl-context-panel-require {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
.pl-context-panel {
&.use-title {
.pl-context-panel-content {
top: 11rem;
}
}
}
.pl-context-panel-title {
padding-top: 5rem;
&::before, &::after {
top: 8rem;
}
}
.pl-context-panel-title-cross {
top: 6rem;
}
}
}
.pl-layout-platform-context-left {
left: 0;
}
.pl-layout-platform-context-right {
right: 0;
}
.pl-layout-platform-flyout-left, .pl-layout-platform-flyout-right {
z-index: 1001;
cursor: default;
position: fixed;
top: 1rem;
height: 4rem;
rv-require {
height: 100%;
}
}
.pl-layout-platform-flyout-left {
left: 1.5rem;
}
.pl-layout-platform-flyout-right {
right: 2rem;
}
.pl-layout-platform-content-template {
z-index: -1;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.pl-layout-platform-content {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
.transform(translateZ(0));
.transition(left 0.25s @easeOutQuart, right 0.25s @easeOutQuart);
}
.pl-layout-mask {
.noselect();
z-index: 99999;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fff;
}
}