瀏覽代碼

Multiple Block Themes: Fix Cursor When Hovering Links (#7479)

* Poesis: Fix link cursors

* Fix remaining themes
Aurorum 1 年之前
父節點
當前提交
ead98e6762
共有 9 個文件被更改,包括 10 次插入10 次删除
  1. 1 1
      artly/styles/space-cadet.json
  2. 1 1
      covr/theme.json
  3. 1 1
      didone/theme.json
  4. 1 1
      foam/theme.json
  5. 1 1
      loic/theme.json
  6. 1 1
      mpho/theme.json
  7. 2 2
      poesis/theme.json
  8. 1 1
      strand/theme.json
  9. 1 1
      sunderland/theme.json

+ 1 - 1
artly/styles/space-cadet.json

@@ -195,7 +195,7 @@
 				}
 			}
 		},
-		"css": "a:any-link {\ncursor: auto;\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				"color": {

+ 1 - 1
covr/theme.json

@@ -565,7 +565,7 @@
 			"background": "var(--wp--preset--color--background)",
 			"text": "var(--wp--preset--color--foreground)"
 		},
-		"css": "a:any-link {\ncursor: auto;\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				":active": {

+ 1 - 1
didone/theme.json

@@ -557,7 +557,7 @@
 			"background": "var(--wp--preset--color--base)",
 			"text": "var(--wp--preset--color--contrast)"
 		},
-		"css": "a:any-link {\ncursor: auto;\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: 0.07em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: 0.07em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				":active": {

+ 1 - 1
foam/theme.json

@@ -1138,7 +1138,7 @@
 			"background": "var(--wp--preset--color--base)",
 			"text": "var(--wp--preset--color--contrast)"
 		},
-		"css": "a:any-link {\ncursor: auto;\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				":active": {

+ 1 - 1
loic/theme.json

@@ -653,7 +653,7 @@
 			"background": "var(--wp--preset--color--background)",
 			"text": "var(--wp--preset--color--foreground)"
 		},
-		"css": "a:any-link {\ncursor: auto;\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				":active": {

+ 1 - 1
mpho/theme.json

@@ -490,7 +490,7 @@
 			"background": "var(--wp--preset--color--base)",
 			"text": "var(--wp--preset--color--contrast)"
 		},
-		"css": " a[rel=\"tag\"]:before{\ncontent:\"#\";\n}\n\n a[rel=\"tag\"] + span{\ndisplay:none;\n}\n\n a[rel=\"tag\"]:after{\ncontent:\" \";\n}\n\na:any-link {\ncursor: auto;\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": " a[rel=\"tag\"]:before{\ncontent:\"#\";\n}\n\n a[rel=\"tag\"] + span{\ndisplay:none;\n}\n\n a[rel=\"tag\"]:after{\ncontent:\" \";\n}\n\na:any-link {\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				":active": {

+ 2 - 2
poesis/theme.json

@@ -433,7 +433,7 @@
 			"background": "var(--wp--preset--color--background)",
 			"text": "var(--wp--preset--color--foreground)"
 		},
-		"css": "a:any-link {\n    cursor: auto;\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}",
 		"elements": {
 			"button": {
 				":active": {
@@ -547,4 +547,4 @@
 	],
 	"version": 2,
 	"$schema": "https://schemas.wp.org/trunk/theme.json"
-}
+}

+ 1 - 1
strand/theme.json

@@ -598,7 +598,7 @@
 			"background": "var(--wp--preset--color--background)",
 			"text": "var(--wp--preset--color--foreground)"
 		},
-		"css": "a:any-link {\n    cursor: auto;\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .02em !important;\n    text-underline-offset: .20em;\n}",
 		"elements": {
 			"button": {
 				":active": {

+ 1 - 1
sunderland/theme.json

@@ -1161,7 +1161,7 @@
 			"background": "var(--wp--preset--color--base)",
 			"text": "var(--wp--preset--color--contrast)"
 		},
-		"css": "a:any-link {\ncursor: auto;\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
+		"css": "a:any-link {\n    text-decoration-thickness: .01em !important;\n    text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n    text-decoration: none;\n}",
 		"elements": {
 			"button": {
 				":active": {