From 5166b9aec0faf0451672f8ad52a8767a633e760c Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 22 Oct 2017 17:06:13 +0800 Subject: Updates --- common.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'common.css') diff --git a/common.css b/common.css index 1d5265e..46e352d 100644 --- a/common.css +++ b/common.css @@ -18,9 +18,14 @@ background-color: #fff; background-image: none; border: 1px solid #d9d9d9; - border-radius: 6px; + border-radius: 4px; transition: border 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); } +.rc-time-picker-input[disabled] { + color: #ccc; + background: #f7f7f7; + cursor: not-allowed; +} .rc-time-picker-panel { z-index: 1070; width: 170px; @@ -94,7 +99,8 @@ margin-left: -1px; box-sizing: border-box; width: 56px; - overflow: hidden; + max-height: 144px; + overflow-y: auto; position: relative; } .rc-time-picker-panel-select-active { @@ -113,7 +119,6 @@ margin: 0; padding: 0; width: 100%; - max-height: 144px; } .rc-time-picker-panel-select li { list-style: none; @@ -134,11 +139,11 @@ background: #edfaff; } li.rc-time-picker-panel-select-option-selected { - background: #edfaff; - color: #2db7f5; + background: #f7f7f7; + font-weight: bold; } li.rc-time-picker-panel-select-option-disabled { - color: #bfbfbf; + color: #ccc; } li.rc-time-picker-panel-select-option-disabled:hover { background: transparent; -- cgit v1.2.3