akismet-admin-rtl.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. /* This file was automatically generated on Nov 20 2023 03:10:42 */
  2. #akismet-plugin-container {
  3. background-color: var(--akismet-color-light-grey);
  4. font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
  5. --akismet-color-charcoal: #272635;
  6. --akismet-color-light-grey: #f6f7f7;
  7. --akismet-color-mid-grey: #a7aaad;
  8. --akismet-color-dark-grey: #646970;
  9. --akismet-color-grey-80: #2c3338;
  10. --akismet-color-grey-100: #101517;
  11. --akismet-color-white: #fff;
  12. --akismet-color-mid-green: #357b49;
  13. --akismet-color-mid-red: #e82c3f;
  14. --akismet-color-light-blue: #256eff;
  15. --akismet-color-notice-light-green: #dbf0e1;
  16. --akismet-color-notice-dark-green: #69bf82;
  17. --akismet-color-notice-light-red: #ffdbde;
  18. --akismet-color-notice-dark-red: #ff6676;
  19. }
  20. #akismet-plugin-container a {
  21. color: var(--akismet-color-mid-green);
  22. }
  23. #akismet-plugin-container button:focus-visible,
  24. #akismet-plugin-container input:focus-visible {
  25. border: 0;
  26. box-shadow: none;
  27. outline: 2px solid var(--akismet-color-light-blue);
  28. }
  29. .akismet-masthead {
  30. box-shadow: none;
  31. }
  32. .akismet-masthead__logo {
  33. margin: 20px 0;
  34. }
  35. .akismet-section-header {
  36. box-shadow: none;
  37. margin-bottom: 0;
  38. }
  39. .akismet-section-header__label {
  40. color: var(--akismet-color-charcoal);
  41. font-weight: 600;
  42. }
  43. .akismet-button, .akismet-button:hover {
  44. background-color: var(--akismet-color-mid-green);
  45. border: 0;
  46. color: #fff;
  47. }
  48. /* Need this specificity to override the existing header rule */
  49. .akismet-new-snapshot h3.akismet-new-snapshot__header {
  50. background: none;
  51. font-size: 13px;
  52. color: var(--akismet-color-charcoal);
  53. text-align: right;
  54. text-transform: none;
  55. }
  56. .akismet-new-snapshot .akismet-new-snapshot__number {
  57. color: var(--akismet-color-charcoal);
  58. letter-spacing: -1px;
  59. text-align: right;
  60. }
  61. .akismet-new-snapshot li.akismet-new-snapshot__item {
  62. color: var(--akismet-color-dark-grey);
  63. font-size: 13px;
  64. text-align: right;
  65. text-transform: none;
  66. }
  67. .akismet-masthead__logo-link {
  68. min-height: 50px;
  69. }
  70. .akismet-masthead__back-link-container {
  71. margin-top: 16px;
  72. margin-bottom: 2px;
  73. }
  74. /* Need this specificity to override the existing link rule */
  75. #akismet-plugin-container a.akismet-masthead__back-link {
  76. background-image: url(../img/arrow-left.svg);
  77. background-position: right;
  78. background-repeat: no-repeat;
  79. background-size: 16px;
  80. color: var(--akismet-color-charcoal);
  81. font-weight: 400;
  82. padding-right: 20px;
  83. text-decoration: none;
  84. }
  85. #akismet-plugin-container a.akismet-masthead__back-link:hover {
  86. text-decoration: underline;
  87. }
  88. .akismet-new-snapshot__item {
  89. border-top: 1px solid var(--akismet-color-light-grey);
  90. border-right: 1px solid var(--akismet-color-light-grey);
  91. padding: 1em;
  92. }
  93. .akismet-new-snapshot li:first-child {
  94. border-right: none;
  95. }
  96. .akismet-new-snapshot__list {
  97. display: flex;
  98. margin-bottom: 0;
  99. }
  100. .akismet-new-snapshot__item {
  101. flex: 1 0 33.33%;
  102. margin-bottom: 0;
  103. padding-right: 1.5em;
  104. padding-left: 1.5em;
  105. }
  106. .akismet-new-snapshot__chart {
  107. padding: 1em;
  108. }
  109. .akismet-box {
  110. border: 0;
  111. }
  112. .akismet-box,
  113. .akismet-card {
  114. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 0 2px rgba(0, 0, 0, 0.16);
  115. border-radius: 8px;
  116. overflow: hidden;
  117. }
  118. .akismet-card {
  119. margin: 32px auto 0 auto;
  120. }
  121. .akismet-lower {
  122. padding-top: 0;
  123. }
  124. .akismet-lower .inside {
  125. padding: 0;
  126. }
  127. .akismet-section-header__label {
  128. margin: 0;
  129. }
  130. .akismet-settings__row {
  131. border-bottom: 1px solid var(--akismet-color-light-grey);
  132. display: block;
  133. padding: 1em 1.5em;
  134. }
  135. .akismet-settings__row-input {
  136. margin-right: auto;
  137. }
  138. .akismet-settings__row-title {
  139. font-weight: 500;
  140. font-size: 1em;
  141. margin: 0;
  142. margin-bottom: 1em;
  143. }
  144. .akismet-settings__row-description {
  145. margin-top: 0.5em;
  146. }
  147. .akismet-card-actions {
  148. display: flex;
  149. justify-content: flex-end;
  150. padding: 1em;
  151. }
  152. .akismet-card-actions__secondary-action {
  153. align-self: center;
  154. margin-left: auto;
  155. }
  156. .akismet-card-actions__secondary-action a[target="_blank"]::after {
  157. background: url('../img/icon-external.svg') no-repeat;
  158. background-size: contain;
  159. content: "";
  160. display: inline-block;
  161. height: 16px;
  162. margin-right: 5px;
  163. vertical-align: middle;
  164. width: 16px;
  165. }
  166. .akismet-settings__row label {
  167. padding-bottom: 1em;
  168. }
  169. .akismet-settings__row-note {
  170. font-size: 0.9em;
  171. margin-top: 0.4em;
  172. }
  173. .akismet-settings__row input[type="checkbox"],
  174. .akismet-settings__row input[type="radio"] {
  175. accent-color: var(--akismet-color-mid-green);
  176. box-shadow: none;
  177. flex-shrink: 0;
  178. margin: 2px 0 0 0;
  179. }
  180. .akismet-settings__row input[type="checkbox"] {
  181. margin-top: 1px;
  182. vertical-align: top;
  183. -webkit-appearance: checkbox;
  184. }
  185. .akismet-settings__row input[type="radio"] {
  186. -webkit-appearance: radio;
  187. }
  188. /* Fix up misbehaving wp-admin styles in Chrome (from forms and colors stylesheets) */
  189. .akismet-settings__row input[type="checkbox"]:checked:before {
  190. content: '';
  191. }
  192. .akismet-settings__row input[type="radio"]:checked:before {
  193. background: none;
  194. }
  195. .akismet-settings__row input[type="checkbox"]:checked:hover,
  196. .akismet-settings__row input[type="radio"]:checked:hover {
  197. accent-color: var(--akismet-color-mid-green);
  198. }
  199. .akismet-button:disabled {
  200. background-color: var(--akismet-color-mid-grey);
  201. color: var(--akismet-color-white);
  202. cursor: arrow;
  203. }
  204. .akismet-awaiting-stats,
  205. .akismet-account {
  206. padding: 0 1rem 1rem 1rem;
  207. margin: 0;
  208. }
  209. .akismet-account {
  210. padding-bottom: 0;
  211. }
  212. .akismet-account th {
  213. font-weight: 500;
  214. padding-left: 1em;
  215. }
  216. .akismet-account th, .akismet-account td {
  217. padding-bottom: 1em;
  218. }
  219. .akismet-settings__row-input-label {
  220. align-items: center;
  221. display: flex;
  222. }
  223. .akismet-settings__row-label-text {
  224. padding-right: 0.5em;
  225. margin-top: 2px;
  226. }
  227. .akismet-alert {
  228. border-right: 8px solid;
  229. border-radius: 8px;
  230. margin: 20px 0;
  231. padding: 0.2em 1em;
  232. }
  233. .akismet-alert__heading {
  234. font-size: 1em;
  235. }
  236. .akismet-alert.is-good {
  237. background-color: var(--akismet-color-notice-light-green);
  238. border-right-color: var(--akismet-color-notice-dark-green);
  239. }
  240. .akismet-alert.is-neutral {
  241. background-color: var(--akismet-color-white);
  242. border-right-color: var(--akismet-color-dark-grey);
  243. }
  244. .akismet-alert.is-bad {
  245. background-color: var(--akismet-color-notice-light-red);
  246. border-right-color: var(--akismet-color-notice-dark-red);
  247. }
  248. #akismet-plugin-container .akismet-alert.is-good a,
  249. #akismet-plugin-container .akismet-alert.is-bad a {
  250. /* For better contrast - green isn't great */
  251. color: var(--akismet-color-grey-80);
  252. }
  253. /* Setup - API key input */
  254. .akismet-enter-api-key-box {
  255. margin: 1.5rem 0;
  256. }
  257. .akismet-enter-api-key-box__reveal {
  258. background: none;
  259. border: 0;
  260. color: var(--akismet-color-mid-green);
  261. cursor: pointer;
  262. text-decoration: underline;
  263. }
  264. .akismet-enter-api-key-box__form-wrapper {
  265. display: none;
  266. margin-top: 1.5rem;
  267. }
  268. .akismet-enter-api-key-box__input-wrapper {
  269. box-sizing: border-box;
  270. display: flex;
  271. flex-wrap: nowrap;
  272. padding: 0 1.5rem;
  273. width: 100%;
  274. }
  275. .akismet-enter-api-key-box__key-input {
  276. flex-grow: 1;
  277. margin-left: 1rem;
  278. }
  279. h3.akismet-enter-api-key-box__header {
  280. padding-top: 0;
  281. padding-bottom: 1em;
  282. text-align: right;
  283. }
  284. @media screen and (max-width: 782px) {
  285. .akismet-new-snapshot__list {
  286. display: block;
  287. }
  288. .akismet-new-snapshot__number {
  289. float: left;
  290. font-size: 20px;
  291. font-weight: 500;
  292. margin-top: -16px;
  293. }
  294. .akismet-new-snapshot__header {
  295. font-size: 14px;
  296. font-weight: 500;
  297. }
  298. .akismet-new-snapshot__text {
  299. font-size: 12px;
  300. }
  301. .akismet-settings__row input[type="checkbox"],
  302. .akismet-settings__row input[type="radio"] {
  303. height: 24px;
  304. width: 24px;
  305. }
  306. .akismet-settings__row-label-text {
  307. padding-right: 0.8em;
  308. }
  309. .akismet-settings__row input[type="checkbox"],
  310. .akismet-settings__row input[type="radio"] {
  311. margin-top: 0;
  312. }
  313. }