Skip to content

Instantly share code, notes, and snippets.

@Cranyozen
Last active October 2, 2024 14:19
Show Gist options
  • Save Cranyozen/320f90513b658ae82a9c7872f867a33f to your computer and use it in GitHub Desktop.
Save Cranyozen/320f90513b658ae82a9c7872f867a33f to your computer and use it in GitHub Desktop.
/* ==UserStyle==
@name Anti-Recall
@description 自用的适用于 anti-recall 撤回提示样式
@preprocessor transitio
@version 0.1.0
@homepageURL https://github.com/cranyozen
@author cranyozen
@license gpl-3.0
@var number border-width "描边宽度 em" [0.15, 0, null, 0.01]
@var color border-color "描边颜色" "#cd5c5c"
@var color background-color "背景颜色" "#4b4b4b"
@var percent background-shadow-opacity "背景透明度 (%)" 40
==/UserStyle== */
.message-content-recalled-parent {
border-width: var(--border-width)em;
border-color: var(--border-color);
border-style: solid;
background-color: rgb(from var(--background-color) r g b / var(--background-shadow-opacity)) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment