Browse Source

Add @time-picker-selected-bg to control the selected state of time-picker

pull/6006/head
Graeme Yeates 8 years ago
parent
commit
98ba816bfb
  1. 2
      components/date-picker/style/TimePicker.less
  2. 1
      components/style/themes/default.less
  3. 2
      components/time-picker/style/index.less

2
components/date-picker/style/TimePicker.less

@ -100,7 +100,7 @@
} }
li&-option-selected { li&-option-selected {
background: @background-color-base; background: @time-picker-selected-bg;
font-weight: bold; font-weight: bold;
} }

1
components/style/themes/default.less

@ -294,6 +294,7 @@
// --- // ---
@time-picker-panel-column-width: 56px; @time-picker-panel-column-width: 56px;
@time-picker-panel-width: @time-picker-panel-column-width * 3; @time-picker-panel-width: @time-picker-panel-column-width * 3;
@time-picker-selected-bg: @background-color-base;
// Carousel // Carousel
// --- // ---

2
components/time-picker/style/index.less

@ -130,7 +130,7 @@
} }
li&-option-selected { li&-option-selected {
background: @background-color-base; background: @time-picker-selected-bg;
font-weight: bold; font-weight: bold;
} }

Loading…
Cancel
Save