diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-06 17:50:00 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-06 17:50:00 -0400 |
commit | 64c68220d203cb07be001184cde4b35d4b503344 (patch) | |
tree | 1355846382ff21a2b1a3de606da3d9979a479dc8 /public/ng/less/ui/form.less | |
parent | 91e5c24a314170490139d661a921d94b8ab0555b (diff) | |
download | gitea-64c68220d203cb07be001184cde4b35d4b503344.tar.gz gitea-64c68220d203cb07be001184cde4b35d4b503344.zip |
Fix #264
Diffstat (limited to 'public/ng/less/ui/form.less')
-rw-r--r-- | public/ng/less/ui/form.less | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/public/ng/less/ui/form.less b/public/ng/less/ui/form.less index 4a681994de..b3de4273c8 100644 --- a/public/ng/less/ui/form.less +++ b/public/ng/less/ui/form.less @@ -116,25 +116,24 @@ } // input form elements - .ipt { - &:focus { - border-color: @iptFocusBorderColor; - } + &:focus { + border-color: @iptFocusBorderColor; + } } - .ipt-radius { - border-radius: .25em; + border-radius: .25em; } - .ipt-small { - font-size: .8*@baseFontSize; + font-size: .8*@baseFontSize; } - .ipt-large { - font-size: 1.2*@baseFontSize; + font-size: 1.2*@baseFontSize; +} +.ipt-textarea { + height: auto !important; + width: auto; } - .ipt-disabled, input[disabled] { background-color: @iptDisabledColor !important; @@ -144,14 +143,12 @@ input[disabled] { color: #888; cursor: not-allowed; } - .ipt-readonly, input[readonly] { &:focus { background-color: @iptDisabledColor !important; } } - .ipt-error { border-color: @iptErrorBorderColor !important; background-color: @iptErrorFocusColor !important; |