Skip to content

Commit

Permalink
standardize top level file comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jun 29, 2012
1 parent 98ebd54 commit cd2d821
Show file tree
Hide file tree
Showing 38 changed files with 147 additions and 85 deletions.
5 changes: 3 additions & 2 deletions less/accordion.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// ACCORDION
// ---------
//
// Accordion
// --------------------------------------------------


// Parent container
Expand Down
17 changes: 12 additions & 5 deletions less/alerts.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// ALERT STYLES
// ------------
//
// Alerts
// --------------------------------------------------


// Base styles
// -------------------------

// Base alert styles
.alert {
padding: 8px 35px 8px 14px;
margin-bottom: @baseLineHeight;
Expand All @@ -20,8 +24,9 @@
line-height: @baseLineHeight;
}


// Alternate styles
// ----------------
// -------------------------

.alert-success {
background-color: @successBackground;
Expand All @@ -40,8 +45,10 @@
color: @infoText;
}


// Block alerts
// ------------------------
// -------------------------

.alert-block {
padding-top: 14px;
padding-bottom: 14px;
Expand Down
6 changes: 4 additions & 2 deletions less/breadcrumbs.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// BREADCRUMBS
// -----------
//
// Breadcrumbs
// --------------------------------------------------


.breadcrumb {
padding: 7px 14px;
Expand Down
5 changes: 3 additions & 2 deletions less/button-groups.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// BUTTON GROUPS
// -------------
//
// Button groups
// --------------------------------------------------


// Make the div behave like a button
Expand Down
5 changes: 3 additions & 2 deletions less/buttons.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// BUTTON STYLES
// -------------
//
// Buttons
// --------------------------------------------------


// Base styles
Expand Down
6 changes: 4 additions & 2 deletions less/carousel.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// CAROUSEL
// --------
//
// Carousel
// --------------------------------------------------


.carousel {
position: relative;
Expand Down
6 changes: 4 additions & 2 deletions less/close.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// CLOSE ICONS
// -----------
//
// Close icons
// --------------------------------------------------


.close {
float: right;
Expand Down
7 changes: 4 additions & 3 deletions less/code.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Code.less
// Code typography styles for the <code> and <pre> elements
// --------------------------------------------------------
//
// Code (inline and blocK)
// --------------------------------------------------


// Inline and block code styles
code,
Expand Down
6 changes: 4 additions & 2 deletions less/component-animations.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// COMPONENT ANIMATIONS
// --------------------
//
// Component animations
// --------------------------------------------------


.fade {
opacity: 0;
Expand Down
6 changes: 4 additions & 2 deletions less/dropdowns.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// DROPDOWN MENUS
// --------------
//
// Dropdown menus
// --------------------------------------------------


// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
.dropup,
Expand Down
6 changes: 3 additions & 3 deletions less/forms.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Forms.less
// Base styles for various input types, form layouts, and states
// -------------------------------------------------------------
//
// Forms
// --------------------------------------------------


// GENERAL STYLES
Expand Down
5 changes: 5 additions & 0 deletions less/grid.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Grid system
// --------------------------------------------------


// Fixed (940px)
#grid > .core(@gridColumnWidth, @gridGutterWidth);

Expand Down
6 changes: 4 additions & 2 deletions less/hero-unit.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// HERO UNIT
// ---------
//
// Hero unit
// --------------------------------------------------


.hero-unit {
padding: 60px;
Expand Down
6 changes: 4 additions & 2 deletions less/labels-badges.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// LABELS & BADGES
// ---------------
//
// Labels and badges
// --------------------------------------------------


// Base classes
.label,
Expand Down
3 changes: 1 addition & 2 deletions less/layouts.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//
// Layouts
// Fixed-width and fluid (with sidebar) layouts
// --------------------------------------------
// --------------------------------------------------


// Container (centered, fixed-width layouts)
Expand Down
6 changes: 3 additions & 3 deletions less/mixins.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Mixins.less
// Snippets of reusable CSS to develop faster and keep code readable
// -----------------------------------------------------------------
//
// Mixins
// --------------------------------------------------


// UTILITY MIXINS
Expand Down
6 changes: 4 additions & 2 deletions less/modals.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// MODALS
// ------
//
// Modals
// --------------------------------------------------


// Recalculate z-index where appropriate
.modal-open {
Expand Down
5 changes: 3 additions & 2 deletions less/navbar.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// NAVBAR (FIXED AND STATIC)
// -------------------------
//
// Navbars
// --------------------------------------------------


// COMMON STYLES
Expand Down
6 changes: 3 additions & 3 deletions less/navs.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// NAVIGATIONS
// -----------

//
// Navs
// --------------------------------------------------


// BASE CLASS
Expand Down
6 changes: 4 additions & 2 deletions less/pager.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// PAGER
// -----
//
// Pager pagination
// --------------------------------------------------


.pager {
margin-left: 0;
Expand Down
6 changes: 4 additions & 2 deletions less/pagination.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// PAGINATION
// ----------
//
// Pagination (multiple pages)
// --------------------------------------------------


.pagination {
height: @baseLineHeight * 2;
Expand Down
6 changes: 4 additions & 2 deletions less/popovers.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// POPOVERS
// --------
//
// Popovers
// --------------------------------------------------


.popover {
position: absolute;
Expand Down
5 changes: 3 additions & 2 deletions less/progress-bars.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// PROGRESS BARS
// -------------
//
// Progress bars
// --------------------------------------------------


// ANIMATIONS
Expand Down
8 changes: 5 additions & 3 deletions less/reset.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Reset.less
// Adapted from Normalize.css http://github.com/necolas/normalize.css
// ------------------------------------------------------------------------
//
// Modals
// Adapted from http://github.com/necolas/normalize.css
// --------------------------------------------------


// Display in IE6-9 and FF3
// -------------------------
Expand Down
6 changes: 4 additions & 2 deletions less/responsive-1200px-min.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// LARGE DESKTOP & UP
// ------------------
//
// Responsive: Large desktop and up
// --------------------------------------------------


@media (min-width: 1200px) {

Expand Down
4 changes: 3 additions & 1 deletion less/responsive-767px-max.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
//
// Responsive: Landscape phone to desktop/tablet
// --------------------------------------------------


@media (max-width: 767px) {

// Padding to set content in a bit
Expand Down
6 changes: 4 additions & 2 deletions less/responsive-768px-979px.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// PORTRAIT TABLET TO DEFAULT DESKTOP
// ----------------------------------
//
// Responsive: Tablet to desktop
// --------------------------------------------------


@media (min-width: 768px) and (max-width: 979px) {

Expand Down
5 changes: 5 additions & 0 deletions less/responsive-navbar.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Responsive: Navbar
// --------------------------------------------------


// TABLETS AND BELOW
// -----------------
@media (max-width: 979px) {
Expand Down
6 changes: 4 additions & 2 deletions less/responsive-utilities.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RESPONSIVE CLASSES
// ------------------
//
// Responsive: Utility classes
// --------------------------------------------------


// Hide from screenreaders and browsers
// Credit: HTML5 Boilerplate
Expand Down
4 changes: 2 additions & 2 deletions less/scaffolding.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// Scaffolding
// Basic and global styles for generating a grid system, structural layout, and page templates
// -------------------------------------------------------------------------------------------
// --------------------------------------------------


// Body reset
Expand Down
6 changes: 3 additions & 3 deletions less/sprites.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPRITES
// Glyphs and icons for buttons, nav, and more
// -------------------------------------------
//
// Sprites
// --------------------------------------------------


// ICONS
Expand Down
5 changes: 2 additions & 3 deletions less/tables.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//
// Tables.less
// Tables for, you guessed it, tabular data
// ----------------------------------------
// Tables
// --------------------------------------------------


// BASE TABLES
Expand Down
7 changes: 5 additions & 2 deletions less/thumbnails.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// THUMBNAILS
// ----------
//
// Thumbnails
// --------------------------------------------------


// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files

// Make wrapper ul behave like the grid
Expand Down
6 changes: 4 additions & 2 deletions less/tooltip.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// TOOLTIP
// ------=
//
// Tooltips
// --------------------------------------------------


.tooltip {
position: absolute;
Expand Down
6 changes: 3 additions & 3 deletions less/type.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Typography.less
// Headings, body text, lists, code, and more for a versatile and durable typography system
// ----------------------------------------------------------------------------------------
//
// Typography
// --------------------------------------------------


// BODY TEXT
Expand Down
6 changes: 4 additions & 2 deletions less/utilities.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// UTILITY CLASSES
// ---------------
//
// Utility classes
// --------------------------------------------------


// Quick floats
.pull-right {
Expand Down
9 changes: 4 additions & 5 deletions less/variables.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Variables.less
// Variables to customize the look and feel of Bootstrap
// -----------------------------------------------------

//
// Variables
// --------------------------------------------------


// GLOBAL VALUES
// Global values
// --------------------------------------------------


Expand Down
Loading

0 comments on commit cd2d821

Please sign in to comment.