moved chart class to miscellaneous.less

pull/325/merge
Abdullah Almsaeed 2015-04-03 20:49:47 -04:00
parent 7516fece64
commit 95fe7c218e
2 changed files with 26 additions and 28 deletions

View File

@ -246,17 +246,6 @@
margin-bottom: 0; margin-bottom: 0;
} }
// Charts
> .chart {
position: relative;
overflow: hidden;
width: 100%;
svg,
canvas {
width: 100%!important;
}
}
// Calendar within the box body // Calendar within the box body
.fc { .fc {
margin-top: 5px; margin-top: 5px;

View File

@ -2,7 +2,7 @@
* General: Miscellaneous * General: Miscellaneous
* ---------------------- * ----------------------
*/ */
/* 10px padding and margins */ // 10px padding and margins
.pad { .pad {
padding: 10px; padding: 10px;
} }
@ -12,13 +12,13 @@
.margin-bottom { .margin-bottom {
margin-bottom: 20px; margin-bottom: 20px;
} }
/* Display inline */ // Display inline
.inline { .inline {
display: inline; display: inline;
width: auto; width: auto;
} }
/* Description Blocks */ // Description Blocks
.description-block { .description-block {
display: block; display: block;
margin: 10px 0; margin: 10px 0;
@ -37,7 +37,7 @@
} }
} }
/* Background colors */ // Background colors
.bg-red, .bg-red,
.bg-yellow, .bg-yellow,
.bg-aqua, .bg-aqua,
@ -176,7 +176,7 @@
.opacity(.65); .opacity(.65);
} }
/* Text colors */ // Text colors
.text-red { .text-red {
color: @red !important; color: @red !important;
} }
@ -226,37 +226,37 @@
color: @maroon !important; color: @maroon !important;
} }
/*Hide elements by display none only*/ // Hide elements by display none only
.hide { .hide {
display: none !important; display: none !important;
} }
/* Remove borders */ // Remove borders
.no-border { .no-border {
border: 0px !important; border: 0px !important;
} }
/* Remove padding */ // Remove padding
.no-padding { .no-padding {
padding: 0px !important; padding: 0px !important;
} }
/* Remove margins */ // Remove margins
.no-margin { .no-margin {
margin: 0px !important; margin: 0px !important;
} }
/* Remove box shadow */ // Remove box shadow
.no-shadow { .no-shadow {
box-shadow: none!important; box-shadow: none!important;
} }
/* Unstyled List */ // Unstyled List
.list-unstyled { .list-unstyled {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
/* Remove border radius */ // Remove border radius
.flat { .flat {
.border-radius(0)!important; .border-radius(0)!important;
} }
@ -269,16 +269,15 @@
} }
/* _fix for sparkline tooltip */ // _fix for sparkline tooltip
.jqstooltip{ .jqstooltip{
padding: 5px!important; padding: 5px!important;
width:auto!important; width:auto!important;
height:auto!important; height:auto!important;
} }
/*
Gradient Background colors // Gradient Background colors
*/
.bg-teal-gradient { .bg-teal-gradient {
.gradient(@teal; @teal; lighten(@teal, 16%))!important; .gradient(@teal; @teal; lighten(@teal, 16%))!important;
color: #fff; color: #fff;
@ -343,3 +342,13 @@ Gradient Background colors
.opacity(1); .opacity(1);
} }
} }
// Charts
.chart {
position: relative;
overflow: hidden;
width: 100%;
svg,
canvas {
width: 100%!important;
}
}