2
0

nlbw.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. #chartjs-tooltip {
  2. opacity: 0;
  3. position: absolute;
  4. background: rgba(0, 0, 0, .7);
  5. color: white;
  6. padding: 3px;
  7. border-radius: 3px;
  8. transition: all .1s ease;
  9. pointer-events: none;
  10. transform: translate(-50%, 0);
  11. z-index: 20000;
  12. }
  13. #chartjs-tooltip.above {
  14. transform: translate(-50%, -100%);
  15. }
  16. #chartjs-tooltip.above:before {
  17. border: solid;
  18. border-color: #111 transparent;
  19. border-color: rgba(0, 0, 0, .8) transparent;
  20. border-width: 8px 8px 0 8px;
  21. bottom: 1em;
  22. content: "";
  23. display: block;
  24. left: 50%;
  25. top: 100%;
  26. position: absolute;
  27. z-index: 99;
  28. transform: translate(-50%, 0);
  29. }
  30. .pie label {
  31. font-weight: bold;
  32. font-size: 14px;
  33. display: block;
  34. margin-bottom: 10px;
  35. text-align: center;
  36. }
  37. .kpi ul {
  38. list-style: none;
  39. }
  40. .kpi li {
  41. margin: 10px;
  42. display: none;
  43. }
  44. .kpi big {
  45. font-weight: bold;
  46. }
  47. .head {
  48. text-align: center;
  49. position: relative;
  50. display: flex;
  51. flex-wrap: wrap;
  52. white-space: normal;
  53. }
  54. .head .pie {
  55. min-width: 200px;
  56. padding: 5px;
  57. flex: 1 1 30%;
  58. }
  59. .cbi-tooltip .head .pie {
  60. min-width: 100px;
  61. }
  62. .head .kpi {
  63. padding: 5px;
  64. font-size: smaller;
  65. text-align: left;
  66. align-self: center;
  67. flex: 1 0 33%;
  68. min-width: 150px;
  69. display: flex;
  70. justify-content: center;
  71. }
  72. .head .kpi ul {
  73. margin: 0;
  74. }
  75. .td.double > span {
  76. display: block;
  77. }
  78. .cbi-tooltip {
  79. box-shadow: 0 0 5px #000;
  80. }
  81. @media screen and (max-width: 992px) {
  82. .td.hide-xs {
  83. display: none;
  84. }
  85. .td.double:not(.hide-xs) > span {
  86. white-space: nowrap;
  87. text-align: left;
  88. }
  89. .td.double:not(.hide-xs) > span:first-child::before {
  90. content: "IPv4: ";
  91. font-weight: bold;
  92. }
  93. .td.double:not(.hide-xs) > span:last-child::before {
  94. content: "IPv6: ";
  95. font-weight: bold;
  96. }
  97. }