diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-10 21:13:13 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-10 21:13:13 +0200 |
commit | 917e6cab7469c408babebde18848824765d551fa (patch) | |
tree | cedfcca40863b6ea14fd6b83dbc5e71199d517fb /assets/css | |
parent | bb1a9f52caa4e6e072d61d97629ce17dc3261100 (diff) |
Improve user interface for tablets
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/app.css | 67 |
1 files changed, 45 insertions, 22 deletions
diff --git a/assets/css/app.css b/assets/css/app.css index abe8130d..a612a8f4 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -145,7 +145,7 @@ input[type="text"] { color: #888; border: 1px solid #ccc; width: 400px; - max-width: 99%; + max-width: 95%; font-size: 1.0em; height: 25px; padding-bottom: 0; @@ -176,11 +176,16 @@ input[type="number"] { textarea { border: 1px solid #ccc; width: 400px; + max-width: 95%; height: 200px; font-size: 1.0em; font-family: sans-serif; } +select { + max-width: 95%; +} + ::-webkit-input-placeholder { color: #bbb; padding-top: 2px; @@ -471,11 +476,11 @@ nav .active a { font-weight: bold; } -.username { +.username a { color: #000; } -.username:hover { +.username a:hover { color: red; text-decoration: underline; } @@ -1009,7 +1014,7 @@ tr td.task-orange, border-left: 3px solid #000; margin-left: 35px; padding-bottom: 10px; - width: 700px; + max-width: 700px; } .project-listing li { @@ -1099,25 +1104,27 @@ tr td.task-orange, display: none; } - .form-column { - float: none; - margin: 0; - padding: 0; + body { + font-size: 0.9em; } - #board { - font-size: 0.85em; + .project-menu { + font-size: 0.8em; } - .project-menu { - font-size: 0.7em; + .task-board-title { + font-size: 1.5em; } } @media only screen and (max-width : 768px) { - header { - font-size: 0.8em; + .hide-tablet { + display: none; + } + + body { + font-size: 0.85em; } .logo, @@ -1125,20 +1132,36 @@ tr td.task-orange, display: none; } - nav ul { - text-align: left; - } - nav li:first-child { padding-left: 0; } - #board { - margin-top: 10px; - font-size: 0.85em; + .username { + display: block; + text-align: right; + } + + .user-show-sidebar, + .project-show-sidebar, + .task-show-sidebar { + width: 200px; + } + + .user-show-main, + .project-show-main, + .task-show-main { + margin-left: 230px; } - .task-board .task-score { + table input[type="text"] { + width: 150px; + } + + .task-score { display: none; } + + .task-board-title { + font-size: 1.5em; + } } |