100 lines
1.4 KiB
CSS
Executable File
100 lines
1.4 KiB
CSS
Executable File
body {
|
|
font-family: 'Droid Sans', 'Arial Narrow', Arial, sans-serif;
|
|
}
|
|
|
|
#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 .ErrorDialog {
|
|
z-index: 10000;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
background-color: #80000060;
|
|
}
|
|
|
|
.Table .ErrorDialog .Error {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
.Table .ErrorDialog .Error > div {
|
|
display: flex;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.Table .WarningDialog {
|
|
z-index: 10000;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.Table .WarningDialog .Warning {
|
|
display: flex;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.Table .Game {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.Table .Board {
|
|
display: flex;
|
|
position: relative;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.Table .Hand {
|
|
display: flex;
|
|
position: relative;
|
|
height: 11rem;
|
|
}
|
|
|
|
.Table .Sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 30rem;
|
|
max-width: 30rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.Table .Board {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.Table .Sidebar .Chat {
|
|
display: flex;
|
|
position: relative;
|
|
flex-grow: 1;
|
|
}
|
|
|