dotfiles/.atom/packages/atom-material-ui/styles/dock.less

85 lines
1.6 KiB
Plaintext

atom-dock {
.amu-panel-shadows & {
&.left, &.right {
.item-views::after {
content: '';
height: 100%;
pointer-events: none;
position: absolute;
opacity: .05;
top: 0;
width: .25rem;
z-index: 5;
}
}
&.left .item-views::after {
background: linear-gradient(to left, black, transparent);
right: 0;
}
&.right .item-views::after {
background: linear-gradient(to right, black, transparent);
left: 0;
}
}
}
.atom-dock {
&-inner {
position: relative;
&.bottom {
.tab-bar:empty {
display: none;
}
}
}
&-resize-handle {
position: absolute;
z-index: 10;
&.left, &.right {
top: 0;
bottom: 0;
}
&.left {
right: 0;
}
&.right {
left: 0;
}
&.top, &.bottom {
left: 0;
right: 0;
}
&.top {
bottom: 0;
}
&.bottom {
top: 0;
}
}
&-toggle-button {
.atom-dock-toggle-button-inner {
background-color: @base-color;
color: @accent-text-color;
}
}
.amu-use-animations & {
&-mask:not(:active) {
transition:
height 250ms @md-timing-function,
width 250ms @md-timing-function;
}
}
}