Skip to content

Commit 94e3337

Browse files
committed
update
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 12807e2 commit 94e3337

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

assets/scss/_styles_project.scss

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -272,25 +272,17 @@ a:not([href]):not([class]), a:not([href]):not([class]):hover {
272272
border-radius: 0.75rem;
273273
border: 4px solid rgba(0, 179, 159, 0.40);
274274
background: #000;
275-
color: white;
276-
& :active {
277-
background-color: $saffron;
275+
color: $white;
276+
-webkit-transition: color .8s;
277+
-webkit-transition: background-color .8s;
278+
> img {
279+
width: 2rem; margin-right: .5rem;
278280
}
279-
// this isn't working.
280-
& :hover {
281-
color: white !important;
282-
& img {
283-
filter: brightness(0) invert(1);
284-
}
285-
}
286-
& :focus {
287-
color: white;
288-
}
289-
281+
> img:hover {
282+
filter: brightness(0) invert(1);
283+
}
290284
}
291-
.l5btn > img:hover {
292-
filter: brightness(0) invert(1);
293-
}
285+
294286
.dash-tangle {
295287
width: 78.14231rem;
296288
height: 74.72rem;

assets/scss/_variables_project.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ $body-bg: #010101;
3030
// $bs-body-bg: $dark;
3131
// $bs-card-cap-bg: $dark;
3232

33+
// Buttons
34+
$btn-line-height:3rem;
3335

3436
// Lefthand sidebar with inter-page docs menu
3537

content/en/_index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ title: Layer5
88
<div>
99
<a class="btn btn-lg btn-primary me-3 mb-4 l5btn"
1010
href="/cloud">
11-
<img src="images/5-light-no-trim.svg"
12-
style="width: 2rem; margin-right: .5rem;" />
11+
<img src="images/5-light-no-trim.svg" />
1312
Cloud Docs
1413
<i class="fas fa-arrow-alt-circle-right ms-2"></i>
1514
</a>
16-
<a class="btn btn-lg btn-secondary me-3 mb-4 l5btn"
15+
<a class="btn btn-lg btn-primary me-3 mb-4 l5btn"
1716
href="/meshmap">
18-
<img src="images/meshmap-alt.svg"
19-
style="width: 2rem; margin-right: .5rem;" />
17+
<img src="images/meshmap-alt.svg" />
2018
MeshMap Docs
2119
<i class="fas fa-arrow-alt-circle-right ms-2"></i>
2220
</a>

0 commit comments

Comments
 (0)