Skip to content

Commit

Permalink
css upd
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Mar 10, 2024
1 parent adea9bb commit a6086cc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 36 deletions.
14 changes: 1 addition & 13 deletions internal/web/public/css/config.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,7 @@
.tip-button[mytitle] {
position: relative;
}
.tip-button[mytitle]:focus::after {
content: attr(mytitle);
position: absolute;
top: 90%;
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
border: 1px solid var(--bs-primary);
width: max-content;
max-width: 18em;
padding: 5px;
border-radius: var(--bs-border-radius);
}
.tip-button[mytitle]:hover::after {
.tip-button[mytitle]:focus::after, .tip-button[mytitle]:hover::after {
content: attr(mytitle);
position: absolute;
top: 90%;
Expand Down
30 changes: 9 additions & 21 deletions internal/web/public/css/index.css
Original file line number Diff line number Diff line change
@@ -1,33 +1,21 @@
.exercise-button {
width: 70%;
height: 100%;
background-color: #00000000;
text-align: left;
}
.exercise-button:hover {
background-color: #0000001a;
}

.add-exercise-button {
width: 9%;
.exercise-button, .add-exercise-button, .del-set-button {
height: 100%;
background-color: #00000000;
color: var(--bs-primary);
text-align: center;
}
.add-exercise-button:hover {
.exercise-button:hover, .add-exercise-button:hover, .del-set-button:hover {
background-color: #0000001a;
}

.del-set-button {
/* width: 14%; */
height: 100%;
background-color: #00000000;
color: var(--bs-primary);
text-align: center;
.exercise-button {
width: 70%;
text-align: left;
color: var(--bs-body-color);
}
.del-set-button:hover {
background-color: #0000001a;

.add-exercise-button {
width: 9%;
}

@media (max-width: 1399px) {
Expand Down
4 changes: 2 additions & 2 deletions internal/web/templates/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
<div class="card border-primary mb-4">
<div class="card-header">About (<a href="https://github.com/aceberg/ExerciseDiary/releases/tag/{{ .Version }}" target="_blank">{{ .Version }}</a>)</div>
<div class="card-body">
<p>If you like this app, please, <a href="https://github.com/aceberg#donate" target="_blank">donate</a></p>
<p>Order you own app (Golang, HTML/JS). Contact and prices <a href="https://github.com/aceberg" target="_blank">here</a></p>
<p>If you find this app useful, please, <a href="https://github.com/aceberg#donate" target="_blank">donate</a></p>
<p>Commission you own app (Golang, HTML/JS). Contact and prices <a href="https://github.com/aceberg" target="_blank">here</a></p>
</div>
</div>
</div>
Expand Down

0 comments on commit a6086cc

Please sign in to comment.