From 36ff4e2f7d5ea84702956d1a17dd81356ddcb60c Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Mon, 26 May 2014 17:27:51 +0200 Subject: [PATCH] form warnings --- less/styles.less | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/less/styles.less b/less/styles.less index 537aa8c..9a0ebc0 100644 --- a/less/styles.less +++ b/less/styles.less @@ -74,14 +74,30 @@ body.ui-mobile-viewport { } } - form .ui-input-btn { - background-color: #60ACF0; - color: #fff; - text-shadow: 0px 1px 0px rgb(92, 152, 198); - &:hover { - background-color: #3F87D9; - color: #fff; - text-shadow: 0px 1px 0px rgb(92, 152, 198); + form { + .ui-input-btn { + background-color: #60ACF0; + color: #fff; + text-shadow: 0px 1px 0px rgb(92, 152, 198); + &:hover { + background-color: #3F87D9; + color: #fff; + text-shadow: 0px 1px 0px rgb(92, 152, 198); + } + } + .warning { + dispay: none; + display: none; + font-weight: normal; + &.off { + display: block; + } + } + .ui-checkbox-on .warning { + display: block; + &.off { + display: none; + } } } }