You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/06/14 10:24:29 UTC

[royale-asjs] branch develop updated: fix placeholder styles

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new e9a2256  fix placeholder styles
e9a2256 is described below

commit e9a2256e2f69a769d030a541ecb475a6eef05efb
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Jun 14 12:24:14 2018 +0200

    fix placeholder styles
---
 frameworks/themes/JewelTheme/src/main/resources/defaults.css          | 4 ++--
 .../JewelTheme/src/main/sass/components-primary/_textinput.sass       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index 2b2cccd..03b32fa 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -421,7 +421,7 @@ j|Card {
 .jewel.textinput input:focus {
   border: 1px solid #0f88d1;
 }
-.jewel.textinput input::placeholder {
+.jewel.textinput input::placeholder, .jewel.textinput input:-ms-input-placeholder {
   color: #a6a6a6;
 }
 .jewel.textinput input[disabled] {
@@ -430,7 +430,7 @@ j|Card {
   box-shadow: none;
   color: silver;
 }
-.jewel.textinput input[disabled]::placeholder {
+.jewel.textinput input[disabled]::placeholder, .jewel.textinput input[disabled]:-ms-input-placeholder {
   color: silver;
 }
 
diff --git a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_textinput.sass b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_textinput.sass
index 328c54f..11c808b 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_textinput.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_textinput.sass
@@ -62,7 +62,7 @@ $textinput-border-radius: 3px
 		//    padding: 5px;
 		//    background-color: #DFDFDF;
 
-		&::placeholder
+		&::placeholder, &:-ms-input-placeholder
 			color: lighten($textinput-text-color, 15%)
 
 		&[disabled]
@@ -75,7 +75,7 @@ $textinput-border-radius: 3px
 			box-shadow: none
 			color: $disabled-font-color
 			
-			&::placeholder
+			&::placeholder, &:-ms-input-placeholder
 				color: $disabled-font-color
 
 .jewel.textinput

-- 
To stop receiving notification emails like this one, please contact
carlosrovira@apache.org.