From f1c9544b18cd24f93a16bf42c8d649168108c241 Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Fri, 6 May 2016 17:41:57 +0200 Subject: [PATCH] add states --- src/scss/cdb-components/forms/inputs.scss | 10 +++++++++- src/scss/cdb-components/forms/selects.scss | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/scss/cdb-components/forms/inputs.scss b/src/scss/cdb-components/forms/inputs.scss index 151975c..f2ef03d 100644 --- a/src/scss/cdb-components/forms/inputs.scss +++ b/src/scss/cdb-components/forms/inputs.scss @@ -24,15 +24,23 @@ line-height: $sLineHeight-medium; box-sizing: border-box; + &.is-cursor { + cursor: pointer; + } + &.is-empty { + color: $cHintText; + } &:hover { border: 1px solid $cHoverLine; } &:focus { border: 1px solid $cBlue; } - &:disabled { + &:disabled, + &.is-disabled { border-color: $cSecondaryLine; background: $cThirdBackground; + cursor: default; } &.has-error { @include default-form-error-style(); diff --git a/src/scss/cdb-components/forms/selects.scss b/src/scss/cdb-components/forms/selects.scss index e38d2c5..08b1d35 100644 --- a/src/scss/cdb-components/forms/selects.scss +++ b/src/scss/cdb-components/forms/selects.scss @@ -17,6 +17,28 @@ + +
+
+
+ + +
+
DejaVu Sans
+ +
+ +
DejaVu Sans
+
+
DejaVu Sans
+