corda-checkers/webapp/src/container/Games.css
2023-11-16 11:49:12 +01:00

181 lines
3.1 KiB
CSS

.Games {
width: 100%;
float: left;
}
.Games .left-side {
float: left;
width: 45%;
/* max-width: 400px; */
/* height: 100px; */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.Games .right-side {
float: left;
width: 55%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.ViewSelector {
text-align: center;
margin-bottom: 10px;
background-color: lightgrey;
width: 100%;
padding-top: 8px;
padding-bottom: 8px;
color: black;
}
.ViewSelector a {
color: black;
text-decoration: none;
transition: .25s ease;
margin-left: 5px;
margin-right: 5px;
}
.ViewSelector .active {
color: white;
border-radius: 2px;
background-color: cadetblue;
opacity: 80%;
padding-top: 8px;
padding-bottom: 8px;
}
.ViewSelector a:hover:not(.active) {
color: cadetblue;
box-shadow: 0 1.5px 0 0 currentColor;
}
.ViewSelector .Counter {
background-color:#FF3A19;;
margin-right: 1px;
font-size: 60%;
vertical-align: 7px;
}
.ViewProvider {
display: flex;
flex-flow: column;
height: 340px;
justify-content: center;
align-items: center;
}
.ActionPanel {
text-align: center;
margin-bottom: 10px;
height: 34.5px;
/* background-color: lightgrey; */
width: 100%;
/* padding-top: 8px;
padding-bottom: 8px; */
color: black;
padding-left: -10px;
/* */
margin-left: 10px;
border: 0.5px dotted lightslategray;
}
.ActionPanel button {
width:fit-content;
padding: 6px;
padding-left: 15px;
padding-right: 15px;
border-radius: 5px;
border: 0.5px solid darkgrey;
margin: 2px;
}
.ActionPanel .Create.ready {
background-color:#00b0ff30;
}
.ActionPanel .Create.ready:hover {
background-color:#00b0ffa0;
}
.ActionPanel .Create.ready:active {
background-color:#00b0fff0;
}
.ActionPanel .Cancel.ready,
.ActionPanel .Reject.ready,
.ActionPanel .Surrender.ready
{
background-color:#ffaaaa60
}
.ActionPanel .Cancel.ready:hover,
.ActionPanel .Reject.ready:hover,
.ActionPanel .Surrender.ready:hover
{
background-color:#ff000060
}
.ActionPanel .Cancel.ready:active,
.ActionPanel .Reject.ready:active,
.ActionPanel .Surrender.ready:active
{
background-color:#ff0000a0
}
.ActionPanel .Accept.ready {
background-color: #00af0018;
}
.ActionPanel .Accept.ready:hover {
background-color:#00af0060;
}
.ActionPanel .Accept.ready:active {
background-color:#00af00a0;
}
/*
* Draw
*/
.ActionPanel .Draw.ready,
.ActionPanel .Draw.accept,
.ActionPanel .Draw.reject {
background-color: #ffff0018;
}
.ActionPanel .Draw.ready:hover {
background-color:#ffff0040;
}
.ActionPanel .Draw.ready:active {
background-color:#ffff00a0;
}
.ActionPanel .Draw.accept:hover {
background-color:#a4ff4a50;
}
.ActionPanel .Draw.accept:active {
background-color:#10ff0080;
}
.ActionPanel .Draw.reject:hover {
background-color:#ffaaaa60;
}
.ActionPanel .Draw.reject:active {
background-color:#ff000090;
}