admin-hub.less 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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, .hub-number-label {
  59. display: block;
  60. }
  61. .hub-metric-link {
  62. position: absolute;
  63. top: 9px;
  64. right: 0;
  65. a {
  66. color: @accent-color-secondary;
  67. }
  68. i {
  69. margin-right: 5px;
  70. }
  71. }
  72. .custom-donut-container {
  73. svg {
  74. max-width: 700px;
  75. margin: auto;
  76. }
  77. .chart-center-text {
  78. font-family: @font-family-sans-serif;
  79. font-size: 40px;
  80. font-weight: bold;
  81. fill: @accent-color-secondary;
  82. text-anchor: middle;
  83. }
  84. .nv-legend-text {
  85. font-family: @font-family-sans-serif;
  86. font-size: 14px;
  87. }
  88. }
  89. .chart-no-center-text {
  90. .chart-center-text {
  91. display: none;
  92. }
  93. }