mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Style changes
This commit is contained in:
@@ -79,7 +79,6 @@ export const MainNavbar: React.FC = () => {
|
|||||||
{menuItems.map(i => (
|
{menuItems.map(i => (
|
||||||
<LinkContainer
|
<LinkContainer
|
||||||
activeClassName="active"
|
activeClassName="active"
|
||||||
exact
|
|
||||||
to={i.href}
|
to={i.href}
|
||||||
key={i.href}
|
key={i.href}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ export const WallPanel: React.FC<IWallPanelProps> = (
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className={`wall-overlay ${overlayClassName}`} />
|
<div className={`wall-overlay ${overlayClassName}`} />
|
||||||
<div className="wall grid row">
|
<div className="wall row justify-content-center">
|
||||||
{maybeRenderScenes()}
|
{maybeRenderScenes()}
|
||||||
{maybeRenderSceneMarkers()}
|
{maybeRenderSceneMarkers()}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ export const PerformerCard: React.FC<IPerformerCardProps> = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card className="performer-card">
|
||||||
<Link
|
<Link
|
||||||
to={`/performers/${performer.id}`}
|
to={`/performers/${performer.id}`}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ export const PerformerList: React.FC = () => {
|
|||||||
}
|
}
|
||||||
if (filter.displayMode === DisplayMode.Grid) {
|
if (filter.displayMode === DisplayMode.Grid) {
|
||||||
return (
|
return (
|
||||||
<div className="grid row">
|
<div className="row justify-content-center">
|
||||||
{result.data.findPerformers.performers.map(p => (
|
{result.data.findPerformers.performers.map(p => (
|
||||||
<PerformerCard key={p.id} performer={p} />
|
<PerformerCard key={p.id} performer={p} />
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ export const PerformerListTable: React.FC<IPerformerListTableProps> = (
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid">
|
<div className="row justify-content-center table-list">
|
||||||
<Table bordered striped>
|
<Table bordered striped>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -17,13 +17,6 @@
|
|||||||
float: right;
|
float: right;
|
||||||
margin-right: .5rem;
|
margin-right: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-tabpane-scenes {
|
|
||||||
.grid {
|
|
||||||
margin-right: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#url-field {
|
#url-field {
|
||||||
@@ -79,3 +72,9 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
&.performer-card {
|
||||||
|
padding: 0 0 1rem 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export const ScenePerformerPanel: FunctionComponent<IScenePerformerPanelProps> =
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="grid">{cards}</div>
|
<div className="row justify-content-center">{cards}</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ export const SceneListTable: React.FC<ISceneListTableProps> = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid">
|
<div className="row justify-content-center table-list">
|
||||||
<Table striped bordered>
|
<Table striped bordered>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ export class ScenePlayerImpl extends React.Component<
|
|||||||
return (
|
return (
|
||||||
<ReactJWPlayer
|
<ReactJWPlayer
|
||||||
playerId={JWUtils.playerID}
|
playerId={JWUtils.playerID}
|
||||||
playerScript="http://localhost:9999/jwplayer/jwplayer.js"
|
playerScript="http://192.168.1.65:9999/jwplayer/jwplayer.js"
|
||||||
customProps={config}
|
customProps={config}
|
||||||
onReady={this.onReady}
|
onReady={this.onReady}
|
||||||
onSeeked={this.onSeeked}
|
onSeeked={this.onSeeked}
|
||||||
|
|||||||
@@ -18,26 +18,14 @@ code {
|
|||||||
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid {
|
.table-list td {
|
||||||
display: flex;
|
|
||||||
flex-flow: row wrap;
|
|
||||||
justify-content: center;
|
|
||||||
margin: $pt-grid-size $pt-grid-size 0 0;
|
|
||||||
padding: 0;
|
|
||||||
|
|
||||||
&.wall {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
table td {
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 576px) {
|
@media (min-width: 576px) {
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ $sepia1: #63411e;
|
|||||||
$dark-gray2: #202b33;
|
$dark-gray2: #202b33;
|
||||||
$dark-gray5: #394b59;
|
$dark-gray5: #394b59;
|
||||||
|
|
||||||
$pt-grid-size: 10px;
|
|
||||||
$pt-navbar-height: 4rem;
|
$pt-navbar-height: 4rem;
|
||||||
|
|
||||||
.btn.active:not(.disabled),
|
.btn.active:not(.disabled),
|
||||||
@@ -66,18 +65,24 @@ button.minimal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-tabs {
|
.nav-tabs {
|
||||||
border-bottom-color: gray;
|
border: none;
|
||||||
|
margin: auto;
|
||||||
|
|
||||||
.nav-link.active {
|
.nav-link {
|
||||||
border-color: gray;
|
border: none;
|
||||||
border-bottom-color: transparent;
|
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
|
padding: 8px;
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
border-bottom: 2px solid;
|
||||||
|
color: $link-color;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user