-
- {e.name}
-
- {selectedTarget.label === "Any" && (
-
- {e.target}
-
- )}
+ // Uncomment the next line and comment out the backgroundImage line if you want to try the new "greyed out bg" style
+ // background: "#0000",
+ backgroundImage: 'url("' + e.preview_image + '")',
+ backgroundSize: "cover",
+ backgroundRepeat: "no-repeat",
+ backgroundPosition: "center",
+ width: "260px",
+ borderRadius: "5px",
+ marginLeft: "10px",
+ marginRight: "10px",
+ marginBottom: "20px",
+ }}
+ >
-
+ >
- {e.author}
+ textAlign: "center",
+ marginTop: "5px",
+ fontSize: "1.25em",
+ fontWeight: "bold",
+ // This stuff here truncates it if it's too long
+ whiteSpace: "nowrap",
+ overflow: "hidden",
+ textOverflow: "ellipsis",
+ width: "90%",
+ }}
+ >
+ {e.name}
-
+ {e.target}
+
+ )}
+
- {e.version}
-
-
-
-
-
+
+
+ {e.author}
+
+
- {
- installTheme(e.id);
- }}>
-
- {calcButtonText(installStatus)}
-
-
-
-
+ marginLeft: "auto",
+ fontSize: "1em",
+ textShadow: "rgb(48, 48, 48) 0px 0 10px",
+ }}
+ >
+ {e.version}
+
+
+
+
+
+ {
+ setCurExpandedTheme(e);
+ Router.Navigate("/theme-manager-expanded-view");
+ }}
+ >
+
+ {installStatus === "outdated"
+ ? "Update Available"
+ : "View Details"}
+
+
+
+
+