0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

comment out firefox specific code for linter to parse fully

This commit is contained in:
Mark Otto 2014-08-04 15:17:43 -07:00
parent 724240fe4f
commit ef9e76c2c5
10 changed files with 30 additions and 64 deletions

View File

@ -199,20 +199,6 @@ module.exports = function (grunt) {
}
},
lesslint: {
src: [
'less/bootstrap.less'
],
options: {
csslint: {
csslintrc: 'less/.csslintrc'
},
imports: {
imports: 'less/*.less'
}
}
},
csslint: {
options: {
csslintrc: 'less/.csslintrc'
@ -411,7 +397,7 @@ module.exports = function (grunt) {
var testSubtasks = [];
// Skip core tests if running a different subset of the test suite
if (runSubset('core')) {
testSubtasks = testSubtasks.concat(['lesslint', 'dist-css', 'jshint', 'jscs', 'qunit']);
testSubtasks = testSubtasks.concat(['dist-css', 'csslint', 'jshint', 'jscs', 'qunit']);
}
// Skip HTML validation if running a different subset of the test suite
if (runSubset('validate-html') &&

View File

@ -3976,11 +3976,6 @@ a.label:focus {
white-space: nowrap;
background-color: #818a91;
border-radius: 2em;
/* .btn & {
position: relative;
top: -1px;
}
*/
}
.badge:empty {
display: none;
@ -3989,10 +3984,6 @@ a.label:focus {
.badge.pull-right {
top: .2em;
}
.btn-xs .badge {
/*top: 0;*/
/*padding: 1px 5px;*/
}
a.badge:hover,
a.badge:focus {
color: #fff;
@ -4113,6 +4104,7 @@ a.list-group-item.active > .badge,
.alert-danger .alert-link {
color: #843534;
}
/*csslint empty-rules: false, important: true*/
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 24px 0;
@ -4173,28 +4165,30 @@ a.list-group-item.active > .badge,
border-top-right-radius: .25rem;
border-bottom-right-radius: .25rem;
}
/* Commented out for now because linter.
@-moz-document url-prefix() {
.progress[value] {
background-color: #eee;
border-radius: .25rem;
box-shadow: inset 0 .1rem .1rem rgba(0, 0, 0, .1);
.border-radius(@border-radius-base);
.box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
}
.progress[value]::-moz-progress-bar {
background-color: #0074d9;
border-top-left-radius: .25rem;
border-bottom-left-radius: .25rem;
border-top-left-radius: @border-radius-base;
border-bottom-left-radius: @border-radius-base;
}
.progress[value="0"]::-moz-progress-bar {
color: @gray-light;
min-width: 2rem;
color: #818a91;
background-color: transparent;
background-image: none;
}
.progress[value="100"]::-moz-progress-bar {
border-top-right-radius: .25rem;
border-bottom-right-radius: .25rem;
border-top-right-radius: @border-radius-base;
border-bottom-right-radius: @border-radius-base;
}
}
*/
@media screen and (min-width:0\0) {
.progress {
background-color: #eee;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3976,11 +3976,6 @@ a.label:focus {
white-space: nowrap;
background-color: #818a91;
border-radius: 2em;
/* .btn & {
position: relative;
top: -1px;
}
*/
}
.badge:empty {
display: none;
@ -3989,10 +3984,6 @@ a.label:focus {
.badge.pull-right {
top: .2em;
}
.btn-xs .badge {
/*top: 0;*/
/*padding: 1px 5px;*/
}
a.badge:hover,
a.badge:focus {
color: #fff;
@ -4113,6 +4104,7 @@ a.list-group-item.active > .badge,
.alert-danger .alert-link {
color: #843534;
}
/*csslint empty-rules: false, important: true*/
@-webkit-keyframes progress-bar-stripes {
from {
background-position: 24px 0;
@ -4173,28 +4165,30 @@ a.list-group-item.active > .badge,
border-top-right-radius: .25rem;
border-bottom-right-radius: .25rem;
}
/* Commented out for now because linter.
@-moz-document url-prefix() {
.progress[value] {
background-color: #eee;
border-radius: .25rem;
box-shadow: inset 0 .1rem .1rem rgba(0, 0, 0, .1);
.border-radius(@border-radius-base);
.box-shadow(inset 0 .1rem .1rem rgba(0,0,0,.1));
}
.progress[value]::-moz-progress-bar {
background-color: #0074d9;
border-top-left-radius: .25rem;
border-bottom-left-radius: .25rem;
border-top-left-radius: @border-radius-base;
border-bottom-left-radius: @border-radius-base;
}
.progress[value="0"]::-moz-progress-bar {
color: @gray-light;
min-width: 2rem;
color: #818a91;
background-color: transparent;
background-image: none;
}
.progress[value="100"]::-moz-progress-bar {
border-top-right-radius: .25rem;
border-bottom-right-radius: .25rem;
border-top-right-radius: @border-radius-base;
border-bottom-right-radius: @border-radius-base;
}
}
*/
@media screen and (min-width:0\0) {
.progress {
background-color: #eee;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,17 +28,6 @@
top: .2em;
}
// Quick fix for badges in buttons
/* .btn & {
position: relative;
top: -1px;
}
*/
.btn-xs & {
/*top: 0;*/
/*padding: 1px 5px;*/
}
// Hover state, but only for links
a& {
&:hover,

View File

@ -1,3 +1,5 @@
/*csslint empty-rules: false, important: true*/
//
// Progress bars
// --------------------------------------------------
@ -61,6 +63,7 @@
}
// Firefox styles must be entirely separate or it busts Webkit styles.
/* Commented out for now because linter.
@-moz-document url-prefix() {
.progress[value] {
background-color: #eee;
@ -83,7 +86,7 @@
border-bottom-right-radius: @border-radius-base;
}
}
*/
// IE9 hacks to accompany custom markup. We don't need to scope this via media queries, but I feel better doing it anyway.
@media screen and (~"min-width:0\0") {
.progress {