mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
remove color scheme variables, remove font-face mixin
This commit is contained in:
@@ -71,20 +71,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Font face generator
|
||||
.font-face(@fontFamily, @fileName, @style, @weight) {
|
||||
@font-face {
|
||||
font-family: @fontFamily;
|
||||
font-style: @style;
|
||||
font-weight: @weight;
|
||||
src: url('@{fileName}.eot');
|
||||
src: url('@{fileName}.eot?#iefix') format('embedded-opentype'),
|
||||
url('@{fileName}.woff') format('woff'),
|
||||
url('@{fileName}.ttf') format('truetype'),
|
||||
url('@{fileName}.svg#@{fontFamily}') format('svg');
|
||||
}
|
||||
}
|
||||
|
||||
// Grid System
|
||||
.fixed-container() {
|
||||
width: @siteWidth;
|
||||
@@ -115,6 +101,9 @@
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
.border-radius-custom(@topLeft, @topRight, @bottomRight, @bottomLeft) {
|
||||
-webkit-border-top-left-radius: @topLeft;
|
||||
|
||||
@@ -45,22 +45,6 @@
|
||||
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
||||
|
||||
|
||||
// COLOR SCHEME
|
||||
// ------------
|
||||
|
||||
// Use this to roll your own color schemes if you like (unused by Bootstrap by default)
|
||||
@baseColor: @blue; // Set a base color
|
||||
@complement: spin(@baseColor, 180); // Determine a complementary color
|
||||
@split1: spin(@baseColor, 158); // Split complements
|
||||
@split2: spin(@baseColor, -158);
|
||||
@triad1: spin(@baseColor, 135); // Triads colors
|
||||
@triad2: spin(@baseColor, -135);
|
||||
@tetra1: spin(@baseColor, 90); // Tetra colors
|
||||
@tetra2: spin(@baseColor, -90);
|
||||
@analog1: spin(@baseColor, 22); // Analogs colors
|
||||
@analog2: spin(@baseColor, -22);
|
||||
|
||||
|
||||
// THEME VARIABLES
|
||||
// ---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user