From: Ed Sanders Date: Fri, 25 Sep 2015 17:22:11 +0000 (+0100) Subject: Remove border radii from CalendarWidget X-Git-Tag: 1.31.0-rc.0~9707 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=43374cbe1a9633ec7c625f419c754dc0000850e3;p=lhc%2Fweb%2Fwiklou.git Remove border radii from CalendarWidget Also remove rule removing border from 'today' on hover. Bug: T113740 Change-Id: I9d71064b847433ed98ebaa8a1dce36af2cca7d27 --- 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); - } }