82 lines
1.4 KiB
CSS
82 lines
1.4 KiB
CSS
.HouseRules {
|
|
display: flex;
|
|
position: absolute;
|
|
left: 0;
|
|
right: 30rem;
|
|
bottom: 0;
|
|
top: 0;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: rgba(0,0,0,0.5);
|
|
z-index: 1000;
|
|
max-height: 100vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
.HouseRules > * {
|
|
max-height: calc(100vh - 2em);
|
|
overflow: auto;
|
|
margin: 0.5em;
|
|
width: 40em;
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.HouseRules .HouseSelector {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.HouseRules .HouseRule {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 0 0.5rem;
|
|
}
|
|
|
|
.HouseRules .Title {
|
|
padding-bottom: 0.5rem;
|
|
align-self: center;
|
|
padding: 0.5rem;
|
|
font-weight: bold;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.HouseRules .HouseRule[data-enabled="true"] {
|
|
background-color: rgb(255, 254, 206);
|
|
}
|
|
|
|
.HouseRules .HouseRule b {
|
|
margin: 0;/* 0.25rem;*/
|
|
}
|
|
|
|
.HouseRules .VictoryPoints {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.HouseRules .VictoryPoints > button {
|
|
cursor: pointer;
|
|
padding: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
font-size: 0.9rem;
|
|
line-height: 1rem;
|
|
border: 1px solid black;
|
|
text-transform: uppercase;
|
|
min-width: 5rem;
|
|
}
|
|
|
|
.HouseRules .VictoryPoints > button:hover {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.HouseRules .HouseRule[data-disabled="true"] button {
|
|
border-color: #ccc;
|
|
color: #ccc;
|
|
pointer-events: none;
|
|
}
|