Hallo zusammen,
Ich würde bei meinem aktuellen Stil gerne eine Änderung vornehmen bezüglich der Hintergrund-Grafik.
Momentan wird im oberen Bereich eine header.jpg Grafik und ab einem bestimmten Level eine Hintergrundfarbe verwendet (Siehe Printscreen).
Nun möchte ich dass die Hintergrund-Grafik aus dem Header-Bereich über den gesamten Webseiten-Bereich genutzt wird und nicht nur im oberen Bereich wie zur Zeit.
Wer kann mir sagen was ich bei den CSS Angaben verändern muss?
Meiner Meinung nach müsste ich doch diese Farbcode Angabe durch eine Grafikangabe ersetzen oder ist das falsch?
Kompletter CSS Code:
CSS
@import url('https://fonts.googleapis.com/css?family=Cairo:300,400|Play&subset=latin-ext');
$e4ButtonBorder: rgba(229,229,229,1);
$e4ButtonBorderActive: rgba(255,170,78,1);
$e4ButtonPrimaryBorder: darken($wcfButtonPrimaryBackground, 10%);
$e4ButtonPrimaryBorderActive: $e4ButtonBorderActive;
$e4ButtonDisabledBorder: darken($wcfButtonDisabledBackground, 10%);
$e4PageBackground: #ebdabc;
#e4PageLogo {
@include screen-md-down {
display: none;
}
}
.pageHeaderFacade .layoutBoundary {
@include screen-lg {
background-image: url(#{$style_image_path}horses.png);
background-position: top 50% right 0px;
background-repeat: no-repeat;
background-size: 467px 100px;
}
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
a.button {
border-color: $e4ButtonBorder;
&.active,
&:hover {
border-color: $e4ButtonBorderActive;
}
}
button.buttonPrimary,
input[type="button"].buttonPrimary,
input[type="submit"],
.button.buttonPrimary,
a.button.buttonPrimary {
border-color: $e4ButtonPrimaryBorder;
&.active,
&:hover {
border-color: $e4ButtonPrimaryBorderActive;
}
}
/* disabled state */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
a.button {
&:disabled,
&.disabled {
border-color: $e4ButtonDisabledBorder !important;
}
}
/* force active state for buttons toggling a dropdown */
.dropdownOpen {
> button,
> input[type="button"],
> input[type="reset"],
> input[type="submit"],
> .button,
> a.button {
border-color: $e4ButtonBorderActive;
}
> button.buttonPrimary,
> input[type="button"].buttonPrimary,
> input[type="submit"],
> .button.buttonPrimary,
> a.button.buttonPrimary {
border-color: $e4ButtonPrimaryBorderActive;
}
}
$shareFacebookBorder: darken($shareFacebookBackground,15%);
$shareTwitterBorder: darken($shareTwitterBackground,15%);
$shareGoogleBorder: darken($shareGoogleBackground,15%);
$shareRedditBorder: darken($shareRedditBackground,15%);
$shareWhatsAppBorder: darken($shareWhatsAppBackground,15%);
$shareLinkedInBorder: darken($shareLinkedInBackground,15%);
$sharePinterestBorder: darken($sharePinterestBackground,15%);
$shareXingBorder: darken($shareXingBackground,15%);
.messageShareButtons {
.jsShareFacebook {
border-color: $shareFacebookBorder;
&:hover {
border-color: darken($shareFacebookBorder, 10%);
}
}
.jsShareTwitter {
border: $shareTwitterBorder;
&:hover {
border-color: darken($shareTwitterBorder, 10%);
}
}
.jsShareGoogle {
border-color: $shareGoogleBorder;
&:hover {
border-color: darken($shareGoogleBorder, 10%);
}
}
.jsShareReddit {
border-color: $shareRedditBorder;
&:hover {
border-color: darken($shareRedditBorder, 10%);
}
}
.jsShareWhatsApp {
border-color: $shareWhatsAppBorder;
color: rgba(255, 255, 255, 1);
&:hover {
border-color: darken($shareWhatsAppBorder, 10%);
color: rgba(255, 255, 255, 1);
}
}
.jsShareLinkedIn {
border-color: $shareLinkedInBorder;
&:hover {
border-color: darken($shareLinkedInBorder, 10%);
}
}
.jsSharePinterest {
border-color: $sharePinterestBorder;
&:hover {
border-color: darken($sharePinterestBorder, 10%);
}
}
.jsShareXing {
border-color: $shareXingBorder;
&:hover {
border-color: darken($shareXingBorder, 10%);
}
}
}
body {
background-color: $e4PageBackground;
background-image: url(#{$style_image_path}header.jpg);
background-repeat: repeat-x;
background-attachment: fixed;
background-position: 50% -2px;
}
.redactor-toolbar {
background-color: #ebdabc;
background-image: url(#{$style_image_path}header.jpg);
background-repeat: repeat-x;
background-position: 50% -2px;
}
.pageNavigation {
background: rgba(0,0,0,0);
> .layoutBoundary {
background: #fff;
}
.pageNavigationIcons {
display: none;
}
}
.main {
padding: 0;
padding-top: 12px;
> .layoutBoundary {
padding-top: 14px;
padding-bottom: 14px;
background: #fff;
}
}
.tabularBox {
border: solid 1px $wcfContentBorderInner;
border-bottom: 0;
box-shadow: 0 0 14px #ccc;
> header, .tabularList .tabularListRowHead {
background-color: $e4PageBackground;
background-image: url(#{$style_image_path}header.jpg);
background-repeat: repeat-x;
background-position: 50% -2px;
padding-left: 7px;
padding-right: 7px;
small {
color: #e63516;
}
}
}
.tabularBox .tabularList .tabularListRowHead {
padding-left: 0;
padding-right: 0;
}
.wbbBoardList .wbbCollapsibleCategory h2 + small {
color: #e63516;
}
.wbbLastPost {
border: solid 1px $wcfContentBorderInner;
box-shadow: 0 0 7px #ccc;
padding: 4px;
margin-right: 7px;
background: #fff;
}
.pageHeaderPanel {
background: rgba(255,255,255, .15);
border-bottom: solid 1px rgba(255,255,255, .30);
}
.pageHeaderPanel .icon16 {
font-size: 28px;
width: 32px;
height: 32px;
vertical-align: -5px;
line-height: 28px;
}
.badge, a.badge {
color: #fff;
}
.boxesFooterBoxes {
background: rgba(0,0,0,0);
> .layoutBoundary {
background: #fff;
padding: 0 30px;
.box {
border-style: solid;
border-width: 1px 0;
border-color: $wcfContentBorderInner;
padding: 7px;
}
}
}
.pageFooterCopyright a {
color: $wcfContentLink;
}
.pageFooter .layoutBoundary {
background: $e4PageBackground;
}
.pageHeaderPanel {
background-color: $e4PageBackground;
background-image: url(#{$style_image_path}header.jpg);
background-repeat: repeat-x;
background-attachment: fixed;
background-position: 50% -2px;
&::before {
width: 100%;
height: 100%;
background: rgba(255,255,255, .15);
display: block;
content: '';
height: 50px;
position: absolute;
z-index: -1;
}
}
.dialogContainer {
> header {
background-color: $e4PageBackground;
background-image: url(#{$style_image_path}header.jpg);
background-repeat: repeat-x;
background-position: 50% -2px;
color: $wcfTabularBoxHeadline;
}
.dialogContent {
background: #fff;
}
}
button:not(.inputPrefix), input[type="button"]:not(.inputPrefix), input[type="reset"]:not(.inputPrefix), input[type="submit"]:not(.inputPrefix), .button:not(.inputPrefix), a.button:not(.inputPrefix) {
border-width: 1px 1px 3px 1px;
border-style: solid;
}
.breadcrumbs > ol > li:not(:last-child)::after {
content: "\f101";
font-family: "FontAwesome";
}
.pagination > ul > li:not(.skip) > a, .pagination > ul > li:not(.skip) > span {
border-width: 1px 1px 3px 1px;
border-style: solid;
border-color: $e4ButtonBorder;
background: $wcfButtonBackground;
margin-right: 3px;
color: $wcfButtonText;
&:hover {
border-color: $e4ButtonBorderActive;
background: $wcfButtonBackgroundActive;
}
}
.pagination > ul > li.active > a, .pagination > ul > li.active > span {
border-color: $e4ButtonPrimaryBorder;
background: $wcfButtonPrimaryBackground;
color: $wcfButtonPrimaryText;
&:hover {
border-color: $e4ButtonPrimaryBorderActive;
background: $wcfButtonPrimaryBackgroundActive;
}
}
.messageAuthor {
display: flex;
flex-wrap: wrap;
.userAvatar {
order: 2;
margin: 5px auto;
}
.messageAuthorContainer {
order: 1;
width: 100%;
}
.userTitle {
order: 3;
width: 100%;
}
}
.messageList:not(.messageReducedList) > li:not(.messageListPagination) {
border-width: 0;
> .message {
border-width: 1px;
border-style: solid;
border-color: $wcfContentBorderInner;
background: $wcfSidebarBackground;
}
&.messageGroupStarter .message {
background: $wcfButtonBackgroundActive;
}
.messageContent {
background: #fff;
padding: 7px 14px;
}
}
.messageSidebar {
background: rgba(0,0,0,0);
border-radius: 0;
}
.messageList:not(.messageReducedList) {
border-top: 0;
}
.wbbBoardList .wbbStats > dl, .messageGroupList .tabularList .tabularListRow:not(.tabularListRowHead) .columnStats > dl {
visibility: visible;
}
.messageGroupListStatsSimple {
visibility: hidden;
}
.tabularListRow {
&:not(.tabularListRowHead):hover {
background-color: $wcfSidebarBackground;
}
}
.wbbBoardList {
.wbbBoard {
&:hover {
background-color: $wcfSidebarBackground;
}
}
.wbbBoardContainer:nth-child(even) {
.wbbBoard:not(:hover) {
background-color: rgba(251,252,253,1);
}
}
}
.wbbBoardList {
.fa-folder-open-o:before {
content: '';
background-image: url(#{$style_image_path}none.png);
background-repeat: no-repeat;
background-position: 50%;
background-size: 30px;
width: 32px;
height: 32px;
display: block;
}
.fa-folder-open:before {
content: '';
background-image: url(#{$style_image_path}new.png);
background-repeat: no-repeat;
background-position: 50%;
background-size: 30px;
width: 32px;
height: 32px;
display: block;
}
}
.badge.badgeUpdate, a.badge.badgeUpdate {
background-color: darken($wcfContentLinkActive, 15%);
color: #fff;
}
/* icons for system boxes */
.info, .error, .success, .warning {
@include screen-lg {
position: relative;
padding-left: 50px;
line-height: 1.5;
}
&::after {
@include screen-lg {
font-family: FontAwesome;
font-size: 28px;
display: block;
height: 32px;
left: 13px;
margin-top: -19px;
position: absolute;
top: 50%;
width: 32px;
}
}
}
@include screen-lg {
.error::after {
content: "\f05e";
}
.info::after {
content: "\f05a";
}
.warning::after {
content: "\f071";
}
.success::after {
content: "\f058";
}
}
/* icons for system boxes */
.messageList > .anchorFixedHeader:target > .message {
pointer-events: all;
transform: translateY(50px);
}
.messageList > .anchorFixedHeader:target::after {
height: 50px;
}
.messageList > .anchorFixedHeader:target {
margin-top: 50px !important;
}
.messageTabMenu.messageTabMenuContent > nav > ul > li {
&:not(:last-child) {
margin-right: 10px;
}
> a {
border: solid $wcfContentBorderInner;
border-width: 1px 1px 3px 1px;
padding: 4px;
border-radius: 2px;
}
&.active > a {
background: $wcfButtonBackgroundActive;
color: $wcfHeaderMenuDropdownBackground;
}
}
svg .text {
font-family: 'Play';
}
.menuOverlayMobile {
background: $wcfContentBackground;
}
.interactiveDropdownHeader {
align-items: center;
background-color: rgba(163, 39, 5, 1);
color: rgba(255,255,255,1);
.icon {
color: rgba(255,255,255,1);
}
}
.dialogContainer > header > .dialogCloseButton > .icon {
color: rgba(163, 39, 5, .8);
&:hover {
color: rgba(163, 39, 5, 1);
}
&:before {
content: '\f05c';
}
}
.mainMenu .boxMenu > li:hover > a {
background: $wcfHeaderMenuDropdownBackground;
}
.messageQuickReplyCollapsed .messageQuickReplyContent {
background: #ebdabc url(#{$style_image_path}header.jpg) !important;
background-repeat: repeat-x;
background-position: 50% -2px;
color: $wcfTabularBoxHeadline !important;
&::before, &::after { /* ::before = icon, ::after = placeholder */
color: inherit;
}
}
select {
-webkit-appearance: none !important;
-moz-appearance: none !important;
font-family: Cairo !important;
background-image: url(#{$style_image_path}downDark.svg);
background-position: top 50% right 2px;
background-repeat: no-repeat;
background-size: 16px;
padding-right: 24px;
}
/* mobile menu */
.menuOverlayMobile {
background-color: $e4PageBackground;
}
.menuOverlayLogoWrapper .menuOverlayLogo {
background-position: 24px 0px;
}
.menuOverlayItemLink,
.menuOverlayTitle,
.menuOverlayBackLink {
color: #fff;
}
.menuOverlayItemLink {
background-color: $wcfHeaderMenuDropdownBackground;
.icon::before {
color: #fff;
}
&:hover {
color: $wcfHeaderMenuLinkActive;
}
&.menuOverlayItemLinkMore::after {
color: #fff;
}
}
.menuOverlayItemLink.active,
.menuOverlayItemLinkIcon.active {
background-color: $wcfHeaderMenuLinkBackgroundActive;
}
.menuOverlayTitle {
color: rgba($wcfHeaderMenuLink, .7);
}
/* icon link sharing the space with a link or (header only) the logo */
.menuOverlayItemLinkIcon {
background-color: rgba(61, 15, 2, 1);
> .icon::before {
color: #fff;
}
}
.menuOverlayBackLink::before {
color: rgba($wcfHeaderMenuLink, .7);
}
Display More
Danke schonmal für eure Unterstützung...