227 lines
4.5 KiB
CSS
227 lines
4.5 KiB
CSS
/* Base styles */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background-color: var(--color-white);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
/* Light and dark mode variables */
|
|
:root {
|
|
--background-color: #121212;
|
|
--text-color: black;
|
|
--primary-color: #aa00ff;
|
|
--secondary-color: lightgrey;
|
|
--header-bg-color: lightgrey;
|
|
}
|
|
|
|
/* Usercontainer styling */
|
|
.usercontainer {
|
|
width: 70%;
|
|
max-width: 1200px;
|
|
margin-top: 20px; /* Space from the top for the filter */
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Filter container styles */
|
|
.filter {
|
|
width: 100%; /* Full width of the usercontainer */
|
|
background: var(--color-white);
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
padding: 10px;
|
|
position: sticky; /* Keeps it fixed at the top */
|
|
top: 0; /* Stick to the top */
|
|
margin-bottom: 20px; /* Space below the filter */
|
|
}
|
|
|
|
/* Tabs container styles */
|
|
.tabs {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
gap: 10px; /* Space between tabs */
|
|
width: 100%;
|
|
}
|
|
|
|
/* Radio button input styles */
|
|
.input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
border: none;
|
|
}
|
|
|
|
/* Radio button label styles */
|
|
.label {
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
background: var(--secondary-color);
|
|
border-radius: 8px;
|
|
color: var(--text-color);
|
|
transition: background 0.3s, color 0.3s;
|
|
}
|
|
|
|
.input:checked + .label {
|
|
background: var(--primary-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.input:not(:checked) + .label:hover {
|
|
background: var(--secondary-color);
|
|
}
|
|
|
|
/* Search input styles */
|
|
.search-input {
|
|
width: 100%; /* Full width of the filter */
|
|
background-color: var(--header-bg-color);
|
|
border: none;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
outline: none;
|
|
color: var(--text-color);
|
|
margin-top: 10px; /* Space between the tabs and search input */
|
|
box-sizing: border-box;
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.search-input:focus {
|
|
animation: rotateShadow 2s infinite linear;
|
|
}
|
|
|
|
@keyframes rotateShadow {
|
|
0% {
|
|
box-shadow: -2px -2px 8px 1px var(--primary-color), 2px 2px 8px 1px #3700ff;
|
|
}
|
|
25% {
|
|
box-shadow: -2px 2px 8px 1px var(--primary-color), 2px -2px 8px 1px #3700ff;
|
|
}
|
|
50% {
|
|
box-shadow: 2px 2px 8px 1px var(--primary-color), -2px -2px 8px 1px #3700ff;
|
|
}
|
|
75% {
|
|
box-shadow: 2px -2px 8px 1px var(--primary-color), -2px 2px 8px 1px #3700ff;
|
|
}
|
|
100% {
|
|
box-shadow: -2px -2px 8px 1px var(--primary-color), 2px 2px 8px 1px #3700ff;
|
|
}
|
|
}
|
|
|
|
/* Usercards container */
|
|
.usercards {
|
|
padding: 1rem;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
|
gap: 10px; /* Spacing between items */
|
|
width: 100%; /* Full width of the usercontainer */
|
|
overflow: auto;
|
|
}
|
|
.usercards::-webkit-scrollbar {
|
|
width: 0px; /* Görgetősáv szélességének eltüntetése */
|
|
background: transparent; /* Háttér eltüntetése */
|
|
}
|
|
|
|
/* Usercard styling */
|
|
.usercard {
|
|
max-width: 360px;
|
|
border-radius: 1rem;
|
|
background-color: var(--color-white);
|
|
padding: 1rem;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.biocard {
|
|
max-width: 460px;
|
|
border-radius: 1rem;
|
|
background-color: rgb(118, 36, 194);
|
|
padding: 4rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.infos {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
grid-gap: 1rem;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.image {
|
|
height: 7rem;
|
|
width: 7rem;
|
|
border-radius: 0.5rem;
|
|
background-color: rgb(118, 36, 194);
|
|
background: linear-gradient(to bottom right, rgb(118, 36, 194), rgb(185, 128, 240));
|
|
}
|
|
|
|
.info {
|
|
height: 7rem;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.name {
|
|
font-weight: 500;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
.userid {
|
|
font-size: 0.75rem;
|
|
color: rgba(156, 163, 175, 1);
|
|
}
|
|
|
|
.stats {
|
|
width: 100%;
|
|
border-radius: 0.5rem;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
color: rgba(0, 0, 0, 1);
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.state-value {
|
|
font-weight: 700;
|
|
color: rgb(118, 36, 194);
|
|
}
|
|
|
|
.request {
|
|
margin-top: 1rem;
|
|
width: 100%;
|
|
border: 1px solid transparent;
|
|
border-radius: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 1rem;
|
|
line-height: 1.5rem;
|
|
transition: all .3s ease;
|
|
}
|
|
|
|
.request:hover {
|
|
background-color: rgb(118, 36, 194);
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|