| 1 |
/* Smart Links admin styles - Premium style inspired v3 enhancements */ |
| 2 |
|
| 3 |
.ka-smart-links-tabs { |
| 4 |
margin-bottom: 32px; |
| 5 |
} |
| 6 |
|
| 7 |
.ka-smart-links-tabs .ka-tab { |
| 8 |
text-decoration: none; |
| 9 |
display: inline-flex; |
| 10 |
align-items: center; |
| 11 |
gap: 6px; |
| 12 |
} |
| 13 |
|
| 14 |
.ka-smart-links-tabs .ka-tab .dashicons { |
| 15 |
font-size: 16px; |
| 16 |
width: 16px; |
| 17 |
height: 16px; |
| 18 |
margin-right: 6px; |
| 19 |
} |
| 20 |
|
| 21 |
.ka-alert { |
| 22 |
display: flex; |
| 23 |
align-items: center; |
| 24 |
gap: 10px; |
| 25 |
padding: 14px 18px; |
| 26 |
border-radius: 14px; |
| 27 |
margin-bottom: 24px; |
| 28 |
font-size: 14px; |
| 29 |
font-weight: 500; |
| 30 |
background: rgba(0, 113, 227, 0.08); |
| 31 |
color: #0071e3; |
| 32 |
} |
| 33 |
|
| 34 |
.ka-alert-error { |
| 35 |
background: rgba(255, 59, 48, 0.12); |
| 36 |
color: #ff3b30; |
| 37 |
} |
| 38 |
|
| 39 |
.ka-link-preview { |
| 40 |
display: flex; |
| 41 |
align-items: center; |
| 42 |
gap: 10px; |
| 43 |
flex-wrap: wrap; |
| 44 |
} |
| 45 |
|
| 46 |
.ka-link-preview code { |
| 47 |
background: rgba(0, 0, 0, 0.06); |
| 48 |
padding: 6px 10px; |
| 49 |
border-radius: 10px; |
| 50 |
font-size: 13px; |
| 51 |
} |
| 52 |
|
| 53 |
.ka-copy-btn { |
| 54 |
display: inline-flex; |
| 55 |
align-items: center; |
| 56 |
gap: 6px; |
| 57 |
border-radius: 999px; |
| 58 |
padding: 6px 12px; |
| 59 |
font-size: 12px; |
| 60 |
border: none; |
| 61 |
background: rgba(0, 0, 0, 0.08); |
| 62 |
cursor: pointer; |
| 63 |
transition: transform 0.2s ease, background 0.2s ease; |
| 64 |
} |
| 65 |
|
| 66 |
.ka-copy-btn:hover { |
| 67 |
background: rgba(0, 0, 0, 0.12); |
| 68 |
transform: translateY(-1px); |
| 69 |
} |
| 70 |
|
| 71 |
.ka-copy-btn.is-copied { |
| 72 |
background: rgba(52, 199, 89, 0.2); |
| 73 |
color: #34c759; |
| 74 |
} |
| 75 |
|
| 76 |
.ka-tags { |
| 77 |
display: flex; |
| 78 |
gap: 6px; |
| 79 |
flex-wrap: wrap; |
| 80 |
} |
| 81 |
|
| 82 |
.ka-tag-chip { |
| 83 |
display: inline-flex; |
| 84 |
align-items: center; |
| 85 |
padding: 4px 10px; |
| 86 |
border-radius: 999px; |
| 87 |
font-size: 12px; |
| 88 |
background: rgba(0, 0, 0, 0.06); |
| 89 |
color: #515154; |
| 90 |
} |
| 91 |
|
| 92 |
.ka-smart-links-actions { |
| 93 |
display: flex; |
| 94 |
gap: 8px; |
| 95 |
flex-wrap: wrap; |
| 96 |
} |
| 97 |
|
| 98 |
.ka-smart-links-actions a { |
| 99 |
font-size: 13px; |
| 100 |
color: #0071e3; |
| 101 |
text-decoration: none; |
| 102 |
} |
| 103 |
|
| 104 |
.ka-smart-links-actions a:hover { |
| 105 |
text-decoration: underline; |
| 106 |
} |
| 107 |
|
| 108 |
.ka-short-url { |
| 109 |
display: flex; |
| 110 |
align-items: center; |
| 111 |
gap: 8px; |
| 112 |
} |
| 113 |
|
| 114 |
.ka-short-url .ka-short-url-text { |
| 115 |
font-weight: 500; |
| 116 |
color: #1d1d1f; |
| 117 |
text-decoration: none; |
| 118 |
} |
| 119 |
|
| 120 |
.ka-short-url .ka-short-url-text:hover { |
| 121 |
color: #0071e3; |
| 122 |
} |
| 123 |
|
| 124 |
.ka-mini-badge { |
| 125 |
display: inline-flex; |
| 126 |
align-items: center; |
| 127 |
gap: 6px; |
| 128 |
padding: 4px 10px; |
| 129 |
border-radius: 999px; |
| 130 |
font-size: 12px; |
| 131 |
font-weight: 600; |
| 132 |
text-transform: uppercase; |
| 133 |
letter-spacing: 0.06em; |
| 134 |
background: rgba(236, 72, 153, 0.15); |
| 135 |
color: #db2777; |
| 136 |
} |
| 137 |
|
| 138 |
.ka-inline-fields { |
| 139 |
display: flex; |
| 140 |
gap: 12px; |
| 141 |
flex-wrap: wrap; |
| 142 |
} |
| 143 |
|
| 144 |
.ka-inline-fields .ka-field { |
| 145 |
flex: 1 1 200px; |
| 146 |
} |
| 147 |
|
| 148 |
.ka-field input[type="text"], |
| 149 |
.ka-field input[type="url"], |
| 150 |
.ka-field input[type="number"], |
| 151 |
.ka-field select, |
| 152 |
.ka-field textarea { |
| 153 |
width: 100%; |
| 154 |
} |
| 155 |
|
| 156 |
.ka-link-list-title { |
| 157 |
display: flex; |
| 158 |
flex-direction: column; |
| 159 |
gap: 6px; |
| 160 |
} |
| 161 |
|
| 162 |
.ka-link-list-title small { |
| 163 |
color: #86868b; |
| 164 |
} |
| 165 |
|
| 166 |
.ka-bulk-actions { |
| 167 |
display: flex; |
| 168 |
align-items: center; |
| 169 |
gap: 10px; |
| 170 |
flex-wrap: wrap; |
| 171 |
} |
| 172 |
|
| 173 |
.ka-bulk-actions select, |
| 174 |
.ka-bulk-actions input[type="text"] { |
| 175 |
min-width: 160px; |
| 176 |
} |
| 177 |
|
| 178 |
.ka-inline-form { |
| 179 |
display: flex; |
| 180 |
gap: 12px; |
| 181 |
flex-wrap: wrap; |
| 182 |
align-items: center; |
| 183 |
} |
| 184 |
|
| 185 |
.ka-utm-preview { |
| 186 |
padding: 12px 16px; |
| 187 |
background: rgba(0, 0, 0, 0.04); |
| 188 |
border-radius: 12px; |
| 189 |
font-size: 13px; |
| 190 |
color: #515154; |
| 191 |
word-break: break-all; |
| 192 |
} |
| 193 |
|
| 194 |
.ka-smart-links-pro-card { |
| 195 |
position: relative; |
| 196 |
} |
| 197 |
|
| 198 |
.ka-smart-links-pro-card .ka-pro-badge { |
| 199 |
margin-left: 8px; |
| 200 |
} |
| 201 |
|
| 202 |
body.ka-v3-dark .ka-alert { |
| 203 |
background: rgba(10, 132, 255, 0.2); |
| 204 |
color: #0a84ff; |
| 205 |
} |
| 206 |
|
| 207 |
body.ka-v3-dark .ka-alert-error { |
| 208 |
background: rgba(255, 69, 58, 0.2); |
| 209 |
color: #ff453a; |
| 210 |
} |
| 211 |
|
| 212 |
body.ka-v3-dark .ka-link-preview code { |
| 213 |
background: rgba(255, 255, 255, 0.08); |
| 214 |
color: #f5f5f7; |
| 215 |
} |
| 216 |
|
| 217 |
body.ka-v3-dark .ka-copy-btn { |
| 218 |
background: rgba(255, 255, 255, 0.12); |
| 219 |
color: #f5f5f7; |
| 220 |
} |
| 221 |
|
| 222 |
body.ka-v3-dark .ka-copy-btn:hover { |
| 223 |
background: rgba(255, 255, 255, 0.2); |
| 224 |
} |
| 225 |
|
| 226 |
body.ka-v3-dark .ka-short-url .ka-short-url-text { |
| 227 |
color: #f5f5f7; |
| 228 |
} |
| 229 |
|
| 230 |
body.ka-v3-dark .ka-tag-chip { |
| 231 |
background: rgba(255, 255, 255, 0.12); |
| 232 |
color: #d1d1d6; |
| 233 |
} |
| 234 |
|
| 235 |
body.ka-v3-dark .ka-smart-links-actions a { |
| 236 |
color: #0a84ff; |
| 237 |
} |
| 238 |
|
| 239 |
body.ka-v3-dark .ka-utm-preview { |
| 240 |
background: rgba(255, 255, 255, 0.08); |
| 241 |
color: #d1d1d6; |
| 242 |
} |
| 243 |
|