diff options
author | Liming Xie <liming.xie@gmail.com> | 2015-12-17 14:23:35 +0800 |
---|---|---|
committer | Liming Xie <liming.xie@gmail.com> | 2015-12-17 14:23:35 +0800 |
commit | 354eff9f7bf550f83d55ef2e96b10aab1a70162d (patch) | |
tree | 34cba5531d56d4ca51ed5346a5f26e480c4a33c7 /client/components/users/userForm.styl | |
parent | 0954cff5b470712210275a9c0699d85d6579ab54 (diff) | |
download | wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.tar.gz wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.tar.bz2 wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.zip |
add: support compact mode for mobile web, auto adapt to small screen/window
Diffstat (limited to 'client/components/users/userForm.styl')
-rw-r--r-- | client/components/users/userForm.styl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/client/components/users/userForm.styl b/client/components/users/userForm.styl index dbe62b4e..48a6a74e 100644 --- a/client/components/users/userForm.styl +++ b/client/components/users/userForm.styl @@ -55,3 +55,35 @@ .select-lang width: 275px font-size: 1.0em + +@media screen and (max-width: 800px) + .auth-layout + width: 100% + height: 100% + margin: 0px + padding: 0px + + .at-form-landing-logo + margin-top: 20px + margin-bottom: 20px + + .at-form + width: calc(100% - 50px) + height: calc(100% - 162px) + margin: 0px + padding: 25px + + button + width: 100% + + .at-form-lang + width: 100% + margin: 0px + padding: 0px + + .select-lang + width: 200px + font-size: 1.2em + position: absolute + left: calc((100% - 200px)/2) + bottom: 25px |