Skip to content

Commit ec45554

Browse files
authored
Merge pull request #110 from pirogramming/dev
Dev
2 parents 37e4b46 + e226a1b commit ec45554

File tree

4 files changed

+68
-9
lines changed

4 files changed

+68
-9
lines changed

static/css/search.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,3 +518,62 @@ form[method="get"] > div button[type="submit"]:hover {
518518
/* 기타 */
519519
.back-link{ display:inline-block; margin:18px auto 40px; max-width:1100px; padding:0 10px; color:#0f766e; text-decoration:underline; }
520520
.additional_ques{ border-left:1px solid #eef2f7; padding-left:20px; }
521+
522+
523+
/* 마우스 클릭 후 포커스 링 제거 */
524+
.unique-filter-bar input[type="checkbox"]:focus:not(:focus-visible)+.unique-filter-text {
525+
outline: none !important;
526+
}
527+
528+
/* 체크박스 숨기기 */
529+
.custom-checkbox input[type="checkbox"] {
530+
position: absolute;
531+
opacity: 0;
532+
pointer-events: none;
533+
}
534+
535+
/* 기본 상태 (선택 안됨) */
536+
.custom-checkbox span {
537+
display: inline-block;
538+
padding: 10px 16px;
539+
border-radius: 10px;
540+
border: 2px solid #ccc;
541+
/* 회색 테두리 */
542+
background: #fff;
543+
/* 흰 배경 */
544+
font-size: 14px;
545+
color: #555;
546+
/* 회색 글씨 */
547+
font-weight: 500;
548+
transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
549+
cursor: pointer;
550+
position: relative;
551+
width: 100%;
552+
text-align: center;
553+
}
554+
555+
/* hover */
556+
.custom-checkbox span:hover {
557+
background: #f8fafc;
558+
border-color: #999;
559+
}
560+
561+
/* 체크된 상태 */
562+
.custom-checkbox input[type="checkbox"]:checked+span {
563+
background: #62B3B8;
564+
/* 진한 파란/민트색 배경 */
565+
color: #fff;
566+
/* 흰색 글씨 */
567+
border-color: #62B3B8;
568+
font-weight: 600;
569+
box-shadow: 0 0 6px rgba(98, 179, 184, 0.5);
570+
}
571+
572+
/* 체크 아이콘 추가 */
573+
.custom-checkbox input[type="checkbox"]:checked+span::before {
574+
content: "✔";
575+
/* 체크 표시 */
576+
position: absolute;
577+
left: 10px;
578+
font-size: 14px;
579+
}

templates/places/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ <h2 class="place-section__title"></h2>
139139
<div class="route-list">불러오는 중...</div>
140140
<hr>
141141
<div class="create-route-form">
142-
<input type="text" class="new-route-title" placeholder="새 루트 제목" style="width:100%; margin-bottom:.25rem;">
143-
<input type="text" class="new-route-summary" placeholder="루트 요약(선택, 200자 이내)" style="width:100%; margin-bottom:.25rem;">
142+
<input type="text" class="new-route-title" placeholder="새 루트 제목" style="width:90%; margin-bottom:.25rem;">
143+
<input type="text" class="new-route-summary" placeholder="루트 요약(선택, 200자 이내)" style="width:90%; margin-bottom:.25rem;">
144144
<label class="custom-checkbox">
145145
<input type="checkbox" class="new-route-public" checked>
146146
<span>공개 루트로 만들기</span>

templates/search.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ <h2 class="section-title">추천 여행지</h2>
9898
<div class="route-list">불러오는 중...</div>
9999
<hr>
100100
<div class="create-route-form">
101-
<input type="text" class="new-route-title" placeholder="새 루트 제목" style="width:100%; margin-bottom:.25rem;">
102-
<input type="text" class="new-route-summary" placeholder="루트 요약(선택, 200자 이내)" style="width:100%; margin-bottom:.25rem;">
101+
<input type="text" class="new-route-title" placeholder="새 루트 제목" style="width:90%; margin-bottom:.25rem;">
102+
<input type="text" class="new-route-summary" placeholder="루트 요약(선택, 200자 이내)" style="width:90%; margin-bottom:.25rem;">
103103
<label class="custom-checkbox">
104104
<input type="checkbox" class="new-route-public" checked>
105105
<span>공개 루트로 만들기</span>

templates/users/likes.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
<div class="route-list">불러오는 중...</div>
3434
<hr>
3535
<div class="create-route-form">
36-
<input type="text" class="new-route-title" placeholder="새 루트 제목" style="width:100%; margin-bottom:.25rem;">
37-
<input type="text" class="new-route-summary" placeholder="루트 요약(선택, 200자 이내)" style="width:100%; margin-bottom:.25rem;">
38-
<label style="display:inline-flex; align-items:center; gap:6px; cursor:pointer; font-size:14px;">
36+
<input type="text" class="new-route-title" placeholder="새 루트 제목" style="width:90%; margin-bottom:.25rem;">
37+
<input type="text" class="new-route-summary" placeholder="루트 요약(선택, 200자 이내)" style="width:90%; margin-bottom:.25rem;">
38+
<label class="custom-checkbox">
3939
<input type="checkbox" class="new-route-public" checked>
4040
<span>공개 루트로 만들기</span>
41-
</label>
42-
<button type="button" class="create-route-btn">+ 새 루트 만들기</button>
41+
</label>
42+
<button type="button" class="create-route-btn">+ 새 루트 만들기</button>
4343
</div>
4444
</div>
4545
{% endif %}

0 commit comments

Comments
 (0)