_member.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. $main-font-family:'Microsoft JhengHei', Helvetica,Noto Sans TC,Roboto,Arial,sans-serif;
  2. .member {
  3. margin-top: 8rem;
  4. // content-左側個人資料
  5. .member-info-wrapper {
  6. background-color: #ffe7d6;
  7. border-radius: 0.25rem;
  8. }
  9. .member-info-circle {
  10. transform: translateY(-50%);
  11. width:72px;
  12. height:72px;
  13. border-radius: 50%;
  14. .member-info-circle-img{
  15. border-radius:50%;
  16. }
  17. }
  18. .member-info-data {
  19. margin-top: -.5rem;
  20. }
  21. .member-table {
  22. width: 100%;
  23. .member-table-lf {
  24. font-size: 1rem;
  25. flex-basis: 25%;
  26. flex-grow: 0;
  27. max-width: 25%;
  28. display: flex;
  29. justify-content: center;
  30. align-items: start;
  31. }
  32. .member-table-rt {
  33. flex-basis: 75%;
  34. flex-grow: 0;
  35. max-width: 75%;
  36. word-break: break-all;
  37. }
  38. }
  39. .member-info-btn-wrapper {
  40. .member-info-btn {
  41. width: 47%;
  42. border-radius: 0;
  43. padding: .8rem .5rem;
  44. &:hover, &:active{
  45. color: #AAAAAA;
  46. background-color: #f4f4f4;
  47. }
  48. }
  49. }
  50. .member-info-btn-store {
  51. font-family:$main-font-family;
  52. &:hover {
  53. cursor: pointer;
  54. background-color: #f4f4f4;
  55. }
  56. }
  57. // content-右側收藏結果
  58. //桌機版選單
  59. .member-nav {
  60. &.nav-tabs {
  61. border-bottom: 1px solid #AAAAAA;
  62. }
  63. .nav-link {
  64. font-family:$main-font-family;
  65. color: #AAAAAA;
  66. border: 1px solid #AAAAAA;
  67. &.active {
  68. color: #FFF;
  69. background-color: #EE7800;
  70. &:hover {
  71. color: #FFF;
  72. border-color: transparent;
  73. background-color: #EE7800;
  74. }
  75. }
  76. &:hover {
  77. cursor: pointer;
  78. color: #AAAAAA;
  79. border-color: #AAAAAA;
  80. background-color: #f4f4f4;
  81. }
  82. }
  83. }
  84. //手機版選單
  85. .member-nav-mobile::-webkit-scrollbar{
  86. display: none; /*Chrome Safari*/
  87. -ms-overflow-style: none;
  88. }
  89. .member-nav-mobile {
  90. display: block;
  91. scrollbar-width:none; /*Firefox*/
  92. .member-nav-itemlist{
  93. width: 100%;
  94. overflow-x: auto;
  95. overflow-y: hidden;
  96. scrollbar-width:none; /*Firefox*/
  97. }
  98. .member-nav-itemlist::-webkit-scrollbar {
  99. display: none; /*Chrome Safari*/
  100. -ms-overflow-style: none;
  101. }
  102. .member-nav-itemlist-wrapper {
  103. width: 100%;
  104. display: -webkit-inline-box;
  105. justify-content: space-between;
  106. }
  107. ul {
  108. list-style-type: none;
  109. margin-block-start: 0;
  110. margin-block-end: 0;
  111. padding-inline-start: 0;
  112. }
  113. a {
  114. font-size: 14px;
  115. color: #AAAAAA;
  116. display: block;
  117. padding: 1rem 2rem;
  118. text-decoration: none;
  119. border: 1px solid #AAAAAA;
  120. border-top-left-radius:0.25rem ;
  121. border-top-right-radius:0.25rem ;
  122. &:hover {
  123. text-decoration: none;
  124. }
  125. &:active {
  126. text-decoration: none;
  127. background-color: #f4f4f4;
  128. }
  129. &.active {
  130. color: #FFF;
  131. text-decoration: none;
  132. background-color: #EE7800;
  133. }
  134. }
  135. }
  136. .item-card-member {
  137. .item-card-img-member {
  138. position: relative;
  139. width: 100%;
  140. height: 280px;
  141. background-size: cover;
  142. background-position: center center;
  143. background-repeat: no-repeat;
  144. }
  145. .item-card-text {
  146. font-weight: bold;
  147. font-family:$main-font-family;
  148. p {
  149. display: -webkit-box;
  150. -webkit-box-orient: vertical;
  151. -moz-box-orient:vertical;
  152. box-orient:vertical;
  153. height: calc(16px * 3 *1.4);
  154. }
  155. }
  156. .item-card-media-member{
  157. left: 32%;
  158. }
  159. }
  160. .item-card-member-none {
  161. font-family:$main-font-family;
  162. }
  163. .item-card-member-footer {
  164. font-family:$main-font-family;
  165. }
  166. }
  167. // Modal--編輯
  168. .form-group{
  169. margin-bottom: 0;
  170. }
  171. .member-modal-button-wrapper{
  172. .member-modal-button{
  173. width: 45%;
  174. color: #FFF;
  175. background-color: #D1D2D3;
  176. border-radius: 0;
  177. padding: .8rem .5rem;
  178. &:hover, &.active{
  179. color: #FFF;
  180. background-color: #EE7800;
  181. }
  182. }
  183. }
  184. //sweetalert 視窗
  185. .swal2-title{
  186. color: #EE7800 !important;
  187. font-weight: bold !important;
  188. font-size: 1.5rem !important;
  189. }
  190. .swal2-styled.swal2-confirm{
  191. background-color: #EE7800 !important;
  192. }