app.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. }
  56. code {
  57. font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
  58. monospace;
  59. }
  60. #root {
  61. display: flex;
  62. flex-wrap: wrap;
  63. align-items: stretch;
  64. height: 100vh;
  65. }
  66. .cbk-app-drawer {
  67. flex-basis: 16rem;
  68. flex-grow: 1;
  69. }
  70. .cbk-main {
  71. flex-basis: 0;
  72. flex-grow: 9999;
  73. .mdc-layout-grid {
  74. display: flex;
  75. flex-direction: column;
  76. width: 100%;
  77. .mdc-layout-grid__inner {
  78. width: 100%;
  79. }
  80. }
  81. }
  82. input,
  83. label,
  84. textarea
  85. {
  86. margin:0;
  87. border:0;
  88. padding:0;
  89. display:inline-block;
  90. vertical-align:middle;
  91. white-space:normal;
  92. background:none;
  93. line-height:1;
  94. }
  95. /* Remove the stupid outer glow in Webkit */
  96. input:focus,
  97. textarea:focus
  98. {
  99. outline:0;
  100. }
  101. /* Box Sizing Reset
  102. -----------------------------------------------*/
  103. /* All of our custom controls should be what we expect them to be */
  104. input,
  105. textarea
  106. {
  107. -webkit-box-sizing:content-box;
  108. -moz-box-sizing:content-box;
  109. box-sizing:content-box;
  110. }
  111. /*
  112. ##Device = Low Resolution Tablets, Mobiles
  113. */
  114. @media (max-width: 839px) {
  115. #root {
  116. flex-direction: column;
  117. display: flex;
  118. flex-wrap: unset;
  119. .cbk-app-drawer {
  120. flex-basis: unset;
  121. .cbk-drawer {
  122. width: 100%;
  123. flex-direction: row;
  124. padding: 1rem;
  125. h1.mdc-drawer__title {
  126. display: none;
  127. }
  128. .mdc-drawer__header,
  129. .mdc-list {
  130. min-height: unset;
  131. padding: 0;
  132. display: flex;
  133. flex-direction: row;
  134. font-size: $font-size-small;
  135. .mdc-list-item {
  136. margin: 0;
  137. a {
  138. font-size: $font-size-regular;
  139. }
  140. }
  141. }
  142. .cbk-icon svg {
  143. width: 35px!important;
  144. }
  145. }
  146. }
  147. }
  148. }