368 lines
7.7 KiB
CSS
368 lines
7.7 KiB
CSS
.page-territory {
|
|
width: calc(100% - 40px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 20px 20px 0 20px;
|
|
}
|
|
|
|
|
|
.page-territory>.buttons-list {
|
|
padding: 10px;
|
|
margin-bottom: 40px;
|
|
background: var(--ColorThemes1);
|
|
color: var(--ColorThemes3);
|
|
border: 1px solid var(--ColorThemes2);
|
|
box-shadow: var(--shadow-l1);
|
|
border-radius: var(--border-radius);
|
|
overflow: auto;
|
|
display: flex;
|
|
}
|
|
|
|
.page-territory>.buttons-list>button,
|
|
.page-territory>.buttons-list>a {
|
|
cursor: pointer;
|
|
border-radius: calc(var(--border-radius) - 5px);
|
|
padding: 0 10px;
|
|
margin-right: 20px;
|
|
min-width: fit-content;
|
|
min-height: 40px;
|
|
background: var(--PrimaryColor);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.page-territory>.buttons-list>button>span,
|
|
.page-territory>.buttons-list>a>span {
|
|
color: var(--PrimaryColorText);
|
|
font-size: var(--FontSize3);
|
|
font-weight: normal;
|
|
}
|
|
|
|
.page-territory>.buttons-list>button>svg,
|
|
.page-territory>.buttons-list>a>svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: var(--PrimaryColorText);
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.page-territory>.list-controls {
|
|
padding: 10px;
|
|
margin: 0px 0 10px 0;
|
|
background: var(--ColorThemes1);
|
|
color: var(--ColorThemes3);
|
|
border: 1px solid var(--ColorThemes2);
|
|
box-shadow: var(--shadow-l1);
|
|
border-radius: var(--border-radius);
|
|
overflow: auto;
|
|
display: flex;
|
|
}
|
|
|
|
.page-territory>.list-controls select {
|
|
min-width: 140px;
|
|
height: 30px;
|
|
background-color: var(--ColorThemes2);
|
|
border: 1px solid var(--ColorThemes0);
|
|
box-shadow: var(--shadow-l1);
|
|
color: var(--ColorThemes3);
|
|
font-size: var(--FontSize1);
|
|
cursor: pointer;
|
|
padding: 0 5px;
|
|
margin-right: 10px;
|
|
border-radius: calc(var(--border-radius) - 5px - 2px);
|
|
}
|
|
|
|
|
|
#page-territory-sort {
|
|
display: flex;
|
|
}
|
|
|
|
#page-territory-sort button {
|
|
display: none;
|
|
font-size: 18px;
|
|
background: 0;
|
|
cursor: pointer;
|
|
min-width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
margin-right: 10px;
|
|
align-items: center;
|
|
align-content: center;
|
|
justify-content: center;
|
|
color: var(--ColorThemes3);
|
|
border-radius: calc(var(--border-radius) - 5px - 2px);
|
|
border: 1px solid var(--ColorThemes0);
|
|
}
|
|
|
|
#page-territory-sort button[data-state="active"] {
|
|
background: var(--PrimaryColor);
|
|
}
|
|
|
|
#page-territory-sort button:hover {
|
|
background: var(--ColorThemes3);
|
|
}
|
|
|
|
#page-territory-sort button>svg {
|
|
width: 22px;
|
|
fill: var(--PrimaryColorText);
|
|
}
|
|
|
|
#page-territory-sort button:hover svg {
|
|
fill: var(--ColorThemes1);
|
|
}
|
|
|
|
#page-territory-sort button:hover {
|
|
display: none;
|
|
opacity: 1;
|
|
}
|
|
|
|
#page-territory-sort button[data-state="active"] {
|
|
display: flex;
|
|
}
|
|
|
|
.page-territory details {
|
|
border-radius: var(--border-radius);
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
margin-bottom: 10px;
|
|
background: var(--ColorThemes1);
|
|
color: var(--ColorThemes3);
|
|
border: 1px solid var(--ColorThemes2);
|
|
box-shadow: var(--shadow-l1);
|
|
}
|
|
|
|
.page-territory>details[disabled] summary,
|
|
.page-territory>details.disabled summary {
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.page-territory>details summary::-webkit-details-marker,
|
|
.page-territory>details summary::marker {
|
|
display: none;
|
|
content: "";
|
|
}
|
|
|
|
|
|
.page-territory summary {
|
|
width: calc(100% - 40px);
|
|
cursor: pointer;
|
|
color: var(--ColorThemes3);
|
|
border-radius: var(--border-radius);
|
|
font-size: var(--FontSize5);
|
|
font-weight: 300;
|
|
padding: 20px;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.page-territory summary span {
|
|
font-weight: 500;
|
|
width: 100%;
|
|
}
|
|
|
|
.page-territory summary>div>button {
|
|
display: none;
|
|
font-size: 18px;
|
|
background: 0;
|
|
cursor: pointer;
|
|
min-width: 30px;
|
|
height: 30px;
|
|
padding: 0;
|
|
margin: 0;
|
|
align-items: center;
|
|
align-content: center;
|
|
justify-content: center;
|
|
color: var(--ColorThemes3);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.page-territory summary>div>button[data-state="active"] {
|
|
background: var(--PrimaryColor);
|
|
display: flex;
|
|
}
|
|
|
|
.page-territory summary>div>button:hover {
|
|
background: var(--ColorThemes3);
|
|
}
|
|
|
|
.page-territory summary>div>button>svg {
|
|
width: 22px;
|
|
fill: var(--PrimaryColorText);
|
|
}
|
|
|
|
.page-territory summary>div>button:hover svg {
|
|
fill: var(--ColorThemes1);
|
|
}
|
|
|
|
.page-territory #list-house,
|
|
.page-territory #list-homestead {
|
|
width: 100%;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
align-content: flex-start;
|
|
justify-content: center;
|
|
overflow-y: auto;
|
|
align-items: flex-start;
|
|
transition: .3s ease;
|
|
}
|
|
|
|
.page-territory .card {
|
|
position: relative;
|
|
width: 300px;
|
|
height: 200px;
|
|
background-color: var(--ColorThemes2);
|
|
margin: 10px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
border-radius: calc(var(--border-radius) - 5px);
|
|
}
|
|
|
|
@media (max-width: 2300px) {
|
|
.page-territory .card {
|
|
width: calc((100% / 5) - 40px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1960px) {
|
|
.page-territory .card {
|
|
width: calc((100% / 4) - 40px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1640px) {
|
|
.page-territory .card {
|
|
width: calc((100% / 3) - 40px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1280px) {
|
|
.page-territory .card {
|
|
width: calc((100% / 2) - 40px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 650px) {
|
|
.page-territory .card {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media(hover: hover) {
|
|
.page-territory .card:hover {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
.page-territory .card>i {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
z-index: 1;
|
|
filter: blur(2px);
|
|
/* background-repeat: round; */
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-color: var(--PrimaryColor);
|
|
border-radius: calc(var(--border-radius) - 5px);
|
|
}
|
|
|
|
.page-territory .card>a {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 10;
|
|
}
|
|
|
|
.page-territory .contents {
|
|
position: absolute;
|
|
z-index: 2;
|
|
background: rgb(64 64 64 / 0.7);
|
|
width: 100%;
|
|
height: 100%;
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
color: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
border-radius: calc(var(--border-radius) - 5px);
|
|
}
|
|
|
|
|
|
.page-territory .info {
|
|
margin: 10px;
|
|
}
|
|
|
|
.page-territory .info>div {
|
|
width: 100%;
|
|
height: 35px;
|
|
display: flex;
|
|
background: var(--ColorThemes0);
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: var(--FontSize1);
|
|
color: var(--ColorThemes3);
|
|
border-radius: calc(var(--border-radius) - 5px - 4px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.page-territory .progress {
|
|
background: var(--PrimaryColor);
|
|
height: 100%;
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 0;
|
|
}
|
|
|
|
.page-territory .info>div>span {
|
|
color: var(--ColorThemes3);
|
|
font-size: var(--FontSize3);
|
|
font-weight: 300;
|
|
z-index: 2;
|
|
}
|
|
|
|
.page-territory .info>div>p {
|
|
color: var(--ColorThemes3);
|
|
font-size: var(--FontSize3);
|
|
font-weight: 400;
|
|
padding: 10px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.page-territory .sheep {
|
|
margin: 10px;
|
|
max-height: 50px;
|
|
border-radius: calc(var(--border-radius) - 5px - 4px);
|
|
padding: 10px 0;
|
|
margin-top: 10px;
|
|
display: flex;
|
|
background: var(--PrimaryColor);
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.page-territory .sheep>span {
|
|
color: var(--PrimaryColorText);
|
|
font-size: var(--FontSize3);
|
|
font-weight: 400;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.page-territory .sheep>p {
|
|
color: var(--PrimaryColorText);
|
|
font-size: var(--FontSize4);
|
|
font-weight: 400;
|
|
margin-top: 5px;
|
|
} |