Advertisement
Guest User

Untitled

a guest
Dec 18th, 2017
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.73 KB | None | 0 0
  1. .game-history {
  2.     font-family: 'Open Sans';
  3.     font-size: 12px;
  4.     font-size: .75em;
  5.     position: fixed;
  6.     top: 0;
  7.     left: 0;
  8.     z-index: 3;
  9.     height: 100%;
  10.     width: 100%;
  11.     background: #f2f2f2;
  12.     color: rgba(0, 0, 0, .8);
  13.     overflow: auto;
  14.     -webkit-overflow-scrolling: touch;
  15.     padding: 10px;
  16.     box-sizing: border-box;
  17.     &.ng-enter {
  18.         -webkit-animation: gameHistoryFadeIn 0.4s;
  19.         animation: gameHistoryFadeIn 0.4s;
  20.     }
  21.     &.ng-leave {
  22.         -webkit-animation: gameHistoryFadeOut 0.4s;
  23.         animation: gameHistoryFadeOut 0.4s;
  24.     }
  25.     >header {
  26.         display: -webkit-box;
  27.         display: -webkit-flex;
  28.         display: -ms-flexbox;
  29.         display: flex;
  30.         -webkit-box-align: center;
  31.         -webkit-align-items: center;
  32.         -ms-flex-align: center;
  33.         align-items: center;
  34.         -webkit-box-pack: justify;
  35.         -webkit-justify-content: space-between;
  36.         -ms-flex-pack: justify;
  37.         justify-content: space-between;
  38.         position: fixed;
  39.         background: #ffc600;
  40.         top: 0;
  41.         left: 0;
  42.         right: 0;
  43.         border-bottom: 1px solid rgba(0, 0, 0, .7);
  44.         padding: 10px;
  45.         z-index: 9999999;
  46.         height: 20px;
  47.         width: 100%;
  48.         h1 {
  49.             font-weight: 700;
  50.             margin: 0;
  51.             font-size: 16px;
  52.         }
  53.         button {
  54.             position: fixed;
  55.             right: 10px;
  56.             top: 10px;
  57.             background: rgba(128, 128, 128, 0.25);
  58.             border-radius: 2px;
  59.             padding: 0;
  60.             width: 20px;
  61.             height: 20px;
  62.             line-height: 20px;
  63.         }
  64.         .fa-history,
  65.         .fa-ticket {
  66.             margin-right: 5px;
  67.         }
  68.     }
  69.     >#historyList,
  70.     #game-history-bets {
  71.         -webkit-box-flex: 1;
  72.         -webkit-flex: 1 1 auto;
  73.         -ms-flex: 1 1 auto;
  74.         flex: 1 1 auto;
  75.         overflow: hidden;
  76.         overflow-y: auto;
  77.         table {
  78.             font-size: 12px;
  79.             border-collapse: collapse;
  80.             width: 100%;
  81.             margin-top: 40px;
  82.             margin-bottom: 50px;
  83.         }
  84.         th,
  85.         td {
  86.             padding: 8px;
  87.             text-align: left;
  88.             border-bottom: 1px solid #ddd;
  89.         }
  90.         th {
  91.             font-weight: 700;
  92.         }
  93.         td {
  94.             &.win, &.win * {
  95.                 font-weight: 600;
  96.                 color: #c79b00;
  97.             }
  98.             span.win {
  99.                 font-weight: 600;
  100.                 color: #c79b00;
  101.             }
  102.             >span.betIndicator {
  103.                 background: #87de4a;
  104.                 border-radius: 50%;
  105.                 width: 20px;
  106.                 height: 20px;
  107.                 line-height: 20px;
  108.                 display: inline-block;
  109.                 text-align: center;
  110.                 color: white;
  111.             }
  112.         }
  113.         p {
  114.             margin: 0;
  115.         }
  116.         .fa {
  117.             margin-right: 10px;
  118.         }
  119.         .tableDate {
  120.             font-size: 10px;
  121.             color: rgba(0, 0, 0, .25);
  122.             margin: 2px 0;
  123.         }
  124.         .i-b {
  125.             display: inline-block;
  126.         }
  127.     }
  128.     >#historyList {
  129.         tr:nth-child(even)  {
  130.             background-color: #eaeaea;
  131.         }
  132.     }
  133.     >#game-history-bets {
  134.         margin-top: 40px;
  135.         padding-bottom: 50px;
  136.         &.ng-enter {
  137.         -webkit-animation: gameHistoryFadeIn 0.4s;
  138.         animation: gameHistoryFadeIn 0.4s;
  139.         }
  140.         &.ng-leave {
  141.             -webkit-animation: gameHistoryFadeOut 0.4s;
  142.             animation: gameHistoryFadeOut 0.4s;
  143.         }
  144.         table {
  145.             margin: 15px 0;
  146.             .selection {
  147.                 display: inline-block;
  148.                 float: left;
  149.                 background: rgba(255, 255, 255, 0.5);
  150.                 border-radius: 12px;
  151.                 padding: 10px;
  152.                 margin-right: 10px;
  153.                 border: 1px solid rgba(0,0,0,0.4);
  154.                 font-weight: 900;
  155.                 color: rgba(0, 0, 0, 0.4);
  156.             }
  157.         }
  158.         >.ghBlock {
  159.             width: 100%;
  160.             margin: 10px auto;
  161.             overflow: hidden;
  162.             display: flex;
  163.             >p {
  164.                 display: inline-block;
  165.                 flex: 33.3%;
  166.                 > .indicatorBackground {
  167.                     background: transparent;
  168.                     border: 1px solid rgba(0,0,0, .7);
  169.                     color: rgba(0,0,0, .7);
  170.                     border-radius: 50%;
  171.                     display: inline-block;
  172.                     text-align: center;
  173.                     width: 25px;
  174.                     height: 25px;
  175.                     line-height: 25px;
  176.                     margin: 0 5px;
  177.                     > i {
  178.                         margin: 0;
  179.                         color: rgba(0, 0, 0, 0.7);
  180.                     }
  181.                 }
  182.                 > .info {
  183.                     width: calc(100% - 37px);
  184.                     float: right;
  185.                 }
  186.             }
  187.         }
  188.         > .diceContainer {
  189.             padding: 10px 0;
  190.             text-align: center;
  191.             line-height: 1;
  192.         }
  193.         .dice-static {
  194.             display: inline-block;
  195.             height: 9vw;
  196.             width: 9vw;
  197.             background-size: 100% 100%;
  198.             margin: 0 3px;
  199.             &._1 {
  200.                 background-image: url("../img/dice/1.png");
  201.             }
  202.             &._2 {
  203.                 background-image: url("../img/dice/2.png");
  204.             }
  205.             &._3 {
  206.                 background-image: url("../img/dice/3.png");
  207.             }
  208.             &._4 {
  209.                 background-image: url("../img/dice/4.png");
  210.             }
  211.             &._5 {
  212.                 background-image: url("../img/dice/5.png");
  213.             }
  214.             &._6 {
  215.                 background-image: url("../img/dice/6.png");
  216.             }
  217.         }
  218.         @media only screen and (-webkit-min-device-pixel-ratio: 2) {
  219.             .dice-static {
  220.                 &._1 {
  221.                     background-image: url(../img/dice/1@2X.png);
  222.                 }
  223.                 &._2 {
  224.                     background-image: url(../img/dice/2@2X.png);
  225.                 }
  226.                 &._3 {
  227.                     background-image: url(../img/dice/3@2X.png);
  228.                 }
  229.                 &._4 {
  230.                     background-image: url(../img/dice/4@2X.png);
  231.                 }
  232.                 &._5 {
  233.                     background-image: url(../img/dice/5@2X.png);
  234.                 }
  235.                 &._6 {
  236.                     background-image: url(../img/dice/6@2X.png);
  237.                 }
  238.             }
  239.         }
  240.     }
  241. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement