diff options
| author | Mark Otto <[email protected]> | 2011-06-30 00:15:37 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-06-30 00:15:37 -0700 |
| commit | 9e33ab20abaa34bf761ca74ab843cb43d6ae138d (patch) | |
| tree | 42cb71849eb3622ea9a1f37c756f611bcee09d14 /lib | |
| parent | 1905a992d9cc8f1160930edad6ec5d52eaf06d85 (diff) | |
| download | bootstrap-9e33ab20abaa34bf761ca74ab843cb43d6ae138d.tar.xz bootstrap-9e33ab20abaa34bf761ca74ab843cb43d6ae138d.zip | |
clean up commented out css, slightly updated docs again
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bootstrap.less | 9 | ||||
| -rw-r--r-- | lib/forms.less | 10 | ||||
| -rw-r--r-- | lib/preboot.less | 36 | ||||
| -rw-r--r-- | lib/reset.less | 9 | ||||
| -rw-r--r-- | lib/scaffolding.less | 19 | ||||
| -rw-r--r-- | lib/tables.less | 15 |
6 files changed, 49 insertions, 49 deletions
diff --git a/lib/bootstrap.less b/lib/bootstrap.less index ddfb046a9..b99cf47ec 100644 --- a/lib/bootstrap.less +++ b/lib/bootstrap.less @@ -1,7 +1,7 @@ /* * Master Stylesheet * This file is only for importing all required stylesheets for LESS to include and then compile. - * + * * Copyright 2011 Twitter, Inc * Open-sourced under Apache License v2.0: http://www.apache.org/licenses/LICENSE-2.0 * @@ -20,9 +20,4 @@ @import "type.less"; @import "forms.less"; @import "tables.less"; -@import "patterns.less"; - - -div.quickstart { - #gradient > .vertical(#f9f9f9,#f5f5f5); -}
\ No newline at end of file +@import "patterns.less";
\ No newline at end of file diff --git a/lib/forms.less b/lib/forms.less index d0f6b0384..6052978c6 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -1,9 +1,11 @@ -/* Forms.less +/* + * Forms.less * Base styles for various input types, form layouts, and states - * ------------------------------------------------------------- */ + */ -// Global form styles -// ------------------ + +/* Global form styles +-------------------------------------------------- */ form { margin-bottom: @baseline; diff --git a/lib/preboot.less b/lib/preboot.less index fdad65859..e55a96ad6 100644 --- a/lib/preboot.less +++ b/lib/preboot.less @@ -18,8 +18,8 @@ @white: #fff; // Accent Colors -@blue: #08b5fb; -@blueDark: #0069d6; +@blue: #049CDB; +@blueDark: #0064CD; @green: #46a546; @red: #9d261d; @yellow: #ffc40d; @@ -219,31 +219,31 @@ background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, @startColor), color-stop(100%, @endColor)); // Safari 4+, Chrome 2+ background-image: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10 - -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor); /* IE8+ */ - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor)); /* IE6 & IE7 */ + -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor); // IE8+ + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor)); // IE6 & IE7 background-image: linear-gradient(left, @startColor, @endColor); // Le standard } .vertical (@startColor: #555, @endColor: #333) { background-color: @endColor; background-repeat: repeat-x; - background-image: -khtml-gradient(linear, left top, left bottom, from(@startColor), to(@endColor)); /* Konqueror */ - background-image: -moz-linear-gradient(@startColor, @endColor); /* FF 3.6+ */ - background-image: -ms-linear-gradient(@startColor, @endColor); /* IE10 */ - background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @startColor), color-stop(100%, @endColor)); /* Safari 4+, Chrome 2+ */ - background-image: -webkit-linear-gradient(@startColor, @endColor); /* Safari 5.1+, Chrome 10+ */ - background-image: -o-linear-gradient(@startColor, @endColor); /* Opera 11.10 */ - -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor); /* IE8+ */ - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); /* IE6 & IE7 */ - background-image: linear-gradient(@startColor, @endColor); /* the standard */ + background-image: -khtml-gradient(linear, left top, left bottom, from(@startColor), to(@endColor)); // Konqueror + background-image: -moz-linear-gradient(@startColor, @endColor); // FF 3.6+ + background-image: -ms-linear-gradient(@startColor, @endColor); // IE10 + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @startColor), color-stop(100%, @endColor)); // Safari 4+, Chrome 2+ + background-image: -webkit-linear-gradient(@startColor, @endColor); // Safari 5.1+, Chrome 10+ + background-image: -o-linear-gradient(@startColor, @endColor); // Opera 11.10 + -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor); // IE8+ + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE6 & IE7 + background-image: linear-gradient(@startColor, @endColor); // The standard } .directional (@startColor: #555, @endColor: #333, @deg: 45deg) { background-color: @endColor; background-repeat: repeat-x; - background-image: -moz-linear-gradient(@deg, @startColor, @endColor); /* FF 3.6+ */ - background-image: -ms-linear-gradient(@deg, @startColor, @endColor); /* IE10 */ - background-image: -webkit-linear-gradient(@deg, @startColor, @endColor); /* Safari 5.1+, Chrome 10+ */ - background-image: -o-linear-gradient(@deg, @startColor, @endColor); /* Opera 11.10 */ - background-image: linear-gradient(@deg, @startColor, @endColor); /* the standard */ + background-image: -moz-linear-gradient(@deg, @startColor, @endColor); // FF 3.6+ + background-image: -ms-linear-gradient(@deg, @startColor, @endColor); // IE10 + background-image: -webkit-linear-gradient(@deg, @startColor, @endColor); // Safari 5.1+, Chrome 10+ + background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10 + background-image: linear-gradient(@deg, @startColor, @endColor); // The standard } .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 0.5, @endColor: #c3325f) { background-color: @endColor; diff --git a/lib/reset.less b/lib/reset.less index 7cb642824..0a3901b4d 100644 --- a/lib/reset.less +++ b/lib/reset.less @@ -1,8 +1,7 @@ -/* 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 (dfn, samp, etc). - * ----------------------------------------------------------------- */ +/* + * 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). + */ // Eric Meyer reset html, body { margin: 0; padding: 0; } diff --git a/lib/scaffolding.less b/lib/scaffolding.less index a8b67e460..4adfdeb79 100644 --- a/lib/scaffolding.less +++ b/lib/scaffolding.less @@ -1,9 +1,10 @@ -/* Scaffolding.less +/* + * Scaffolding * Basic and global styles for generating a grid system, structural layout, and page templates - * ------------------------------------------------------------------------------------------- */ + */ -// Baseline Grid System -// -------------------- +/* Baseline Grid System +-------------------------------------------------- */ div.row { .clearfix(); @@ -26,8 +27,8 @@ div.row { } -// Structural Layout -// ----------------- +/* Structural Layout +-------------------------------------------------- */ html, body { background-color: #fff; @@ -61,8 +62,8 @@ div.container-fluid { } -// Base Styles -// ----------- +/* Base Styles +-------------------------------------------------- */ // Links a { @@ -104,7 +105,7 @@ a { cursor: default; } &:focus { - + } &:active { @shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05); diff --git a/lib/tables.less b/lib/tables.less index 3bbb3aa07..9a23c42d6 100644 --- a/lib/tables.less +++ b/lib/tables.less @@ -1,9 +1,11 @@ -/* Tables.less +/* + * Tables.less * Tables for, you guessed it, tabular data - * ---------------------------------------- */ + */ -// Baseline styles -// --------------- + +/* Baseline styles +-------------------------------------------------- */ table { width: 100%; @@ -25,8 +27,9 @@ table { } } -// Zebra-striping -// -------------- + +/* Zebra-striping +-------------------------------------------------- */ // Default zebra-stripe styles (alternating gray and transparent backgrounds) table.zebra-striped { |
