Skip to content

Commit 989703c

Browse files
committed
Header Buttons corrected
1 parent a241c56 commit 989703c

2 files changed

Lines changed: 13 additions & 19 deletions

File tree

src/app/_common/header/buttons/buttons.hbs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<div class="header-block header-block-buttons">
2-
<button type="button" class="btn btn-secondary btn-sm rounded-s buttons">
2+
<a href="https://github.com/modularcode/modular-admin-html" class="btn btn-primary-outline btn-sm rounded-s header-btn">
33
<i class="fa fa-github-alt"></i>
44
View on GitHub
5-
</button>
6-
<button type="button" class="btn btn-secondary btn-sm rounded-s buttons">
5+
</a>
6+
<a href="https://github.com/modularcode/modular-admin-html/archive/master.zip" class="btn btn-primary-outline btn-sm rounded-s header-btn">
77
<i class="fa fa-cloud-download"></i>
88
Download .zip
9-
</button>
10-
<button type="button" class="btn btn-secondary btn-sm rounded-s buttons">
9+
</a>
10+
<button type="button" class="btn btn-primary-outline btn-sm rounded-s buttons header-btn">
1111
<i class="fa fa-share-alt"></i>
1212
Share
1313
</button>

src/app/_common/header/buttons/buttons.scss

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,18 @@
33
margin-left: auto;
44
margin-right: auto;
55

6-
.buttons {
7-
background-color: $color-divider;
6+
.header-btn {
87
border: 1px solid $color-text;
8+
color: $color-text;
99
}
1010

11-
button:hover {
12-
background-color: $color-divider;
13-
border-color: $color-primary;
14-
color: $color-primary;
11+
.header-btn:hover {
12+
border: 1px solid $color-primary;
13+
color: #ffffff;
1514
}
1615

17-
button:active {
18-
background-color: $color-divider;
19-
border-color: $color-primary;
20-
}
21-
22-
button:focus {
23-
background-color: $color-divider;
24-
border-color: $color-primary;
16+
.header-btn:focus {
17+
border: 1px solid $color-primary;
18+
color: #ffffff;
2519
}
2620
}

0 commit comments

Comments
 (0)