mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
UI Plugin API (#4256)
* Add page registration * Add example plugin * First version of proper react plugins * Make reference react plugin * Add patching functions * Add tools link poc * NavItem poc * Add loading hook for lazily loaded components * Add documentation
This commit is contained in:
36
pkg/plugin/examples/react-component/src/testReact.scss
Normal file
36
pkg/plugin/examples/react-component/src/testReact.scss
Normal file
@@ -0,0 +1,36 @@
|
||||
.scene-card__date {
|
||||
color: #bfccd6;;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.scene-card__performer {
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
margin-right: 0.5em;
|
||||
|
||||
a {
|
||||
color: #137cbd;
|
||||
}
|
||||
}
|
||||
|
||||
.scene-card__performers,
|
||||
.scene-card__tags {
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
-webkit-line-clamp: unset;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
|
||||
.scene-card__tags .tag-item {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.scene-performer-popover .image-thumbnail {
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user