| 1 |
/** |
| 2 |
* ThinkRank branded admin notices. |
| 3 |
* |
| 4 |
* Keeps the native WordPress `.notice` frame (positioning, the dismiss "X", |
| 5 |
* screen-reader semantics) but restyles the inner content into a branded, |
| 6 |
* card-like layout shared by every ThinkRank admin notice. |
| 7 |
* |
| 8 |
* Hand-authored — lives in static/ so the build never cleans it. |
| 9 |
*/ |
| 10 |
|
| 11 |
.thinkrank-notice { |
| 12 |
border-left-color: #4451ff; |
| 13 |
padding: 0; |
| 14 |
} |
| 15 |
|
| 16 |
.thinkrank-notice .thinkrank-notice__inner { |
| 17 |
display: flex; |
| 18 |
align-items: flex-start; |
| 19 |
gap: 16px; |
| 20 |
|
| 21 |
/* Right padding leaves room for the WP dismiss "X". */ |
| 22 |
padding: 16px 40px 16px 16px; |
| 23 |
} |
| 24 |
|
| 25 |
.thinkrank-notice__body { |
| 26 |
flex: 1 1 auto; |
| 27 |
min-width: 0; |
| 28 |
} |
| 29 |
|
| 30 |
.thinkrank-notice__title { |
| 31 |
margin: 1px 0 6px !important; |
| 32 |
padding: 0; |
| 33 |
font-size: 15px; |
| 34 |
font-weight: 600; |
| 35 |
line-height: 1.3; |
| 36 |
color: #1d2327; |
| 37 |
} |
| 38 |
|
| 39 |
.thinkrank-notice__text { |
| 40 |
margin: 0 0 10px !important; |
| 41 |
padding: 0; |
| 42 |
max-width: 90ch; |
| 43 |
color: #50575e; |
| 44 |
font-size: 13px; |
| 45 |
line-height: 1.6; |
| 46 |
} |
| 47 |
|
| 48 |
/* Reassurance chip (e.g. "your SEO data is safe"). */ |
| 49 |
.thinkrank-notice__hint { |
| 50 |
display: inline-flex; |
| 51 |
align-items: center; |
| 52 |
gap: 7px; |
| 53 |
margin: 0 0 12px !important; |
| 54 |
padding: 7px 12px; |
| 55 |
background: #f0f4ff; |
| 56 |
border: 1px solid #d6ddff; |
| 57 |
border-radius: 7px; |
| 58 |
color: #313a8a; |
| 59 |
font-size: 12.5px; |
| 60 |
line-height: 1.5; |
| 61 |
} |
| 62 |
|
| 63 |
.thinkrank-notice__hint svg { |
| 64 |
flex: 0 0 auto; |
| 65 |
fill: #4451ff; |
| 66 |
} |
| 67 |
|
| 68 |
/* Detected-plugin pills */ |
| 69 |
.thinkrank-notice__badges { |
| 70 |
display: flex; |
| 71 |
flex-wrap: wrap; |
| 72 |
gap: 6px; |
| 73 |
margin: 0 0 12px !important; |
| 74 |
padding: 0; |
| 75 |
} |
| 76 |
|
| 77 |
.thinkrank-notice__badge { |
| 78 |
display: inline-flex; |
| 79 |
align-items: center; |
| 80 |
padding: 3px 11px; |
| 81 |
background: #fff; |
| 82 |
border: 1px solid #dcdcde; |
| 83 |
border-radius: 999px; |
| 84 |
font-size: 12px; |
| 85 |
font-weight: 500; |
| 86 |
line-height: 1.6; |
| 87 |
color: #1d2327; |
| 88 |
} |
| 89 |
|
| 90 |
/* Actions row */ |
| 91 |
.thinkrank-notice__actions { |
| 92 |
display: flex; |
| 93 |
flex-wrap: wrap; |
| 94 |
align-items: center; |
| 95 |
gap: 10px; |
| 96 |
margin: 0 !important; |
| 97 |
padding: 0; |
| 98 |
} |
| 99 |
|
| 100 |
.thinkrank-notice .thinkrank-notice__actions .button { |
| 101 |
border-radius: 6px; |
| 102 |
} |
| 103 |
|
| 104 |
.thinkrank-notice .thinkrank-notice__actions .button-primary { |
| 105 |
background: #4451ff; |
| 106 |
border-color: #3a46e0; |
| 107 |
box-shadow: none; |
| 108 |
text-shadow: none; |
| 109 |
} |
| 110 |
|
| 111 |
.thinkrank-notice .thinkrank-notice__actions .button-primary:hover, |
| 112 |
.thinkrank-notice .thinkrank-notice__actions .button-primary:focus { |
| 113 |
background: #3a46e0; |
| 114 |
border-color: #2f39c4; |
| 115 |
color: #fff; |
| 116 |
} |
| 117 |
|
| 118 |
.thinkrank-notice .thinkrank-notice__actions .button-primary:disabled, |
| 119 |
.thinkrank-notice .thinkrank-notice__actions .button-primary.disabled { |
| 120 |
background: #a7adf5 !important; |
| 121 |
border-color: #a7adf5 !important; |
| 122 |
color: #fff !important; |
| 123 |
} |
| 124 |
|
| 125 |
.thinkrank-notice__dismiss { |
| 126 |
margin-left: 2px; |
| 127 |
color: #646970; |
| 128 |
text-decoration: underline; |
| 129 |
font-size: 13px; |
| 130 |
} |
| 131 |
|
| 132 |
.thinkrank-notice__dismiss:hover, |
| 133 |
.thinkrank-notice__dismiss:focus { |
| 134 |
color: #1d2327; |
| 135 |
} |
| 136 |
|
| 137 |
@media screen and ( max-width: 600px ) { |
| 138 |
|
| 139 |
.thinkrank-notice .thinkrank-notice__inner { |
| 140 |
gap: 12px; |
| 141 |
padding: 14px 36px 14px 14px; |
| 142 |
} |
| 143 |
} |
| 144 |
|