security update core+modules
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* This was copied from twitter bootstrap's mixins.less and given a slight
|
||||
* modification to make it a parametric mixin to hide from CSS output.
|
||||
*
|
||||
* Look at these locations for more information:
|
||||
* http://lesscss.org/#-parametric-mixins
|
||||
*/
|
||||
|
||||
// Clearfix
|
||||
// --------
|
||||
// For clearing floats like a boss h5bp.com/q
|
||||
.clearfix() {
|
||||
*zoom: 1;
|
||||
&:before,
|
||||
&:after {
|
||||
display: table;
|
||||
content: "";
|
||||
// Fixes Opera/contenteditable bug:
|
||||
// http://nicolasgallagher.com/micro-clearfix-hack/#comment-36952
|
||||
line-height: 0;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
|
||||
.gradient(@gradient_top: #bada55, @gradient_bottom: darken(@gradient_top, 10%)) {
|
||||
background-color: @gradient_bottom;
|
||||
background-image: -moz-linear-gradient(top, @gradient_top 0%, @gradient_bottom 100%);
|
||||
background-image: -ms-linear-gradient(top, @gradient_top 0%, @gradient_bottom 100%);
|
||||
background-image: -o-linear-gradient(top, @gradient_top 0%, @gradient_bottom 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, @gradient_top), color-stop(1, @gradient_bottom));
|
||||
background-image: -webkit-linear-gradient(top, @gradient_top 0%, @gradient_bottom 100%);
|
||||
background-image: linear-gradient(top, @gradient_top 0%, @gradient_bottom 100%);
|
||||
}
|
Reference in New Issue
Block a user