Quick Reply and Banner Fixes
This commit is contained in:
@@ -65,11 +65,9 @@
|
|||||||
.composer .preview,
|
.composer .preview,
|
||||||
.composer .CodeMirror,
|
.composer .CodeMirror,
|
||||||
.composer .CodeMirror-scroll,
|
.composer .CodeMirror-scroll,
|
||||||
.quick-reply,
|
|
||||||
.quick-reply .card,
|
.quick-reply .card,
|
||||||
.quick-reply .card-body,
|
.quick-reply .card-body,
|
||||||
.quick-reply .quickreply-message,
|
.quick-reply .quickreply-message,
|
||||||
[component="topic/quickreply/container"],
|
|
||||||
[component="topic/quickreply/container"] .card,
|
[component="topic/quickreply/container"] .card,
|
||||||
[component="topic/quickreply/container"] .card-body {
|
[component="topic/quickreply/container"] .card-body {
|
||||||
background-color: rgba(18, 15, 22, 0.96) !important;
|
background-color: rgba(18, 15, 22, 0.96) !important;
|
||||||
@@ -146,6 +144,24 @@ input[type="number"].form-control::-webkit-outer-spin-button {
|
|||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.quick-reply .quickreply-message,
|
||||||
|
[component="topic/quickreply/container"] .quickreply-message {
|
||||||
|
background: transparent !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.quick-reply,
|
||||||
|
[component="topic/quickreply/container"],
|
||||||
|
.quick-reply form,
|
||||||
|
[component="topic/quickreply/container"] form {
|
||||||
|
background: transparent !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
border: 0 !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.form-control:focus,
|
.form-control:focus,
|
||||||
.form-select:focus,
|
.form-select:focus,
|
||||||
.bootstrap-tagsinput:focus,
|
.bootstrap-tagsinput:focus,
|
||||||
|
|||||||
+38
-26
@@ -4,23 +4,19 @@
|
|||||||
margin-top: 0.25rem;
|
margin-top: 0.25rem;
|
||||||
border: 1px solid rgba(194, 163, 90, 0.22);
|
border: 1px solid rgba(194, 163, 90, 0.22);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 1.05rem 1.05rem;
|
padding: 1.2rem 1.05rem;
|
||||||
filter: saturate(1) contrast(1) brightness(1);
|
filter: saturate(1) contrast(1) brightness(1);
|
||||||
background: url("./plugins/nodebb-theme-westgate/images/plum-header-bg.png") center 50% / cover no-repeat;
|
background-color: #16121b;
|
||||||
|
background:
|
||||||
|
linear-gradient(90deg, rgba(5, 4, 7, 0.82) 0%, rgba(7, 6, 9, 0.72) 22%, rgba(9, 7, 11, 0.48) 34%, rgba(10, 8, 12, 0.18) 43%, rgba(10, 8, 12, 0) 52%),
|
||||||
|
url("./plugins/nodebb-theme-westgate/images/plum-header-bg.png") center 50% / cover no-repeat;
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 1px 0 rgba(255, 242, 204, 0.08),
|
inset 0 1px 0 rgba(255, 242, 204, 0.08),
|
||||||
inset 0 0 0 1px rgba(33, 21, 28, 0.5),
|
inset 0 0 0 1px rgba(33, 21, 28, 0.5),
|
||||||
0 18px 42px rgba(0, 0, 0, 0.3);
|
0 18px 42px rgba(0, 0, 0, 0.3);
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: none;
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
background:
|
|
||||||
radial-gradient(circle at 22% 46%, rgba(120, 46, 94, 0.15), transparent 26%),
|
|
||||||
linear-gradient(90deg, rgba(14, 11, 18, 0.54) 0%, rgba(37, 19, 36, 0.24) 24%, rgba(37, 19, 36, 0.18) 76%, rgba(14, 11, 18, 0.58) 100%);
|
|
||||||
opacity: 0.82;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,19 +27,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__veil {
|
.westgate-brand-hero__veil {
|
||||||
position: absolute;
|
display: none;
|
||||||
inset: auto 0 0 0;
|
|
||||||
height: 54%;
|
|
||||||
background: linear-gradient(180deg, rgba(11, 8, 15, 0), rgba(34, 15, 30, 0.62));
|
|
||||||
z-index: 0;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__inner {
|
.westgate-brand-hero__inner {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
min-height: 128px;
|
min-height: 142px;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__brand {
|
.westgate-brand-hero__brand {
|
||||||
@@ -51,6 +44,8 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
min-height: inherit;
|
min-height: inherit;
|
||||||
padding: 0 0 0 clamp(1rem, 4vw, 3rem);
|
padding: 0 0 0 clamp(1rem, 4vw, 3rem);
|
||||||
|
justify-content: flex-start;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus-within {
|
&:focus-within {
|
||||||
@@ -72,10 +67,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__brand [component="siteTitle"] {
|
.westgate-brand-hero__title-shell {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
min-height: inherit;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
|
text-align: left;
|
||||||
|
color: inherit;
|
||||||
|
position: relative;
|
||||||
|
z-index: 3;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
background: transparent;
|
||||||
|
box-shadow: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__title-block {
|
.westgate-brand-hero__title-block {
|
||||||
@@ -83,11 +93,12 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 0.35rem;
|
gap: 0.35rem;
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__brand [component="siteTitle"] :where(h1, .fs-6) {
|
.westgate-brand-hero__brand [component="siteTitle"] :where(h1, .fs-6) {
|
||||||
font-family: var(--wg-font-display);
|
font-family: var(--wg-font-display);
|
||||||
font-size: clamp(1.65rem, 2.8vw, 2.5rem) !important;
|
font-size: clamp(1.25rem, 2.1vw, 1.9rem) !important;
|
||||||
line-height: 0.92;
|
line-height: 0.92;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
@@ -106,7 +117,7 @@
|
|||||||
.westgate-brand-hero__subtitle {
|
.westgate-brand-hero__subtitle {
|
||||||
color: #c2a35a;
|
color: #c2a35a;
|
||||||
font-family: var(--wg-font-display);
|
font-family: var(--wg-font-display);
|
||||||
font-size: 0.86rem;
|
font-size: 0.64rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
letter-spacing: 0.22em;
|
letter-spacing: 0.22em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@@ -118,6 +129,7 @@
|
|||||||
|
|
||||||
.westgate-brand-hero__widgets {
|
.westgate-brand-hero__widgets {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
z-index: 4;
|
||||||
color: var(--wg-text);
|
color: var(--wg-text);
|
||||||
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.74);
|
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.74);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -134,18 +146,18 @@
|
|||||||
@media (max-width: 991.98px) {
|
@media (max-width: 991.98px) {
|
||||||
.westgate-brand-hero {
|
.westgate-brand-hero {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding: 0.95rem 0.9rem;
|
padding: 1.05rem 0.9rem;
|
||||||
background-position: center 46%;
|
background-position: center 46%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__inner {
|
.westgate-brand-hero__inner {
|
||||||
min-height: 108px;
|
min-height: 118px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__brand {
|
.westgate-brand-hero__brand {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: 0 0 0 0.4rem;
|
padding: 0 0 0 0.65rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__title-block {
|
.westgate-brand-hero__title-block {
|
||||||
@@ -153,12 +165,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__brand [component="siteTitle"] :where(h1, .fs-6) {
|
.westgate-brand-hero__brand [component="siteTitle"] :where(h1, .fs-6) {
|
||||||
font-size: clamp(1.3rem, 5.2vw, 1.8rem) !important;
|
font-size: clamp(1rem, 3.9vw, 1.35rem) !important;
|
||||||
letter-spacing: 0.07em;
|
letter-spacing: 0.07em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.westgate-brand-hero__subtitle {
|
.westgate-brand-hero__subtitle {
|
||||||
font-size: 0.74rem;
|
font-size: 0.56rem;
|
||||||
letter-spacing: 0.18em;
|
letter-spacing: 0.18em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<!-- IMPORT partials/sidebar-left.tpl -->
|
<!-- IMPORT partials/sidebar-left.tpl -->
|
||||||
|
|
||||||
<main id="panel" class="d-flex flex-column gap-3 flex-grow-1 mt-3" style="min-width: 0;">
|
<main id="panel" class="d-flex flex-column gap-3 flex-grow-1 mt-3" style="min-width: 0;">
|
||||||
<div class="container-lg px-md-4 d-flex flex-column gap-3 h-100 mb-5 mb-lg-0" id="content">
|
|
||||||
<!-- IMPORT partials/header/brand.tpl -->
|
<!-- IMPORT partials/header/brand.tpl -->
|
||||||
|
<div class="container-lg px-md-4 d-flex flex-column gap-3 h-100 mb-5 mb-lg-0" id="content">
|
||||||
<!-- IMPORT partials/noscript/warning.tpl -->
|
<!-- IMPORT partials/noscript/warning.tpl -->
|
||||||
<!-- IMPORT partials/noscript/message.tpl -->
|
<!-- IMPORT partials/noscript/message.tpl -->
|
||||||
|
|||||||
@@ -1,24 +1,26 @@
|
|||||||
{{{ if (brand:logo || (config.showSiteTitle || widgets.brand-header.length)) }}}
|
{{{ if (brand:logo || (config.showSiteTitle || widgets.brand-header.length)) }}}
|
||||||
<div class="container-lg px-md-4 brand-container westgate-brand-hero">
|
<div class="container-lg px-md-4 brand-container">
|
||||||
<div class="westgate-brand-hero__veil"></div>
|
<div class="westgate-brand-hero">
|
||||||
<div class="d-flex westgate-brand-hero__inner {{{ if config.theme.centerHeaderElements }}}justify-content-left{{{ end }}}">
|
<div class="westgate-brand-hero__veil"></div>
|
||||||
{{{ if config.showSiteTitle }}}
|
<div class="d-flex westgate-brand-hero__inner justify-content-start">
|
||||||
<div component="brand/wrapper" class="d-flex align-items-center justify-content-left align-content-stretch westgate-brand-hero__brand">
|
{{{ if config.showSiteTitle }}}
|
||||||
<a component="siteTitle" class="text-truncate align-self-stretch align-items-center d-flex justify-content-left" href="{{{ if title:url }}}{title:url}{{{ else }}}{relative_path}/{{{ end }}}">
|
<div component="brand/wrapper" class="d-flex align-items-center justify-content-start align-content-stretch westgate-brand-hero__brand">
|
||||||
<span class="westgate-brand-hero__title-block">
|
<a component="siteTitle" class="align-self-stretch align-items-center d-flex justify-content-start westgate-brand-hero__title-shell" href="{{{ if title:url }}}{title:url}{{{ else }}}{relative_path}/{{{ end }}}">
|
||||||
<h1 class="fs-6 fw-bold text-body mb-0">{config.siteTitle}</h1>
|
<span class="westgate-brand-hero__title-block">
|
||||||
<span class="westgate-brand-hero__subtitle">Forums</span>
|
<h1 class="fs-6 fw-bold text-body mb-0">{config.siteTitle}</h1>
|
||||||
</span>
|
<span class="westgate-brand-hero__subtitle">Forums</span>
|
||||||
</a>
|
</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{{ end }}}
|
||||||
|
{{{ if widgets.brand-header.length }}}
|
||||||
|
<div data-widget-area="brand-header" class="flex-fill gap-3 align-self-center westgate-brand-hero__widgets">
|
||||||
|
{{{each widgets.brand-header}}}
|
||||||
|
{{./html}}
|
||||||
|
{{{end}}}
|
||||||
|
</div>
|
||||||
|
{{{ end }}}
|
||||||
</div>
|
</div>
|
||||||
{{{ end }}}
|
|
||||||
{{{ if widgets.brand-header.length }}}
|
|
||||||
<div data-widget-area="brand-header" class="flex-fill gap-3 align-self-center westgate-brand-hero__widgets">
|
|
||||||
{{{each widgets.brand-header}}}
|
|
||||||
{{./html}}
|
|
||||||
{{{end}}}
|
|
||||||
</div>
|
|
||||||
{{{ end }}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{{ end }}}
|
{{{ end }}}
|
||||||
|
|||||||
Reference in New Issue
Block a user