WelcomeView.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. @import "./node_modules/@waca/ca-ui-toolkit/essentials/essentials";
  2. .welcomeViewWrapper{
  3. & img.welcomeBackground {
  4. width: 696px;
  5. height: 522px;
  6. position: relative;
  7. float: right;
  8. display: inline;
  9. margin-top: -56px;
  10. margin-right: -88px;
  11. z-index: 0;
  12. }
  13. & div.brandTitle {
  14. margin-top: 56px;
  15. & .brandTitleIcon {
  16. vertical-align: top;
  17. height: 64px;
  18. width: 64px;
  19. }
  20. }
  21. & div.primaryTitle {
  22. margin-top: 24px;
  23. margin-bottom: 2px;
  24. font-size: 36px;
  25. @include theming(color, text-02);
  26. // width: 38%; // For dynamic space allocation (the background image might overlap the title)
  27. width: 475px;
  28. z-index: 900;
  29. position: relative;
  30. line-height: 1.25;
  31. }
  32. & div.secondaryTitle {
  33. margin-top: 24px;
  34. font-weight: 300;
  35. font-size: 20px;
  36. @include theming(color, text-02);
  37. z-index: 900;
  38. position: relative;
  39. width: 525px;
  40. }
  41. & div.welcomeTileWrapper {
  42. margin-top: 112px;
  43. min-height: 290px;
  44. position: relative;
  45. width: 100%;
  46. display: flex;
  47. flex-flow: row wrap;
  48. }
  49. @media only screen and (max-width: 940px) {
  50. // Resize the image for this screen size
  51. & img.welcomeBackground {
  52. width: 450px !important;
  53. height: 338px !important;
  54. }
  55. & div.welcomeTileWrapper {
  56. height: auto;
  57. }
  58. }
  59. @media only screen and (max-width: 768px) {
  60. // Hide the image for this screen size
  61. & img.welcomeBackground {
  62. display: none;
  63. }
  64. & div.welcomeTileWrapper {
  65. height: auto;
  66. }
  67. }
  68. }