Files
jaipur-score/sass/_light.scss

237 lines
4.4 KiB
SCSS

body {
height: 100vh;
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
}
#menu {
display: flex;
flex-direction: row;
justify-content: space-around;
height: 100%;
align-items: center;
a {
max-width: 100%;
text-align: center;
line-height: 6vh;
color: $menu-color;
text-decoration: none;
padding: 1vw;
display: inline-block;
&:hover {
background-color: $menu-background-color-hover;
color: $menu-color-hover;
}
}
}
/* PLAYERS START */
.container {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
height: 100vh;
}
.acceptcontainer {
.accept {
grid-area: acceptcontainer;
visibility: hidden;
border: 2px solid $accept-border;
margin: 1.5vh auto;
max-width: 100%;
height: 5vh;
padding: 0.5vh 0vw;
font-weight: bold;
background-color: $accept-background-color;
cursor: pointer;
line-height: 5vh;
text-align: center;
display: flex;
justify-items: center;
flex-direction: row;
justify-content: space-around;
&.on {
visibility: visible;
}
}
.bonus {
height: 5vh;
width: 5vh;
display: inline-block;
margin: 0;
border-radius: 50%;
border: 1px solid $bonus-coin-border-color;
background: no-repeat $accept-bonus-coin-background-color center center / 60% 60%;
display: none;
@for $i from 3 through 5 {
&.bonus#{$i} {
background-image: url(../bonus#{$i}.svg);
}
}
}
}
.player {
border: 2px solid $player-border-color;
padding: 0.5vh 4vh;
margin: 1.5vh auto;
width: 10vw;
color: #444;
cursor: pointer;
border-radius: 2px;
font-weight: bold;
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
height: 5vh;
width: 10vw;
line-height: 5vh;
text-align: center;
&.selected {
background: $player-selected-background-color;
color: $player-selected-color;
}
.score {
height: 50px;
width: 23px;
display: inline-block;
background-image: none;
background-size: auto auto;
margin: 0 5px;
background-image: url(../maharaja.svg);
background-size: 100%;
background-repeat: no-repeat;
&:first-child {
margin-left: 15px;
}
}
}
/* PLAYERS END */
* {
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
}
/* SCORE TABLE START */
.scoreTable {
width: 90vw;
background: $score-table-background;
content: "";
height: 70vh;
position: absolute;
top: 15vh;
left: 5vw;
box-shadow: 0 0 207px #000000;
border: 3px solid $score-table-border-color;
display: none;
h1 {
text-align: center;
font-size: 10vh;
}
&.visible {
display: block;
}
.score_section {
display: none;
font-size: 35px;
justify-content: space-around;
&.show {
display: flex;
}
}
.bonus_section {
display: none;
justify-content: center;
&.show {
display: flex;
}
}
.players_section, .camel_section {
display: flex;
justify-content: space-around;
font-size: 45px;
}
.camel_section .player1_camel, .camel_section .player2_camel {
background: url('../camel.svg') no-repeat 0 0 / 10vh 10vh;
height: 10vh;
width: 10vh;
cursor: pointer;
opacity: 0.1;
}
.camel_section .nobody {
opacity: 0.1;
}
.camel_section .player1_camel.selected, .camel_section .player2_camel.selected, .camel_section .nobody.selected {
opacity: 1;
}
.player1_bonus {
text-align: right;
margin-right: 3.5vh;
}
.player1_bonus .bonus3, .player1_bonus .bonus4, .player1_bonus .bonus5 {
display: flex;
flex-direction: row-reverse;
}
.bonus_section {
span:first-child {
margin-left: 0;
}
span {
height: 6vh;
width: 6vh;
display: inline-block;
margin-left: -30px;
border-radius: 50%;
border: 1px solid $bonus-coin-border-color;
background: no-repeat #fff center center / 60% 60%;
/*display: none;*/
}
.player1_bonus {
span:first-child {
margin-left: -30px;
}
}
.player2_bonus, .player1_bonus {
width: 50%;
}
.player2_bonus {
margin-left: 3.5vh;
}
@for $i from 3 through 5 {
.bonus#{$i} span {
background-image: url(../bonus#{$i}.svg);
}
}
}
}