From 439b77aab90baf581a32457e0d6ba90faaa630ad Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Tue, 16 Oct 2012 15:42:34 +0000 Subject: [PATCH] Add a down arrow button. see #21598, #21390, #21813. git-svn-id: http://core.svn.wordpress.org/trunk@22245 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/css/buttons.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/wp-includes/css/buttons.css b/wp-includes/css/buttons.css index 12f330bd18..cab0ded077 100644 --- a/wp-includes/css/buttons.css +++ b/wp-includes/css/buttons.css @@ -27,6 +27,7 @@ TABLE OF CONTENTS: 2.0 - Default Button Style 3.0 - Primary Button Style 4.0 - Button Groups + 5.0 - Icon Buttons ---------------------------------------------------------------------------- */ @@ -256,4 +257,20 @@ TABLE OF CONTENTS: .button-group > .button:last-child { border-radius: 0 3px 3px 0; -} \ No newline at end of file +} + +/* ---------------------------------------------------------------------------- + 5.0 - Icon Buttons + + A button with a class of .down-arrow cannot have any input, and cannot have + any other content. +---------------------------------------------------------------------------- */ +.button.down-arrow:after { + content: '\25BE'; + display: inline-block; + font-size: 16px; + opacity: 0.8; + margin: 0 -0.25em; + text-align: center; + vertical-align: middle; +}