WelcomeTile.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. @import "./node_modules/@waca/ca-ui-toolkit/essentials/essentials";
  2. .welcomeViewWrapper{
  3. & div.welcomeTile {
  4. @include theming(background-color, ui-01);
  5. width: 290px;
  6. height: 290px;
  7. position: relative;
  8. padding-top: 24px;
  9. padding-bottom: 32px;
  10. padding-left: 24px;
  11. padding-right: 24px;
  12. cursor: pointer;
  13. }
  14. & div.welcomeTile:hover {
  15. @include theming(background-color, hover-ui);
  16. }
  17. & div.welcomeTile:focus {
  18. border: 1px solid;
  19. @include theming(border-color, focus, 1, !important);
  20. outline: none;
  21. }
  22. & div.welcomeTileWithBorder {
  23. border-right: 1px solid $gray1;
  24. }
  25. & div.welcomeTileTitle {
  26. margin-top: 48px;
  27. @include theming(color, text-02);
  28. font-size: 24px;
  29. }
  30. & div.welcomeTileDescription {
  31. margin-top: 24px;
  32. @include theming(color, ui-05);
  33. font-size: 14px;
  34. }
  35. & div.welcomeTileProgress {
  36. position: absolute;
  37. bottom: 32px;
  38. @include theming(color, text-02);
  39. font-size: 12px;
  40. }
  41. & svg.welcomeTileIcon {
  42. width: 48px;
  43. height: 48px;
  44. }
  45. @media only screen and (max-width: 940px) {
  46. & div.welcomeTile {
  47. position: relative;
  48. left: 0 !important;
  49. display: block;
  50. }
  51. & div.welcomeTileWithBorder {
  52. border-right: 0px;
  53. border-bottom: 1px solid $gray1;
  54. }
  55. }
  56. @media only screen and (max-width: 768px) {
  57. & div.welcomeTile {
  58. position: relative;
  59. left: 0 !important;
  60. display: block;
  61. }
  62. & div.welcomeTileWithBorder {
  63. border-right: 0px;
  64. border-bottom: 1px solid;
  65. @include theming(border-color, ui-03);
  66. }
  67. }
  68. }
  69. body.highcontrast{
  70. .welcomeViewWrapper {
  71. & div.welcomeTile {
  72. border: 1px solid;
  73. @include theming(border-color, ui-background);
  74. }
  75. }
  76. }