Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_connection-status.scss 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .con-status {
  2. border-radius: 6px;
  3. color: #fff;
  4. font-size: 12px;
  5. letter-spacing: 0.16px;
  6. line-height: 16px;
  7. position: absolute;
  8. width: 100%;
  9. &-header {
  10. background-color: rgba(0, 0, 0, 0.7);
  11. align-items: center;
  12. display: flex;
  13. padding: 8px 12px;
  14. }
  15. &-circle {
  16. border-radius: 50%;
  17. display: inline-block;
  18. padding: 4px;
  19. margin-right: 16px;
  20. }
  21. &--good {
  22. background: #31B76A;
  23. }
  24. &--poor {
  25. background: #E12D2D;
  26. }
  27. &--non-optimal {
  28. background: #E39623;
  29. }
  30. &-arrow {
  31. margin-left: auto;
  32. transition: background-color 0.16s ease-out;
  33. &--up {
  34. transform: rotate(180deg);
  35. }
  36. &>svg {
  37. cursor: pointer;
  38. }
  39. &:hover {
  40. background-color: rgba(1,1,1, 0.1);
  41. }
  42. }
  43. &-text {
  44. text-align: center;
  45. }
  46. &-details {
  47. background-color: rgba(0, 0, 0, 0.7);
  48. border-top: 1px solid #5E6D7A;
  49. padding: 16px;
  50. transition: opacity 0.16s ease-out;
  51. &-visible {
  52. opacity: 1;
  53. }
  54. &-hidden {
  55. opacity: 0;
  56. }
  57. }
  58. }