Browse Source

Updated labels and collapsed box

Abdullah Almsaeed 10 năm trước cách đây
mục cha
commit
cd239fb930
6 tập tin đã thay đổi với 24 bổ sung16 xóa
  1. 10 10
      build/less/boxes.less
  2. 4 0
      build/less/labels.less
  3. 8 4
      dist/css/AdminLTE.css
  4. 0 0
      dist/css/AdminLTE.min.css
  5. 1 1
      index.html
  6. 1 1
      index2.html

+ 10 - 10
build/less/boxes.less

@@ -30,7 +30,15 @@
   &.box-default {
     border-top-color: @gray;
   }
-
+  
+  // collapsed mode
+  &.collapsed-box {
+    .box-body,
+    .box-footer {
+      display: none;
+    }
+  }
+  
   .nav-stacked {
     > li {
       border-bottom: 1px solid @box-border-color;
@@ -97,15 +105,7 @@
     > .box-header > .box-tools .btn {
       border: 0;
       box-shadow: none;
-    }
-
-    // collapsed mode
-    &.collapsed-box {
-      .box-body,
-      .box-footer {
-        display: none;
-      }
-    }
+    }    
 
     // Fix font color for tiles
     &[class*='bg'] {

+ 4 - 0
build/less/labels.less

@@ -2,6 +2,10 @@
  * Component: Label
  * ----------------
  */
+.label-default {
+  background-color: @gray;
+  color: #333;
+}
 .label-danger {
   &:extend(.bg-red);
 }

+ 8 - 4
dist/css/AdminLTE.css

@@ -1181,6 +1181,10 @@ a:focus {
 .box.box-default {
   border-top-color: #d2d6de;
 }
+.box.collapsed-box .box-body,
+.box.collapsed-box .box-footer {
+  display: none;
+}
 .box .nav-stacked > li {
   border-bottom: 1px solid #f4f4f4;
   margin: 0;
@@ -1284,10 +1288,6 @@ a:focus {
   border: 0;
   box-shadow: none;
 }
-.box.box-solid.collapsed-box .box-body,
-.box.box-solid.collapsed-box .box-footer {
-  display: none;
-}
 .box.box-solid[class*='bg'] > .box-header {
   color: #fff;
 }
@@ -2229,6 +2229,10 @@ table.text-center th {
  * Component: Label
  * ----------------
  */
+.label-default {
+  background-color: #d2d6de;
+  color: #333;
+}
 /*
  * Component: Direct Chat
  * ----------------------

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/css/AdminLTE.min.css


+ 1 - 1
index.html

@@ -37,7 +37,7 @@
   </head>
   <body class="skin-blue">
     <div class="wrapper">
-      <!-- header logo: style can be found in header.less -->
+      
       <header class="main-header">
         <!-- Logo -->
         <a href="index2.html" class="logo"><b>Admin</b>LTE</a>

+ 1 - 1
index2.html

@@ -31,7 +31,7 @@
   </head>
   <body class="skin-blue">
     <div class="wrapper">
-      <!-- header logo: style can be found in header.less -->
+      
       <header class="main-header">
         <!-- Logo -->
         <a href="index2.html" class="logo"><b>Admin</b>LTE</a>

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác