Ionic + React onboarding UI
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 

159 рядки
3.1 KiB

  1. .upfold {
  2. background-color: var(--charcoal);
  3. height: auto;
  4. transform: translateY(-50vh);
  5. width: 100%;
  6. border-bottom-right-radius: 30px;
  7. border-bottom-left-radius: 30px;
  8. position: relative;
  9. z-index: 1;
  10. box-shadow: 0px 0px 10px 5px var(--black-rock);
  11. animation: riseDown 1s forwards;
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. .container {
  16. padding: 30px 5%;
  17. text-align: center;
  18. }
  19. h2 {
  20. font-size: 26px;
  21. color: white;
  22. }
  23. p {
  24. font-size: 14px;
  25. color: var(--grey-rock);
  26. }
  27. figure {
  28. position: absolute;
  29. left: 0;
  30. top: 0;
  31. z-index: 0;
  32. display: block;
  33. width: 100%;
  34. height: 100%;
  35. margin: 10px 0;
  36. animation: fadeIn 1s forwards;
  37. opacity: 0;
  38. transform: translateY(10vh);
  39. }
  40. img {
  41. margin: 5px auto 0;
  42. width: 70%;
  43. display: block;
  44. }
  45. @keyframes riseDown {
  46. from {
  47. transform: translateY(-50vh);
  48. }
  49. to {
  50. transform: translateY(0vh);
  51. }
  52. }
  53. }
  54. .inputForm {
  55. width: 80%;
  56. margin: 40px auto 0;
  57. opacity: 0;
  58. transform: translateY(10vh);
  59. position: relative;
  60. animation: fadeIn 1s forwards;
  61. .confirmationAction {
  62. padding: 10px;
  63. display: flex;
  64. align-items: center;
  65. justify-content: space-between;
  66. overflow: visible;
  67. label {
  68. margin: 0;
  69. font-size: 14px;
  70. text-align: left;
  71. color: var(--rock);
  72. }
  73. .toggle {
  74. contain: none;
  75. --handle-background: var(--apricot);
  76. --handle-background-checked: var(--shamrock);
  77. --background: var(--ash-dust);
  78. --background-checked: var(--ash-dust);
  79. }
  80. }
  81. .separator {
  82. display: block;
  83. width: 100%;
  84. height: 0px;
  85. overflow: visible;
  86. margin: 40px 0;
  87. border-bottom: 1px dashed var(--ash);
  88. border-width: 2px;
  89. }
  90. .input {
  91. margin: 20px 0;
  92. }
  93. .actionLink {
  94. text-align: right;
  95. margin: 20px 0;
  96. span {
  97. font-size: 14px;
  98. color: var(--rock);
  99. text-decoration: none;
  100. }
  101. }
  102. .actionButtonsHolder {
  103. width: 60%;
  104. margin: 20px auto;
  105. .actionButton {
  106. height: 50px;
  107. text-transform: none;
  108. font-size: 16px;
  109. --border-radius: 30px;
  110. --border-color: var(--shamrock);
  111. font-weight: 500;
  112. &:nth-child(1) {
  113. --background: var(--shamrock);
  114. }
  115. }
  116. }
  117. }
  118. .navigationLink {
  119. width: 100%;
  120. text-align: center;
  121. font-size: 14px;
  122. color: var(--rock);
  123. margin-top: 30px;
  124. span, a {
  125. color: var(--shamrock);
  126. text-decoration: none;
  127. }
  128. }
  129. @keyframes fadeIn {
  130. from {
  131. opacity: 0;
  132. transform: translateY(10vh);
  133. }
  134. to {
  135. opacity: 1;
  136. transform: translateY(0vh);
  137. }
  138. }