Убирает premium вид лайков/реакций/+кармы и заменяет на упрощённый вариант
DTF Karma Fix 2.0 by proviceunify
Details
Authorproviceunify
LicenseNo License
Categoryhttps://dtf.ru/
Created
Updated
Size9.1 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
v.1.2.0 - Нашёл способ перенести лайки в один ряд с другими кнопками на превью поста (Спасибо @Брахистохрона)
v.1.1.0 - Исправлена проблема с меняющимся порядком лайков (Спасибо @TiMK9, @Сергей Борисов)
v.1.0.0 - Init
Source code
/* ==UserStyle==
@name DTF Karma Fix 2.0
@namespace https://dtf.ru/
@version 1.2.0
@description Убирает premium вид лайков/реакций/+кармы и заменяет на упрощённый вариант
@author PrøviceUnify
==/UserStyle== */
@-moz-document url-prefix("https://dtf.ru") {
/* Отключение кнопки выбора дополнительных реакций */
div.reaction-button:has(svg) {
display: none;
}
/* Совмещение и выравнивание ряда кнопок */
.content--short .content__reactions {
padding-left: 24px !important;
padding-right: 0;
align-self: center;
padding-bottom: 0;
padding-top: 0;
}
.content--short .content-footer {
padding-left: 12px;
}
/* Интерпретация блока поста в ленте как grid; перераспределение контента */
.content--short {
display: grid;
grid-template-rows: auto auto auto auto;
grid-template-columns: auto 1fr;
}
.content--short > div:nth-child(1) {
grid-column: span 2;
}
.content--short > div:nth-child(2) {
grid-column: span 2;
}
.content--short > div:nth-child(3) {
grid-column: span 1;
}
.content--short > div:nth-child(4) {
grid-column: span 1;
}
/* Отключение отступа и подложки кнопок */
div.reaction-button:has(img),
div.reaction-button:has(img):hover {
padding: 0 !important;
background: none !important;
}
/* Эффект прозрачности, цвета и красного цвета при наведении */
div.reaction-button:has(img):hover::before {
filter: opacity(.6);
/* color: crimson; */
transition-duration: .2s;
}
/* Внешний вид не нажатой кнопки лайка */
div.reaction-button:has(img)::before {
content: '♡';
color: var(--theme-color-text-secondary);
margin-left: 1px;
font-size: 28px;
transition-duration: .2s;
}
/* Цвет количества лайков */
div.reaction-button:has(img) span {
color: var(--theme-color-text-secondary);
}
/* Внешний вид нажатой кнопки лайка */
div.reaction-button--active:has(img)::before {
content: '♥';
margin-left: 1px;
font-size: 28px;
color: crimson;
}
/* Отключение оригинальной иконки лайка (щас бы раст в 2к24 использовать в качестве иконок, ага) */
div.reaction-button img {
display: none;
}
/* Отключение дополнительных кнопок "кастомных" лайков по признаку атрибута src */
.reaction-button:not(:has(img[src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAMAAAC4uKf/AAAC+lBMVEUAAADLOjbmRj22KSfVOja0KSffQDq0KSe1KSfMOTK1KSe0KSfhQDq4Kii0KSe5KyrlQzu3Kim0KSfQNzG0KSfdPje0KCe2KSe0KSe2KSffPzi1Kie4KynDMS3jQTreQDjgQTq4KyfBKCjlQzy1KSfhQTm1KSfkQzu1KSe4KinIMi7kQjvDMCzbPTbVOTPiQTq7KyrmQzzBLivmRDzWOTPcPjfQODHlRDvfQDi0KSbPNjHcPjbGMS3PNzDiQjnJNC7WOzW0KifGMizWOjPLNS/XOzTCMCvlQzvVPDTdPjffPzi0KSfgQDnePzjbPTbTOTLCMCzhQju7LCnVOjPZPDXJMy7GMS3hQTrNNjDbPje/LivVOzTRODHYPDXKNC/MNS/XOzTBLyvPNzC9LSrlQzvQNzHHMi7XPDXiQzy5KynEMCzSODLNNzC4KynjSEG3KijhRD3jRD7jQjvhQzu2KSjlT0nhRj/YPzflTUfnUUvnU03jSkLbQzriQTncQTnrgGvqZmDoWlToYljoXVbnWFLkVUvkRkHfQzzpX1nnVU/lS0beRz7vhHvrbGXkTUXqYlzna1feSj/aQTjuf3jtinPpZlzgUETlSkTcRjztdm/fTUPjTEP75t/2xbXwioHufHTmXlP1s6HxnYjocFviUEjjRz774dr3ybrxkYnvlYDvknzthW7tcmzraWPpbGDnWE/lSULmST/yrZjzqpXteXHqe2XkWlDnWkr50Mbsb2nlZlTkYVDkXUziVEblUkXkRj363NP62c/51Mn2wLD1raPpeGLoXU7iW0r63tb40ML4ysH2vav1uanzopnx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2htzZrW1jdLEYsdsk1ZRbGdCmSvFubKQlsB3UzqBbP8s2iC8tTNH25SPQPqdE92V5GuZ7ZhVxwYYh3dIgaLhIpCds+RDfVQ7c7QsRCLq8clXM6SLdu1+ae/xHhNBarPpzLLqxDMQiGzDq0mU8bDac6rxkcS12uHAHFohmW5F1sm+FUpyMc8ceRc63khMWi15CSwMaLk3BaS5ik8BLr9ZNdpvSysDOKSbW4aUO4kR+OgcqP9YddY3EVaxSbrj3bzoZwujmgzRghFnfeuCZfUo74BGJ7EZvb3C+EE5U04/XvtqtFR3EpJbE2M0o/HGNUOkLrCot4WaKj6N/hAIhNRolwD2xjoEIzEMt3XfdJiVtJzfa2FY6BCv9LdC4pfeOcjqZaQSXV5m2OeUAstJBraF229FVKwFUdtjnbxmzjUSIcdGyCCrHYNXau+hUloj30bGE42Ji9LuYHJSSwtklogw7hPn5DZUfouwJKSu4mPNyPYywONqN7xdniWOrCASvQCTRhW4pNw7EKsaQajxNb+mafTqB/62wvno0RlbiWcN2e0Un0Kjjcywlq4nRWJa655Gr06ERqDdgmmzYXy3NVanQyF0XPxq2EjlXbrjJc6dhWsEm4N46FFqqreEGpcFV2NhdOYhnXCq4upUTH2pah7R0quCRXvUOp0a6H2TBK8OJyMW1KkWAo2RBux9WiVGlt2BhWZePSbGuxIRb2hcs3dfKabY5YYa48gaxsrGPXMisXGKiNWdoZFigbSgW3N3XlKCNyNzbbSl0lyoxcQSYprhs/V1a2tbgoQ3Rvuq9scbZB5i6ct4jOZ2Mb0DcxwH34XQTJHtn/AEh/MOp0PRSiAAAAAElFTkSuQmCC"])) {
display: none;
}
/* div.reactions:has(.reaction-button):has(img) > div.reaction-button:not(:first-child) {
display: none;
} */
.popover-overlay:has(.reaction-plus-restriction) {
display: none;
}
}