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/team_panel.css

236 lines
4.0 KiB

@import url(../style/theme/dark.css);
@import url(../style/template/header.css);
body {
margin: 0;
background-color: var(--second-color);
color: white;
}
#main-div {
display: flex;
flex-direction: column;
align-items: stretch;
font-family: var(--font-content);
height: 100vh;
}
#content-container {
display: flex;
flex-direction: row;
align-items: stretch;
height: 90vh;
margin: 10px 2% 0 2%;
}
#left-panel {
display: flex;
flex-direction: column;
align-items: center;
width: 68%;
margin-right: 2%;
margin-bottom: 15px;
}
#right-panel {
display: flex;
flex-direction: column;
align-items: center;
width: 30%;
flex-grow: 1;
}
header {
display: flex;
justify-content: center;
background-color: var(--main-color);
width: 100%;
height: 80%;
padding-bottom: 10px;
padding-top: 10px;
}
header h1 a {
color: var(--accent-color);
text-decoration: none;
font-size: 1.4em;
}
html,
body,
#main-div,
#content-container,
#right-panel,
#tactics {
height: 100%;
}
.square {
width: 50px;
height: 50px;
border: 2px white solid;
}
#team-info {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
padding-bottom: 10px;
border-radius: 10px;
background-color: var(--third-color);
}
#first-part {
display: flex;
flex-direction: column;
align-items: center;
}
#team-name {
font-size: 2.8em;
}
#logo {
aspect-ratio: 3/2;
object-fit: contain;
max-width: 60%; /* Adjusted max-width for the team logo */
max-height: 60vh; /* Added max-height for the team logo */
margin-bottom: 10px; /* Added margin at the bottom */
}
#colors {
display: flex;
flex-direction: column;
}
.color {
flex-direction: row;
justify-content: space-between;
}
#colorsTitle {
width: 110%;
display: flex;
flex-direction: row;
justify-content: space-between;
font-size: 1.3em;
color: white;
}
#actual-colors {
display: flex;
flex-direction: row;
justify-content: space-around;
}
#delete {
border-radius: 10px;
background-color: red;
color: white;
margin-top: 10px;
margin-bottom: 10px;
margin-right: 5px;
}
#edit {
border-radius: 10px;
background-color: orange;
color: white;
margin-top: 10px;
margin-bottom: 10px;
}
#head-members {
width: 33%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
margin-bottom: 10px;
}
#add-member {
height: 30px;
aspect-ratio: 1/1;
border-radius: 100%;
align-self: center;
}
#members {
display: flex;
flex-direction: column;
background-color: var(--third-color);
width: 100%;
align-items: center;
justify-content: space-around;
border-radius: 10px;
}
.member {
width: 60%;
background-color: #494b5d;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
border-radius: 10px;
margin-top: 5px;
margin-bottom: 5px;
}
#profile-picture {
height: 40px;
width: 40px;
}
#tactics {
display: flex;
flex-direction: column;
align-items: center;
background-color: var(--third-color);
width: 100%;
height: 100%;
border-radius: 10px;
overflow: auto;
margin-bottom: 5px;
}
#head-tactics {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
margin-bottom: 10px;
}
.tactic {
box-sizing: border-box;
width: 100%;
background-color: #494b5d;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-radius: 10px;
margin-top: 5px;
margin-bottom: 5px;
padding: 10px;
max-width: 90%;
cursor: pointer;
}
.tactic button#open-tactic {
border-radius: 10px;
background-color: green;
color: white;
padding: 5px 8px;
}
.tactic button#delete {
border-radius: 10px;
background-color: red;
color: white;
padding: 5px 8px;
margin-left: 10px;
}