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.

_connection-status.scss 1.5KB

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