| 1 |
// Misc styles (green header notice, navigation badge, etc.) |
| 2 |
|
| 3 |
/* |
| 4 |
* GREEN HEADER NOTICE CSS. |
| 5 |
*/ |
| 6 |
.sp-pcp-green-header-notice { |
| 7 |
background-color: #148652; |
| 8 |
height: 40px; |
| 9 |
display: flex; |
| 10 |
align-items: center; |
| 11 |
justify-content: center; |
| 12 |
|
| 13 |
.sp-pcp-green-header-notice-content { |
| 14 |
display: flex; |
| 15 |
align-items: center; |
| 16 |
padding: 12px 0; |
| 17 |
|
| 18 |
.sp-pcp-green-header-notice-text { |
| 19 |
color: #fff; |
| 20 |
font-size: 14px; |
| 21 |
margin-left: 6px; |
| 22 |
} |
| 23 |
|
| 24 |
.sp-pcp-green-header-notice-link { |
| 25 |
color: #fff; |
| 26 |
font-size: 14px; |
| 27 |
font-weight: bold; |
| 28 |
display: inline-flex; |
| 29 |
align-items: center; |
| 30 |
padding-left: 8px; |
| 31 |
position: relative; |
| 32 |
gap: 3px; |
| 33 |
|
| 34 |
&::after { |
| 35 |
content: ''; |
| 36 |
position: absolute; |
| 37 |
bottom: 0px; |
| 38 |
left: 8px; |
| 39 |
right: 0; |
| 40 |
height: 1px; |
| 41 |
background-color: #fff; |
| 42 |
} |
| 43 |
|
| 44 |
&:hover { |
| 45 |
text-decoration: none; |
| 46 |
svg { |
| 47 |
transform: translateX(3px) rotate(45deg); |
| 48 |
} |
| 49 |
} |
| 50 |
|
| 51 |
svg { |
| 52 |
width: 11px; |
| 53 |
height: 11px; |
| 54 |
transform: rotate(45deg); |
| 55 |
transition: all .3s ease-in-out; |
| 56 |
} |
| 57 |
} |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
/* |
| 62 |
* NAVIGATION BADGE CSS. |
| 63 |
*/ |
| 64 |
.sp-smart-post-block-settings-nev { |
| 65 |
.sp-pcp-nav-badge { |
| 66 |
position: absolute; |
| 67 |
top: 4px; |
| 68 |
right: 4px; |
| 69 |
background-color: transparent; |
| 70 |
color: #007aff; |
| 71 |
font-size: 9px; |
| 72 |
font-weight: 500; |
| 73 |
padding: 0; |
| 74 |
border-radius: 0; |
| 75 |
white-space: nowrap; |
| 76 |
line-height: normal; |
| 77 |
text-transform: uppercase; |
| 78 |
} |
| 79 |
|
| 80 |
.sp-pcp-nav-our-plugins { |
| 81 |
position: relative; |
| 82 |
|
| 83 |
a { |
| 84 |
display: flex !important; |
| 85 |
align-items: center; |
| 86 |
gap: 4px; |
| 87 |
} |
| 88 |
|
| 89 |
&::after { |
| 90 |
content: ''; |
| 91 |
position: absolute; |
| 92 |
left: 0; |
| 93 |
top: 50%; |
| 94 |
transform: translateY(-50%); |
| 95 |
width: 1px; |
| 96 |
height: 20px; |
| 97 |
background-color: #ccc; |
| 98 |
} |
| 99 |
|
| 100 |
&.active::after { |
| 101 |
display: none; |
| 102 |
} |
| 103 |
|
| 104 |
&:where(:has(~ .active), :has(+ .active))::after { |
| 105 |
display: none; |
| 106 |
} |
| 107 |
} |
| 108 |
} |
| 109 |
|