You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.3 KiB
79 lines
1.3 KiB
/* Styles for top-level component */
|
|
.top-level-component .game-boards-container {
|
|
display: flex;
|
|
}
|
|
|
|
.top-level-component .game-boards-container .game-board {
|
|
margin-right: 50px;
|
|
}
|
|
|
|
.game-board-component .grid-container .grid-row {
|
|
display: flex;
|
|
}
|
|
|
|
.game-board-component .grid-container .grid-row .label {
|
|
margin-right: 5px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.shipBtn{
|
|
background-color: #327da8;
|
|
color: white;
|
|
padding: 5px 12px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Styles for the various grid cell states. */
|
|
|
|
.game-board-cell-component {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 1px solid grey;
|
|
}
|
|
|
|
.game-board-cell-component.available {
|
|
background: #327da8;
|
|
}
|
|
|
|
.game-board-cell-component.available:hover {
|
|
background: #3261a8;
|
|
}
|
|
|
|
.game-board-cell-component.disabled {
|
|
background: #cccccc;
|
|
}
|
|
|
|
.game-board-cell-component.disabled:hover {
|
|
background: #bbbbbb;
|
|
}
|
|
|
|
.game-board-cell-component.ship {
|
|
background: #414141;
|
|
}
|
|
|
|
.game-board-cell-component.damaged {
|
|
background: #dd0000;
|
|
}
|
|
|
|
.game-board-cell-component.sunk {
|
|
background: #000000;
|
|
}
|
|
|
|
.game-board-cell-component.missed {
|
|
background: #ffbbbb;
|
|
}
|
|
|
|
.column_labels {
|
|
display: flex;
|
|
margin-top: 5px;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.column_labels .label {
|
|
width: 42px;
|
|
text-align: center;
|
|
}
|