| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- /* 禁止文本内容被鼠标选中变蓝 */
- * {
- -o-user-select: none;
- -moz-user-select: none;
- /*火狐 firefox*/
- -webkit-user-select: none;
- /*webkit浏览器*/
- -ms-user-select: none;
- /*IE10+*/
- -khtml-user-select: none;
- /*早期的浏览器*/
- user-select: none;
- }
- /* Flex 布局 */
- /* 平行 */
- .row,
- .column {
- display: flex;
- flex-direction: row;
- }
- /* 垂直 */
- .column {
- flex-direction: column;
- }
- /* 自动填充 */
- .col-w,
- .col-h {
- flex: 1;
- }
- /* 横向 */
- .col-w {
- width: 0;
- }
- /* 纵向 */
- .col-h {
- height: 0;
- }
- /* 水平垂直居中 */
- .center {
- justify-content: center;
- align-items: center;
- }
- /* 垂直居中 */
- .item-center {
- align-items: center;
- }
- /* 水平居中 */
- .vertical-center {
- justify-content: center;
- }
- /* 上对齐 */
- .topAlignment {
- align-items: flex-strat;
- }
- /* 右对齐 */
- .rightAlignment {
- justify-content: flex-end;
- }
- /* 下对齐 */
- .bottomAlignment {
- align-items: flex-end;
- }
- /* 左右对齐,项目之间的间隔都相等 */
- .allAlignment {
- justify-content: space-between;
- }
- /* 每个项目两侧的间隔相等。所以,项目之间的间隔比项目与边框的间隔大一倍 */
- .average {
- justify-content: space-around;
- }
- /* 项目的第一行文字的基线对齐 */
- .items-baseline {
- align-items: baseline;
- }
- /*自动换行*/
- .wrap {
- flex-wrap: wrap;
- }
- /* 省略号 */
- .ellipsis {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- /* 版心 */
- .middle {
- width: 16rem;
- height: 100%;
- margin: 0 auto;
- }
- /* 三角 */
- .triangle {
- position: relative;
- }
- .triangle::after {
- position: absolute;
- content: '';
- display: inline-block;
- width: 0;
- height: 0;
- border-style: solid;
- border-right-color: transparent;
- border-bottom-color: transparent;
- }
- /* 兼容版滚动条 */
- .scroll::-webkit-scrollbar {
- border: .02rem solid #FFF;
- }
- .scroll::-webkit-scrollbar {
- width: .1rem;
- height: .04rem;
- }
- .scroll::-webkit-scrollbar-button {
- width: 0px;
- height: 0px;
- }
- .scroll::-webkit-scrollbar-thumb {
- border-radius: .1rem;
- box-shadow: inset 0 0 0 .04rem #aaa;
- border: .02rem solid transparent;
- }
- .scroll::-webkit-scrollbar-track {
- display: block;
- background: rgba(0, 0, 0, 0.1);
- }
- body {
- margin: 0;
- padding: 0;
- }
- /* 取消苹果的safari浏览器下点击出现高亮效果 */
- * {
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
- }
- /* 里面用load 外面用loading*/
- .loading {
- position: fixed;
- z-index: 999;
- width: 100%;
- }
- .load,
- .load .loading {
- position: relative;
- width: 100%;
- height: 100%;
- }
- /* 赔率增高 */
- .rising {
- background: Lightgreen !important;
- color: #fff !important;
- border-color: Lightgreen !important;
- }
- /* 赔率变低 */
- .falling {
- background: #F76649 !important;
- color: #fff !important;
- border-color: #F76649 !important;
- }
- /*投注选择样式*/
- .chooseStyle{
- /* border-radius: 2px; */
- background: #f76649;
- color: #fff;
- }
|