From 43374cbe1a9633ec7c625f419c754dc0000850e3 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 25 Sep 2015 18:22:11 +0100 Subject: [PATCH] Remove border radii from CalendarWidget Also remove rule removing border from 'today' on hover. Bug: T113740 Change-Id: I9d71064b847433ed98ebaa8a1dce36af2cca7d27 --- .../mw.widgets.CalendarWidget.less | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less b/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less index 21a90192d4..702eb808fe 100644 --- a/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less +++ b/resources/src/mediawiki.widgets/mw.widgets.CalendarWidget.less @@ -208,6 +208,7 @@ /* Theme-specific */ .mw-widget-calendarWidget-day { color: #444; + border-radius: 0.1em; } .mw-widget-calendarWidget-day-heading { @@ -221,42 +222,13 @@ .mw-widget-calendarWidget-day-today { box-shadow: inset 0 0 0 1px #3787fb; - border-radius: ((@calendarHeight / 7) / 2); } .mw-widget-calendarWidget-item-selected { background-color: #d8e6fe; color: #3787fb; - - &.mw-widget-calendarWidget-day, - &.mw-widget-calendarWidget-day-heading { - border-radius: ((@calendarHeight / 7) / 2); - } - - &.mw-widget-calendarWidget-month { - border-radius: ((@calendarHeight / 6) / 2); - } - - &.mw-widget-calendarWidget-year { - border-radius: ((@calendarHeight / 4) / 2); - } } .mw-widget-calendarWidget-item:hover { background-color: #eee; - - &.mw-widget-calendarWidget-day, - &.mw-widget-calendarWidget-day-heading { - border-radius: ((@calendarHeight / 7) / 4); - // Hide the border from .mw-widget-calendarWidget-day-today - box-shadow: none; - } - - &.mw-widget-calendarWidget-month { - border-radius: ((@calendarHeight / 6) / 4); - } - - &.mw-widget-calendarWidget-year { - border-radius: ((@calendarHeight / 4) / 4); - } } -- 2.20.1