/* * SonarQube * Copyright (C) 2009-2018 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ .processes-container { position: fixed; z-index: var(--processContainerZIndex); top: 0; left: 50%; width: 350px; margin-left: -175px; } .process-spinner { position: relative; padding: 0 10px; line-height: var(--controlHeight); border-radius: 0 0 3px 3px; box-sizing: border-box; background-color: #f0e8ac; text-align: center; opacity: 0; transition: all 0.2s ease; } .process-spinner.shown { opacity: 1; } .process-spinner + .process-spinner { margin-top: 5px; border-radius: 3px; } .process-spinner-failed { padding-right: 30px; background-color: var(--red); color: #ffffff; } .process-spinner-success { padding-right: 30px; background-color: var(--green); color: #ffffff; } .process-spinner-close { position: absolute; top: 2px; right: 2px; } .process-spinner-close:hover path, .process-spinner-close:focus path { fill: var(--red) !important; }