Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2011-06-30 04:11:02 +0400
committerMark Otto <markdotto@gmail.com>2011-06-30 04:11:02 +0400
commitcddc565d07fed42576a55111ea60ce1b6ff5bbd9 (patch)
tree11090e61e72cd760f638701814955b315e0337e6
parentf47b5765743dc7001b3f7d22ed2e8e2b3d9545a3 (diff)
parent1561b20f7c0aae9adb40585ab01a9539bd23f01a (diff)
Merge branch 'master' of http://git.local.twitter.com/bootstrap
-rw-r--r--bootstrap-1.0.0.css91
-rw-r--r--lib/bootstrap.less13
-rw-r--r--lib/forms.less10
-rw-r--r--lib/patterns.less34
-rw-r--r--lib/preboot.less18
-rw-r--r--lib/reset.less9
-rw-r--r--lib/scaffolding.less17
-rw-r--r--lib/tables.less15
-rw-r--r--lib/type.less23
9 files changed, 86 insertions, 144 deletions
diff --git a/bootstrap-1.0.0.css b/bootstrap-1.0.0.css
index b8755a33d4..abd31f47a5 100644
--- a/bootstrap-1.0.0.css
+++ b/bootstrap-1.0.0.css
@@ -1,16 +1,17 @@
-/*
- * Master Stylesheet
- * This file is only for importing all required stylesheets for LESS to include and then compile.
- *
+/*!=========================================================
+ * Bookstrap v0.0.1
+ *
* Copyright 2011 Twitter, Inc
- * Open-sourced under Apache License v2.0: http://www.apache.org/licenses/LICENSE-2.0
+ * Open-sourced under Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built @twitter by @mdo and @fat, like bosses.
- */
-/*
- * 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).
- */
+ * ========================================================== */
+/* 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).
+ * ----------------------------------------------------------------- */
html, body {
margin: 0;
padding: 0;
@@ -92,16 +93,9 @@ article,
aside {
display: block;
}
-/*
- * Preboot.less
+/* Preboot.less
* Variables and mixins to pre-ignite any new web development project
- */
-/* Variables
--------------------------------------------------- */
-/* Color Scheme
--------------------------------------------------- */
-/* Mixins
--------------------------------------------------- */
+ * ------------------------------------------------------------------ */
.clearfix {
zoom: 1;
}
@@ -128,12 +122,9 @@ aside {
clear: both;
content: ".";
}
-/*
- * Scaffolding
+/* Scaffolding.less
* Basic and global styles for generating a grid system, structural layout, and page templates
- */
-/* Baseline Grid System
--------------------------------------------------- */
+ * ------------------------------------------------------------------------------------------- */
div.row {
zoom: 1;
}
@@ -272,8 +263,6 @@ div.row div.span16 {
div.row div.span16:first-child {
margin-left: 0;
}
-/* Structural Layout
--------------------------------------------------- */
html, body {
background-color: #fff;
}
@@ -310,8 +299,6 @@ div.container-fluid div.content {
max-width: 1180px;
margin-left: 240px;
}
-/* Base Styles
--------------------------------------------------- */
a {
color: #0069d6;
text-decoration: none;
@@ -415,12 +402,9 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
padding: 0;
border: 0;
}
-/*
- * Typography.less
+/* Typography.less
* Headings, body text, lists, code, and more for a versatile and durable typography system
- */
-/* Body text
--------------------------------------------------- */
+ * ---------------------------------------------------------------------------------------- */
p {
font-size: 13px;
font-weight: normal;
@@ -431,8 +415,6 @@ p small {
font-size: 12px;
color: #bfbfbf;
}
-/* Headings
--------------------------------------------------- */
h1,
h2,
h3,
@@ -491,8 +473,6 @@ h6 {
color: #bfbfbf;
text-transform: uppercase;
}
-/* Colors
--------------------------------------------------- */
ul, ol {
margin: 0 0 18px 25px;
}
@@ -528,8 +508,6 @@ dl dt {
dl dd {
margin-left: 9px;
}
-/* Misc
--------------------------------------------------- */
hr {
margin: 0 0 19px;
border: 0;
@@ -600,12 +578,9 @@ pre {
border-radius: 3px;
white-space: pre-wrap;
}
-/*
- * Forms.less
+/* Forms.less
* Base styles for various input types, form layouts, and states
- */
-/* Global form styles
--------------------------------------------------- */
+ * ------------------------------------------------------------- */
form {
margin-bottom: 18px;
}
@@ -923,12 +898,9 @@ form.form-stacked ul.inputs-list li label {
font-weight: normal;
padding-top: 0;
}
-/*
- * Tables.less
+/* Tables.less
* Tables for, you guessed it, tabular data
- */
-/* Baseline styles
--------------------------------------------------- */
+ * ---------------------------------------- */
table {
width: 100%;
margin-bottom: 18px;
@@ -948,8 +920,6 @@ table th {
font-weight: bold;
border-bottom-width: 2px;
}
-/* Zebra-striping
--------------------------------------------------- */
table.zebra-striped tbody tr:nth-child(odd) td {
background-color: #f5f5f5;
}
@@ -1026,12 +996,9 @@ table.zebra-striped th.purple {
table.zebra-striped th.headerSortUp.purple, table.zebra-striped th.headerSortDown.purple {
background-color: #e2d5f0;
}
-/*
- * Patterns.less
+/* Patterns.less
* Repeatable UI elements outside the base styles provided from the scaffolding
- */
-/* Top bar
--------------------------------------------------- */
+ * ---------------------------------------------------------------------------- */
div.topbar {
background-color: #222222;
background-repeat: repeat-x;
@@ -1279,8 +1246,6 @@ div.topbar ul li ul li span {
color: #808080;
border-top: 1px solid rgba(0, 0, 0, 0.2);
}
-/* Page Headers
--------------------------------------------------- */
div.page-header {
margin-bottom: 17px;
border-bottom: 1px solid #ddd;
@@ -1291,8 +1256,6 @@ div.page-header {
div.page-header h1 {
margin-bottom: 8px;
}
-/* Error Styles
--------------------------------------------------- */
div.alert-message {
background-color: rgba(0, 0, 0, 0.15);
background-repeat: repeat-x;
@@ -1412,8 +1375,6 @@ div.block-message.info {
background: #eaf9ff;
border: 1px solid #d1f1fe;
}
-/* Navigation
--------------------------------------------------- */
ul.tabs, ul.pills {
margin: 0 0 20px;
padding: 0;
@@ -1477,8 +1438,6 @@ ul.pills li.active a {
color: #fff;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
-/* Pagination
--------------------------------------------------- */
div.pagination {
height: 36px;
margin: 18px 0;
@@ -1514,8 +1473,6 @@ div.pagination ul li.disabled a, div.pagination ul li.disabled a:hover {
div.pagination ul li.next a, div.pagination ul li:last-child a {
border: 0;
}
-/* Wells
--------------------------------------------------- */
div.well {
background: #f5f5f5;
margin-bottom: 20px;
@@ -1529,8 +1486,6 @@ div.well {
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
-/* Modals
--------------------------------------------------- */
div.modal-backdrop {
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
diff --git a/lib/bootstrap.less b/lib/bootstrap.less
index e0a619468e..7aef916e09 100644
--- a/lib/bootstrap.less
+++ b/lib/bootstrap.less
@@ -1,13 +1,12 @@
-/*
- * Master Stylesheet
- * This file is only for importing all required stylesheets for LESS to include and then compile.
- *
+/*!=========================================================
+ * Bookstrap v0.0.1
+ *
* Copyright 2011 Twitter, Inc
- * Open-sourced under Apache License v2.0: http://www.apache.org/licenses/LICENSE-2.0
+ * Open-sourced under Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built @twitter by @mdo and @fat, like bosses.
- */
-
+ * ========================================================== */
// CSS Reset
@import "reset.less";
diff --git a/lib/forms.less b/lib/forms.less
index 6052978c6f..d0f6b03842 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -1,11 +1,9 @@
-/*
- * 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/patterns.less b/lib/patterns.less
index 668179ba43..4d183c6f54 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -1,11 +1,9 @@
-/*
- * Patterns.less
+/* Patterns.less
* Repeatable UI elements outside the base styles provided from the scaffolding
- */
+ * ---------------------------------------------------------------------------- */
-
-/* Top bar
--------------------------------------------------- */
+// Topbar
+// ------
// Topbar for Branding and Nav
div.topbar {
@@ -230,8 +228,8 @@ div.topbar {
}
}
-/* Page Headers
--------------------------------------------------- */
+// Page Headers
+// ------------
div.page-header {
margin-bottom: @baseline - 1;
@@ -243,8 +241,8 @@ div.page-header {
}
-/* Error Styles
--------------------------------------------------- */
+// Error Styles
+// ------------
// One-liner alert bars
div.alert-message {
@@ -336,8 +334,8 @@ div.block-message {
}
-/* Navigation
--------------------------------------------------- */
+// Navigation
+// ----------
// Common tab and pill styles
ul.tabs,
@@ -403,8 +401,8 @@ ul.pills {
}
-/* Pagination
--------------------------------------------------- */
+// Pagination
+// --------------------------------------------------
div.pagination {
height: @baseline * 2;
@@ -442,8 +440,8 @@ div.pagination {
}
-/* Wells
--------------------------------------------------- */
+// Wells
+// -----
div.well {
background: #f5f5f5;
@@ -456,8 +454,8 @@ div.well {
}
-/* Modals
--------------------------------------------------- */
+// Modals
+// ------
div.modal-backdrop {
background-color: rgba(0,0,0,.5);
diff --git a/lib/preboot.less b/lib/preboot.less
index cad8605b6d..fdad65859e 100644
--- a/lib/preboot.less
+++ b/lib/preboot.less
@@ -1,11 +1,9 @@
-/*
- * Preboot.less
+/* Preboot.less
* Variables and mixins to pre-ignite any new web development project
- */
+ * ------------------------------------------------------------------ */
-
-/* Variables
--------------------------------------------------- */
+// Variables
+// ---------
// Links
@linkColor: #0069d6;
@@ -40,8 +38,8 @@
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
-/* Color Scheme
--------------------------------------------------- */
+// Color Scheme
+// ------------
@baseColor: @blue; // Set a base color
@complement: spin(@baseColor, 180); // Determine a complementary color
@@ -55,8 +53,8 @@
@analog2: spin(@baseColor, -22);
-/* Mixins
--------------------------------------------------- */
+// Mixins
+// ------
// Clearfix for clearing floats like a boss
.clearfix {
diff --git a/lib/reset.less b/lib/reset.less
index 0a3901b4de..7cb6428246 100644
--- a/lib/reset.less
+++ b/lib/reset.less
@@ -1,7 +1,8 @@
-/*
- * 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).
- */
+/* 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).
+ * ----------------------------------------------------------------- */
// Eric Meyer reset
html, body { margin: 0; padding: 0; }
diff --git a/lib/scaffolding.less b/lib/scaffolding.less
index 629c52e470..a8b67e4606 100644
--- a/lib/scaffolding.less
+++ b/lib/scaffolding.less
@@ -1,10 +1,9 @@
-/*
- * Scaffolding
+/* Scaffolding.less
* Basic and global styles for generating a grid system, structural layout, and page templates
- */
+ * ------------------------------------------------------------------------------------------- */
-/* Baseline Grid System
--------------------------------------------------- */
+// Baseline Grid System
+// --------------------
div.row {
.clearfix();
@@ -27,8 +26,8 @@ div.row {
}
-/* Structural Layout
--------------------------------------------------- */
+// Structural Layout
+// -----------------
html, body {
background-color: #fff;
@@ -62,8 +61,8 @@ div.container-fluid {
}
-/* Base Styles
--------------------------------------------------- */
+// Base Styles
+// -----------
// Links
a {
diff --git a/lib/tables.less b/lib/tables.less
index 9a23c42d65..3bbb3aa070 100644
--- a/lib/tables.less
+++ b/lib/tables.less
@@ -1,11 +1,9 @@
-/*
- * Tables.less
+/* Tables.less
* Tables for, you guessed it, tabular data
- */
+ * ---------------------------------------- */
-
-/* Baseline styles
--------------------------------------------------- */
+// Baseline styles
+// ---------------
table {
width: 100%;
@@ -27,9 +25,8 @@ table {
}
}
-
-/* Zebra-striping
--------------------------------------------------- */
+// Zebra-striping
+// --------------
// Default zebra-stripe styles (alternating gray and transparent backgrounds)
table.zebra-striped {
diff --git a/lib/type.less b/lib/type.less
index 22eb477800..cc18bff602 100644
--- a/lib/type.less
+++ b/lib/type.less
@@ -1,11 +1,10 @@
-/*
- * Typography.less
+/* Typography.less
* Headings, body text, lists, code, and more for a versatile and durable typography system
- */
+ * ---------------------------------------------------------------------------------------- */
-/* Body text
--------------------------------------------------- */
+// Body text
+// ---------
p {
#font > .shorthand(normal,@basefont,@baseline);
@@ -16,9 +15,8 @@ p {
}
}
-
-/* Headings
--------------------------------------------------- */
+// Headings
+// --------
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
@@ -68,8 +66,8 @@ h6 {
-/* Colors
--------------------------------------------------- */
+// Colors
+// ------
// Unordered and Ordered lists
ul, ol {
@@ -110,9 +108,8 @@ dl {
}
}
-
-/* Misc
--------------------------------------------------- */
+// Misc
+// ----
// Horizontal rules
hr {