Applied selected style to Portal preview tabs

no refs.
- added border to selected tab on Portal settings preview
This commit is contained in:
Peter Zimon 2020-07-17 10:02:32 +02:00
parent 42240c8be0
commit 66ae9f6a38

View File

@ -164,6 +164,7 @@
.gh-portal-settings-maintabs li a {
position: relative;
display: inline-block;
padding: 8px 12px;
margin: 0;
@ -177,7 +178,7 @@
font-size: 1.3rem;
}
.gh-portal-settings-maintabs li a:first-of-type {
.gh-portal-settings-maintabs li:first-of-type a {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
@ -193,6 +194,29 @@
font-weight: 500;
}
.gh-portal-settings-maintabs li.active a::before {
display: block;
position: absolute;
content: "";
top: 1px;
left: 0px;
right: 0px;
bottom: 1px;
pointer-events: none;
box-shadow: 0 0 0 2px var(--blue);
z-index: 999;
}
.gh-portal-settings-maintabs li.active:first-of-type a::before {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.gh-portal-settings-maintabs li.active:last-of-type a::before {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.gh-portal-settings-icons {
display: flex;
flex-grow: 1;