/*-
 * Copyright (c) 2017 elementary LLC. (https://elementary.io)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License 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.  If not, see <http://www.gnu.org/licenses/>.
 */

/* Needed to prevent shadow clipping. */
buttonbox {
    margin: 8px;
}

.os-installer headerbar {
    min-height: 48px;
}

.os-installer stack {
    padding-bottom: 12px;
}

.h2 {
    font-size: 20pt;
    font-weight: 200;
}

.storage-bar image {
    color: #000;
    -gtk-icon-palette: success #000, warning #000, error #000;
}

.artwork {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.disks {
    background-image: url("resource:///io/elementary/installer/drive-selection.png");
}

@keyframes language {
  0% {
    background-image: url("resource:///io/elementary/installer/language1.png"),
                      url("resource:///io/elementary/installer/language.png");
  }
  50% {
    background-image: url("resource:///io/elementary/installer/language.png"),
                      url("resource:///io/elementary/installer/language.png");
  }
  100% {
    background-image: url("resource:///io/elementary/installer/language1.png"),
                      url("resource:///io/elementary/installer/language.png");
  }
}

.language {
    background-image: url("resource:///io/elementary/installer/language1.png"),
                      url("resource:///io/elementary/installer/language.png");
    animation: language 800ms ease infinite forwards;
}

@keyframes keyboard {
  0% {
    background-image: url("resource:///io/elementary/installer/keyboard1.png"),
                      url("resource:///io/elementary/installer/keyboard.png");
  }
  50% {
    background-image: url("resource:///io/elementary/installer/keyboard2.png"),
                      url("resource:///io/elementary/installer/keyboard.png");
  }
  100% {
    background-image: url("resource:///io/elementary/installer/keyboard3.png"),
                      url("resource:///io/elementary/installer/keyboard.png");
  }
}

.keyboard {
    background-image: url("resource:///io/elementary/installer/keyboard.png");
    animation: keyboard 1s ease infinite alternate;
}

@keyframes encrypt {
  0% {
    background-image: url("resource:///io/elementary/installer/encryption1.png"),
                      url("resource:///io/elementary/installer/encryption.png");
  }
  50% {
    background-image: url("resource:///io/elementary/installer/encryption2.png"),
                      url("resource:///io/elementary/installer/encryption.png");
  }
  100% {
    background-image: url("resource:///io/elementary/installer/encryption3.png"),
                      url("resource:///io/elementary/installer/encryption.png");
  }
}

.encrypt {
  background-image: url("resource:///io/elementary/installer/encryption1.png"),
                    url("resource:///io/elementary/installer/encryption.png");
    animation: encrypt 600ms ease infinite alternate;
}

@keyframes issue {
  from {
    background-image: url("resource:///io/elementary/installer/issue-detection1.png"),
                      url("resource:///io/elementary/installer/issue-detection.png");
  }
  to {
    background-image: url("resource:///io/elementary/installer/issue-detection.png"),
                      url("resource:///io/elementary/installer/issue-detection.png");
  }
}

.issue {
    background-image: url("resource:///io/elementary/installer/issue-detection1.png"),
                      url("resource:///io/elementary/installer/issue-detection.png");
    animation: issue 500ms ease-in-out infinite alternate;
}

.error {
    background-image: url("resource:///io/elementary/installer/catastrophic-error.png");
}

@keyframes try {
  0% {
    background-image: url("resource:///io/elementary/installer/try-install1.png"),
                      url("resource:///io/elementary/installer/try-install.png");
  }
  33% {
    background-image: url("resource:///io/elementary/installer/try-install2.png"),
                      url("resource:///io/elementary/installer/try-install.png");
  }
  66% {
    background-image: url("resource:///io/elementary/installer/try-install3.png"),
                      url("resource:///io/elementary/installer/try-install.png");
  }
  100% {
    background-image: url("resource:///io/elementary/installer/try-install1.png"),
                      url("resource:///io/elementary/installer/try-install.png");
  }
}

.try-install {
    background-image: url("resource:///io/elementary/installer/try-install1.png"),
                      url("resource:///io/elementary/installer/try-install.png");
    animation: try 3s ease infinite forwards;
}

@keyframes progress {
  from {
    background-image: url("resource:///io/elementary/installer/progress1.png"),
                      url("resource:///io/elementary/installer/progress.png");
  }
  to {
    background-image: url("resource:///io/elementary/installer/progress.png"),
                      url("resource:///io/elementary/installer/progress.png");
  }
}

.progress {
    background-image: url("resource:///io/elementary/installer/progress1.png"),
                      url("resource:///io/elementary/installer/progress.png");

    animation: progress 300ms ease infinite alternate;
}

@keyframes success {
  from {
    background-image: url("resource:///io/elementary/installer/success1.png"),
                      url("resource:///io/elementary/installer/success.png");
  }
  to {
    background-image: url("resource:///io/elementary/installer/success.png"),
                      url("resource:///io/elementary/installer/success.png");
  }
}

.success {
    background-image: url("resource:///io/elementary/installer/success1.png"),
                      url("resource:///io/elementary/installer/success.png");
    animation: success 450ms ease infinite alternate;
}

.create-account {
  background-image: url("resource:///io/elementary/installer/create-account.png");
}