You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StatusIndicator.css 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2021 SonarSource SA
  4. * mailto:info AT sonarsource DOT com
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public License
  17. * along with this program; if not, write to the Free Software Foundation,
  18. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. .status-indicator {
  21. display: inline-block;
  22. box-sizing: border-box;
  23. width: 16px;
  24. height: 16px;
  25. border-radius: 16px;
  26. margin: 4px;
  27. }
  28. .status-indicator.small-status-indicator {
  29. width: 8px;
  30. height: 8px;
  31. border-radius: 8px;
  32. margin: 8px;
  33. }
  34. .status-indicator.big-status-indicator {
  35. width: var(--controlHeight);
  36. height: var(--controlHeight);
  37. border-radius: var(--controlHeight);
  38. margin: 0;
  39. }
  40. .status-indicator.red {
  41. position: relative;
  42. z-index: 2;
  43. background-color: var(--red);
  44. }
  45. .status-indicator.yellow {
  46. background-color: var(--yellow);
  47. }
  48. .status-indicator.green {
  49. background-color: var(--green);
  50. }
  51. .status-indicator.orange {
  52. background-color: var(--orange);
  53. }
  54. .status-indicator.gray {
  55. background-color: var(--gray71);
  56. }