Vendor app Client: Maiora
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

237 行
3.7 KiB

  1. .widget-heading-holder {
  2. header {
  3. margin-right: 10%;
  4. }
  5. .filter-container {
  6. display: flex;
  7. flex-grow: 1;
  8. @media screen and (max-width: 1023px) {
  9. flex-direction: column-reverse;
  10. }
  11. }
  12. .selector-container {
  13. display: flex;
  14. flex-grow: 1;
  15. .selector {
  16. margin: 0 10px;
  17. flex-grow: 1;
  18. @media screen and (max-width: 1023px) {
  19. margin: 0;
  20. }
  21. }
  22. @media screen and (max-width: 1023px) {
  23. justify-content: space-between;
  24. width: 100%;
  25. margin: 20px 0;
  26. }
  27. }
  28. }
  29. .search-input {
  30. display: flex;
  31. flex-grow: 1;
  32. height: 40px;
  33. border-radius: 20px;
  34. background-color: white;
  35. color: var(--brand-blue);
  36. align-items: center;
  37. justify-content: space-between;
  38. input {
  39. border: 0;
  40. font-size: 12px;
  41. padding-left: 10px;
  42. font-weight: 500;
  43. color: var(--dark-grey);
  44. flex-grow: 1;
  45. letter-spacing: 1px;
  46. &::placeholder {
  47. color: var(--grey);
  48. }
  49. }
  50. button {
  51. border-radius: 50%;
  52. width: 30px;
  53. height: 30px;
  54. color: var(--brand-blue);
  55. font-size: 20px;
  56. border: 1px solid var(--brand-blue);
  57. background-color: white;
  58. transition: background-color 0.3s, color 0.3s;
  59. &:hover {
  60. background-color: var(--brand-blue);
  61. color: white;
  62. }
  63. }
  64. }
  65. .order-table {
  66. width: 100%;
  67. margin: 30px auto;
  68. text-align: left;
  69. table-layout: fixed;
  70. overflow: auto;
  71. @media screen and (max-width: 1023px) {
  72. display: none;
  73. }
  74. th {
  75. color: var(--grey);
  76. font-size: 14px;
  77. font-weight: 500;
  78. padding: 10px 0;
  79. letter-spacing: 1px;
  80. line-height: 2;
  81. vertical-align: top;
  82. text-align: center;
  83. }
  84. td {
  85. border-top: 1px solid rgba(#cecece, 0.5);
  86. padding: 10px 0;
  87. color: var(--dark-grey);
  88. font-size: 14px;
  89. font-weight: 500;
  90. letter-spacing: 1px;
  91. line-height: 2;
  92. vertical-align: top;
  93. text-align: center;
  94. }
  95. .item {
  96. background-color: rgba(#cecece, 0.5);
  97. border-radius: 5px;
  98. display: flex;
  99. align-items: center;
  100. justify-content: flex-start;
  101. margin-bottom: 10px;
  102. padding: 0 10px;
  103. }
  104. tr {
  105. &.cancelled {
  106. td {
  107. text-decoration: line-through;
  108. text-decoration-color: var(--dark-grey);
  109. &:last-child {
  110. text-decoration: none;
  111. }
  112. }
  113. }
  114. }
  115. .status {
  116. &.success {
  117. color: green;
  118. }
  119. &.failed {
  120. color: red;
  121. }
  122. }
  123. .action-buttons {
  124. button {
  125. display: inline-block;
  126. margin-left: 10px;
  127. margin-top: 10px;
  128. &.accept {
  129. background-color: var(--brand-blue);
  130. }
  131. }
  132. }
  133. }
  134. .order-list {
  135. list-style: none;
  136. @media screen and (min-width: 1023px) {
  137. display: none;
  138. }
  139. .card {
  140. width: 90%;
  141. margin: 30px auto;
  142. background-color: white;
  143. border-radius: 10px;
  144. box-shadow: 0px 0px 5px var(--grey);
  145. overflow: hidden;
  146. }
  147. .header {
  148. display: flex;
  149. width: 100%;
  150. justify-content: space-between;
  151. padding: 10px 15px;
  152. border-bottom: 1px solid #efefef;
  153. color: var(--dark-grey);
  154. font-size: 12px;
  155. font-weight: 500;
  156. letter-spacing: 1px;
  157. }
  158. .info {
  159. font-size: 14px;
  160. color: var(--dark-grey);
  161. font-weight: 500;
  162. letter-spacing: 0.5px;
  163. padding: 10px 15px;
  164. }
  165. .order-status-holder {
  166. background-color: #efefef;
  167. padding: 10px 15px;
  168. color: var(--dark-grey);
  169. font-size: 12px;
  170. display: flex;
  171. width: 100%;
  172. font-weight: 500;
  173. justify-content: space-between;
  174. align-items: center;
  175. .status {
  176. &.success {
  177. color: green;
  178. }
  179. &.failed {
  180. color: red;
  181. }
  182. }
  183. .action-buttons {
  184. display: flex;
  185. width: auto;
  186. border-radius: 5px;
  187. overflow: hidden;
  188. button {
  189. padding: 5px 20px;
  190. color: white;
  191. background-color: var(--brand-blue);
  192. border: 0px;
  193. &:nth-child(2) {
  194. background-color: #cecece;
  195. }
  196. }
  197. }
  198. }
  199. }