Es führen, wie so oft, viele Wege nach Rom. Ich halte die Variante mit der @-moz-document.Regel für aussagekräftiger. Die Nutzer, die mit CSS nicht so bewandert sind, können damit sicherlich nicht sehr viel anfangen. Bei der @-moz-document- Regel kann man ihnen aber erklären, dass der Code nur auf der Seite wirkt, deren Internetadresse angegeben ist. Diese Variante bietet sich also besonders für Helfer an.

Anpassung Camp-Firefox Hilfe-Forum
-
Der Feuerfuchs -
8. Juni 2019 um 01:14 -
Erledigt
-
-
Es ist zwar sehr unwahrscheinlich, dass es diese Bezeichnung auch auf einer anderen Webseite so gibt:
Gar nicht so unwahrscheinlich. Das wird es nämlich auf praktisch jeder Seite geben, welche diese Software nutzt. Selbst wenn die IDs anders verteilt sind - Die Software kommt standardmäßig mit mehr als 70 Seiten, das heißt, irgendwo ist eine Seite mit der ID 47.
-
welche diese Software nutzt.
Hallo Sören..
danke für den Hinweis, daran hatte ich gar nicht gedacht.
-
Hallo Sören,
Es ist zwar sehr unwahrscheinlich, dass es diese Bezeichnung auch auf einer anderen Webseite so gibt:
Gar nicht so unwahrscheinlich. Das wird es nämlich auf praktisch jeder Seite geben, welche diese Software nutzt. Selbst wenn die IDs anders verteilt sind - Die Software kommt standardmäßig mit mehr als 70 Seiten, das heißt, irgendwo ist eine Seite mit der ID 47.
wie sieht es damit → itemid="https://www.camp-firefox.de/forum/" aus, ist das alleinstehend?
Meine Anpassung ist natürlich mittels der Erweiterung Stylus für das Camp festgenagelt.
-
Solange sich die URL nicht verändert. Das bietet aber keinen Vorteil gegenüber der @-moz-document-Methode, sollte also nicht stattdessen verwendet werden. Sonst muss das CSS ja trotzdem auf ausnahmslos jeder Website geparst werden, nur um auf jeder Seite zu prüfen, ob das angewendet werden muss, obwohl du ja bereits weißt, dass es sonst nirgends anzuwenden ist.
-
Nur mal so, das Thema weitet sich doch aus, vielleicht sollte man alle Beiträge außer die Beiträge #1, #2, #3 und #9 in einen eigenen Thread verschieben.
-
einen eigenen Thread verschieben.
Ich habe ihn mal in dieses Thema verschoben.
-
Danke.
-
Alles ist gut, hier sind die Beiträge auch besser aufgehoben.
-
Bei mir hat sich nur wenig getan, allenfalls kleinere Anpassungen und Fehlerbehebungen, neu ist der Teil für die mobile Ansicht, auch wenn dieses Forum Code dafür beinhaltet. Die mobile Ansicht ist nicht perfekt.
CSS
Alles anzeigen/*Stand: 28.08.2020, 12:00 Uhr*/ html, body { font: 14px Verdana,Arial,Helvetica,sans-serif !important; } html, body, .main, .boxesFooter, .boxesFooterBoxes, .layoutBoundary, .pageFooterCopyright, .pageHeaderFacade, .pageNavigation { background: #8CD2FF !important; } html *, body *, a, button, .button, input, textarea, .messageGroupList .columnSubject > .statusDisplay { transition: none !important; -webkit-transition: none !important; } .messageBody .messageText p > a::before{content: "►" !important;} /* .messageBody .quoteBoxIcon a::before{content: none !important;}*/ button.small, .button.small, a.button, a.button.small { padding: 2px 10px !important; font-weight: 900 !important; background: #ff6800 !important; color: #000 !important; } button.small:hover, .button.small:hover, a.button:hover, a.button.small:hover { padding: 2px 10px !important; font-weight: 900 !important; background: #ffbf00 !important; color: #000 !important; } .buttonGroupNavigation > ul.buttonList { background: #ff6800 !important; color: #000 !important; } .buttonGroupNavigation > ul.buttonList:hover { background: #ffbf00 !important; color: #000 !important; } .jsOnly.spoilerBoxHeader .button.jsSpoilerToggle { background: #ff6800 !important; color: #000 !important; border: 2px #ff2020 solid !important; } a.externalURL, .pageNavigation a, .contentHeaderTitle a { color: #44f !important; font-weight: 900 !important; } a.externalURL:hover, .pageNavigation a:hover, .contentHeaderTitle a:hover { color: #f0f !important; font-weight: 900 !important; } #pageContainer, .pageContainer { max-width: 1360px !important; margin: 0 auto !important; } #tpl_wbb_board .pageNavigationIcons > li:not(:last-child) { margin-left: 0 !important; } #tpl_wbb_board .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_conversation .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_unresolvedThreadList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_userPostList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_disclaimer .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_membersList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_recentActivityList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_team .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_userSearch .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_usersOnlineList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons { left: calc(1vw - 100% + 85px) !important; } #tpl_wcf_conversationList .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_thread .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_unreadThreadList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons { left: calc(1vw - 100% + 160px) !important; margin-top: -1px !important; } #tpl_wcf_articleList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_ignoredUsers .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wcf_notificationList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons { left: calc(1vw - 100% + 158px) !important; margin-top: -1px !important; } #tpl_wbb_boardList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/2-nachrichten/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/3-smalltalk/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/4-erweiterungen-themes/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/7-vorab-versionen/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/8-probleme-auf-websites/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/9-m%C3%BCllhalde/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/11-schaltzentrale/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/15-firefox-allgemein/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/16-individuelle-anpassungen/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/20-firefox-produkte-f%C3%BCr-android/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons, #tpl_wbb_board[itemid="https://www.camp-firefox.de/forum/forum/24-firefox-produkte-f%C3%BCr-apple-ios/"] .pageNavigation .pageNavigationIcons.jsPageNavigationIcons { left: calc(1vw - 100% + 160px) !important; margin-top: -1px !important; } #tpl_wbb_boardList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons .ignoreBoardsButton, a.jsSubscribeButton { display: none !important; } #tpl_wbb_unreadThreadList .section .tabularListRow.tabularListRowHead { background: #eee !important; } #tpl_wbb_userPostList .message { border: none !important; padding: 1px !important; } #tpl_wbb_userPostList .messageContent, #tpl_wbb_userPostList .messageFooterGroup { background: #eee !important; margin-left: 0 !important; } #tpl_wcf_disclaimer .content form .section.htmlContent > ol li { background: #eee !important; border-bottom: 1px #888 solid !important; padding: 0 5px 5px 5px !important; } #tpl_wcf_membersList .section.sectionContainerList > ol li, #tpl_wcf_recentActivityList .section.sectionContainerList > ul li, #tpl_wcf_searchResult .section.sectionContainerList > ul li, #tpl_wcf_team .section.sectionContainerList > ol li, #tpl_wcf_usersOnlineList .section.sectionContainerList > ol li { border-bottom: 1px #888 solid !important; } #tpl_wcf_notificationList .content ul.containerList.userNotificationItemList li.jsNotificationItem.notificationItem div.box32 div img { height: 32px !important; width: 32px !important; } #tpl_wcf_recentActivityList .containerList > li .containerHeadline, #tpl_wcf_recentActivityList .containerContent.htmlContent { background: #fff !important; padding: 2px !important; } #tpl_wcf_settings .content p.success { background: #ff6800 !important; border: none !important; color: #222 !important; } #tpl_wbb_board .section ul.wbbBoardList > li.wbbBoardContainer, #tpl_wbb_unreadThreadList .section .tabularListColumns > ol.tabularListColumns, #tpl_wcf_disclaimer .section > ul.boardrules-rules, #tpl_wcf_membersList .section.sectionContainerList > ol, #tpl_wcf_notificationList .content ul.containerList.userNotificationItemList li.jsNotificationItem.notificationItem, #tpl_wcf_recentActivityList .section.sectionContainerList > ul, #tpl_wcf_searchResult .section.sectionContainerList, #tpl_wcf_team .section.sectionContainerList > ol, #tpl_wcf_usersOnlineList .section.sectionContainerList > ol { background: #eee !important; border-bottom: 1px #888 solid !important; } #tpl_wbb_board .section ul.wbbBoardList > li.wbbBoardContainer:hover, #tpl_wbb_unreadThreadList .section ol.tabularList li.tabularListRow ol.tabularListColumns:hover, #tpl_wbb_userPostList .message:hover, #tpl_wbb_userPostList .messageContent:hover #tpl_wcf_membersList .section.sectionContainerList > ol li:hover, #tpl_wcf_notificationList .content ul.containerList.userNotificationItemList li.jsNotificationItem.notificationItem:hover, #tpl_wcf_recentActivityList .section.sectionContainerList > ul li:hover, #tpl_wcf_searchResult .section.sectionContainerList > ul li:hover, #tpl_wcf_team .section.sectionContainerList > ol li:hover, #tpl_wcf_usersOnlineList .section.sectionContainerList > ol li:hover { background: #eef6f9 !important; } #tpl_wcf_cms .section.cmsContent.htmlContent p { background: #eef6f9 !important; padding: 5px !important; } .attachmentThumbnail .attachmentThumbnailImage img { opacity: .95 !important; transition: none !important; -webkit-transition: none !important; } .badge, a.badge, .newMessageBadge { color: #ee0 !important; font-weight: 900 !important; } #tpl_wbb_board[data-board-id="20"] .badge.brown, #tpl_wbb_board[data-board-id="20"] a.badge.brown, #tpl_wbb_board[data-board-id="24"] .badge.brown, #tpl_wbb_board[data-board-id="24"] a.badge.brown, #tpl_wbb_boardList .wbbBoardList .badge.brown { display: none !important; } #tpl_wbb_unresolvedThreadList .badge.brown::after, #tpl_wbb_unresolvedThreadList a.badge.brown::after { content: "/Android" !important; } /* #tpl_wbb_board[data-board-id="24"] .badge.brown::after, #tpl_wbb_board[data-board-id="24"] a.badge.brown::after { content: " für iOS" !important; }*/ .boxesFooterBoxes { width: calc(100vw - 384px) !important; min-height: 80px !important; flex: none !important; margin-left: 14px !important; position: relative !important; top: -110px !important; } .boxesFooterBoxes .layoutBoundary { padding: 0 !important; margin: 0 !important; } .boxesFooterBoxes .box { max-width: 100% !important; min-width: 100% !important; flex: none !Important; overflow: visible !important; } .boxesFooterBoxes .boxContainer { width: calc(100vw - 384px) !important; margin: 0 !important; padding: 0 !important; } .boxesFooterBoxes .boxContainer section.box:nth-of-type(2) { width: 100%!important; margin: 0 !important; padding: 0 5px 0 10px !important; } .boxesFooterBoxes .boxContainer section.box:nth-of-type(2) .boxContent { margin-top: 0 !important; padding-left: 20px !important; padding-bottom: 5px !important; flex: none !important; } .buttonGroup > li:last-child .button[data-tooltip="Inhalt melden"], .messageFooterButtons > li:last-child .button[data-tooltip="Inhalt melden"], .messageFooterButtonsExtra > li:last-child .button[data-tooltip="Inhalt melden"] { background: #c00 !important; } .buttonGroup > li:last-child .button[data-tooltip="Zitieren"], .messageFooterButtons > li:last-child .button[data-tooltip="Zitieren"], .messageFooterButtonsExtra > li:last-child .button[data-tooltip="Zitieren"] { background: #44f !important; } .containerHeadline a, .htmlContent a, .messageBody > .messageText a, .messageGroupAuthor a.userLink, .messageGroupList .columnLastPost a, .messageSignature > div a, .messageText a, .redactor-layer a, .sidebarItemTitle a.userLink, a.messageGroupLink, a.wbbLastPostAuthor, #tpl_wcf_notificationList .content ul.containerList.userNotificationItemList li.jsNotificationItem.notificationItem a { color: #44f !important; } .containerHeadline a:hover, .htmlContent a:hover, .messageBody > .messageText a:hover, .messageGroupAuthor a.userLink:hover, .messageGroupList .columnLastPost a:hover, .messageSignature > div a:hover, .messageText a:hover, .redactor-layer a:hover, .sidebarItemTitle a.userLink:hover, .tabularBoxTitle > header h2 a:hover, a.messageGroupLink:hover, a.wbbLastPostAuthor:hover, #tpl_wcf_notificationList .content ul.containerList.userNotificationItemList li.jsNotificationItem.notificationItem a:hover { color: #f0f !important; } .columnSubject > h3 a, .containerHeadline > h3, .tabularBoxTitle > header > h2 { font-size: 16px !important; } .content .userAvatarImage, .wbbSimilarThreadList .userAvatarImage { background: none !important; border: none !important; height: 32px !important; width: 32px !important; } .contentHeader { max-height: 64px !important; padding: 0 !important; margin: 8px 0 5px 0 !important; } /* .codeBox div:nth-of-type(1) { margin-top: 36px !important; }*/ #tpl_wbb_thread .codeBox > .toggleButton { background-color: #8CD2FF !important; position: absolute !important; height: 36px !important; top: 10px !important; padding-bottom: 0 !important; width: 150px !important; left: calc((100vw - 582px)) !important; box-shadow: none !important; } #tpl_wbb_userPostList .codeBox > .toggleButton { background-color: #8CD2FF !important; position: absolute !important; height: 36px !important; top: 10px !important; padding-bottom: 0 !important; width: 150px !important; left: calc((100vw - 652px)) !important; box-shadow: none !important; } .codeBoxHeader .icon24 { font-size: 18px !important; height: 36px !important; line-height: 36px !important; width: 36px !important; background: #ff6800!important; } li[data-identifier="com.uz.wcf.compulsory.form"] { position: relative !important; left: 200px !important; } li[data-identifier="com.uz.wcf.compulsory.form"] span { height: 20px !important; padding: 2px 4px !important; font-weight: 900 !important; background: #ff6800 !important; color: #000 !important; } #tpl_wbb_unreadThreadList .contentHeader { margin: 3px 0 5px 0 !important; } .contentHeader .contentTitle { font-size: 16px !important; font-weight: 900 !important; } .contentHeader.userProfileUser { min-height: 120px !important; } .contentHeader + .section, .contentHeader + .sectionContainer, .contentHeader + form, .messageHeader + .messageBody, .paginationTop + .section { margin-top: 0 !important; } .section { margin-top: 14px !important; } .contentHeader .inlineDataList, .contentHeaderTitle ul, .messageHeaderBox > .messageHeaderMetaData * { color: #224 !important; font-style: italic !important; } .main { padding: 0 !important; padding-bottom: 10px !important; } .main #about, .main #recentActivity, li.jsIgnoredUser .box48 { background: #eee !important; padding: 5px !important; } .main #recentActivity li:hover, .main ol.userList li.jsIgnoredUser .box48:hover { background: #fff !important; } .main .layoutBoundary { padding: 0 15px !important; } .main ol.userList li.jsIgnoredUser { background: #eee !important; padding: 0 !important; } .main ol.userList li.jsIgnoredUser .box48 { background: #eee !important; padding: 3px !important; } .message { border: 1px #888 solid !important; } .messageContent, .messageFooterGroup { background: #ddd !important; padding: 10px !important; margin-left: 20px !important; } .messageFooterGroup { padding: 2px !important; margin-top: 0 !important; } .messageGroupAuthor a.userLink, .sidebarItemTitle a.userLink, .messageHeaderBox > .messageStatus * { font-style: italic !important; } .messageGroupList .box32 a, #tpl_wcf_notificationList .content ul.containerList.userNotificationItemList li.jsNotificationItem.notificationItem div.box32 div { width: 32px !important; } .messageGroupList .columnLastPost a { overflow: visible !important; } .messageGroupList .tabularList .tabularListRow:not(.tabularListRowHead) .columnStats > dl { visibility: visible !important; } .messageGroupList .tabularList li.divider ol.wbbThreadAnnouncement { background: #bb190040 !important; } .messageGroupList .tabularList li.divider ol.wbbThreadSticky { background: #89faff4f !important; } .messageGroupList .tabularList li.divider:hover { background: #eef6f9 !important; } .messageGroupList .userAvatarImage { background: none !important; border: none !important; height: 75% !important; width: 75% !important; } .messageHeader { border-bottom: 1px #888 solid !important; padding-bottom: 0 !important; margin-bottom: 3px !important; } .messageList.messageReducedList > li:not(:last-child) { padding-bottom: 10px !important; } .messageSidebar .userAvatar span.badgeOnline { padding: 1px !important; margin: 0 0 0 36px !important; } .messageSignature { opacity: 1 !important; transition: none !important; transform: none !important; } .pageHeaderFacade > .layoutBoundary .pageHeaderLogo > a { padding: 0 0 0 10px !important; } .pageHeaderFixed .pageHeaderPanel { animation: none !important; position: absolute !important; transform: none !important; -webkit-transform: none !important; } .pageHeaderFixed .userPanel, .pageHeaderFacade .userPanel { animation: none !important; position: absolute !important; top: 10px !important; transition: none !important; -webkit-transition: none !important; z-index: 999 !important; } @media screen and (min-width:1025px) { .pageHeaderFixed .userPanel, .pageHeaderFacade .userPanel { left: calc((100vw - 1360px) / 2 + 400px) !important; } } @media screen and (min-width:1400px) { .pageHeaderFixed .userPanel, .pageHeaderFacade .userPanel { left: calc((100vw - 1360px) / 2 + 400px) !important; } } .pageHeaderNormal .pageHeaderPanel { position: absolute !important; transform: none !important; -webkit-transform: none !important; } .pageHeaderPanel, .pageHeaderFacade > .layoutBoundary { background: none !important; } .pageNavigation { padding: 10px 0 4px 0 !important; } .pageNavigation { margin-left: 10px !important; } .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"] { position: relative !important; left: 160px !important; } #tpl_wcf_article .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"], #tpl_wbb_threadAdd .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"], #tpl_wbb_thread .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"], #tpl_wcf_ignoredUsers .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"], #tpl_wcf_compulsory .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"], #tpl_wbb_userPostList .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"], #tpl_wbb_unresolvedThreadList .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"] { position: relative !important; left: -15px !important; } .pageNavigation .layoutBoundary { background: #a4dafd !important; margin-left: 5px; margin-right: 20px; } .pageNavigation .pageNavigationIcons.jsPageNavigationIcons { color: #44f !important; flex-direction: row !important; left: -1160px !important; margin-left: 0 !important; margin-right: 20px !important; position: relative !important; } .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"]::before { color: #bb1900 !important; content: " Du bist hier: " !important; font-size: 12px !important; font-weight: 900 !important; margin-right: 5px !important; margin-top: 1px !important; } .pageNavigation .pageNavigationIcons.jsPageNavigationIcons a.markAllAsReadButton::after, .pageNavigation .pageNavigationIcons.jsPageNavigationIcons a.markAsReadButton::after { content: " Als gelesen markieren" !important; font-size: 12px !important; } .paginationTop { margin-top: 10px !important; } #tpl_wcf_articleList .paginationTop { margin-top: -10px !important; } .quoteBox .quoteBoxContent * { font-style: normal !important; } .quoteBox .quoteBoxContent .quoteBox { background: #ddd !important; margin-right: 10px !important; } .quoteBoxContent { padding-left: 10px !important; } .quoteBoxTitle * { color: #44f !important; font-size: 14px !important; font-style: italic !important; } .quoteBoxTitle, .xboxesFooterBoxes .box { margin-bottom: 0 !important; } .searchBarOpen .pageHeaderSearch { background: none !important; left: calc((100vw - 1360px) / 2 + 600px) !important; margin-top: 0 !important; position: absolute !important; right: 0px !important; top: 10px !important; z-index: 999 !important; } .pageHeaderSearchInputContainer .pageHeaderSearchInput { background-color: #fff !important; border-width: 0 !important; color: rgba(51, 51, 51, 1) !important; padding-bottom: 4px !important; padding-top: 4px !important; width: 250px !important; } .dropdownMenuContainer ul.dropdownMenuPageSearch { background: #eee !important; transform: none !important; left: 744px !important; padding: 0 !important; } .dropdownMenuContainer .dropdownMenu li.active { background: #eee !important; } .sidebar { margin-top: 30px !important; } #tpl_wcf_articleList .sidebar { margin-top: 56px !important; } .sidebar.boxesSidebarRight .boxContainer .box .boxTitle { background: #eee !important; border-bottom: 1px #888 solid !important; } .sidebar.boxesSidebarRight .boxContainer .box h2 { padding: 20px 20px 0 !important; margin-top: -20px !important; } .spoilerBox { margin: 0 !important; } .spoilerBox > .spoilerBoxContent { background-color: rgba(250, 250, 250, 1); box-shadow: none !important; padding: 4px 4px !important; margin-top: 2px !important; margin-left: 10px !important; } .tabularBoxTitle > header { background: #eee !important; border-bottom: 1px #888 solid !important; margin-bottom: 0 !important; } .tabularBoxTitle > header a, .tabularBoxTitle > header .icon, .tabularListRowHead > .tabularListColumns > li { color: #009cff !important; font-weight: 900 !important; } .tabularListRowHead { border-bottom: 2px solid #8cd2ff !important; } .userMention { background: none !important; border: none !important; padding: 0 !important; } .wbbBoardDescription { max-width: 610px !important; } .wbbBoardList .wbbBoard { padding: 2px 0 !important; } .xboxesFooterBoxes .boxContainer h2.boxTitle, .xboxesFooterBoxes .boxContainer .boxContent.messageShareButtons { max-height: 0 !important; } .xboxesFooterBoxes .boxContainer, .boxesFooterBoxes .boxContainer section.box { background: #eee !important; margin-left: 0 !important; margin-right: 0 !important; } woltlab-quote, .quoteBox { padding: 0 0 4px 10px !important; min-height: 0 !important; } .videoContainer { padding-top: 5px !important; padding-bottom: 10px !important; } .videoContainer a { background-color: rgba(255, 255, 255, 1) !important; border: 1px solid rgba(196, 196, 196, 1) !important; border-radius: 2px !important; box-decoration-break: clone !important; -webkit-box-decoration-break: clone !important; color: rgba(68, 68, 68, 1) !important; display: inline !important; font-family: Consolas, 'Courier New', monospace !important; font-style: normal !important; font-weight: normal !important; overflow: auto !important; padding: 0 4px !important; text-decoration: none !important; vertical-align: middle !important; word-break: break-all !important; word-wrap: break-word !important; } /* html content, zB about:support */ .messageBody > .messageText table *, .redactor-layer table * { font-size: 12px !important; } .htmlContent table td, .htmlContent table th, .messageBody > .messageText table td, .messageBody > .messageText table th, .messageSignature > div table td, .messageSignature > div table th, .redactor-layer table td, .redactor-layer table th, .table td, .table th, .tabularListRow { padding: 0 !important; } /*elemente ausblenden*/ .box16, .boxesFooterBoxes .boxContainer section.box:nth-of-type(1), .box[data-box-identifier="com.woltlab.wcf.RegisterButton"], .box[data-box-identifier="com.woltlab.wcf.TodaysBirthdays"], .contentHeader .contentHeaderIcon, .messageGroupListStatsSimple, .messageHeader::after, .messageHeader::before, .pageHeaderLogo .pageHeaderLogoSmall, .pageHeaderLogo img.pageHeaderLogoLarge, .pageHeaderLogo, .pageNavigation .pageNavigationIcons.jsPageNavigationIcons a[data-tooltip="RSS-Feed"], .quoteBox .userLink, .quoteBoxIcon, .sidebar.boxesSidebarRight .boxContainer .box .boxTitle::after, .sidebar.boxesSidebarRight .boxContainer .box .boxTitle::before, .tabularBoxTitle > header::after, .tabularBoxTitle > header::before, .tabularListRowHead::after, .tabularListRowHead::before, #tpl_wbb_board .main .messageGroupList ol.tabularList li.tabularListRow .messageDeleted, #tpl_wbb_board .wbbStats, #tpl_wbb_boardList .wbbStats, #tpl_wbb_userPostList .messageFooterGroup, #tpl_wcf_articleList .pageNavigation .pageNavigationIcons.jsPageNavigationIcons::after, #tpl_wcf_recentActivityList small.containerContentType, #tpl_wbb_board .boxesFooterBoxes, #tpl_wbb_thread .boxesFooterBoxes, .boxesFooterBoxes .boxContainer section.box.wbbSimilarThreadList, .content .userNotice, .menuOverlayMobile:not(.allowScroll)::before, .tabularListRow.divider .fa-square-o, .tabularListRow.divider .fa-check-square-o { display: none !important; } /*color for categories*/ .wbbBoardIcon2.fa-folder-open, .wbbBoardIcon2.fa-folder, .wbbBoardIcon2.fa-folder-open-o::before, .wbbBoardIcon2.fa-folder-o::before { color: #0004ff !important; } .wbbBoardIcon15.fa-folder-open, .wbbBoardIcon15.fa-folder, .wbbBoardIcon15.fa-folder-open-o::before, .wbbBoardIcon15.fa-folder-o::before { color: darkorange !important; } .wbbBoardIcon7.fa-folder-open, .wbbBoardIcon7.fa-folder, .wbbBoardIcon7.fa-folder-open-o::before, .wbbBoardIcon7.fa-folder-o::before { color: #00aeff !important; } .wbbBoardIcon8.fa-folder-open, .wbbBoardIcon8.fa-folder, .wbbBoardIcon8.fa-folder-open-o::before, .wbbBoardIcon8.fa-folder-o::before { color: #081 !important; } .wbbBoardIcon4.fa-folder-open, .wbbBoardIcon4.fa-folder, .wbbBoardIcon4.fa-folder-open-o::before, .wbbBoardIcon4.fa-folder-o::before { color: #800 !important; } .wbbBoardIcon16.fa-folder-open, .wbbBoardIcon16.fa-folder, .wbbBoardIcon16.fa-folder-open-o::before, .wbbBoardIcon16.fa-folder-o::before { color: #508 !important; } .wbbBoardIcon20.fa-folder-open, .wbbBoardIcon20.fa-folder, .wbbBoardIcon20.fa-folder-open-o::before, .wbbBoardIcon20.fa-folder-o::before { color: #3DDB86 !important; } .wbbBoardIcon24.fa-folder-open, .wbbBoardIcon24.fa-folder, .wbbBoardIcon24.fa-folder-open-o::before, .wbbBoardIcon24.fa-folder-o::before { color: #000 !important; } .icon.wbbBoardIcon24 { background: linear-gradient(to bottom, #5EBD3E, #FFB900, #f78200, #E23838, #973999, #009CDF) !important; } .wbbBoardIcon3.fa-folder-open, .wbbBoardIcon3.fa-folder, .wbbBoardIcon3.fa-folder-open-o::before, .wbbBoardIcon3.fa-folder-o::before { color: #600 !important; } .wbbBoardIcon11.fa-folder-open, .wbbBoardIcon11.fa-folder, .wbbBoardIcon11.fa-folder-open-o::before, .wbbBoardIcon11.fa-folder-o::before { color: #777 !important; } .wbbBoardIcon9.fa-folder-open, .wbbBoardIcon9.fa-folder, .wbbBoardIcon9.fa-folder-open-o::before, .wbbBoardIcon9.fa-folder-o::before { color: #d00 !important; } .wbbBoard.new { border-left: 4px solid red !important; } /* firefox config */ .htmlContent table th, .messageBody > .messageText table th, .messageSignature > div table th, .redactor-layer table th, .table th { border-bottom: 1px solid currentColor !important; color: rgba(255, 0, 57, 1) !important; text-align: left !important; white-space: nowrap !important; font-weight: 400 !important; line-height: 1.28 !important; } .htmlContent table td, .messageBody > .messageText table td, .messageSignature > div table td, .redactor-layer table td, .table td { white-space: normal !important; max-width: 600px !important; } .codeBox > div > .codeBoxCode > code { font-family: Consolas !important; } .fa-square-o { width: 56px !important; font-weight: 600 !important; color: #888 !important; } .fa-square-o:before { content: "Offen" !important; position: absolute !important; left: calc((100vw - 1360px) / 2 + 604px) !important; } .fa-check-square-o { width: 56px !important; font-style: italic !important; font-weight: 600 !important; color: #080 !important; } .fa-check-square-o:before { content: "Erledigt" !important; position: absolute !important; left: calc((100vw - 1360px) / 2 + 594px) !important; } .tabularListRow:not(.divider):nth-of-type(even) .tabularListColumns { background: #44444410 !important; } .spoilerBoxContent .messageTableOverflow:nth-of-type(6) { overflow: visible !important; } /* mobile tweak */ @media (max-width:768px){ .breadcrumbs > ol > li:last-child::before { content: none !important; } .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"] { position: unset !important; } .pageNavigation .breadcrumbs ol[itemprop="breadcrumb"]::before { margin-right: 0 !important; margin-top: 7px !important; } .wbbBoardList .wbbBoard { padding: 2px 5px !important; } .boxesFooterBoxes { width: 100vw !important; min-height: 80px !important; flex: none !important; margin-left: 14px !important; position: relative !important; top: 30px !important; margin-bottom: 20px !important; } .boxesFooterBoxes .boxContainer { width: 100vw !important; margin: 0 !important; padding: 0 !important; } .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnAvatar { margin-right: unset !important; } .messageGroupList .tabularListRow:not(.tabularListRowHead) > .tabularListColumns .columnSubject { padding-right: 10px !important; } .messageSidebar { margin: 0 !important; padding: 5px !important; } .messageSidebar + .messageContent { margin-top: 0 !important; } .messageSidebar .userAvatar span.badgeOnline { position: relative !important; top: 9px !important; left: 120px !important; padding: 0 !important; color: rgba(0, 153, 0, 1) !important; } .messageSidebar .badgeOnline::before { left: -18px !important; } .messageContent { margin-left: 0 !important; } .contentHeaderNavigation { position: relative !important; top: -55px !important; } .contentHeader { max-height: 40px !important; padding: 0 !important; margin: 8px 0 5px 0 !important; } .pageHeaderContainer { z-index: 0 !important; padding-top: 0 !important; } .pageHeaderPanel { position: inherit !important; z-index: 0 !important; } .pageHeaderFacade .userPanel { right: 10px !important; } .menuOverlayMobile:not(.allowScroll)::before { display: none !important; } .userPanel .userPanelAvatar { background: fixed !important; display: block !important; padding: 0 5px !important; position: relative !important; right: 12px !important; top: 0px !important; z-index: 9999 !important; } }
-
-
-
Meinst du das so?
Moinmoin!
Ja, Andreas, das passt.
Ich hatte gestern noch hier einen Schnipsel gefunden, da begann die erste Zeile mit popoverContent, damit kamen dann auch keine Popup-Fenster mehr, aber es war noch immer ein waagerechter Balken zu sehen (2mm stark).
Danke!
-
das passt.
Freut mich
-
Diese "Spielerei" RE: Anpassung Camp-Firefox Hilfe-Forum habe ich nun eingearbeitet, versuche nun die nächste, aber das will nicht so recht.
Das Fuchs-Icon wird zwar angezeigt, aber nur dann wenn ich über content (hier Unterstrich) etwas dazu einfüge.
Der Code dazu:
CSSh1.contentTitle::after{ content: "___" !important; background: url("..//icons/FuchsCamp2.png") no-repeat !important; margin-left: 30px !important; }
Kann man das auch eleganter lösen?
-
-
Kann man das auch eleganter lösen?
Z.B. so:
CSS.contentTitle::after { content: " " !important; background: url("..//icons/FuchsCamp2.png") no-repeat !important; background-position: 0px 15px !important; margin-left: 18px !important; }
Statt dem ___ habe ich Leerräume eingefügt.
Die erstellt man mit der Tastenkombi:
Alt + 0165
PS:
Evtl. fällt einem anderen User ja noch eine bessere Lösung ein.
-
Evtl. fällt einem anderen User ja noch eine bessere Lösung ein.
Mit content kann man auch eine Url zu einer Grafik angeben:
-
kann man auch eine Url zu einer Grafik angeben
Hallo milupo ..
ich dachte es mir schon, hatte es aber dann doch nicht getestet.
Trotzdem vielen Dank für den Hinweis
-
Das Fuchs-Icon wird zwar angezeigt, aber nur dann wenn ich über content (hier Unterstrich) etwas dazu einfüge
Grundsätzlich muss es bei ::before und ::after immer content geben. Das darf auch leer gesetzt sein, also content: '';, aber ohne die Eigenschaft wird das nie funktionieren.
-