Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .game-history {
- font-family: 'Open Sans';
- font-size: 12px;
- font-size: .75em;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 3;
- height: 100%;
- width: 100%;
- background: #f2f2f2;
- color: rgba(0, 0, 0, .8);
- overflow: auto;
- -webkit-overflow-scrolling: touch;
- padding: 10px;
- box-sizing: border-box;
- &.ng-enter {
- -webkit-animation: gameHistoryFadeIn 0.4s;
- animation: gameHistoryFadeIn 0.4s;
- }
- &.ng-leave {
- -webkit-animation: gameHistoryFadeOut 0.4s;
- animation: gameHistoryFadeOut 0.4s;
- }
- >header {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- position: fixed;
- background: #ffc600;
- top: 0;
- left: 0;
- right: 0;
- border-bottom: 1px solid rgba(0, 0, 0, .7);
- padding: 10px;
- z-index: 9999999;
- height: 20px;
- width: 100%;
- h1 {
- font-weight: 700;
- margin: 0;
- font-size: 16px;
- }
- button {
- position: fixed;
- right: 10px;
- top: 10px;
- background: rgba(128, 128, 128, 0.25);
- border-radius: 2px;
- padding: 0;
- width: 20px;
- height: 20px;
- line-height: 20px;
- }
- .fa-history,
- .fa-ticket {
- margin-right: 5px;
- }
- }
- >#historyList,
- #game-history-bets {
- -webkit-box-flex: 1;
- -webkit-flex: 1 1 auto;
- -ms-flex: 1 1 auto;
- flex: 1 1 auto;
- overflow: hidden;
- overflow-y: auto;
- table {
- font-size: 12px;
- border-collapse: collapse;
- width: 100%;
- margin-top: 40px;
- margin-bottom: 50px;
- }
- th,
- td {
- padding: 8px;
- text-align: left;
- border-bottom: 1px solid #ddd;
- }
- th {
- font-weight: 700;
- }
- td {
- &.win, &.win * {
- font-weight: 600;
- color: #c79b00;
- }
- span.win {
- font-weight: 600;
- color: #c79b00;
- }
- >span.betIndicator {
- background: #87de4a;
- border-radius: 50%;
- width: 20px;
- height: 20px;
- line-height: 20px;
- display: inline-block;
- text-align: center;
- color: white;
- }
- }
- p {
- margin: 0;
- }
- .fa {
- margin-right: 10px;
- }
- .tableDate {
- font-size: 10px;
- color: rgba(0, 0, 0, .25);
- margin: 2px 0;
- }
- .i-b {
- display: inline-block;
- }
- }
- >#historyList {
- tr:nth-child(even) {
- background-color: #eaeaea;
- }
- }
- >#game-history-bets {
- margin-top: 40px;
- padding-bottom: 50px;
- &.ng-enter {
- -webkit-animation: gameHistoryFadeIn 0.4s;
- animation: gameHistoryFadeIn 0.4s;
- }
- &.ng-leave {
- -webkit-animation: gameHistoryFadeOut 0.4s;
- animation: gameHistoryFadeOut 0.4s;
- }
- table {
- margin: 15px 0;
- .selection {
- display: inline-block;
- float: left;
- background: rgba(255, 255, 255, 0.5);
- border-radius: 12px;
- padding: 10px;
- margin-right: 10px;
- border: 1px solid rgba(0,0,0,0.4);
- font-weight: 900;
- color: rgba(0, 0, 0, 0.4);
- }
- }
- >.ghBlock {
- width: 100%;
- margin: 10px auto;
- overflow: hidden;
- display: flex;
- >p {
- display: inline-block;
- flex: 33.3%;
- > .indicatorBackground {
- background: transparent;
- border: 1px solid rgba(0,0,0, .7);
- color: rgba(0,0,0, .7);
- border-radius: 50%;
- display: inline-block;
- text-align: center;
- width: 25px;
- height: 25px;
- line-height: 25px;
- margin: 0 5px;
- > i {
- margin: 0;
- color: rgba(0, 0, 0, 0.7);
- }
- }
- > .info {
- width: calc(100% - 37px);
- float: right;
- }
- }
- }
- > .diceContainer {
- padding: 10px 0;
- text-align: center;
- line-height: 1;
- }
- .dice-static {
- display: inline-block;
- height: 9vw;
- width: 9vw;
- background-size: 100% 100%;
- margin: 0 3px;
- &._1 {
- background-image: url("../img/dice/1.png");
- }
- &._2 {
- background-image: url("../img/dice/2.png");
- }
- &._3 {
- background-image: url("../img/dice/3.png");
- }
- &._4 {
- background-image: url("../img/dice/4.png");
- }
- &._5 {
- background-image: url("../img/dice/5.png");
- }
- &._6 {
- background-image: url("../img/dice/6.png");
- }
- }
- @media only screen and (-webkit-min-device-pixel-ratio: 2) {
- .dice-static {
- &._1 {
- background-image: url(../img/dice/1@2X.png);
- }
- &._2 {
- background-image: url(../img/dice/2@2X.png);
- }
- &._3 {
- background-image: url(../img/dice/3@2X.png);
- }
- &._4 {
- background-image: url(../img/dice/4@2X.png);
- }
- &._5 {
- background-image: url(../img/dice/5@2X.png);
- }
- &._6 {
- background-image: url(../img/dice/6@2X.png);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement