summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-08-02 04:14:47 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-08-02 04:14:47 -0400
commit5b0bac82d46c7a948775b69635ab58f4446d7e1b (patch)
tree7b6b93918c5bd7b53078c7e96521922b8d00a75a
parent36a29baec5345c6e36de661a9715b6406eafccea (diff)
downloadaskbot-5b0bac82d46c7a948775b69635ab58f4446d7e1b.tar.gz
askbot-5b0bac82d46c7a948775b69635ab58f4446d7e1b.tar.bz2
askbot-5b0bac82d46c7a948775b69635ab58f4446d7e1b.zip
css fixes for Chinese locale
-rw-r--r--askbot/media/style/style.css42
-rw-r--r--askbot/media/style/style.less20
2 files changed, 58 insertions, 4 deletions
diff --git a/askbot/media/style/style.css b/askbot/media/style/style.css
index 5854b850..0a60c6a1 100644
--- a/askbot/media/style/style.css
+++ b/askbot/media/style/style.css
@@ -4607,8 +4607,46 @@ body.anon.lang-es #searchBar {
}
body.lang-zh .box .inputs #interestingTagInput,
+body.lang-zh_CN .box .inputs #interestingTagInput,
+body.lang-zh_TW .box .inputs #interestingTagInput,
body.lang-zh .box .inputs #ignoredTagInput,
+body.lang-zh_CN .box .inputs #ignoredTagInput,
+body.lang-zh_TW .box .inputs #ignoredTagInput,
body.lang-zh .box .inputs #subscribedTagInput,
-body.lang-zh .box .inputs #ab-tag-search {
- width: 125px;
+body.lang-zh_CN .box .inputs #subscribedTagInput,
+body.lang-zh_TW .box .inputs #subscribedTagInput,
+body.lang-zh .box .inputs #ab-tag-search,
+body.lang-zh_CN .box .inputs #ab-tag-search,
+body.lang-zh_TW .box .inputs #ab-tag-search {
+ width: 142px;
+}
+body.lang-zh button,
+body.lang-zh_CN button,
+body.lang-zh_TW button,
+body.lang-zh input[type="submit"],
+body.lang-zh_CN input[type="submit"],
+body.lang-zh_TW input[type="submit"],
+body.lang-zh input[type="button"],
+body.lang-zh_CN input[type="button"],
+body.lang-zh_TW input[type="button"],
+body.lang-zh input[type="reset"],
+body.lang-zh_CN input[type="reset"],
+body.lang-zh_TW input[type="reset"],
+body.lang-zh .button,
+body.lang-zh_CN .button,
+body.lang-zh_TW .button {
+ line-height: 24px;
+}
+body.lang-zh .box a.followed,
+body.lang-zh_CN .box a.followed,
+body.lang-zh_TW .box a.followed,
+body.lang-zh .box a.follow,
+body.lang-zh_CN .box a.follow,
+body.lang-zh_TW .box a.follow {
+ line-height: 34px !important;
+}
+body.lang-zh.question-page a.submit,
+body.lang-zh_CN.question-page a.submit,
+body.lang-zh_TW.question-page a.submit {
+ line-height: 30px !important;
}
diff --git a/askbot/media/style/style.less b/askbot/media/style/style.less
index ccc2cbbf..94125b47 100644
--- a/askbot/media/style/style.less
+++ b/askbot/media/style/style.less
@@ -4811,13 +4811,29 @@ body.anon.lang-es {
}
}
-body.lang-zh {
+body.lang-zh,
+body.lang-zh_CN,
+body.lang-zh_TW {
.box .inputs {
#interestingTagInput,
#ignoredTagInput,
#subscribedTagInput,
#ab-tag-search {
- width: 125px;
+ width: 142px;
}
}
+ button,
+ input[type="submit"],
+ input[type="button"],
+ input[type="reset"],
+ .button {
+ line-height: 24px;
+ }
+ .box a.followed,
+ .box a.follow {
+ line-height: 34px !important;
+ }
+ &.question-page a.submit {
+ line-height: 30px !important;
+ }
}