Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
masonstrap
Commits
15734466
Commit
15734466
authored
May 29, 2013
by
Thomas Park
Browse files
flatly: fixes #104 + more: active, stacked, and stateless progress bars
parent
389a9f81
Changes
3
Hide whitespace changes
Inline
Side-by-side
flatly/bootstrap.css
View file @
15734466
...
...
@@ -6644,29 +6644,49 @@ legend {
}
.progress
.bar
{
background
:
#2c3e50
;
background-color
:
#2c3e50
;
background-image
:
none
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
.progress
.bar
+
.bar
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
.progress-striped
.bar
{
background-color
:
#2c3e50
;
background-image
:
-webkit-gradient
(
linear
,
0
100%
,
100%
0
,
color-stop
(
0.25
,
rgba
(
255
,
255
,
255
,
0.15
)),
color-stop
(
0.25
,
transparent
),
color-stop
(
0.5
,
transparent
),
color-stop
(
0.5
,
rgba
(
255
,
255
,
255
,
0.15
)),
color-stop
(
0.75
,
rgba
(
255
,
255
,
255
,
0.15
)),
color-stop
(
0.75
,
transparent
),
to
(
transparent
));
background-image
:
-webkit-linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
background-image
:
-moz-linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
background-image
:
-o-linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
background-image
:
linear-gradient
(
45deg
,
rgba
(
255
,
255
,
255
,
0.15
)
25%
,
transparent
25%
,
transparent
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
50%
,
rgba
(
255
,
255
,
255
,
0.15
)
75%
,
transparent
75%
,
transparent
);
}
.progress-success
.bar
,
.progress-success.progress-striped
.bar
{
.progress-success.progress-striped
.bar
,
.progress
.bar-success
{
background-color
:
#18bc9c
;
}
.progress-warning
.bar
,
.progress-warning.progress-striped
.bar
{
.progress-warning.progress-striped
.bar
,
.progress
.bar-warning
{
background-color
:
#e6bb0d
;
}
.progress-danger
.bar
,
.progress-danger.progress-striped
.bar
{
.progress-danger.progress-striped
.bar
,
.progress
.bar-danger
{
background-color
:
#e74c3c
;
}
.progress-info
.bar
,
.progress-info.progress-striped
.bar
{
.progress-info.progress-striped
.bar
,
.progress
.bar-info
{
background-color
:
#3498db
;
}
...
...
flatly/bootstrap.min.css
View file @
15734466
This source diff could not be displayed because it is too large. You can
view the blob
instead.
flatly/bootswatch.less
View file @
15734466
...
...
@@ -422,23 +422,40 @@ legend {
.box-shadow(none);
.bar {
background: @textColor;
background-color: @blueDark;
background-image: none;
.box-shadow(none);
}
&-success .bar, &-success.progress-striped .bar {
.bar + .bar {
.box-shadow(none);
}
&-striped .bar {
#gradient > .striped(@blueDark);
}
&-success .bar,
&-success.progress-striped .bar,
.bar-success {
background-color: @green;
}
&-warning .bar, &-warning.progress-striped .bar {
&-warning .bar,
&-warning.progress-striped .bar,
.bar-warning {
background-color: @yellow;
}
&-danger .bar, &-danger.progress-striped .bar {
&-danger .bar,
&-danger.progress-striped .bar,
.bar-danger {
background-color: @red;
}
&-info .bar, &-info.progress-striped .bar {
&-info .bar,
&-info.progress-striped .bar,
.bar-info {
background-color: @blue;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment