feature-onboarding.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @feat-onboard-width: 900px;
  2. .feat-onboard {
  3. position: fixed;
  4. top: 50px;
  5. bottom: 50px;
  6. left: 50%;
  7. width: @feat-onboard-width;
  8. margin-left: -(@feat-onboard-width / 2);
  9. display: flex;
  10. justify-content: center;
  11. align-items: baseline;
  12. background-color: rgba(0, 0, 0, .85);
  13. background-repeat: no-repeat;
  14. background-position-x: 0;
  15. color: #FFF;
  16. text-align: center;
  17. border-radius: 1em;
  18. z-index: 102;
  19. overflow: auto;
  20. }
  21. .feat-onboard-wrapper {
  22. padding: 30px 0;
  23. }
  24. .feat-onboard-title {
  25. color: #FFF;
  26. margin-bottom: 30px;
  27. }
  28. .feat-onboard-description {
  29. max-width: 35em;
  30. margin: 0 auto 5px;
  31. }
  32. .feat-onboard-highlight {
  33. font-weight: bold;
  34. white-space: nowrap;
  35. }
  36. .feat-onboard-adv-title {
  37. font-weight: bold;
  38. white-space: nowrap;
  39. color: #FFF;
  40. font-size: 23px;
  41. margin-top: 0;
  42. }
  43. .feat-onboard-tutorial-wrapper {
  44. display: flex;
  45. align-items: center;
  46. padding: 30px 0 15px;
  47. }
  48. .feat-onboard-video {
  49. width: 616px;
  50. margin: 0 30px;
  51. box-shadow: 0 0 70px 0 rgba(255, 255, 255, 0.3);
  52. }
  53. .feat-onboard-nav-btn {
  54. border-radius: 1em;
  55. width: 2em;
  56. height: 2em;
  57. text-align: center;
  58. padding: 0;
  59. font-size: 1.3em;
  60. line-height: 1em;
  61. box-shadow: 0 0 70px 0 rgba(255, 255, 255, 0.3);
  62. &[disabled] {
  63. opacity: 0.2;
  64. }
  65. &:focus,
  66. &:active:focus {
  67. outline: 0;
  68. box-shadow: 0 0 70px 0 rgba(255, 255, 255, 0.3);
  69. }
  70. }
  71. a.feat-onboard-dismiss {
  72. position: absolute;
  73. top: 10px;
  74. right: 10px;
  75. width: 1em;
  76. height: 1em;
  77. line-height: 1em;
  78. font-size: 2.5em;
  79. color: #FFF;
  80. background-color: rgba(0,0,0, .25);
  81. opacity: 0.7;
  82. border-radius: 0.5em;
  83. transition: opacity .15s ease-in-out;
  84. &:hover,
  85. &:focus {
  86. text-decoration: none;
  87. color: #FFF;
  88. opacity: 1;
  89. }
  90. }