app.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. @import './_variables.scss';
  2. body {
  3. margin: 0;
  4. padding: 0;
  5. font-family: $font-family-text;
  6. font-size: $font-size-regular;
  7. color: $grey-900;
  8. -webkit-font-smoothing: antialiased;
  9. -moz-osx-font-smoothing: grayscale;
  10. background-color: $grey-100;
  11. }
  12. ::selection {
  13. background: $yellow;
  14. color: black;
  15. }
  16. ul {
  17. list-style-type: none;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. h1 {
  22. font-family: $font-family-display;
  23. text-transform: uppercase;
  24. font-weight: $font-weight-bold;
  25. font-size: $font-size-xx-large;
  26. }
  27. h6 {
  28. font-family: $font-family-display;
  29. font-weight: $font-weight-bold;
  30. font-size: $font-size-x-large;
  31. }
  32. h4 {
  33. margin: 0;
  34. font-family: $font-family-display;
  35. font-weight: $font-weight-bold;
  36. font-size: $font-size-xx-large;
  37. line-height: 1.5rem;
  38. }
  39. h4:after {
  40. content: "";
  41. display: block;
  42. margin: 0 auto;
  43. width: 50px;
  44. margin-top: -14px;
  45. border-bottom: 16px solid;
  46. border-bottom-color: $grey-300;
  47. margin-left: -4px;
  48. }
  49. h5 {
  50. margin: 0;
  51. font-family: $font-family-display;
  52. font-size: $font-size-large;
  53. font-weight: $font-weight-bold;
  54. letter-spacing: $letter-spacing-enhanced;
  55. text-shadow: 1px 1px 1px $yellow;
  56. }
  57. code {
  58. font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
  59. monospace;
  60. }
  61. #root {
  62. display: flex;
  63. flex-wrap: wrap;
  64. align-items: stretch;
  65. height: 100vh;
  66. }
  67. .cbk-app-drawer {
  68. flex-basis: 16rem;
  69. flex-grow: 1;
  70. }
  71. .cbk-main {
  72. flex-basis: 0;
  73. flex-grow: 9999;
  74. .mdc-layout-grid {
  75. display: flex;
  76. flex-direction: column;
  77. width: 100%;
  78. .mdc-layout-grid__inner {
  79. width: 100%;
  80. }
  81. }
  82. }
  83. input,
  84. label,
  85. textarea
  86. {
  87. margin:0;
  88. border:0;
  89. padding:0;
  90. display:inline-block;
  91. vertical-align:middle;
  92. white-space:normal;
  93. background:none;
  94. line-height:1;
  95. }
  96. /* Remove the stupid outer glow in Webkit */
  97. input:focus,
  98. textarea:focus
  99. {
  100. outline:0;
  101. }
  102. /* Box Sizing Reset
  103. -----------------------------------------------*/
  104. /* All of our custom controls should be what we expect them to be */
  105. input,
  106. textarea
  107. {
  108. -webkit-box-sizing:content-box;
  109. -moz-box-sizing:content-box;
  110. box-sizing:content-box;
  111. }
  112. /*
  113. ##Device = Low Resolution Tablets, Mobiles
  114. */
  115. @media (max-width: 839px) {
  116. #root {
  117. flex-direction: column;
  118. display: flex;
  119. flex-wrap: unset;
  120. .cbk-app-drawer {
  121. flex-basis: unset;
  122. .cbk-drawer {
  123. width: 100%;
  124. flex-direction: row;
  125. padding: 1rem;
  126. h1.mdc-drawer__title {
  127. display: none;
  128. }
  129. .mdc-drawer__header,
  130. .mdc-list {
  131. min-height: unset;
  132. padding: 0;
  133. display: flex;
  134. flex-direction: row;
  135. font-size: $font-size-small;
  136. .mdc-list-item {
  137. margin: 0;
  138. a {
  139. font-size: $font-size-regular;
  140. }
  141. }
  142. }
  143. .cbk-icon svg {
  144. width: 35px!important;
  145. }
  146. }
  147. }
  148. }
  149. }