Sha256: 6829b57e999dba47a350de5908c0f94e2ba10a2b5ea81e3f71b86da0114e30e3

Contents?: true

Size: 1.55 KB

Versions: 114

Compression:

Stored size: 1.55 KB

Contents

//
// Progress bars
// --------------------------------------------------


// Bar animations
// -------------------------

// WebKit
@-webkit-keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}

// Spec and IE10+
@keyframes progress-bar-stripes {
  from  { background-position: 40px 0; }
  to    { background-position: 0 0; }
}



// Bar itself
// -------------------------

// Outer container
.progress {
  overflow: hidden;
  height: @line-height-computed;
  margin-bottom: @line-height-computed;
  background-color: @progress-bg;
  border-radius: @border-radius-base;
  .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
}

// Bar of progress
.progress-bar {
  float: left;
  width: 0%;
  height: 100%;
  font-size: @font-size-small;
  line-height: @line-height-computed;
  color: @progress-bar-color;
  text-align: center;
  background-color: @progress-bar-bg;
  .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
  .transition(width .6s ease);
}

// Striped bars
.progress-striped .progress-bar {
  #gradient > .striped();
  background-size: 40px 40px;
}

// Call animation for the active one
.progress.active .progress-bar {
  .animation(progress-bar-stripes 2s linear infinite);
}



// Variations
// -------------------------

.progress-bar-success {
  .progress-bar-variant(@progress-bar-success-bg);
}

.progress-bar-info {
  .progress-bar-variant(@progress-bar-info-bg);
}

.progress-bar-warning {
  .progress-bar-variant(@progress-bar-warning-bg);
}

.progress-bar-danger {
  .progress-bar-variant(@progress-bar-danger-bg);
}

Version data entries

114 entries across 114 versions & 12 rubygems

Version Path
bastion-0.1.11 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.10 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.9 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.8 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.7 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.6 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.5 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.4 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
padrino-admin-0.12.4 lib/padrino-admin/bootstrap-less/progress-bars.less
bastion-0.1.3 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.2 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.1 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
bastion-0.1.0 vendor/assets/stylesheets/bastion/bootstrap/progress-bars.less
padrino-admin-0.12.3 lib/padrino-admin/bootstrap-less/progress-bars.less
twitter-bootswatch-rails-3.1.1.1 vendor/toolkit/twitter/bootstrap/progress-bars.less
bootstrap-generators-3.1.1.3 vendor/twitter/bootstrap/less/progress-bars.less
twbs_less_rails-2.10.3 vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less
twbs_less_rails-2.10.2 vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less
twbs_less_rails-2.10.1 vendor/assets/stylesheets/twbs/bootstrap/progress-bars.less
kanpachi-0.0.7 lib/kanpachi/doc/template/components/bootstrap/less/progress-bars.less