From a1678e58016cd6856c3d1781dae2358f9602bab3 Mon Sep 17 00:00:00 2001 From: dfsq Date: Wed, 23 Mar 2016 13:17:42 +0100 Subject: [PATCH] Align initial dropdown styles with .md-button styles. Closes #963 --- public/resources/css/module/_dropdown.scss | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/public/resources/css/module/_dropdown.scss b/public/resources/css/module/_dropdown.scss index c916851469..6ea5991f80 100644 --- a/public/resources/css/module/_dropdown.scss +++ b/public/resources/css/module/_dropdown.scss @@ -5,19 +5,30 @@ .dropdown-button { background: rgba($snow, .1); border: none; + border-radius: 3px; text-transform: none; font-weight: normal; + font-size: 14px; line-height: $unit * 4; padding: 0px ($unit * 4) 0px ($unit * 2); + margin: (1.25 * $unit) 0; cursor: pointer; position: relative; z-index: $layer-1; opacity: 0.87; + letter-spacing: .010em; + min-height:4.5 * $unit; + white-space:nowrap; + -webkit-font-smoothing:antialiased; + -webkit-user-select:none; .icon { position: absolute; - top: 5px; + top: 50%; right: $unit; + -ms-transform: translateY(-50%); + -webkit-transform: translateY(-50%); + transform: translateY(-50%); z-index: $layer-1; font-size: 20px; opacity: .87; @@ -28,7 +39,7 @@ background: $snow; box-shadow: 0px 2px 5px rgba($coal, .3); position: absolute; - top: 0px; + top: 1.25 * $unit; left: 0px; z-index: $layer-5; display: none;