Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add info icon to first step page #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
Binary file added .DS_Store
Binary file not shown.
Binary file added assets/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions pages/scenario-creation-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ <h1 class="wizard__name">
<div class="scenario-create__form">
<div>
<label class="form-label">Project</label>
<span class="icon icon--info" data-bs-toggle="tooltip" title="This is a test"></span>
<select class="form-select">
<option value="1" selected>PV Potsdam 2025</option>
<option value="2">open_plan test</option>
Expand All @@ -102,6 +103,7 @@ <h1 class="wizard__name">
<div class="scenario-create__form">
<div>
<label for="scenarioName" class="form-label">Scenario name</label>
<span class="icon icon--info" data-bs-toggle="tooltip" title="This is a test"></span>
<input type="text" class="form-control" id="scenarioName" placeholder="Name" aria-describedby="scenarioNameHelp" required>
</div>
</div>
Expand Down
Binary file added stylesheets/.DS_Store
Binary file not shown.
151 changes: 66 additions & 85 deletions stylesheets/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion stylesheets/css/main.css.map

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions stylesheets/scss/components/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
@use '../abstracts/variables' as *;
@use '../abstracts/mixins' as *;

.icon {
&--small {
font-size: 0.6rem;
}

&--info {
display: inline-block;
background-image: url(../../assets/icons/i_info.svg);
background-size: cover;
height: 1.25rem;
width: 1.25rem;
@include translateY(-2px);
}
}

.icon[data-bs-toggle="tooltip"] {
Expand Down