portals.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. .content-portal {
  2. padding-top: @navbar-height!important;
  3. .join-rider {
  4. margin-top: -(@line-height-computed / 2); // negate bottom margin from h4
  5. }
  6. /*
  7. Begin Header
  8. */
  9. .banner-image {
  10. background-size: cover;
  11. background-position: 50% 50%;
  12. background-repeat: no-repeat;
  13. height: 375px;
  14. }
  15. .image-fill {
  16. display: inline-block;
  17. height: 100%;
  18. vertical-align: middle;
  19. }
  20. .institution-logo {
  21. left: 50%;
  22. margin-left: -100px;
  23. padding: 0;
  24. position: absolute;
  25. div {
  26. background-color: @white;
  27. box-shadow: 1px 11px 22px -9px @black-alpha-strong;
  28. display: inline-block;
  29. height: 125px;
  30. overflow: hidden;
  31. position: absolute;
  32. text-align: center;
  33. top: -110px;
  34. white-space: nowrap;
  35. width: @btn-portal-width;
  36. }
  37. img {
  38. max-height: 75px;
  39. max-width: 150px;
  40. vertical-align: middle;
  41. }
  42. }
  43. .portal-name {
  44. background-color: @ol-blue-gray-0;
  45. padding-bottom: @line-height-computed; //- center header when no tabs
  46. padding-top: @padding-md;
  47. text-align: center;
  48. width: 100%;
  49. }
  50. // End Header
  51. /*
  52. Begin Layout
  53. */
  54. .button-pull,
  55. .content-pull {
  56. float: left;
  57. }
  58. .button-pull {
  59. text-align: right;
  60. > a.btn {
  61. white-space: normal;
  62. width: @btn-portal-width;
  63. text-align: center;
  64. }
  65. }
  66. .content-pull {
  67. padding-right: @padding-sm;
  68. width: calc(~'100% - ' @btn-portal-width);
  69. }
  70. // End Layout
  71. /*
  72. Begin Card
  73. */
  74. .card {
  75. margin-bottom: @margin-md;
  76. }
  77. // End Card
  78. /*
  79. Begin Actions
  80. */
  81. .portal-actions {
  82. i {
  83. margin-bottom: @margin-sm;
  84. }
  85. }
  86. // End Actions
  87. /*
  88. Begin Print
  89. */
  90. .print {
  91. .basic-metrics {
  92. margin-bottom: 50px; /* get Departments header on next page */
  93. }
  94. .container {
  95. width: auto;
  96. }
  97. .custom-donut-container svg {
  98. max-width: 570px; /* safe width for printing */
  99. }
  100. .hidden-print {
  101. display: none;
  102. }
  103. .portal-col {
  104. /* for firefox */
  105. margin: 0;
  106. width: 100%;
  107. }
  108. .portal-name {
  109. padding: 0;
  110. }
  111. .visible-print {
  112. display: block !important;
  113. }
  114. }
  115. @media print and (color) {
  116. &:extend(.print);
  117. }
  118. // End Print
  119. .nav-tabs {
  120. background-color: @ol-blue-gray-0;
  121. }
  122. @media (max-width: @screen-xs-max) {
  123. .content-pull {
  124. padding: 0;
  125. width: auto;
  126. }
  127. .button-pull {
  128. > a.btn {
  129. width: auto;
  130. }
  131. }
  132. }
  133. .hub-circle {
  134. display: inline-block;
  135. background-color: @green-70;
  136. border-radius: 50%;
  137. width: 160px;
  138. height: 160px;
  139. text-align: center;
  140. padding-top: 50px;
  141. color: white;
  142. }
  143. .hub-circle-number {
  144. display: block;
  145. font-size: 36px;
  146. font-weight: 900;
  147. line-height: 1;
  148. }
  149. .custom-donut-container {
  150. svg {
  151. max-width: 700px;
  152. margin: auto;
  153. }
  154. .chart-center-text {
  155. font-family: @font-family-sans-serif;
  156. font-size: 40px;
  157. font-weight: bold;
  158. fill: @green-70;
  159. text-anchor: middle;
  160. }
  161. .nv-legend-text {
  162. font-family: @font-family-sans-serif;
  163. font-size: 14px;
  164. }
  165. }
  166. }