]> source.dussan.org Git - redmine.git/commitdiff
Style list containing checkboxes in responsive sidebar flyout menu (#21170).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 9 Nov 2015 18:29:14 +0000 (18:29 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 9 Nov 2015 18:29:14 +0000 (18:29 +0000)
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14859 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/stylesheets/responsive.css

index d51f439ad0e943901320370a01c6bd7697615821..dc3ebba8a829fdfd87b26f20fd6b1b40f69b465e 100644 (file)
         display: none;
     }
 
+    /* Targets list containing checkboxes (e.g. activities sidebar) in flyout menu */
+    .flyout-menu__sidebar form > ul
+    {
+        margin-left: -8px;
+        padding-left: 0;
+    }
+
+    .flyout-menu__sidebar form > ul li
+    {
+        line-height: 39px;
+
+        display: block;
+
+        padding-left: 8px;
+
+        border-top: 1px solid rgba(255,255,255,.1);
+    }
+
+    .flyout-menu__sidebar form > ul li:first-child
+    {
+        border-top: none;
+    }
+
+    .flyout-menu__sidebar form > ul li label
+    {
+        margin: 0;
+    }
+
+    .flyout-menu__sidebar form > ul li label a
+    {
+        line-height: 1;
+
+        display: inline;
+
+        padding-left: 0;
+
+        border: none;
+    }
+
     .flyout-menu ul
     {
         margin: 0;