Updated labels and collapsed box

pull/247/head
Abdullah Almsaeed 2015-02-16 15:01:03 -05:00
parent 2c215d004d
commit cd239fb930
6 changed files with 25 additions and 17 deletions

View File

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

View File

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

12
dist/css/AdminLTE.css vendored
View File

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

File diff suppressed because one or more lines are too long

View File

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

View File

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