Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 32 additions & 11 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2765,18 +2765,39 @@ select:focus {
}
}
.tooltip {
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: 6px;
width: 16px;
height: 16px;
border-radius: 50%;
position: relative;
color: #6366f1;
}

.tooltip-text {
visibility: hidden;
opacity: 0;

position: absolute;
bottom: 130%;
left: 50%;
transform: translateX(-50%);

width: 260px;

background: #6366f1;
color: white;
font-size: 11px;
cursor: help;
font-weight: 700;
color: #ffffff;

padding: 8px 10px;
border-radius: 8px;

font-size: 0.8rem;
line-height: 1.4;
font-weight: 400;

z-index: 1000;

transition: opacity 0.2s ease;
}

.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}

.form-hint {
Expand Down
21 changes: 13 additions & 8 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,11 @@ <h2 class="section-title">Find Your Next Project</h2>
<div class="form-label-row" style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px;">
<label for="skills-input">
Your Skills
<span class="tooltip"
title="Add technologies, programming languages, or tools you know like Python, React, Git, SQL, etc.">
<span class="tooltip">
<span class="tooltip-text">
Add technologies, programming languages, or tools you know like Python, React, Git, SQL, etc.
</span>
</span>
</label>

Expand All @@ -413,7 +415,6 @@ <h2 class="section-title">Find Your Next Project</h2>
</div>
<div class="skill-input-wrap" id="skill-input-wrap">
<div class="skill-chips-selected" id="skill-chips-selected"></div>

<input
type="text"
id="skills-input"
Expand Down Expand Up @@ -454,7 +455,7 @@ <h2 class="section-title">Find Your Next Project</h2>
<button type="button" class="skill-chip" data-skill="Kotlin">Kotlin</button>

</div>

<br><br>
<!-- Level + Interest in a row -->
<div class="form-row">
<div class="form-group">
Expand All @@ -476,9 +477,11 @@ <h2 class="section-title">Find Your Next Project</h2>
<div class="form-group">
<label for="interest">
Area of Interest
<span class="tooltip"
title="Choose the type of projects you enjoy building or want to learn more about.">
<span class="tooltip">
<span class="tooltip-text">
Choose the type of projects you enjoy building or want to learn more about.
</span>
</span>
</label>
<div class="select-wrap">
Expand All @@ -504,9 +507,11 @@ <h2 class="section-title">Find Your Next Project</h2>
<div class="form-group">
<label for="time">
Time Availability
<span class="tooltip"
title="Estimate how much time you can realistically dedicate to building the project.">
<span class="tooltip">
<span class="tooltip-text">
Estimate how much time you can realistically dedicate to building the project.
</span>
</span>
</label>
<div class="select-wrap">
Expand Down
Loading