]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix borderless textfield focus box-shadow
authorJouni Koivuviita <jouni@vaadin.com>
Fri, 27 Jun 2014 09:33:52 +0000 (12:33 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 27 Jun 2014 13:37:10 +0000 (13:37 +0000)
Earlier patch caused focus outline/box-shadow to be applied to
borderless style. This patch removes those again.

Change-Id: Ib528675032c87e28b4962e7e5686dde56578be8d

WebContent/VAADIN/themes/valo/components/_textfield.scss

index 147befb0a197cb96b50d6dad775a95b10bf0d8c7..c314a0c85501b97f45cac99dc03ad6e9e7ce4ec7 100644 (file)
@@ -72,9 +72,9 @@ $v-textfield-disabled-opacity: $v-disabled-opacity !default;
 
     @if $background-color {
       color: valo-font-color($background-color);
-      @include box-shadow(valo-bevel-and-shadow($bevel: $bevel, $shadow: $shadow, $background-color: $background-color, $gradient: $gradient));
     }
 
+    @include box-shadow(valo-bevel-and-shadow($bevel: $bevel, $shadow: $shadow, $background-color: $background-color, $gradient: $gradient));
 
     @if $v-animations-enabled {
       @include transition(box-shadow 180ms, border 180ms);