Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…onent-library into header_link_font-weight
  • Loading branch information
johnnadeluy committed Nov 4, 2024
2 parents 5884a93 + aa644fc commit 0a8bf8b
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 25 deletions.
32 changes: 20 additions & 12 deletions lib/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,14 @@ a {
cursor: pointer;
}
.ssb-btn:hover, .ssb-btn:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
background: #00824d;
color: #fff;
text-decoration: underline;
}
.ssb-btn:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
}
.ssb-btn:active {
background: #274247;
border: 2px solid #274247;
Expand Down Expand Up @@ -335,15 +337,15 @@ a {
.ssb-btn-tertiary .button-header .header-text {
color: #162327;
}
.ssb-btn-tertiary .button-header:hover, .ssb-btn-tertiary .button-header:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
}
.ssb-btn-tertiary .button-header:hover .header-text, .ssb-btn-tertiary .button-header:focus .header-text {
color: #00824d;
text-decoration: underline;
text-underline-position: under;
}
.ssb-btn-tertiary .button-header:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
}
.ssb-btn-tertiary .button-header.no-icon {
text-decoration: underline;
text-underline-position: under;
Expand Down Expand Up @@ -1240,8 +1242,6 @@ a {
vertical-align: top;
}
.ssb-glossary .glossary-button:hover, .ssb-glossary .glossary-button:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
background-position: left bottom;
}
.ssb-glossary .glossary-button:hover .glossary-logo, .ssb-glossary .glossary-button:focus .glossary-logo {
Expand All @@ -1250,6 +1250,10 @@ a {
.ssb-glossary .glossary-button:hover .glossary-text-wrap, .ssb-glossary .glossary-button:focus .glossary-text-wrap {
border-bottom: none;
}
.ssb-glossary .glossary-button:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
}
.ssb-glossary .glossary-popup {
font-family: "Open Sans", sans-serif !important;
font-stretch: normal;
Expand Down Expand Up @@ -2514,8 +2518,6 @@ a {
margin-top: 4px;
}
.ssb-table-link:hover, .ssb-table-link:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
text-decoration: none;
}
.ssb-table-link:hover .tl-icon, .ssb-table-link:focus .tl-icon {
Expand All @@ -2529,6 +2531,10 @@ a {
.ssb-table-link:hover .tl-description, .ssb-table-link:focus .tl-description {
color: #00824d;
}
.ssb-table-link:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
}

.ssb-tabs {
display: flex;
Expand Down Expand Up @@ -2627,11 +2633,13 @@ a {
cursor: pointer;
}
.ssb-tag:hover, .ssb-tag:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
background: #00824d;
color: #fff;
}
.ssb-tag:focus {
outline: #9272fc solid 2px;
outline-offset: 2px;
}
.ssb-tag:active {
background: #274247;
border: 2px solid #274247;
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@
"name": "Carina G. Nordseth"
}
]
}
}
7 changes: 5 additions & 2 deletions src/components/Button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@

&:hover,
&:focus {
@include focus-ring;
background: $ssb-green-4;
color: $ssb-white;
text-decoration: underline;
}

&:focus {
@include focus-ring;
}

&:active {
background: $ssb-dark-5;
border: 2px solid $ssb-dark-5;
Expand Down Expand Up @@ -133,4 +136,4 @@
font-size: 18px;
margin-right: 5px;
}
}
}
8 changes: 5 additions & 3 deletions src/components/ButtonTertiary/_buttonTertiary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@

&:hover,
&:focus {
@include focus-ring;

.header-text {
color: $ssb-green-4;
text-decoration: underline;
text-underline-position: under;
}
}

&:focus {
@include focus-ring;
}

&.no-icon {
text-decoration: underline;
text-underline-position: under;
Expand Down Expand Up @@ -116,4 +118,4 @@
color: $ssb-white;
}
}
}
}
7 changes: 5 additions & 2 deletions src/components/Glossary/_glossary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

&:hover,
&:focus {
@include focus-ring;
background-position: left bottom;

.glossary-logo {
Expand All @@ -36,6 +35,10 @@
border-bottom: none;
}
}

&:focus {
@include focus-ring;
}
}

.glossary-popup {
Expand Down Expand Up @@ -112,4 +115,4 @@
}
}
}
}
}
7 changes: 5 additions & 2 deletions src/components/TableLink/_tableLink.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@

&:hover,
&:focus {
@include focus-ring;
text-decoration: none;

.tl-icon {
Expand All @@ -53,4 +52,8 @@
color: $ssb-green-4;
}
}
}

&:focus {
@include focus-ring;
}
}
7 changes: 5 additions & 2 deletions src/components/Tag/_tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@

&:hover,
&:focus {
@include focus-ring;
background: $ssb-green-4;
color: $ssb-white;
}

&:focus {
@include focus-ring;
}

&:active {
background: $ssb-dark-5;
border: 2px solid $ssb-dark-5;
Expand All @@ -42,4 +45,4 @@
font-size: 18px;
margin-right: 5px;
}
}
}

0 comments on commit 0a8bf8b

Please sign in to comment.