2 * Copyright (c) 2012, Intel Corporation.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 /* -------------------------------- global ----------------------------- */
14 -webkit-user-select: none;
15 background-color: "white";
16 box-shadow: 5px 5px 20px black;
19 -webkit-transform: translate(-50%, -50%);
23 -webkit-box-align: center;
24 -webkit-box-pack: center;
25 -webkit-box-orient: vertical;
30 background-position: left top;
40 @media (orientation: landscape) {
41 body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) scale(0.78125, 0.8); }
44 @media (min-width: 1024px) and (min-height: 600px) and (orientation: landscape) {
45 body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); }
48 @media (min-width: 1280px) and (min-height: 720px) and (orientation: landscape) {
49 body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) scale(1.25, 1.199); }
53 @media (orientation: portrait) {
54 body { top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(0.8, 0.78125); }
57 @media (min-width: 600px) and (min-height: 989px) and (orientation: portrait) {
58 body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(0.9658, 1.0) translate(50%, -50%); }
61 @media (min-width: 600px) and (min-height: 1024px) and (orientation: portrait) {
62 body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) translate(50%, -50%); }
65 @media (min-width: 720px) and (min-height: 1230px) and (orientation: portrait) {
66 body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(1.2, 1.199) translate(50%, -50%); }
69 @media (min-width: 720px) and (min-height: 1280px) and (orientation: portrait) {
70 body { top: 0%; left: 0%; -webkit-transform: translate(-50%, -50%) rotate(90deg) scale(1.25, 1.199) translate(50%, -50%); }
78 background-color: transparent;
79 font-family: 'Yellowtail';
96 /* -------------------------------- intro page ----------------------------- */
99 background:url(../images/Home-background.png) no-repeat;
105 @-webkit-keyframes intro_candyblue_anim {
118 background:url(../images/3Dcandy-blue.png) no-repeat;
119 -webkit-animation: intro_candyblue_anim 0.4s ease-out 0s 1;
122 @-webkit-keyframes intro_candygreen_anim {
134 background:url(../images/3Dcandy-green.png) no-repeat;
135 -webkit-animation: intro_candygreen_anim 0.3s ease-out 0s 1;
138 @-webkit-keyframes intro_candyred_anim {
151 background:url(../images/3Dcandy-red.png) no-repeat;
152 -webkit-animation: intro_candyred_anim 0.5s ease-out 0s 1;
155 @-webkit-keyframes intro_candyorange_anim {
168 background:url(../images/3Dcandy-orange.png) no-repeat;
169 -webkit-animation: intro_candyorange_anim 0.6s ease-out 0s 1;
180 font-family: 'Yellowtail';
186 /* -------------------------------- player page ----------------------------- */
189 background:url(../images/PlayerNamesandColor-background.png) no-repeat;
195 #player_player1_static {
202 font-family: 'Yellowtail';
206 text-shadow: -2px -2px 0px #fff;
221 #player_player2_static {
228 font-family: 'Yellowtail';
232 text-shadow: -2px -2px 0px #fff;
256 #player_text_chooseyour {
263 font-family: 'Yellowtail';
267 text-shadow: -2px -2px 0px #fff;
277 font-family: 'Yellowtail';
281 text-shadow: -2px -2px 0px #fff;
285 background:url(../images/Ribbon-red.png) no-repeat;
286 background-position: center;
289 #player_player1green {
299 background:url(../images/Ribbon-green.png) no-repeat;
300 background-position: center;
303 #player_player1blue {
313 background:url(../images/Ribbon-blue.png) no-repeat;
314 background-position: center;
317 #player_player1orange {
327 background:url(../images/Ribbon-orange.png) no-repeat;
328 background-position: center;
340 #player_player2green {
349 #player_player2blue {
358 #player_player2orange {
372 background:url(../images/Candy-ColorSelect-red.png) no-repeat;
380 background:url(../images/Candy-ColorSelect-blue.png) no-repeat;
388 background:url(../images/Candy-ColorSelect-green.png) no-repeat;
396 background:url(../images/Candy-ColorSelect-orange.png) no-repeat;
407 font-family: 'Yellowtail';
412 /* -------------------------------- type page ----------------------------- */
415 background:url(../images/ChooseGame-background.png) no-repeat;
437 font-family: 'Yellowtail';
441 text-shadow: -2px -2px 0px #fff;
453 #type_bestofthree_text {
460 font-family: 'Yellowtail';
464 text-shadow: -2px -2px 0px #fff;
476 #type_bestoffive_text {
483 font-family: 'Yellowtail';
487 text-shadow: -2px -2px 0px #fff;
491 background:url(../images/TriangleSelector-down.png) no-repeat;
492 background-position: center top;
503 font-family: 'Yellowtail';
508 /* -------------------------------- game page ----------------------------- */
511 background:url(../images/GameBoard-background.png) no-repeat;
517 #game_player1marquee {
525 .game_player1blue { background:url(../images/RibbonCandies-left-blue.png) no-repeat; }
526 .game_player1green { background:url(../images/RibbonCandies-left-green.png) no-repeat; }
527 .game_player1red { background:url(../images/RibbonCandies-left-red.png) no-repeat; }
528 .game_player1orange { background:url(../images/RibbonCandies-left-orange.png) no-repeat; }
536 font-family: 'Yellowtail';
542 #game_player2marquee {
550 .game_player2blue { background:url(../images/RibbonCandies-right-blue.png) no-repeat; }
551 .game_player2green { background:url(../images/RibbonCandies-right-green.png) no-repeat; }
552 .game_player2red { background:url(../images/RibbonCandies-right-red.png) no-repeat; }
553 .game_player2orange { background:url(../images/RibbonCandies-right-orange.png) no-repeat; }
561 font-family: 'Yellowtail';
567 #game_player1active {
573 background:url(../images/TriangleSelector-left.png) no-repeat;
576 #game_player2active {
582 background:url(../images/TriangleSelector-right.png) no-repeat;
648 #game_column_selector {
653 background:url(../images/ColumnSelector.png) no-repeat;
656 .game_selcol0 { left: 256px; }
657 .game_selcol1 { left: 329px; }
658 .game_selcol2 { left: 402px; }
659 .game_selcol3 { left: 475px; }
660 .game_selcol4 { left: 548px; }
661 .game_selcol5 { left: 621px; }
662 .game_selcol6 { left: 694px; }
664 #game_column_selector_candy {
669 .game_col0 { left: 261px; }
670 .game_col1 { left: 334px; }
671 .game_col2 { left: 407px; }
672 .game_col3 { left: 480px; }
673 .game_col4 { left: 553px; }
674 .game_col5 { left: 626px; }
675 .game_col6 { left: 699px; }
677 @-webkit-keyframes candy_row0_anim {0% { top:28px; } 100% { top:490px; }}
678 @-webkit-keyframes candy_row1_anim {0% { top:28px; } 100% { top:416px; }}
679 @-webkit-keyframes candy_row2_anim {0% { top:28px; } 100% { top:342px; }}
680 @-webkit-keyframes candy_row3_anim {0% { top:28px; } 100% { top:268px; }}
681 @-webkit-keyframes candy_row4_anim {0% { top:28px; } 100% { top:194px; }}
682 @-webkit-keyframes candy_row5_anim {0% { top:28px; } 100% { top:120px; }}
684 .game_row0 { top: 490px; -webkit-animation: candy_row0_anim 0.6s ease-in 0s 1; }
685 .game_row1 { top: 416px; -webkit-animation: candy_row1_anim 0.6s ease-in 0s 1; }
686 .game_row2 { top: 342px; -webkit-animation: candy_row2_anim 0.6s ease-in 0s 1; }
687 .game_row3 { top: 268px; -webkit-animation: candy_row3_anim 0.6s ease-in 0s 1; }
688 .game_row4 { top: 194px; -webkit-animation: candy_row4_anim 0.6s ease-in 0s 1; }
689 .game_row5 { top: 120px; -webkit-animation: candy_row5_anim 0.6s ease-in 0s 1; }
691 @-webkit-keyframes piece_win_anim {
692 0% { -webkit-transform:scale(1); }
693 50% { -webkit-transform:scale(1.2); }
694 100% { -webkit-transform:scale(1); }
697 .game_piece_win1 { -webkit-animation: piece_win_anim 0.6s linear 0s 1;}
698 .game_piece_win2 { -webkit-animation: piece_win_anim 0.6s linear 0.1s 1;}
699 .game_piece_win3 { -webkit-animation: piece_win_anim 0.6s linear 0.2s 1;}
700 .game_piece_win4 { -webkit-animation: piece_win_anim 0.6s linear 0.3s 1;}
706 background:url(../images/Candy-Game-Blue.png) no-repeat;
707 background-position: center;
714 background:url(../images/Candy-Game-Green.png) no-repeat;
715 background-position: center;
722 background:url(../images/Candy-Game-Red.png) no-repeat;
723 background-position: center;
730 background:url(../images/Candy-Game-orange.png) no-repeat;
731 background-position: center;
775 background-color: gray;
784 background:url(../images/GameOver-banner.png) no-repeat;
785 background-position: center;
787 font-family: 'Yellowtail';
801 font-family: 'Yellowtail';
815 font-family: 'Yellowtail';
830 /* -------------------------------- win page ----------------------------- */
833 background:url(../images/Winner-background.png) no-repeat;
846 font-family: 'Yellowtail';
852 .win_banner_blue { background:url(../images/Winner-Banner-blue.png) no-repeat;}
853 .win_banner_green { background:url(../images/Winner-Banner-green.png) no-repeat;}
854 .win_banner_red { background:url(../images/Winner-Banner-red.png) no-repeat;}
855 .win_banner_orange { background:url(../images/Winner-Banner-orange.png) no-repeat;}
864 font-family: 'Yellowtail';
869 .win_playername_blue { color: #25aae1;}
870 .win_playername_green { color: #a0c83a;}
871 .win_playername_red { color: #ef4036;}
872 .win_playername_orange { color: #f58a1f;}
882 #win_playagain_text {
890 font-family: 'Yellowtail';
896 .win_playagain_blue { background:url(../images/Ribbon-blue-left.png) no-repeat;}
897 .win_playagain_green { background:url(../images/Ribbon-green-left.png) no-repeat;}
898 .win_playagain_orange { background:url(../images/Ribbon-orange-left.png) no-repeat;}
899 .win_playagain_red { background:url(../images/Ribbon-red-left.png) no-repeat;}
909 #win_startover_text {
917 font-family: 'Yellowtail';
923 .win_startover_blue { background:url(../images/Ribbon-blue-right.png) no-repeat;}
924 .win_startover_green { background:url(../images/Ribbon-green-right.png) no-repeat;}
925 .win_startover_red { background:url(../images/Ribbon-red-right.png) no-repeat;}
926 .win_startover_orange { background:url(../images/Ribbon-orange-right.png) no-repeat;}
928 /* -------------------------------- fonts ----------------------------- */
931 font-family: 'Yellowtail';
932 src: url('../fonts/Yellowtail-Regular.ttf');
937 src: url('../fonts/Lato-Black.ttf');