You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Application-Web/front/style/new_tactic_panel.css

123 lines
2.2 KiB

#panel-root {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-content: center;
}
#panel-top {
font-family: var(--text-main-font);
}
#panel-choices {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
background-color: var(--editor-court-selection-background);
}
#panel-buttons {
width: 75%;
height: 20%;
display: flex;
justify-content: space-evenly;
align-items: stretch;
align-content: center;
}
.court-kind-button {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-content: center;
cursor: pointer;
transition: scale 0.5s ease-out;
width: auto;
}
.court-kind-button-bottom,
.court-kind-button-top {
border: solid;
border-color: var(--border-color);
}
.court-kind-button-bottom {
display: flex;
justify-content: center;
align-items: center;
align-content: center;
height: 25%;
width: 100%;
background-color: var(--editor-court-selection-buttons);
border-radius: 0 0 20px 20px;
border-width: 3px;
}
.court-kind-button-top {
height: 30%;
background-color: var(--main-color);
border-radius: 20px 20px 0 0;
border-width: 3px 3px 0 3px;
}
.court-kind-button:hover {
scale: 1.1;
}
.court-kind-button-top,
.court-kind-button-image-div {
overflow: hidden;
display: flex;
height: 100%;
width: 100%;
justify-content: center;
align-items: center;
align-content: center;
}
.court-kind-button-image {
height: 100%;
width: 150px;
user-select: none;
-webkit-user-drag: none;
}
.court-kind-button-image-div {
height: 100%;
padding: 0 10px 0 10px;
background-color: var(--second-color);
}
.court-kind-button-name,
.court-kind-button-details {
user-select: none;
font-family: var(--text-main-font);
}
.court-kind-button-details {
position: absolute;
z-index: -1;
top: 0;
transition: top 1s;
}
.court-kind-button:hover .court-kind-button-details {
top: -20px;
}