From 9650f67139fdb5dc350a6e0b0bdef8dc9447bb2c Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sat, 13 Jul 2024 17:52:54 +0200 Subject: [PATCH] Add style for disabled button. --- src/styles/components/_button.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/styles/components/_button.less b/src/styles/components/_button.less index 335d8dd..ec79708 100644 --- a/src/styles/components/_button.less +++ b/src/styles/components/_button.less @@ -41,6 +41,11 @@ a.button, button, input[type="submit"], input[type="reset"] transform: scale(0.95); } + &:disabled + { + opacity: 60%; + } + &.flat { box-shadow: 0 0 0 0 transparent;