/*!
 * This program is free software; you can use it, redistribute it
 * and / or modify it under the terms of the GNU General Public License
 * (GPL) as published by the Free Software Foundation; either version 3
 * of the License or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 *  WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program, in a file called gpl.txt or license.txt.
 *  If not, write to the Free Software Foundation Inc.,
 *  59 Temple Place - Suite 330, Boston, MA  02111-1307 USA
 */

.progress, .progress-stacked {
  --ui-progress-height: 1rem;
  --ui-progress-font-size: 0.75rem;
  --ui-progress-bg: var(--ui-secondary-bg);
  --ui-progress-border-radius: var(--ui-border-radius);
  --ui-progress-box-shadow: var(--ui-box-shadow-inset);
  --ui-progress-bar-color: #fff;
  --ui-progress-bar-bg: #0d6efd;
  --ui-progress-bar-transition: width 0.6s ease;
  display: flex;
  height: var(--ui-progress-height);
  overflow: hidden;
  font-size: var(--ui-progress-font-size);
  background-color: var(--ui-progress-bg);
  border-radius: var(--ui-progress-border-radius);
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
  background-size: var(--ui-progress-height) var(--ui-progress-height);
}

@keyframes progress-bar-stripes {
  0% {
    background-position-x: 1rem
  }
}

.progress-bar-animated {
  animation: 1s linear infinite progress-bar-stripes;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--ui-progress-bar-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--ui-progress-bar-bg);
  transition: var(--ui-progress-bar-transition);
}