portals.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. .nav-tabs {
  88. margin-bottom: @margin-md;
  89. }
  90. /*
  91. Begin Print
  92. */
  93. .print {
  94. .basic-metrics {
  95. margin-bottom: 50px; /* get Departments header on next page */
  96. }
  97. .container {
  98. width: auto;
  99. }
  100. .custom-donut-container svg {
  101. max-width: 570px; /* safe width for printing */
  102. }
  103. .hidden-print {
  104. display: none;
  105. }
  106. .portal-col {
  107. /* for firefox */
  108. margin: 0;
  109. width: 100%;
  110. }
  111. .portal-name {
  112. padding: 0;
  113. }
  114. .visible-print {
  115. display: block !important;
  116. }
  117. }
  118. @media print and (color) {
  119. &:extend(.print);
  120. }
  121. // End Print
  122. .nav-tabs {
  123. background-color: @ol-blue-gray-0;
  124. }
  125. @media (max-width: @screen-size-sm-max) {
  126. .content-pull {
  127. padding: 0;
  128. width: auto;
  129. }
  130. .button-pull {
  131. > a.btn {
  132. width: auto;
  133. }
  134. }
  135. }
  136. }