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