index.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. /* 禁止文本内容被鼠标选中变蓝 */
  2. * {
  3. padding: 0;
  4. margin: 0;
  5. -o-user-select: none;
  6. -moz-user-select: none;
  7. /*火狐 firefox*/
  8. -webkit-user-select: none;
  9. /*webkit浏览器*/
  10. -ms-user-select: none;
  11. /*IE10+*/
  12. -khtml-user-select: none;
  13. /*早期的浏览器*/
  14. user-select: none;
  15. /* */
  16. box-sizing: border-box;
  17. }
  18. body,img{
  19. padding: 0;
  20. margin: 0;
  21. overflow: hidden;
  22. }
  23. ul,li {
  24. list-style: none;
  25. }
  26. .hover:hover{
  27. cursor: pointer;
  28. }
  29. /* Flex 布局 */
  30. /* 平行 */
  31. .row,
  32. .column {
  33. display: flex;
  34. flex-direction: row;
  35. }
  36. /* 垂直 */
  37. .column {
  38. flex-direction: column;
  39. }
  40. /* 自动填充 */
  41. .col-w,
  42. .col-h {
  43. flex: 1;
  44. }
  45. /* 横向 */
  46. .col-w {
  47. width: 0;
  48. }
  49. /* 纵向 */
  50. .col-h {
  51. height: 0;
  52. }
  53. /* 水平垂直居中 */
  54. .center {
  55. justify-content: center;
  56. align-items: center;
  57. }
  58. /* 垂直居中 */
  59. .item-center {
  60. align-items: center;
  61. }
  62. /* 水平居中 */
  63. .vertical-center {
  64. justify-content: center;
  65. }
  66. /* 上对齐 */
  67. .topAlignment {
  68. align-items: flex-start;
  69. }
  70. /* 右对齐 */
  71. .rightAlignment {
  72. justify-content: flex-end;
  73. }
  74. /* 下对齐 */
  75. .bottomAlignment {
  76. align-items: flex-end;
  77. }
  78. /* 左右对齐,项目之间的间隔都相等 */
  79. .allAlignment {
  80. justify-content: space-between;
  81. }
  82. /* 每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍 */
  83. .average {
  84. justify-content: space-around;
  85. }
  86. /* 项目的第一行文字的基线对齐 */
  87. .items-baseline {
  88. align-items: baseline;
  89. }
  90. /*自动换行*/
  91. .wrap {
  92. flex-wrap: wrap;
  93. }
  94. /* 省略号 */
  95. .ellipsis {
  96. overflow: hidden;
  97. text-overflow: ellipsis;
  98. white-space: nowrap;
  99. }
  100. /* 版心 */
  101. .middle {
  102. width: 16rem;
  103. height: 100%;
  104. margin: 0 auto;
  105. }
  106. /* 三角 */
  107. .triangle {
  108. position: relative;
  109. }
  110. .triangle::after {
  111. position: absolute;
  112. content: '';
  113. display: inline-block;
  114. width: 0;
  115. height: 0;
  116. border-style: solid;
  117. border-right-color: transparent;
  118. border-bottom-color: transparent;
  119. }
  120. /* 兼容版滚动条 */
  121. .scroll::-webkit-scrollbar {
  122. border: .02rem solid #FFF;
  123. }
  124. .scroll::-webkit-scrollbar {
  125. width: 2px;
  126. height: .04rem;
  127. background: #fff;
  128. }
  129. .scroll::-webkit-scrollbar-button {
  130. width: 0px;
  131. height: 0px;
  132. }
  133. .scroll::-webkit-scrollbar-thumb {
  134. border-radius: .1rem;
  135. box-shadow: inset 0 0 0 .04rem #aaa;
  136. border: .02rem solid transparent;
  137. background: rgb(199, 196, 196);
  138. }
  139. .scroll::-webkit-scrollbar-track {
  140. display: block;
  141. background: rgba(0, 0, 0, 0.1);
  142. }
  143. body {
  144. margin: 0;
  145. padding: 0;
  146. }
  147. /* 取消苹果的safari浏览器下点击出现高亮效果 */
  148. * {
  149. -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
  150. }
  151. /* 里面用load 外面用loading*/
  152. .loading {
  153. position: fixed;
  154. z-index: 999;
  155. width: 100%;
  156. }
  157. .load,
  158. .load .loading {
  159. position: relative;
  160. width: 100%;
  161. height: 100%;
  162. }
  163. /* 赔率增高 */
  164. .rising {
  165. background: Lightgreen !important;
  166. color: #fff !important;
  167. border-color: Lightgreen !important;
  168. }
  169. /* 赔率变低 */
  170. .falling {
  171. background: #F76649 !important;
  172. color: #fff !important;
  173. border-color: #F76649 !important;
  174. }
  175. /*投注选择样式*/
  176. .chooseStyle{
  177. /* border-radius: 2px; */
  178. background: #f76649;
  179. color: #fff;
  180. }
  181. .allAlignment .el-button{
  182. line-height: 0 !important;
  183. border:none !important;
  184. padding: 0 !important;
  185. font-size: 14px !important;
  186. font-weight: 400!important;
  187. }
  188. #sessionHistory .el-icon-search {
  189. margin-left: 10px !important;
  190. }