f2bdbfe31f740c083048decf06372f75a6b378ec.svn-base 2.9 KB

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