/** * Swipe plugin styles */ @import (reference) "../../../../skins/elastic/styles/variables"; @import (reference) "../../../../skins/elastic/styles/mixins"; #listoptions-menu { overflow-y: auto; margin: -0.5em -1em; padding: .75em 1.25em; &::-webkit-scrollbar { -webkit-appearance: none; } &::-webkit-scrollbar:vertical { width: .6rem; } &::-webkit-scrollbar:horizontal { height: .6rem; } &::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, .4); border-radius: .3rem; border: 2px solid #fff; } > fieldset.swipe-menu { display: none; margin-top: 1.5rem; } } #swipe-action { position: absolute; display: flex; align-items: center; border-collapse: collapse; &.horizontal { background-color: lighten(@color-black, 85%); color: @color-black; } &.vertical { background-color: transparent; color: lighten(@color-black, 70%); top: 2em; height: 1.5em; } &.checkmail { color: @color-main; } &.select, &.deselect { background-color: lighten(@color-black, 50%); color: #fff; } &.delete, &.junk { background-color: @color-message-error; color: #fff; } &.flagged, &.unflagged, &.read, &.unread { background-color: @color-message-information; color: #fff; } &.forward, &.reply, &.replyall, &.notjunk { background-color: @color-message-success; color: #fff; } &.move, &.archive { background-color: @color-message-warning; color: #fff; } > div { > span { line-height: 100%; font-size: 1.2em; &::before { .font-icon-class; padding: 0 1.25em 0 0.5em; } &.archive::before { content: @fa-var-archive; } &.checkmail::before { content: @fa-var-sync; } &.delete::before { content: @fa-var-trash-alt; } &.flagged::before { content: @fa-var-flag; } &.unflagged::before { .font-icon-regular(@fa-var-flag); } &.forward::before { content: @fa-var-share; } &.junk::before { content: @fa-var-fire-alt; } &.notjunk::before { content: @fa-var-inbox; } &.move::before { content: @fa-var-arrows-alt; } &.read::before { .font-icon-regular(@fa-var-circle); } &.unread::before { content: @fa-var-circle; } &.reply::before { content: @fa-var-reply; } &.replyall::before { content: @fa-var-reply-all; } &.select::before { .font-icon-regular(@fa-var-check-square); } &.deselect::before { .font-icon-regular(@fa-var-square); } } &.left { position: absolute; right: 0.5em; } &.down { margin: 0 auto; background-color: #fff; border-radius: 50%; box-shadow: 0 0 10px lighten(@color-black, 75%); > span { &::before { float: none; padding: 0; margin: 10px; line-height: 1em; } > span { display: none; } } } } } .swipe-active, .swipe-active > td { background-color: @color-layout-list-background; }