From c61bba1020fdb0724e4151f78e485c1e8d516330 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Mon, 19 Jun 2017 15:14:53 +0800 Subject: [PATCH] chore: make disabled today different from other disabled day --- components/date-picker/style/Calendar.less | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/date-picker/style/Calendar.less b/components/date-picker/style/Calendar.less index ec5ccb1142..133b8f2696 100644 --- a/components/date-picker/style/Calendar.less +++ b/components/date-picker/style/Calendar.less @@ -229,6 +229,21 @@ background: @disabled-bg; } } + &-disabled-cell&-today &-date { + position: relative; + margin-right: 5px; + padding-left: 5px; + &:before { + content: " "; + position: absolute; + top: -1px; + left: 5px; + width: 20px; + height: 20px; + border: @border-width-base @border-style-base #bcbcbc; + border-radius: @border-radius-base; + } + } &-disabled-cell-first-of-row &-date { border-top-left-radius: 4px;