[icinga-checkins] icinga.org: icingaweb2/master: CSS: Remove class pull-left

git at icinga.org git at icinga.org
Thu Nov 17 11:00:08 CET 2016


Module: icingaweb2
Branch: master
Commit: 48e1a2cf4bbf31ab43e1eddb0bd6d7e5d7d14d9e
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=48e1a2cf4bbf31ab43e1eddb0bd6d7e5d7d14d9e

Author: Eric Lippmann <eric.lippmann at icinga.com>
Date:   Thu Nov 17 10:59:31 2016 +0100

CSS: Remove class pull-left

Usage as class is discouraged. pull-right still in use. Should also be removed.

---

 modules/monitoring/public/css/module.less |    6 +-----
 public/css/icinga/grid.less               |    2 +-
 public/css/icinga/main.less               |    4 ----
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/modules/monitoring/public/css/module.less b/modules/monitoring/public/css/module.less
index f37e5c4..977df49 100644
--- a/modules/monitoring/public/css/module.less
+++ b/modules/monitoring/public/css/module.less
@@ -92,7 +92,7 @@
 .grid {
   .hosts-summary,
   .services-summary {
-    .pull-left();
+    float: left;
   }
 }
 
@@ -307,10 +307,6 @@ div.box.stats {
   color: @gray;
 }
 
-.stats > .pull-left  {
-  float: none;
-}
-
 .stats > h3 {
   color: @gray;
   text-align: left;
diff --git a/public/css/icinga/grid.less b/public/css/icinga/grid.less
index 76ad085..e061bc8 100644
--- a/public/css/icinga/grid.less
+++ b/public/css/icinga/grid.less
@@ -6,7 +6,7 @@
 
 [class^="col-"],
 [class*=" col-"] {
-  .pull-left();
+  float: left;
   // Fix that empty columns don't consume their width
   min-height: 1px;
 }
diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less
index 170f235..429d1a6 100644
--- a/public/css/icinga/main.less
+++ b/public/css/icinga/main.less
@@ -34,10 +34,6 @@
   white-space: pre-wrap;
 }
 
-.pull-left {
-  float: left;
-}
-
 .pull-right {
   float: right;
 }



More information about the icinga-checkins mailing list