From d4484788352528c172288da3a1f0e394844c7759 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Mon, 5 Jan 2015 17:38:01 +0530 Subject: [PATCH] mw.ui: button: Update usage instructions for neutral and quiet buttons Bug: T75252 Change-Id: If18d4773f491d465309662a7decd8466673002fe --- resources/src/mediawiki.ui/components/buttons.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/src/mediawiki.ui/components/buttons.less b/resources/src/mediawiki.ui/components/buttons.less index 6ba7bf705c..f88f3ee6b9 100644 --- a/resources/src/mediawiki.ui/components/buttons.less +++ b/resources/src/mediawiki.ui/components/buttons.less @@ -17,6 +17,8 @@ // Neutral button styling // +// These are the main actions on the page/workflow. The page should have only one of progressive, constructive and desctructive buttons, the rest being quiet. +// // Markup: //
// @@ -187,8 +189,8 @@ // Quiet buttons // - // Use quiet buttons when they are less important and alongside other constructive/progressive/destructive buttons. - // Use of quiet buttons is not recommended on mobile/tablet due to lack of hover state. + // Use quiet buttons when they are less important and alongside other constructive, progressive or destructive buttons. It should be used for an action that exits the user from the current view/workflow. + // Its use is not recommended on mobile/tablet due to lack of hover state. // // Markup: //
-- 2.20.1