testingCss.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. body{
  2. /* background-color: transparent; */
  3. position: relative;
  4. margin: 0;
  5. font-family: 'Harmony SC';
  6. min-height: 100px;
  7. min-width: 500px;
  8. background-color: whitesmoke;
  9. }
  10. form
  11. {
  12. border-radius: 10px;
  13. /* position: relative; */
  14. width: 100%;
  15. min-height: 100px;
  16. min-width: 500px;
  17. }
  18. form>div.Store
  19. {
  20. position: relative;
  21. margin-top: 10px;
  22. margin-left: 15px;
  23. margin-right: 15px;
  24. border-radius: 10px;
  25. background-color: white;
  26. font-size: 16px;
  27. overflow: hidden;
  28. }
  29. /* div#Cartlist>div.Store:last-child
  30. {
  31. margin-bottom: 0;
  32. } */
  33. form>div.Store>*{
  34. border-bottom: 1px solid gainsboro;
  35. }
  36. form>div.Store>*:last-child{
  37. border-bottom: 0;
  38. }
  39. form>div.Store>a#lable
  40. {
  41. height: 48px;
  42. line-height: 48px;
  43. display: flex;
  44. justify-items: center;
  45. overflow: hidden;
  46. background-color: transparent;
  47. }
  48. form>div.Store>a#lable>input
  49. {
  50. height: 24px;
  51. width: 24px;
  52. margin: 12px;
  53. margin-left: calc(1ch + 12px);
  54. }
  55. form>div.Store>a#lable>div#StoreIcon
  56. {
  57. height: 40px;
  58. width: 40px;
  59. margin: 4px;
  60. margin-left: calc(1ch + 4px);
  61. text-align: center;
  62. }
  63. form>div.Store>a#lable>div#StoreIcon>img
  64. {
  65. max-width: 100%;
  66. max-height: 100%;
  67. }
  68. form>div.Store>a#lable>h3
  69. {
  70. margin: 0;
  71. }
  72. form>div.Store>div.goods{
  73. height: 96px;
  74. display: flex;
  75. justify-items: center;
  76. overflow: hidden;
  77. background-color:transparent;
  78. }
  79. form>div.Store>div.goods>input{
  80. height: 24px;
  81. min-width: 24px;
  82. margin: 36px;
  83. margin-left: calc(1ch + 12px);
  84. margin-right: calc(1ch + 12px);
  85. }
  86. form>div.Store>div.goods>div#GoodsIcon
  87. {
  88. height: 88px;
  89. min-width: 88px;
  90. margin: 4px;
  91. margin-left: calc(1ch + 4px);
  92. text-align: center;
  93. }
  94. form>div.Store>div.goods>div#GoodsIcon>img
  95. {
  96. max-width: 100%;
  97. max-height: 100%;
  98. }
  99. form>div.Store>div.goods>div#exp
  100. {
  101. position: relative;
  102. margin: 8px;
  103. height: 80px;
  104. width: 100%;
  105. }
  106. form>div.Store>div.goods>div#exp>*
  107. {
  108. width: 100%;
  109. margin: 0;
  110. }
  111. form>div.Store>div.goods>div#exp>div#count
  112. {
  113. position: absolute;
  114. width: 25%;
  115. min-width: 16ch;
  116. height: 24px;
  117. border-radius: 10px;
  118. border: 1px solid gray;
  119. margin: 0;
  120. bottom: 0;
  121. right: 0;
  122. display: flex;
  123. overflow: hidden;
  124. }
  125. form>div.Store>div.goods>div#exp>div#count>*{
  126. width: 100%;
  127. height: 100%;
  128. margin: 0;
  129. padding: 0;
  130. border: 0;
  131. outline: 1px solid gray;
  132. text-align: center;
  133. background-color: white;
  134. user-select: none;
  135. }
  136. form>div.Store>div.goods>div#exp>div#count>*:hover
  137. {
  138. background-color: gainsboro;
  139. }
  140. form>div.Store>div.goods>div#exp>div#count>*:active
  141. {
  142. background-color: gray;
  143. }
  144. form>div#BottomBar
  145. {
  146. position: fixed;
  147. right: 0;
  148. bottom: 0;
  149. width: 100%;
  150. }
  151. @font-face
  152. {
  153. font-family: 'Harmony SC';
  154. src: url(../font/HarmonyOS_Sans_SC_Medium.ttf);
  155. }