Skip to content

Commit

Permalink
ui improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmerchant1990 committed Dec 20, 2024
1 parent c1a7102 commit 0c76097
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
24 changes: 24 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,30 @@ a {
align-items: center;
}

.brand-container {
display: flex;
align-items: center;
gap: 4px;
}

.about-modal {
position: relative;
}

.about-modal-logo {
position: absolute;
right: 0px;
top: 60px;
transform: rotate(6deg);
opacity: 0.09;
}

@media screen and (max-width: 591px) {
.about-modal-logo {
display: none;
}
}

.checkbox.checbox-switch {
padding-left: 0;
}
Expand Down
13 changes: 8 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,12 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title custom-modal-title">Notepad — Offline capable</h4>
<span class="install-app-btn-container">
<a id="installApp" class="install-app-btn" href="javascript:void(0);">Install</a>
</span>
<div class="brand-container">
<h4 class="modal-title custom-modal-title">Notepad — Offline capable</h4>
<span class="install-app-btn-container">
<a id="installApp" class="install-app-btn" href="javascript:void(0);">Install</a>
</span>
</div>
</div>
<div class="modal-body modal-container">
<ul class="nav nav-tabs" role="tablist">
Expand All @@ -211,7 +213,8 @@ <h4 class="modal-title custom-modal-title">Notepad — Offline capable</h4>
</li>
</ul>
<div class="tab-content">
<div id="about" class="container tab-pane active in">
<div id="about" class="about-modal container tab-pane active in">
<img class="about-modal-logo" src="img/icon-196.png" alt="Notepad logo" width="160" height="160">
<p>This is an offline-capable Notepad which is a <a href="https://www.amitmerchant.com/Building-Simple-Offline-Notepad-Using-Service-Worker/" target="_blank">Progressive Web App</a> as well.</p>
<p>The app serves the following features:</p>
<ul>
Expand Down

0 comments on commit 0c76097

Please sign in to comment.