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 | |
parent | 91e5c24a314170490139d661a921d94b8ab0555b (diff) | |
download | gitea-64c68220d203cb07be001184cde4b35d4b503344.tar.gz gitea-64c68220d203cb07be001184cde4b35d4b503344.zip |
Fix #264
Diffstat (limited to 'public')
-rw-r--r-- | public/ng/css/ui.css | 4 | ||||
-rw-r--r-- | public/ng/less/ui/form.less | 23 |
2 files changed, 14 insertions, 13 deletions
diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css index 9c3c8ded5d..3ea6fcd48c 100644 --- a/public/ng/css/ui.css +++ b/public/ng/css/ui.css @@ -480,6 +480,10 @@ dt { .ipt-large { font-size: 14.4px; } +.ipt-textarea { + height: auto !important; + width: auto; +} .ipt-disabled, input[disabled] { background-color: #f2f2f2 !important; 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; |