From ea01263e0472b9ad626a370a276e300d71e9fc3e Mon Sep 17 00:00:00 2001 From: Sena Date: Tue, 28 Jan 2025 15:44:40 +0300 Subject: [PATCH] fix(hackage): synopsis and upload buttons (#1603) * fix(hackage): color the file selector buttons * fix(hackage): make the synopsis button text smaller --- styles/hackage/catppuccin.user.less | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/styles/hackage/catppuccin.user.less b/styles/hackage/catppuccin.user.less index 121c80eb..390f9d1b 100644 --- a/styles/hackage/catppuccin.user.less +++ b/styles/hackage/catppuccin.user.less @@ -286,7 +286,7 @@ summary, #control\.syn { @svg: escape( - 'SynopsisSynopsis' + 'SynopsisSynopsis' ); background-image: url("data:image/svg+xml,@{svg}") !important; } @@ -548,6 +548,19 @@ background-color: @crust; } + /* + * Upload + */ + + input[type="file"] { + background-color: transparent; + + &::file-selector-button { + background-color: @mantle; + color: @text; + } + } + /* * Others */