You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
1.5 KiB
105 lines
1.5 KiB
.p-dock {
|
|
position: absolute;
|
|
z-index: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.p-dock-list-container {
|
|
display: flex;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.p-dock-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.p-dock-item {
|
|
transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
will-change: transform;
|
|
}
|
|
|
|
.p-dock-action {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: default;
|
|
}
|
|
|
|
.p-dock-item-second-prev,
|
|
.p-dock-item-second-next {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.p-dock-item-prev,
|
|
.p-dock-item-next {
|
|
transform: scale(1.4);
|
|
}
|
|
|
|
.p-dock-item-current {
|
|
transform: scale(1.6);
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Position */
|
|
/* top */
|
|
.p-dock-top {
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.p-dock-top .p-dock-item {
|
|
transform-origin: center top;
|
|
}
|
|
|
|
/* bottom */
|
|
.p-dock-bottom {
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.p-dock-bottom .p-dock-item {
|
|
transform-origin: center bottom;
|
|
}
|
|
|
|
/* right */
|
|
.p-dock-right {
|
|
right: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.p-dock-right .p-dock-item {
|
|
transform-origin: center right;
|
|
}
|
|
|
|
.p-dock-right .p-dock-list {
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* left */
|
|
.p-dock-left {
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.p-dock-left .p-dock-item {
|
|
transform-origin: center left;
|
|
}
|
|
|
|
.p-dock-left .p-dock-list {
|
|
flex-direction: column;
|
|
}
|