0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

Add examples/**/*.css in csscomb task.

This commit is contained in:
XhmikosR 2014-01-31 14:20:33 +02:00
parent 9ba49426e9
commit 9f668a5573
15 changed files with 72 additions and 68 deletions

View File

@ -220,14 +220,20 @@ module.exports = function (grunt) {
}, },
csscomb: { csscomb: {
sort: { options: {
options: { config: 'less/.csscomb.json'
config: 'less/.csscomb.json' },
}, dist: {
files: { files: {
'dist/css/<%= pkg.name %>.css': 'dist/css/<%= pkg.name %>.css', 'dist/css/<%= pkg.name %>.css': 'dist/css/<%= pkg.name %>.css',
'dist/css/<%= pkg.name %>-theme.css': 'dist/css/<%= pkg.name %>-theme.css' 'dist/css/<%= pkg.name %>-theme.css': 'dist/css/<%= pkg.name %>-theme.css'
} }
},
examples: {
expand: true,
cwd: 'docs/examples/',
src: ['**/*.css'],
dest: 'docs/examples/'
} }
}, },

View File

@ -13,10 +13,10 @@ h3, .h3,
h4, .h4, h4, .h4,
h5, .h5, h5, .h5,
h6, .h6 { h6, .h6 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;;
font-weight: normal;
color: #333;
margin-top: 0; margin-top: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
color: #333;;
} }
@ -62,14 +62,14 @@ h6, .h6 {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 50%; left: 50%;
content: " ";
width: 0; width: 0;
height: 0; height: 0;
margin-left: -5px; margin-left: -5px;
vertical-align: middle; vertical-align: middle;
content: " ";
border-right: 5px solid transparent; border-right: 5px solid transparent;
border-left: 5px solid transparent;
border-bottom: 5px solid; border-bottom: 5px solid;
border-left: 5px solid transparent;
} }
@ -161,4 +161,3 @@ h6, .h6 {
background-color: #f9f9f9; background-color: #f9f9f9;
border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5;
} }

View File

@ -16,19 +16,19 @@ body {
.navbar-wrapper { .navbar-wrapper {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0;
right: 0; right: 0;
left: 0;
z-index: 20; z-index: 20;
} }
/* Flip around the padding for proper display in narrow viewports */ /* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container { .navbar-wrapper .container {
padding-left: 0;
padding-right: 0; padding-right: 0;
padding-left: 0;
} }
.navbar-wrapper .navbar { .navbar-wrapper .navbar {
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
@ -65,21 +65,21 @@ body {
/* Pad the edges of the mobile views a bit */ /* Pad the edges of the mobile views a bit */
.marketing { .marketing {
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
/* Center align the text within the three columns below the carousel */ /* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 { .marketing .col-lg-4 {
text-align: center;
margin-bottom: 20px; margin-bottom: 20px;
text-align: center;
} }
.marketing h2 { .marketing h2 {
font-weight: normal; font-weight: normal;
} }
.marketing .col-lg-4 p { .marketing .col-lg-4 p {
margin-left: 10px;
margin-right: 10px; margin-right: 10px;
margin-left: 10px;
} }
@ -106,8 +106,8 @@ body {
/* Remove the edge padding needed for mobile */ /* Remove the edge padding needed for mobile */
.marketing { .marketing {
padding-left: 0;
padding-right: 0; padding-right: 0;
padding-left: 0;
} }
/* Navbar positioning foo */ /* Navbar positioning foo */
@ -115,12 +115,12 @@ body {
margin-top: 20px; margin-top: 20px;
} }
.navbar-wrapper .container { .navbar-wrapper .container {
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
.navbar-wrapper .navbar { .navbar-wrapper .navbar {
padding-left: 0;
padding-right: 0; padding-right: 0;
padding-left: 0;
} }
/* The navbar becomes detached from the top, so we round the corners */ /* The navbar becomes detached from the top, so we round the corners */
@ -138,7 +138,6 @@ body {
.featurette-heading { .featurette-heading {
font-size: 50px; font-size: 50px;
} }
} }
@media (min-width: 992px) { @media (min-width: 992px) {

View File

@ -48,8 +48,8 @@ body {
vertical-align: top; vertical-align: top;
} }
.cover-container { .cover-container {
margin-left: auto;
margin-right: auto; margin-right: auto;
margin-left: auto;
} }
/* Padding for spacing */ /* Padding for spacing */
@ -73,8 +73,8 @@ body {
margin-left: 20px; margin-left: 20px;
} }
.masthead-nav > li > a { .masthead-nav > li > a {
padding-left: 0;
padding-right: 0; padding-right: 0;
padding-left: 0;
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
color: #fff; /* IE8 proofing */ color: #fff; /* IE8 proofing */

View File

@ -30,8 +30,8 @@ body {
.sidebar { .sidebar {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0;
bottom: 0; bottom: 0;
left: 0;
z-index: 1000; z-index: 1000;
display: block; display: block;
padding: 70px 20px 20px; padding: 70px 20px 20px;
@ -42,13 +42,13 @@ body {
/* Sidebar navigation */ /* Sidebar navigation */
.nav-sidebar { .nav-sidebar {
margin-left: -20px;
margin-right: -21px; /* 20px padding + 1px border */ margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px; margin-bottom: 20px;
margin-left: -20px;
} }
.nav-sidebar > li > a { .nav-sidebar > li > a {
padding-left: 20px;
padding-right: 20px; padding-right: 20px;
padding-left: 20px;
} }
.nav-sidebar > .active > a { .nav-sidebar > .active > a {
color: #fff; color: #fff;
@ -65,8 +65,8 @@ body {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.main { .main {
padding-left: 40px;
padding-right: 40px; padding-right: 40px;
padding-left: 40px;
} }
} }
.main .page-header { .main .page-header {

View File

@ -1,6 +1,6 @@
.container { .container {
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
h4 { h4 {
@ -25,4 +25,4 @@ h4 {
hr { hr {
margin-top: 40px; margin-top: 40px;
margin-bottom: 40px; margin-bottom: 40px;
} }

View File

@ -8,8 +8,8 @@ body {
.header, .header,
.marketing, .marketing,
.footer { .footer {
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
/* Custom page header */ /* Custom page header */
@ -18,10 +18,10 @@ body {
} }
/* Make the masthead heading the same height as the navigation */ /* Make the masthead heading the same height as the navigation */
.header h3 { .header h3 {
padding-bottom: 19px;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
line-height: 40px; line-height: 40px;
padding-bottom: 19px;
} }
/* Custom page footer */ /* Custom page footer */
@ -47,8 +47,8 @@ body {
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
} }
.jumbotron .btn { .jumbotron .btn {
font-size: 21px;
padding: 14px 24px; padding: 14px 24px;
font-size: 21px;
} }
/* Supporting marketing content */ /* Supporting marketing content */
@ -65,8 +65,8 @@ body {
.header, .header,
.marketing, .marketing,
.footer { .footer {
padding-left: 0;
padding-right: 0; padding-right: 0;
padding-left: 0;
} }
/* Space out the masthead */ /* Space out the masthead */
.header { .header {

View File

@ -3,10 +3,10 @@ body {
} }
.footer { .footer {
border-top: 1px solid #eee;
margin-top: 40px;
padding-top: 40px; padding-top: 40px;
padding-bottom: 40px; padding-bottom: 40px;
margin-top: 40px;
border-top: 1px solid #eee;
} }
/* Main marketing message and sign up button */ /* Main marketing message and sign up button */
@ -15,33 +15,33 @@ body {
background-color: transparent; background-color: transparent;
} }
.jumbotron .btn { .jumbotron .btn {
font-size: 21px;
padding: 14px 24px; padding: 14px 24px;
font-size: 21px;
} }
/* Customize the nav-justified links to be fill the entire space of the .navbar */ /* Customize the nav-justified links to be fill the entire space of the .navbar */
.nav-justified { .nav-justified {
background-color: #eee; background-color: #eee;
border-radius: 5px;
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 5px;
} }
.nav-justified > li > a { .nav-justified > li > a {
margin-bottom: 0;
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
color: #777; margin-bottom: 0;
font-weight: bold; font-weight: bold;
color: #777;
text-align: center; text-align: center;
border-bottom: 1px solid #d5d5d5;
background-color: #e5e5e5; /* Old browsers */ background-color: #e5e5e5; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */ background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */ background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */ background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
background-repeat: repeat-x; /* Repeat the gradient */
border-bottom: 1px solid #d5d5d5;
} }
.nav-justified > .active > a, .nav-justified > .active > a,
.nav-justified > .active > a:hover, .nav-justified > .active > a:hover,
@ -63,16 +63,16 @@ body {
max-height: 52px; max-height: 52px;
} }
.nav-justified > li > a { .nav-justified > li > a {
border-left: 1px solid #fff;
border-right: 1px solid #d5d5d5; border-right: 1px solid #d5d5d5;
border-left: 1px solid #fff;
} }
.nav-justified > li:first-child > a { .nav-justified > li:first-child > a {
border-left: 0; border-left: 0;
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px;
} }
.nav-justified > li:last-child > a { .nav-justified > li:last-child > a {
border-radius: 0 5px 5px 0;
border-right: 0; border-right: 0;
border-radius: 0 5px 5px 0;
} }
} }
@ -82,7 +82,7 @@ body {
.masthead, .masthead,
.marketing, .marketing,
.footer { .footer {
padding-left: 0;
padding-right: 0; padding-right: 0;
padding-left: 0;
} }
} }

View File

@ -4,4 +4,4 @@ body {
.navbar-static-top { .navbar-static-top {
margin-bottom: 19px; margin-bottom: 19px;
} }

View File

@ -6,9 +6,9 @@
/* Account for fixed navbar */ /* Account for fixed navbar */
body { body {
min-width: 970px;
padding-top: 70px; padding-top: 70px;
padding-bottom: 30px; padding-bottom: 30px;
min-width: 970px;
} }
/* Finesse the page header spacing */ /* Finesse the page header spacing */
@ -28,8 +28,8 @@ body {
/* Reset the container */ /* Reset the container */
.container { .container {
max-width: none !important;
width: 970px; width: 970px;
max-width: none !important;
} }
/* Demonstrate the grids */ /* Demonstrate the grids */
@ -94,12 +94,12 @@ body {
position: absolute; position: absolute;
float: left; float: left;
background-color: #fff; background-color: #fff;
border: 1px solid #cccccc; border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15); border: 1px solid rgba(0, 0, 0, .15);
border-width: 0 1px 1px; border-width: 0 1px 1px;
border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
} }
.navbar-default .navbar-nav .open .dropdown-menu > li > a { .navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #333; color: #333;

View File

@ -20,9 +20,9 @@ footer {
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.row-offcanvas { .row-offcanvas {
position: relative; position: relative;
-webkit-transition: all 0.25s ease-out; -webkit-transition: all .25s ease-out;
-moz-transition: all 0.25s ease-out; -moz-transition: all .25s ease-out;
transition: all 0.25s ease-out; transition: all .25s ease-out;
} }
.row-offcanvas-right .row-offcanvas-right

View File

@ -18,20 +18,20 @@ body {
} }
.form-signin .form-control { .form-signin .form-control {
position: relative; position: relative;
font-size: 16px;
height: auto; height: auto;
padding: 10px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
padding: 10px;
font-size: 16px;
} }
.form-signin .form-control:focus { .form-signin .form-control:focus {
z-index: 2; z-index: 2;
} }
.form-signin input[type="email"] { .form-signin input[type="email"] {
margin-bottom: -1px; margin-bottom: -1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
} }
.form-signin input[type="password"] { .form-signin input[type="password"] {
margin-bottom: 10px; margin-bottom: 10px;

View File

@ -9,12 +9,12 @@ body {
/* Wrapper for page content to push down footer */ /* Wrapper for page content to push down footer */
#wrap { #wrap {
min-height: 100%;
height: auto; height: auto;
/* Negative indent footer by its height */ min-height: 100%;
margin: 0 auto -60px;
/* Pad bottom by footer height */ /* Pad bottom by footer height */
padding: 0 0 60px; padding: 0 0 60px;
/* Negative indent footer by its height */
margin: 0 auto -60px;
} }
/* Set the fixed height of the footer here */ /* Set the fixed height of the footer here */
@ -36,8 +36,8 @@ body {
} }
#footer > .container { #footer > .container {
padding-left: 15px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px;
} }
code { code {

View File

@ -9,12 +9,12 @@ body {
/* Wrapper for page content to push down footer */ /* Wrapper for page content to push down footer */
#wrap { #wrap {
min-height: 100%;
height: auto; height: auto;
/* Negative indent footer by its height */ min-height: 100%;
margin: 0 auto -60px;
/* Pad bottom by footer height */ /* Pad bottom by footer height */
padding: 0 0 60px; padding: 0 0 60px;
/* Negative indent footer by its height */
margin: 0 auto -60px;
} }
/* Set the fixed height of the footer here */ /* Set the fixed height of the footer here */

View File

@ -4,11 +4,11 @@ body {
} }
.theme-dropdown .dropdown-menu { .theme-dropdown .dropdown-menu {
display: block;
position: static; position: static;
display: block;
margin-bottom: 20px; margin-bottom: 20px;
} }
.theme-showcase > p > .btn { .theme-showcase > p > .btn {
margin: 5px 0; margin: 5px 0;
} }