Skip to content

Commit

Permalink
timeout progress bar option added
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Jan 17, 2017
1 parent 96bb34f commit 5a558f5
Show file tree
Hide file tree
Showing 13 changed files with 678 additions and 329 deletions.
91 changes: 63 additions & 28 deletions demo/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,24 @@
cursor: pointer;
*margin-left: .3em;
}

.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
background-color: #e6e6e6;
}

.btn:active,
.btn.active {
background-color: #cccccc \9;
}

.btn:first-child {
*margin-left: 0;
}

.btn:hover {
color: #333333;
text-decoration: none;
Expand All @@ -70,11 +74,13 @@
-o-transition: background-position 0.1s linear;
transition: background-position 0.1s linear;
}

.btn:focus {
outline: thin dotted #333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}

.btn.active,
.btn:active {
background-image: none;
Expand All @@ -85,6 +91,7 @@
background-color: #d9d9d9 \9;
outline: 0;
}

.btn.disabled,
.btn[disabled] {
cursor: default;
Expand All @@ -96,6 +103,7 @@
-moz-box-shadow: none;
box-shadow: none;
}

.btn-large {
padding: 9px 14px;
font-size: 15px;
Expand All @@ -104,22 +112,27 @@
-moz-border-radius: 5px;
border-radius: 5px;
}

.btn-large [class^="icon-"] {
margin-top: 1px;
}

.btn-small {
padding: 5px 9px;
font-size: 11px;
line-height: 16px;
}

.btn-small [class^="icon-"] {
margin-top: -1px;
}

.btn-mini {
padding: 2px 6px;
font-size: 11px;
line-height: 14px;
}

.btn-primary,
.btn-primary:hover,
.btn-warning,
Expand All @@ -135,6 +148,7 @@
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
color: #ffffff;
}

.btn-primary.active,
.btn-warning.active,
.btn-danger.active,
Expand All @@ -143,6 +157,7 @@
.btn-inverse.active {
color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
background-color: #0074cc;
background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
Expand All @@ -157,17 +172,20 @@
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
background-color: #0055cc;
}

.btn-primary:active,
.btn-primary.active {
background-color: #004099 \9;
}

.btn-warning {
background-color: #faa732;
background-image: -moz-linear-gradient(top, #fbb450, #f89406);
Expand All @@ -182,17 +200,20 @@
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-warning:hover,
.btn-warning:active,
.btn-warning.active,
.btn-warning.disabled,
.btn-warning[disabled] {
background-color: #f89406;
}

.btn-warning:active,
.btn-warning.active {
background-color: #c67605 \9;
}

.btn-danger {
background-color: #da4f49;
background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
Expand All @@ -207,17 +228,20 @@
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger.active,
.btn-danger.disabled,
.btn-danger[disabled] {
background-color: #bd362f;
}

.btn-danger:active,
.btn-danger.active {
background-color: #942a25 \9;
}

.btn-success {
background-color: #5bb75b;
background-image: -moz-linear-gradient(top, #62c462, #51a351);
Expand All @@ -232,17 +256,20 @@
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
background-color: #51a351;
}

.btn-success:active,
.btn-success.active {
background-color: #408140 \9;
}

.btn-info {
background-color: #49afcd;
background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
Expand All @@ -257,17 +284,20 @@
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-info:hover,
.btn-info:active,
.btn-info.active,
.btn-info.disabled,
.btn-info[disabled] {
background-color: #2f96b4;
}

.btn-info:active,
.btn-info.active {
background-color: #24748c \9;
}

.btn-inverse {
background-color: #414141;
background-image: -moz-linear-gradient(top, #555555, #222222);
Expand All @@ -282,110 +312,115 @@
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-inverse:hover,
.btn-inverse:active,
.btn-inverse.active,
.btn-inverse.disabled,
.btn-inverse[disabled] {
background-color: #222222;
}

.btn-inverse:active,
.btn-inverse.active {
background-color: #080808 \9;
}

button.btn,
input[type="submit"].btn {
*padding-top: 2px;
*padding-bottom: 2px;
}

button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
padding: 0;
border: 0;
}

button.btn.btn-large,
input[type="submit"].btn.btn-large {
*padding-top: 7px;
*padding-bottom: 7px;
}

button.btn.btn-small,
input[type="submit"].btn.btn-small {
*padding-top: 3px;
*padding-bottom: 3px;
}

button.btn.btn-mini,
input[type="submit"].btn.btn-mini {
*padding-top: 1px;
*padding-bottom: 1px;
}


.activity-item i {
float: left;
margin-top: 3px;
font-size: 16px;
float: left;
margin-top: 3px;
font-size: 16px;
}

div.activity {
margin-left: 28px;
margin-left: 28px;
line-height: 20px;
}

div.activity-item {
padding: 7px 12px;
padding: 7px 12px;
}

#notification-list div.activity-item {
border-top: 1px solid #f5f5f5;
border-top: 1px solid #f5f5f5;
}

#notification-list div.activity-item a {
font-weight: 600;
font-weight: 600;
}

div.activity span {
display: block;
color: #999;
font-size: 11px;
line-height: 16px;
display: block;
color: #999;
font-size: 11px;
line-height: 16px;
}

#notifications i.fa {
font-size: 17px;
font-size: 17px;
}

.noty_type_error * {
font-weight: normal !important;
font-weight: normal !important;
}

.noty_type_error a {
font-weight: bold !important;
font-weight: bold !important;
}

.noty_bar.noty_type_error a, .noty_bar.noty_type_error i {
color: #fff
color: #fff
}

.noty_bar.noty_type_information a {
color: #fff;
font-weight: bold;
color: #fff;
font-weight: bold;
}

.noty_type_error div.activity span
{
color: #fff
.noty_type_error div.activity span {
color: #fff
}

.noty_type_information div.activity span
{
color: #fefefe
.noty_type_information div.activity span {
color: #fefefe
}

a {
color: #428bca;
text-decoration: none;
color: #428bca;
text-decoration: none;
}

a:hover {
color: #D65C4F;
text-decoration: none;
color: #D65C4F;
text-decoration: none;
}
3 changes: 3 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
<div>
<a href="usingWithAnimate.css.html">Using with Animate.css</a>
</div>
<div>
<a href="progressbar.html">Using with progress bar</a>
</div>
</div>
</body>
</html>
Loading

0 comments on commit 5a558f5

Please sign in to comment.