| 1 |
/* Admin banner base styles |
| 2 |
----------------------------------*/ |
| 3 |
.wz-admin-banner { |
| 4 |
margin: 0 0 0 -20px; |
| 5 |
padding: 26px 36px; |
| 6 |
background: linear-gradient(180deg, #041f4e 0%, #031337 55%, #010713 100%); |
| 7 |
color: #f6f8ff; |
| 8 |
display: flex; |
| 9 |
align-items: center; |
| 10 |
gap: 28px; |
| 11 |
box-sizing: border-box; |
| 12 |
} |
| 13 |
|
| 14 |
.wz-admin-banner__intro { |
| 15 |
flex: 1 1 auto; |
| 16 |
min-width: 220px; |
| 17 |
color: #f6f8ff; |
| 18 |
} |
| 19 |
|
| 20 |
.wz-admin-banner__eyebrow { |
| 21 |
display: inline-block; |
| 22 |
padding: 2px 10px; |
| 23 |
border-radius: 999px; |
| 24 |
background-color: rgba(127, 195, 255, 0.2); |
| 25 |
color: #7fc3ff; |
| 26 |
font-size: 0.9rem; |
| 27 |
text-transform: uppercase; |
| 28 |
letter-spacing: 0.06em; |
| 29 |
font-weight: 600; |
| 30 |
} |
| 31 |
|
| 32 |
.wz-admin-banner__title { |
| 33 |
margin: 10px 0 6px; |
| 34 |
font-size: 1rem; |
| 35 |
font-weight: 700; |
| 36 |
line-height: 1.24; |
| 37 |
color: #ffffff; |
| 38 |
} |
| 39 |
|
| 40 |
.wz-admin-banner__text { |
| 41 |
margin: 0; |
| 42 |
font-size: 0.9rem; |
| 43 |
line-height: 1.6; |
| 44 |
color: #dfe6ff; |
| 45 |
max-width: 540px; |
| 46 |
} |
| 47 |
|
| 48 |
.wz-admin-banner__links { |
| 49 |
display: flex; |
| 50 |
flex-wrap: wrap; |
| 51 |
gap: 10px; |
| 52 |
align-items: center; |
| 53 |
} |
| 54 |
|
| 55 |
.wz-admin-banner__link { |
| 56 |
display: inline-flex; |
| 57 |
align-items: center; |
| 58 |
gap: 8px; |
| 59 |
padding: 9px 16px; |
| 60 |
border-radius: 999px; |
| 61 |
font-size: 0.9rem; |
| 62 |
font-weight: 600; |
| 63 |
text-decoration: none; |
| 64 |
color: inherit; |
| 65 |
transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, outline 0.2s ease; |
| 66 |
outline: none; |
| 67 |
} |
| 68 |
|
| 69 |
.wz-admin-banner__link:focus, |
| 70 |
.wz-admin-banner__link:focus-visible, |
| 71 |
.wz-admin-banner__link:active { |
| 72 |
outline: 2px solid rgba(255, 255, 255, 0.7); |
| 73 |
outline-offset: 2px; |
| 74 |
} |
| 75 |
|
| 76 |
.wz-admin-banner__link--primary { |
| 77 |
background-color: #ffbd59; |
| 78 |
color: #0a0a0a; |
| 79 |
box-shadow: 0 8px 24px rgba(255, 189, 89, 0.45); |
| 80 |
} |
| 81 |
|
| 82 |
.wz-admin-banner__link--primary:hover, |
| 83 |
.wz-admin-banner__link--primary:focus, |
| 84 |
.wz-admin-banner__link--primary:focus-visible, |
| 85 |
.wz-admin-banner__link--primary:active { |
| 86 |
background-color: #f08c00; |
| 87 |
transform: translateY(-1px); |
| 88 |
outline: 2px solid #ffffff; |
| 89 |
outline-offset: 2px; |
| 90 |
color: #0a0a0a; |
| 91 |
} |
| 92 |
|
| 93 |
.wz-admin-banner__link--secondary { |
| 94 |
background-color: rgba(3, 32, 117, 0.18); |
| 95 |
color: #f6f8ff; |
| 96 |
box-shadow: inset 0 0 0 1px rgba(3, 32, 117, 0.45); |
| 97 |
} |
| 98 |
|
| 99 |
.wz-admin-banner__link--secondary:hover, |
| 100 |
.wz-admin-banner__link--secondary:focus, |
| 101 |
.wz-admin-banner__link--secondary:focus-visible, |
| 102 |
.wz-admin-banner__link--secondary:active { |
| 103 |
background-color: #0d2f8d; |
| 104 |
transform: translateY(-1px); |
| 105 |
outline: 2px solid #ffbd59; |
| 106 |
outline-offset: 2px; |
| 107 |
color: #ffffff; |
| 108 |
} |
| 109 |
|
| 110 |
.wz-admin-banner__link--current { |
| 111 |
background-color: #c8302e; |
| 112 |
color: #ffffff; |
| 113 |
box-shadow: 0 8px 24px rgba(200, 48, 46, 0.4); |
| 114 |
} |
| 115 |
|
| 116 |
.wz-admin-banner__link--current:hover, |
| 117 |
.wz-admin-banner__link--current:focus, |
| 118 |
.wz-admin-banner__link--current:focus-visible, |
| 119 |
.wz-admin-banner__link--current:active { |
| 120 |
background-color: #e04841; |
| 121 |
color: #ffffff; |
| 122 |
outline: 2px solid #ffffff; |
| 123 |
outline-offset: 2px; |
| 124 |
transform: translateY(-1px); |
| 125 |
} |
| 126 |
|
| 127 |
@media screen and (max-width: 782px) { |
| 128 |
.wz-admin-banner { |
| 129 |
flex-direction: column; |
| 130 |
align-items: flex-start; |
| 131 |
gap: 18px; |
| 132 |
margin: 0 0 12px -16px; |
| 133 |
padding: 20px 20px; |
| 134 |
} |
| 135 |
|
| 136 |
.wz-admin-banner__title { |
| 137 |
font-size: 1.125rem; |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
@media (prefers-reduced-motion: reduce) { |
| 142 |
.wz-admin-banner__link { |
| 143 |
transition: none; |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
@media screen and (max-width: 600px) { |
| 148 |
body.wp-admin #wpbody { |
| 149 |
padding-top: 0; |
| 150 |
} |
| 151 |
|
| 152 |
body.wp-admin .wz-admin-banner { |
| 153 |
margin: 0 0 0 -16px; |
| 154 |
padding: 48px 20px 28px 20px; |
| 155 |
} |
| 156 |
|
| 157 |
.wz-admin-banner__link { |
| 158 |
font-size: 0.875rem; |
| 159 |
} |
| 160 |
|
| 161 |
body.wp-admin .wz-admin-banner__title, |
| 162 |
body.wp-admin .wz-admin-banner__text { |
| 163 |
display: none; |
| 164 |
} |
| 165 |
} |