admin-hub.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .circle(@size, @background_color) {
  2. display: inline-block;
  3. background-color: @background_color;
  4. border-radius: 50%;
  5. width: @size;
  6. height: @size;
  7. text-align: center;
  8. padding-top: @size / 6.4;
  9. img {
  10. height: @size - @size / 3.2;
  11. }
  12. }
  13. .hub-header {
  14. h2 {
  15. display: inline-block;
  16. }
  17. a {
  18. color: @ol-dark-green;
  19. }
  20. i {
  21. font-size: 30px;
  22. }
  23. .dropdown {
  24. margin-right: 10px;
  25. }
  26. }
  27. .admin-item {
  28. position: relative;
  29. margin-bottom: 60px;
  30. .section-title {
  31. text-transform: capitalize;
  32. }
  33. .alert-danger {
  34. color: @ol-red;
  35. }
  36. }
  37. .hidden-chart-section {
  38. display: none;
  39. }
  40. .hub-circle {
  41. .circle(160px, @accent-color-secondary);
  42. padding-top: 50px;
  43. color: white;
  44. }
  45. .hub-circle-number {
  46. display: block;
  47. font-size: 36px;
  48. font-weight: 900;
  49. line-height: 1;
  50. }
  51. .hub-big-number {
  52. float: left;
  53. font-size: 32px;
  54. font-weight: 900;
  55. line-height: 40px;
  56. color: @accent-color-secondary;
  57. }
  58. .hub-big-number,
  59. .hub-number-label {
  60. display: block;
  61. }
  62. .hub-metric-link {
  63. position: absolute;
  64. top: 9px;
  65. right: 0;
  66. a {
  67. color: @accent-color-secondary;
  68. }
  69. i {
  70. margin-right: 5px;
  71. }
  72. }
  73. .custom-donut-container {
  74. svg {
  75. max-width: 700px;
  76. margin: auto;
  77. }
  78. .chart-center-text {
  79. font-family: @font-family-sans-serif;
  80. font-size: 40px;
  81. font-weight: bold;
  82. fill: @accent-color-secondary;
  83. text-anchor: middle;
  84. }
  85. .nv-legend-text {
  86. font-family: @font-family-sans-serif;
  87. font-size: 14px;
  88. }
  89. }
  90. .chart-no-center-text {
  91. .chart-center-text {
  92. display: none;
  93. }
  94. }