[BUGFIX] Align docheader and pagetree toppanel correctly 66/47566/3
authorBenjamin Kott <benjamin.kott@wfp2.com>
Mon, 11 Apr 2016 13:57:19 +0000 (15:57 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Mon, 11 Apr 2016 15:33:28 +0000 (17:33 +0200)
Releases: master, 7.6
Resolves: #74324
Change-Id: I3432881a896accf94d5a0a101dbcbecbe6027320
Reviewed-on: https://review.typo3.org/47566
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Build/Resources/Public/Less/Component/module.less
Build/Resources/Public/Less/TYPO3/_element_buttons.less
Build/Resources/Public/Less/TYPO3/_element_pagetree.less
typo3/sysext/install/Resources/Public/Css/InstallTool.css
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index 95b48bb..1bc7e04 100644 (file)
                        margin-bottom: 0;
                }
                .form-group {
+                       vertical-align: top;
                        margin: 0;
+                       @media (min-width: @screen-sm-min) {
+                               display: inline-block;
+                       }
+                       .form-control {
+                               vertical-align: top;
+                       }
                }
                .form-inline-spaced {
                        margin: 0;
index 936e7e3..ae9cab9 100644 (file)
@@ -2,7 +2,7 @@
 // Button
 //
 .btn-sm {
-       min-height: floor(2px + (@padding-small-vertical * 2) + (@font-size-small * @line-height-small));
+       height: floor(2px + (@padding-small-vertical * 2) + (@font-size-small * @line-height-small));
 }
 
 //
index e3ef9ef..c89651c 100644 (file)
                overflow: visible;
        }
        .x-btn button {
+               padding: 0;
                font-size: inherit;
        }
 }
 }
 .typo3-pagetree-toppanel-drag-node {
        cursor: move;
-    padding: 5px;
-    border: none;
-    background: none;
+       padding: 5px;
+       border: none;
+       background: none;
        font-size: 11px;
        line-height: 16px;
 }
index d64e8c9..cfae5b7 100644 (file)
@@ -7314,8 +7314,17 @@ button.close {
   margin-bottom: 0;
 }
 .module-docheader .module-docheader-bar .form-group {
+  vertical-align: top;
   margin: 0;
 }
+@media (min-width: 768px) {
+  .module-docheader .module-docheader-bar .form-group {
+    display: inline-block;
+  }
+}
+.module-docheader .module-docheader-bar .form-group .form-control {
+  vertical-align: top;
+}
 .module-docheader .module-docheader-bar .form-inline-spaced {
   margin: 0;
 }
index f09f8ef..4656599 100644 (file)
@@ -7323,8 +7323,17 @@ button.close {
   margin-bottom: 0;
 }
 .module-docheader .module-docheader-bar .form-group {
+  vertical-align: top;
   margin: 0;
 }
+@media (min-width: 768px) {
+  .module-docheader .module-docheader-bar .form-group {
+    display: inline-block;
+  }
+}
+.module-docheader .module-docheader-bar .form-group .form-control {
+  vertical-align: top;
+}
 .module-docheader .module-docheader-bar .form-inline-spaced {
   margin: 0;
 }
@@ -9235,6 +9244,7 @@ div#contentMenu1 {
   overflow: visible;
 }
 .typo3-pagetree-toppanel .x-btn button {
+  padding: 0;
   font-size: inherit;
 }
 .typo3-pagetree-toppanel-filter {
@@ -10667,7 +10677,7 @@ a.badge-danger:focus {
 }
 .btn-sm,
 .btn-group-sm > .btn {
-  min-height: 26px;
+  height: 26px;
 }
 .btn-group {
   font-size: 0;