summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-07 13:46:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-07 13:46:55 +0000
commit0d58591338036ca1cc0747168dc4b03c844cb14b (patch)
tree3597c114603a5de80f5ce57271d4e0ef223419b1 /public
parente9a01896d0b9f96ac32c5c4b9a9d54f749d178ce (diff)
downloadredmine-0d58591338036ca1cc0747168dc4b03c844cb14b.tar.gz
redmine-0d58591338036ca1cc0747168dc4b03c844cb14b.zip
Add responsiveness to tabular forms (#19097).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@14825 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/responsive.css27
1 files changed, 27 insertions, 0 deletions
diff --git a/public/stylesheets/responsive.css b/public/stylesheets/responsive.css
index 199561f0f..2ef7e495e 100644
--- a/public/stylesheets/responsive.css
+++ b/public/stylesheets/responsive.css
@@ -13,6 +13,7 @@
D) TOGGLE BUTTON & FLYOUT MENU
E) UX ELEMENTS
F) PAGE SPECIFIC STYLES
+ G) FORMS
*/
@@ -737,4 +738,30 @@
{
margin: 0;
}
+
+ /*----------------------------------------*\
+ G) FORMS
+ \*----------------------------------------*/
+
+ /* tabular forms resets for mobile */
+ .box.tabular p {
+ padding-left: 0;
+ }
+
+ .box.tabular label {
+ display: block;
+ width: 100%;
+ margin-left: 0;
+ text-align: left;
+ }
+
+ .box.tabular input, .box.tabular select, .box.tabular textarea {
+ width: 100%;
+ max-width: 100%;
+ }
+
+ .box.tabular input[type="checkbox"] {
+ width: auto;
+ max-width: 95%;
+ }
}