_base.css.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. // Set width of navigation element to a variable
  2. // to enable single point of update for offsets
  3. // of affected elements (subnav, content-container, etc.)
  4. $navigation-width: 200px;
  5. $body-padding-top: 126px;
  6. @mixin standard-box-shadow {
  7. box-shadow: 0px 1px 1px rgba(0, 0, 0, .3);
  8. }
  9. $active-highlight: #d26911;
  10. //
  11. body {
  12. font-size: 14px;
  13. position: relative;
  14. padding: $body-padding-top 20px 0 ($navigation-width);
  15. .container-fluid {
  16. margin-left: 0;
  17. margin-right: 0;
  18. padding-left: 0px;
  19. padding-right: 0px;
  20. }
  21. }
  22. .header {
  23. position: fixed;
  24. z-index: 49;
  25. top: 0px;
  26. left: 0px;
  27. width: 100%;
  28. height: 72px;
  29. padding: 0px;
  30. background-color: #fff;
  31. border: none;
  32. border-bottom: 1px solid #eee;
  33. border-radius: 0;
  34. .logo {
  35. float: left;
  36. margin: 3px 6px;
  37. }
  38. .utility-id {
  39. float: left;
  40. margin: 24px 60px 0px 60px;
  41. }
  42. ul.header-actions {
  43. float: left;
  44. padding-left: 0px;
  45. list-style: none;
  46. li {
  47. float: left;
  48. height: 72px;
  49. margin: 0px;
  50. padding: 12px;
  51. text-align: center;
  52. border-left: 1px solid #eee;
  53. &:last-child {
  54. border-right: 1px solid #eee;
  55. }
  56. img, .btn {
  57. display: block;
  58. margin-bottom: 3px;
  59. }
  60. }
  61. }
  62. }
  63. .subnav_container {
  64. position: fixed;
  65. z-index: 48;
  66. top: 72px;
  67. left: $navigation-width;
  68. width: 100%;
  69. margin: 0px 0px 0px 2px;
  70. padding: 10px 0px 4px 0px;
  71. background-color: #fff;
  72. border-bottom: 1px solid #ddd;
  73. .subnav {
  74. display: inline-block;
  75. margin: 0px 20px 0px 0px;
  76. padding: 0px 4px 0px 0px;
  77. list-style: none;
  78. color: #fff;
  79. // Background-color and border match `fieldset` (in 'forms' styles)
  80. background-color: #f6f6f6;
  81. border: 1px solid #ddd;
  82. .item {
  83. display: inline-block;
  84. position: relative;
  85. margin-left: 0px;
  86. margin-right: -4px;
  87. padding: 0px;
  88. border-right: 2px solid #ddd;
  89. &:last-child {
  90. border-right: none;
  91. }
  92. a {
  93. display: block;
  94. position: relative;
  95. margin: 0px;
  96. padding: 6px 24px;
  97. text-decoration: none;
  98. }
  99. &.current {
  100. background-color: #fff;
  101. a {
  102. color: #000;
  103. font-weight: bold;
  104. }
  105. &:after {
  106. // This pseudo element forms the triangle under the "current" subnav item
  107. content:"\A";
  108. position: absolute;
  109. bottom: 0px;
  110. left: 50%;
  111. width: 94%;
  112. // This negative left margin should be
  113. // half the width of the pseudo element
  114. margin-left: -47%;
  115. border-style: solid;
  116. border-bottom: 1px solid $active-highlight;
  117. }
  118. }
  119. }
  120. }
  121. }
  122. .debug_dump {
  123. margin-top: 20px;
  124. }
  125. .footer {
  126. padding: 0 0 20px;
  127. @include respond-to(mobile) {
  128. text-align: center;
  129. .pull-right {
  130. float: none !important;
  131. font-weight: bold;
  132. }
  133. }
  134. }
  135. .blank_slate_container {
  136. box-sizing: border-box;
  137. width: 360px;
  138. margin: 0;
  139. padding: 2% 3%;
  140. background: #eee;
  141. border: 1px solid #ddd;
  142. text-align: center;
  143. }