Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_common.scss 4.0 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. html{scroll-behavior: smooth;}
  2. iframe{border: 0;}
  3. body{
  4. height: 100vh;
  5. width: 100%;
  6. background-color: #F2F2F2;
  7. @include media-breakpoint-up(md) {
  8. background-color: #222222;
  9. height: calc(100vh - 2rem);
  10. padding: 1rem 0;
  11. }
  12. }
  13. #app{
  14. height: 100vh;
  15. @include media-breakpoint-up(md) {
  16. overflow-x: scroll;
  17. height: calc(100vh - 2rem);
  18. max-width: 480px;
  19. margin: 0 auto;
  20. background-color: #F2F2F2;
  21. @include border-radius(8px);
  22. position: relative;
  23. }
  24. }
  25. .bold{
  26. font-weight: bold;
  27. }
  28. .btn-secondary{
  29. color: #fff !important;
  30. }
  31. .shadow-b-01{
  32. @include text-shadow(2px, 2px, 4px, #00000063)
  33. }
  34. .logo{
  35. display: flex;
  36. &-md{
  37. img{
  38. width: 150px;
  39. }
  40. }
  41. &-sm{
  42. img{
  43. width: 100px;
  44. }
  45. }
  46. &.center{
  47. justify-content: center;
  48. }
  49. }
  50. .title_line{
  51. display: flex;
  52. align-items: center;
  53. column-gap: 0.5rem;
  54. margin-bottom: 1rem;
  55. color: #6A707C;
  56. &:after, &::before{
  57. content: " ";
  58. height: 1px;
  59. background-color: #d6d7d7;
  60. flex: 2;
  61. }
  62. }
  63. .w-box{
  64. background-color: #fff;
  65. @include border-radius(0.6rem);
  66. display: flex;
  67. width: 100%;
  68. @include box-shadow(1px, 3px, 10px, rgba(0,0,0,0.10));
  69. text-decoration: none;
  70. }
  71. .text-gray{ color: $gray;}
  72. .text-green{ color: #28B446;}
  73. .bl-green{
  74. border-left: 3px solid $secondary;
  75. }
  76. .bl-blue{
  77. border-left: 3px solid #4092FF;
  78. }
  79. .bl-danger{
  80. border-left: 3px solid $danger;
  81. }
  82. .item{
  83. &__holder{
  84. display: flex;
  85. flex-wrap: wrap;
  86. column-gap: 1rem;
  87. row-gap: 1rem;
  88. }
  89. &__select{
  90. background-color: #fff;
  91. @include border-radius(0.6rem);
  92. padding: 1rem;
  93. border: 1px solid #ddd;
  94. @include transition(all, 0.2s, ease-in);
  95. display: flex;
  96. flex-direction: column;
  97. cursor: pointer;
  98. position: relative;
  99. overflow: hidden;
  100. z-index: 1;
  101. &.w-100{
  102. width: 100%;
  103. }
  104. &.w-50{
  105. width: calc(50% - 0.5rem) !important;
  106. }
  107. .title{
  108. font-size: 0.9rem;
  109. display: flex;
  110. gap: 0.5rem;
  111. border-bottom: 1px solid #ddd;
  112. margin-bottom: 0.8rem;
  113. padding-bottom: 0.8rem;
  114. }
  115. .name{
  116. font-weight: 600;
  117. text-align: center;
  118. }
  119. .desc{
  120. font-weight: 300;
  121. text-align: center;
  122. color: #8d8d8d;
  123. }
  124. .checkbox{
  125. display: flex;
  126. justify-content: center;
  127. span{
  128. width: 22px;
  129. height: 22px;
  130. border: 1px solid #ddd;
  131. display: flex;
  132. @include border-radius(20px);
  133. padding: 2px;
  134. }
  135. }
  136. .checked{
  137. display: none;
  138. }
  139. &:hover, &:has(input[type="radio"]:checked){
  140. border:1px solid $secondary;
  141. }
  142. input[type="radio"] {
  143. display: none;
  144. }
  145. &:has(input[type="radio"]:checked){
  146. border-color: $secondary;
  147. .desc{
  148. color: $black;
  149. }
  150. .checkbox{
  151. span{
  152. border: 1px solid $secondary;
  153. &:after{
  154. content: "";
  155. width: 16px;
  156. height: 16px;
  157. background-color: $secondary;
  158. @include border-radius(20px);
  159. }
  160. }
  161. }
  162. .checked{
  163. position: absolute;
  164. width: 30px;
  165. height: 30px;
  166. left: 0;
  167. top: 0;
  168. display: flex;
  169. justify-content: flex-start;
  170. padding: 5px;
  171. font-size: 1rem;
  172. color: #fff;
  173. &::after{
  174. content: '';
  175. z-index: -1;
  176. position: absolute;
  177. top: -29px;
  178. left: -29px;
  179. width: 56px;
  180. height: 56px;
  181. transform: rotate(45deg);
  182. background-color: $secondary;
  183. }
  184. }
  185. }
  186. }
  187. }