mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
standardize top level file comments
This commit is contained in:
parent
98ebd54800
commit
cd2d82150c
@ -1,5 +1,6 @@
|
|||||||
// ACCORDION
|
//
|
||||||
// ---------
|
// Accordion
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Parent container
|
// Parent container
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
// ALERT STYLES
|
//
|
||||||
// ------------
|
// Alerts
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Base styles
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
// Base alert styles
|
|
||||||
.alert {
|
.alert {
|
||||||
padding: 8px 35px 8px 14px;
|
padding: 8px 35px 8px 14px;
|
||||||
margin-bottom: @baseLineHeight;
|
margin-bottom: @baseLineHeight;
|
||||||
@ -20,8 +24,9 @@
|
|||||||
line-height: @baseLineHeight;
|
line-height: @baseLineHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Alternate styles
|
// Alternate styles
|
||||||
// ----------------
|
// -------------------------
|
||||||
|
|
||||||
.alert-success {
|
.alert-success {
|
||||||
background-color: @successBackground;
|
background-color: @successBackground;
|
||||||
@ -40,8 +45,10 @@
|
|||||||
color: @infoText;
|
color: @infoText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Block alerts
|
// Block alerts
|
||||||
// ------------------------
|
// -------------------------
|
||||||
|
|
||||||
.alert-block {
|
.alert-block {
|
||||||
padding-top: 14px;
|
padding-top: 14px;
|
||||||
padding-bottom: 14px;
|
padding-bottom: 14px;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// BREADCRUMBS
|
//
|
||||||
// -----------
|
// Breadcrumbs
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
padding: 7px 14px;
|
padding: 7px 14px;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// BUTTON GROUPS
|
//
|
||||||
// -------------
|
// Button groups
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Make the div behave like a button
|
// Make the div behave like a button
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// BUTTON STYLES
|
//
|
||||||
// -------------
|
// Buttons
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Base styles
|
// Base styles
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// CAROUSEL
|
//
|
||||||
// --------
|
// Carousel
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.carousel {
|
.carousel {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// CLOSE ICONS
|
//
|
||||||
// -----------
|
// Close icons
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
float: right;
|
float: right;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Code.less
|
//
|
||||||
// Code typography styles for the <code> and <pre> elements
|
// Code (inline and blocK)
|
||||||
// --------------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Inline and block code styles
|
// Inline and block code styles
|
||||||
code,
|
code,
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// COMPONENT ANIMATIONS
|
//
|
||||||
// --------------------
|
// Component animations
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.fade {
|
.fade {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
@ -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
|
// Use the .menu class on any <li> element within the topbar or ul.tabs and you'll get some superfancy dropdowns
|
||||||
.dropup,
|
.dropup,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Forms.less
|
//
|
||||||
// Base styles for various input types, form layouts, and states
|
// Forms
|
||||||
// -------------------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// GENERAL STYLES
|
// GENERAL STYLES
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
//
|
||||||
|
// Grid system
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Fixed (940px)
|
// Fixed (940px)
|
||||||
#grid > .core(@gridColumnWidth, @gridGutterWidth);
|
#grid > .core(@gridColumnWidth, @gridGutterWidth);
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// HERO UNIT
|
//
|
||||||
// ---------
|
// Hero unit
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.hero-unit {
|
.hero-unit {
|
||||||
padding: 60px;
|
padding: 60px;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// LABELS & BADGES
|
//
|
||||||
// ---------------
|
// Labels and badges
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Base classes
|
// Base classes
|
||||||
.label,
|
.label,
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Layouts
|
// Layouts
|
||||||
// Fixed-width and fluid (with sidebar) layouts
|
// --------------------------------------------------
|
||||||
// --------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Container (centered, fixed-width layouts)
|
// Container (centered, fixed-width layouts)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Mixins.less
|
//
|
||||||
// Snippets of reusable CSS to develop faster and keep code readable
|
// Mixins
|
||||||
// -----------------------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// UTILITY MIXINS
|
// UTILITY MIXINS
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// MODALS
|
//
|
||||||
// ------
|
// Modals
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Recalculate z-index where appropriate
|
// Recalculate z-index where appropriate
|
||||||
.modal-open {
|
.modal-open {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// NAVBAR (FIXED AND STATIC)
|
//
|
||||||
// -------------------------
|
// Navbars
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// COMMON STYLES
|
// COMMON STYLES
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// NAVIGATIONS
|
//
|
||||||
// -----------
|
// Navs
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// BASE CLASS
|
// BASE CLASS
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// PAGER
|
//
|
||||||
// -----
|
// Pager pagination
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.pager {
|
.pager {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// PAGINATION
|
//
|
||||||
// ----------
|
// Pagination (multiple pages)
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
height: @baseLineHeight * 2;
|
height: @baseLineHeight * 2;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// POPOVERS
|
//
|
||||||
// --------
|
// Popovers
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.popover {
|
.popover {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// PROGRESS BARS
|
//
|
||||||
// -------------
|
// Progress bars
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// ANIMATIONS
|
// ANIMATIONS
|
||||||
|
@ -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
|
// Display in IE6-9 and FF3
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// LARGE DESKTOP & UP
|
//
|
||||||
// ------------------
|
// Responsive: Large desktop and up
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
|
//
|
||||||
|
// Responsive: Landscape phone to desktop/tablet
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
|
|
||||||
// Padding to set content in a bit
|
// Padding to set content in a bit
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// PORTRAIT TABLET TO DEFAULT DESKTOP
|
//
|
||||||
// ----------------------------------
|
// Responsive: Tablet to desktop
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 979px) {
|
@media (min-width: 768px) and (max-width: 979px) {
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
//
|
||||||
|
// Responsive: Navbar
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// TABLETS AND BELOW
|
// TABLETS AND BELOW
|
||||||
// -----------------
|
// -----------------
|
||||||
@media (max-width: 979px) {
|
@media (max-width: 979px) {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// RESPONSIVE CLASSES
|
//
|
||||||
// ------------------
|
// Responsive: Utility classes
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Hide from screenreaders and browsers
|
// Hide from screenreaders and browsers
|
||||||
// Credit: HTML5 Boilerplate
|
// Credit: HTML5 Boilerplate
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
//
|
||||||
// Scaffolding
|
// Scaffolding
|
||||||
// Basic and global styles for generating a grid system, structural layout, and page templates
|
// --------------------------------------------------
|
||||||
// -------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// Body reset
|
// Body reset
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// SPRITES
|
//
|
||||||
// Glyphs and icons for buttons, nav, and more
|
// Sprites
|
||||||
// -------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// ICONS
|
// ICONS
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Tables.less
|
// Tables
|
||||||
// Tables for, you guessed it, tabular data
|
// --------------------------------------------------
|
||||||
// ----------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// BASE TABLES
|
// BASE TABLES
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
// THUMBNAILS
|
//
|
||||||
// ----------
|
// Thumbnails
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
// Note: `.thumbnails` and `.thumbnails > li` are overriden in responsive files
|
||||||
|
|
||||||
// Make wrapper ul behave like the grid
|
// Make wrapper ul behave like the grid
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// TOOLTIP
|
//
|
||||||
// ------=
|
// Tooltips
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
.tooltip {
|
.tooltip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Typography.less
|
//
|
||||||
// Headings, body text, lists, code, and more for a versatile and durable typography system
|
// Typography
|
||||||
// ----------------------------------------------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// BODY TEXT
|
// BODY TEXT
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
// UTILITY CLASSES
|
//
|
||||||
// ---------------
|
// Utility classes
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Quick floats
|
// Quick floats
|
||||||
.pull-right {
|
.pull-right {
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
// Variables.less
|
//
|
||||||
// Variables to customize the look and feel of Bootstrap
|
// Variables
|
||||||
// -----------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Global values
|
||||||
// GLOBAL VALUES
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
// WELLS
|
//
|
||||||
// -----
|
// Wells
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Base class
|
||||||
.well {
|
.well {
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
padding: 19px;
|
padding: 19px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user