This commit is contained in:
dyhj625 2025-03-21 12:19:26 +09:00
parent 31ccd0c911
commit a37d5378aa
2 changed files with 56 additions and 58 deletions

View File

@ -701,83 +701,73 @@
/* BoardComment end */ /* BoardComment end */
/* vote */
.hidden-date-input {
position: absolute;
top: 28.5%;
left: 17%;
width: 100%;
opacity: 0;
pointer-events: none;
}
/* 권한부여 */ /* 권한부여 */
.user-card-container { .user-card-container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 20px; gap: 20px;
justify-content: center; justify-content: center;
margin-top: 20px; margin-top: 20px;
} }
.user-card { .user-card {
width: 200px; width: 200px;
padding: 15px; padding: 15px;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 10px; border-radius: 10px;
background-color: #fff; background-color: #fff;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
text-align: center; text-align: center;
} }
.profile-img { .profile-img {
width: 80px; width: 80px;
height: 80px; height: 80px;
border-radius: 50%; border-radius: 50%;
object-fit: cover; object-fit: cover;
margin-bottom: 10px; margin-bottom: 10px;
} }
.switch { .switch {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 50px; width: 50px;
height: 24px; height: 24px;
margin-top: 5px; margin-top: 5px;
} }
.switch input { .switch input {
opacity: 0; opacity: 0;
width: 0; width: 0;
height: 0; height: 0;
} }
.slider { .slider {
position: absolute; position: absolute;
cursor: pointer; cursor: pointer;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
background-color: #ccc; background-color: #ccc;
transition: .4s; transition: .4s;
border-radius: 24px; border-radius: 24px;
} }
.slider:before { .slider:before {
position: absolute; position: absolute;
content: ""; content: "";
height: 18px; height: 18px;
width: 18px; width: 18px;
left: 4px; left: 4px;
bottom: 3px; bottom: 3px;
background-color: white; background-color: white;
transition: .4s; transition: .4s;
border-radius: 50%; border-radius: 50%;
} }
input:checked + .slider { input:checked + .slider {
background-color: #4CAF50; background-color: #4CAF50;
} }
input:checked + .slider:before { input:checked + .slider:before {
transform: translateX(24px); transform: translateX(24px);
} }
/* 권한부여 끝 */ /* 권한부여 끝 */

View File

@ -235,4 +235,12 @@ const goList = () => {
.item-input { .item-input {
max-width: 200px; max-width: 200px;
} }
.hidden-date-input {
position: absolute;
top: 28.5%;
left: 17%;
width: 100%;
opacity: 0;
pointer-events: none;
}
</style> </style>