您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_connection-status.scss 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. @include adjust-for-max-width(320px, 8px);
  14. }
  15. &-header {
  16. background: rgba(28, 32, 37, .5);
  17. align-items: center;
  18. display: flex;
  19. justify-content: space-between;
  20. }
  21. &-circle {
  22. border-radius: 50%;
  23. display: inline-block;
  24. padding: 4px;
  25. margin: 8px;
  26. }
  27. &--good {
  28. background: #31B76A;
  29. }
  30. &--poor {
  31. background: #E12D2D;
  32. }
  33. &--non-optimal {
  34. background: #E39623;
  35. }
  36. &-arrow {
  37. height: 36px;
  38. width: 36px;
  39. border-radius: 3px;
  40. margin-left: 8px;
  41. margin-right: 2px;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. transition: background-color 0.16s ease-out;
  46. &--up {
  47. transform: rotate(180deg);
  48. }
  49. &>svg {
  50. cursor: pointer;
  51. }
  52. &:hover {
  53. background-color: rgba(1,1,1, 0.1);
  54. }
  55. }
  56. &-text {
  57. text-align: center;
  58. }
  59. &-details {
  60. background: rgba(28, 32, 37, .5);
  61. border-top: 1px solid #5E6D7A;
  62. padding: 16px;
  63. transition: opacity 0.16s ease-out;
  64. &-visible {
  65. opacity: 1;
  66. }
  67. &-hidden {
  68. opacity: 0;
  69. }
  70. }
  71. }