0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00

comment out button method with // so less doesn't compile it into source

This commit is contained in:
Jacob Thornton 2011-08-22 22:02:31 -07:00
parent 40aba9ca1d
commit 411b90e4ff
2 changed files with 21 additions and 41 deletions

22
bootstrap-1.1.0.css vendored
View File

@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Mon Aug 22 21:51:03 PDT 2011 * Date: Mon Aug 22 22:02:17 PDT 2011
*/ */
/* Reset.less /* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@ -121,26 +121,6 @@ aside {
.container:after { .container:after {
clear: both; clear: both;
} }
/*.button(@color: #fff, @padding: 4px 14px, @textColor: #333, @textShadow: 0 1px 1px rgba(255,255,255,.75), @fontSize: 13px, @borderColor: rgba(0,0,0,.1), @borderRadius: 4px) {
display: inline-block;
#gradient > .vertical-three-colors(@color, @color, 0.25, darken(@color, 10%));
padding: @padding;
text-shadow: @textShadow;
color: @textColor;
font-size: @fontSize;
line-height: @baseline;
border: 1px solid;
border-color: #ccc #ccc #bbb;
border-color: borderColor borderColor fadein(@borderColor, 15%);
.border-radius(@borderRadius);
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow);
&:hover {
background-position: 0 -15px;
color: @textColor;
text-decoration: none;
}
}*/
/* /*
* Scaffolding * Scaffolding
* Basic and global styles for generating a grid system, structural layout, and page templates * Basic and global styles for generating a grid system, structural layout, and page templates

View File

@ -181,26 +181,26 @@
} }
// Buttons // Buttons
/*.button(@color: #fff, @padding: 4px 14px, @textColor: #333, @textShadow: 0 1px 1px rgba(255,255,255,.75), @fontSize: 13px, @borderColor: rgba(0,0,0,.1), @borderRadius: 4px) { // .button(@color: #fff, @padding: 4px 14px, @textColor: #333, @textShadow: 0 1px 1px rgba(255,255,255,.75), @fontSize: 13px, @borderColor: rgba(0,0,0,.1), @borderRadius: 4px) {
display: inline-block; // display: inline-block;
#gradient > .vertical-three-colors(@color, @color, 0.25, darken(@color, 10%)); // #gradient > .vertical-three-colors(@color, @color, 0.25, darken(@color, 10%));
padding: @padding; // padding: @padding;
text-shadow: @textShadow; // text-shadow: @textShadow;
color: @textColor; // color: @textColor;
font-size: @fontSize; // font-size: @fontSize;
line-height: @baseline; // line-height: @baseline;
border: 1px solid; // border: 1px solid;
border-color: #ccc #ccc #bbb; // border-color: #ccc #ccc #bbb;
border-color: borderColor borderColor fadein(@borderColor, 15%); // border-color: borderColor borderColor fadein(@borderColor, 15%);
.border-radius(@borderRadius); // .border-radius(@borderRadius);
@shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); // @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
.box-shadow(@shadow); // .box-shadow(@shadow);
&:hover { // &:hover {
background-position: 0 -15px; // background-position: 0 -15px;
color: @textColor; // color: @textColor;
text-decoration: none; // text-decoration: none;
} // }
}*/ // }
// Add an alphatransparency value to any background or border color (via Elyse Holladay) // Add an alphatransparency value to any background or border color (via Elyse Holladay)
#translucent { #translucent {