229 lines
3.4 KiB
CSS
Executable File
229 lines
3.4 KiB
CSS
Executable File
body {
|
|
font-family: 'Droid Sans', 'Arial Narrow', Arial, sans-serif;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#root {
|
|
width: 100vw;
|
|
/* height: 100vh; breaks on mobile -- not needed */
|
|
}
|
|
|
|
.Table {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
bottom: 0;
|
|
flex-direction: row;
|
|
/* background-image: url("./assets/tabletop.png"); */
|
|
}
|
|
|
|
.Table .Dialogs {
|
|
z-index: 10000;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.Table .Dialogs .Dialog {
|
|
display: flex;
|
|
position: absolute;
|
|
flex-shrink: 1;
|
|
flex-direction: column;
|
|
padding: 0.25rem;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
z-index: 60000;
|
|
}
|
|
|
|
.Table .Dialogs .Dialog > div {
|
|
display: flex;
|
|
padding: 1rem;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.Table .Dialogs .Dialog > div > div:first-child {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.Table .Dialogs .TurnNoticeDialog {
|
|
background-color: #7a680060;
|
|
}
|
|
|
|
.Table .Dialogs .ErrorDialog {
|
|
background-color: #40000060;
|
|
}
|
|
|
|
.Table .Dialogs .WarningDialog {
|
|
background-color: #00000060;
|
|
}
|
|
|
|
.Table .Game {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.Table .Board {
|
|
display: flex;
|
|
position: relative;
|
|
flex-grow: 1;
|
|
z-index: 500;
|
|
}
|
|
|
|
.Table .PlayersStatus {
|
|
z-index: 500; /* Under Hand */
|
|
}
|
|
|
|
.Table .PlayersStatus.ActivePlayer {
|
|
z-index: 1500; /* On top of Hand */
|
|
}
|
|
|
|
.Table .Hand {
|
|
display: flex;
|
|
position: relative;
|
|
height: 11rem;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.Table .Sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 25rem;
|
|
max-width: 25rem;
|
|
overflow: hidden;
|
|
z-index: 5000;
|
|
}
|
|
|
|
.Table .Sidebar .Chat {
|
|
display: flex;
|
|
position: relative;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.Table .Trade {
|
|
display: flex;
|
|
position: relative;
|
|
z-index: 25000;
|
|
align-self: center;
|
|
}
|
|
|
|
.Table .Dialogs {
|
|
position: absolute;
|
|
display: flex;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
z-index: 20000;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.Table .Dialogs > * {
|
|
pointer-events: all;
|
|
}
|
|
|
|
.Table .ViewCard {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.Table .Winner {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
|
|
.Table .HouseRules {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.Table .ChooseCard {
|
|
display: flex;
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.Table button {
|
|
margin: 0.25rem;
|
|
background-color: white;
|
|
border: 1px solid black; /* why !important */
|
|
}
|
|
|
|
.Table .MuiButton-text {
|
|
padding: 0.25rem 0.55rem;
|
|
}
|
|
|
|
.Table button:disabled {
|
|
opacity: 0.5;
|
|
border: 1px solid #ccc; /* why !important */
|
|
}
|
|
|
|
.Table .ActivitiesBox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
left: 1em;
|
|
top: 1em;
|
|
}
|
|
|
|
.Table .DiceRoll {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
/*
|
|
left: 1rem;
|
|
top: 5rem;*/
|
|
flex-wrap: wrap;
|
|
justify-content: left;
|
|
align-items: left;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.Table .DiceRoll div:not(:last-child) {
|
|
border: 1px solid black;
|
|
background-color: white;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
.Table .DiceRoll div:last-child {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.Table .DiceRoll .Dice {
|
|
margin: 0.25rem;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
border-radius: 0.5rem;
|
|
} |