Dunkler Forenstyle

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Ist kein Meisterwerk und funktioniert nur im Nostale BB4 stil, da ich dadrauf aufgebaut habe.
    Alle zu überschreiben wäre sinnlos (und lokal fast unmöglich), dann könnte ich auch direkt ein komplettes Forendesign entwickeln. :D
    Es ist auch nicht alles perfekt, die Main Navigation habe ich noch nicht angepasst, da diese doch etwas komplexer ist und daher immer total doof aussieht wenn ichs versuche.
    Ach und ich brauch einen Zwischenpost, zeichenbegrenzung und so.

    CSS-Quellcode

    1. @namespace url(http://www.w3.org/1999/xhtml);
    2. @-moz-document domain("board.de.nostale.gameforge.com") {
    3. /* -- Variables -- */
    4. :root{
    5. /* Background-Color*/
    6. --body-bg-color: #0b0b0b; /* body */
    7. --main-bg-color: #121212; /* content area */
    8. --side-bg-color: #1c1c1c; /* side area + hover effect */
    9. --data-bg-color: #232323; /* Content-Data area */
    10. --note-bg-color: #ffffff; /* hover effect */
    11. /* Font-Color */
    12. --main-ft-color: #c0c0c0; /* headline + sublines */
    13. --text-ft-color: #888888; /* default text */
    14. --note-ft-color: #e44c2c; /* hover effect */
    15. --post-ft-color: #000000; /* Inputfield text */
    16. /* Border-Color */
    17. --main-br-color: #888888; /* default border */
    18. }
    19. /* -- General -- */
    20. /* text without definition - default color */
    21. body{
    22. color: var(--text-ft-color);
    23. text-shadow: none !important;
    24. }
    25. /* link without definition - main-color */
    26. a{
    27. color: var(--main-ft-color);
    28. }
    29. /* -- Main Areas -- */
    30. /* remove useless Border */
    31. #main{
    32. border-right: none;
    33. }
    34. /* bg color main area */
    35. #main > div > div > .content,
    36. #main > div > div > .sidebar,
    37. .navigationFooter,
    38. .navigationHeader{
    39. background-color: var(--main-bg-color);
    40. }
    41. /* -- Sidebar -- */
    42. /* Flat-Design sidebar */
    43. #main > div > div > .sidebar{
    44. border: none;
    45. box-shadow: none;
    46. border-radius: 0!important;
    47. }
    48. /* CollapsibleButton */
    49. #main > div > div > .sidebar > span > .collapsibleButton{
    50. background: var(--body-bg-color);
    51. border-color: var(--body-bg-color);
    52. }
    53. /* Headline */
    54. .sidebar fieldset > legend,
    55. .sidebar fieldset > legend > a{
    56. color: var(--main-ft-color);
    57. }
    58. /* Menu */
    59. .sidebar fieldset > nav ul > li > a{
    60. color: var(--main-ft-color);
    61. }
    62. /* Menu-Item active */
    63. .sidebar fieldset > nav ul > li.active{
    64. background: none;
    65. }
    66. .sidebar fieldset > nav ul > li.active > a{
    67. color: var(--note-ft-color);
    68. }
    69. /* Sidebar user without shadow */
    70. .sidebar fieldset > div > ul > li span{
    71. text-shadow: none !important;
    72. }
    73. /* Time */
    74. .sidebar .sidebarBoxHeadline > h3 time{
    75. color: var(--text-ft-color);
    76. }
    77. /* Quote */
    78. .quoteBox.container{
    79. background-color: var(--body-bg-color);
    80. }
    81. /* -- Sub Navigation -- */
    82. /* Flat-Design Nav-Items */
    83. .navigation > ul.navigationMenuItems{
    84. border: none;
    85. padding-bottom: 10px;
    86. }
    87. /* text|icon color */
    88. .navigation > ul.navigationMenuItems > li > a,
    89. .navigation > ul.navigationItems > li > a,
    90. .navigation > ul.navigationIcons .icon{
    91. color: var(--main-ft-color);
    92. }
    93. .navigation > ul.navigationItems > li > p,
    94. .navigation > ul.navigationItems .icon{
    95. color: var(--text-ft-color);
    96. }
    97. /* -- Breadcrumbs -- */
    98. /* Flat-Design Breadcrumbs */
    99. .breadcrumbs{
    100. border-radius: 0;
    101. border: none;
    102. }
    103. /* bg color */
    104. .breadcrumbs,
    105. .breadcrumbs > ul > li{
    106. background-color: var(--data-bg-color);
    107. }
    108. /* text|icon color */
    109. .breadcrumbs > ul > li > a,
    110. .breadcrumbs > ul > li:first-child > a::before{
    111. color: var(--main-ft-color);
    112. }
    113. /* Hover */
    114. .breadcrumbs > ul > li:hover > a{
    115. background: var(--side-bg-color);
    116. color: var(--note-ft-color);
    117. }
    118. /* Pointer without Hover */
    119. .breadcrumbs > ul > li:hover > .pointer > span{
    120. border-color: transparent transparent transparent var(--main-ft-color);
    121. }
    122. /* -- Dialog -- */
    123. /* Header|Footer bg color */
    124. .dialogTitlebar,
    125. .dialogContent .formSubmit{
    126. background-color: var(--side-bg-color);
    127. }
    128. /* content bg color */
    129. .dialogContent{
    130. background-color: var(--main-bg-color);
    131. }
    132. /* -- Content Tables -- */
    133. /* reset main areas */
    134. .tabularBox,
    135. .container{
    136. border-radius: 0;
    137. border: none;
    138. background: none;
    139. box-shadow: none;
    140. }
    141. /* listheader */
    142. .table th{
    143. background: var(--side-bg-color);
    144. border-bottom: 1px solid var(--main-ft-color);
    145. }
    146. /* default row background*/
    147. .table td,
    148. .table > tbody > tr:nth-child(2n) > td,
    149. .wbbBoardList .wbbBoardNode1{
    150. background-color: var(--data-bg-color);
    151. }
    152. /* hover effect */
    153. .table > tbody > tr:hover > td,
    154. .wbbBoardList .wbbBoard:hover{
    155. background: var(--side-bg-color) !important;
    156. }
    157. /* placeholder ? */
    158. .containerList > li:hover,
    159. .containerList > li:nth-child(2n){
    160. background: none;
    161. }
    162. /* DescriptionList font color */
    163. dl:not(.plain) > dt,
    164. dl:not(.plain) > dd > label,
    165. dl.statsDataList > dd{
    166. color: var(--text-ft-color);
    167. }
    168. /* CommentList Gaestebuch */
    169. .commentList > li:hover:not(.commentAdd),
    170. .commentList > li:hover:nth-child(2n):not(.commentAdd){
    171. background: none;
    172. }
    173. /* -- Dropdown Menu -- */
    174. /* default menu user interaction*/
    175. .interactiveDropdown{
    176. background-color: var(--side-bg-color);
    177. border: 1px solid var(--main-br-color);
    178. }
    179. /* menu content bg color */
    180. .interactiveDropdown > .interactiveDropdownItemsContainer > .interactiveDropdownItems > li,
    181. .interactiveDropdown > .interactiveDropdownItemsContainer > .interactiveDropdownItems > li:hover:not(.loading):not(.noItems){
    182. background-color: var(--main-bg-color);
    183. }
    184. /* Title */
    185. .interactiveDropdown{
    186. color: var(--main-ft-color);
    187. }
    188. /* default menu reactor-box properties*/
    189. .dropdownMenu{
    190. background-color: var(--body-bg-color);
    191. }
    192. /* link */
    193. .dropdownMenu li > a{
    194. color: var(--main-ft-color);
    195. }
    196. /* hover bg */
    197. .dropdownMenu li:hover:not(.dropdownDivider):not(.dropdownList):not(.dropdownText){
    198. background-color: var(--body-bg-color);
    199. }
    200. /* hover link */
    201. .dropdownMenu li > a:hover{
    202. color: var(--note-ft-color);
    203. }
    Alles anzeigen
    Seite wird neu aufgesetzt
    es war einmal....
    Tsuki tenshi QQ
  • Sami^^ schrieb:

    Wie würde man denn so einen Code überhaupt implementieren? Oder wird das vom Boardpersonal gemacht? :o
    Also hab das wie die anderen mit den firefox addon stylish gemacht, dafür sind auch die ersten 2 zeilen quasi.

    Quellcode

    1. /* color picker */
    2. .redactor-dropdown-box-fontcolor > li.redactorColorPallet > a{
    3. border-color: var(--body-bg-color);
    4. }
    5. .redactor-dropdown-box-fontcolor > li.redactorColorPallet:hover{
    6. background-color: var(--body-bg-color) !important;
    7. }
    8. /* -- Headline + Text -- */
    9. /* Box-Headlines */
    10. .boxHeadline > h1,
    11. .boxHeadline > h1 a,
    12. .boxSubHeadline > h2,
    13. .boxSubHeadline > h2 a,
    14. .containerHeadline > h3{
    15. color: var(--main-ft-color);
    16. }
    17. /* Box-Text */
    18. .boxHeadline > p{
    19. color: var(--text-ft-color);
    20. }
    21. /* Text without shadow */
    22. .usersOnlineInfoBox span {
    23. text-shadow: none !important;
    24. }
    25. /* Headline Properties */
    26. fieldset > legend{
    27. color: var(--main-ft-color);
    28. }
    29. /* -- Button -- */
    30. /* default button */
    31. .button,
    32. .button.active,
    33. .button.buttonPrimary,
    34. .contentNavigation > nav:not(.pageNavigation) > ul:not(.buttonGroup) > li:not(:last-child) > a,
    35. .tabMenu > ul > li > a,
    36. button:not([disabled]),
    37. button#previewButton,
    38. button.buttonPrimary:not([disabled]),
    39. input[type="submit"]:not([disabled]){
    40. box-shadow: none !important;
    41. border-radius: 0 !important;
    42. font-weight: normal !important;
    43. background: var(--data-bg-color);
    44. border-color: var(--main-br-color);
    45. color: var(--main-ft-color);
    46. }
    47. /* hover effect */
    48. .button:hover,
    49. .button.active:hover,
    50. .button.buttonPrimary:hover,
    51. .button:hover .icon,
    52. .contentNavigation > nav:not(.pageNavigation) > ul:not(.buttonGroup) > li:not(:last-child) > a:hover,
    53. .pageNavigation ul li:hover:not(.disabled) > a,
    54. button:hover:not([disabled]),
    55. button#previewButton:hover,
    56. button.buttonPrimary:hover:not([disabled]),
    57. input[type="submit"]:not([disabled]):hover{
    58. background: var(--side-bg-color);
    59. border-color: var(--main-br-color);
    60. color: var(--note-ft-color);
    61. }
    62. /* active */
    63. .button.active{
    64. background: var(--side-bg-color);
    65. color: var(--note-ft-color);
    66. }
    67. /* disabled Pagenavigation */
    68. .pageNavigation ul li.disabled{
    69. box-shadow: none;
    70. border-radius: 0 !important;
    71. background: var(--main-bg-color);
    72. border-color: var(--main-br-color);
    73. padding: 1px 0 2px 0;
    74. }
    75. /* Icon (Button) */
    76. .contentNavigation > nav:not(.pageNavigation) > ul:not(.buttonGroup) > li .button .icon{
    77. color: var(--main-ft-color);
    78. }
    79. /* Pagenavigation arrow */
    80. .pageNavigation ul li.skip > a span{
    81. padding: 2px 0 3px 0;
    82. }
    83. /* Tabmenu button hover */
    84. .tabMenu > ul > li:not(.ui-state-active) > a:hover,
    85. .tabMenu > ul > li.ui-state-active > a{
    86. background: var(--side-bg-color);
    87. border: 1px solid var(--main-br-color);
    88. color: var(--note-ft-color);
    89. }
    90. /* Tabmenu button active */
    91. .tabMenu > ul > li.ui-state-active > a{
    92. margin: 0;
    93. font-size: 1.1rem;
    94. }
    95. /* -- Inputfields -- */
    96. /* default Inputbox */
    97. input[type="text"],
    98. input[type="search"],
    99. input[type="date"],
    100. input[type="email"],
    101. input[type="number"],
    102. input[type="url"],
    103. input[type="password"],
    104. textarea{
    105. box-shadow: none !important;
    106. border: none !important;
    107. color: var(--post-ft-color);
    108. }
    109. /* hover effect */
    110. input[type="text"]:hover,
    111. input[type="search"]:hover,
    112. input[type="date"]:hover,
    113. input[type="email"]:hover,
    114. input[type="number"]:hover,
    115. input[type="url"]:hover,
    116. input[type="password"]:hover,
    117. textarea:hover,
    118. select[multiple]:hover{
    119. background-color: var(--note-bg-color);
    120. }
    121. /* default CodeBox */
    122. .codeBox > div{
    123. box-shadow: none;
    124. background-color: var(--body-bg-color);
    125. }
    126. /* active background */
    127. .codeBox > div > ol > li:target{
    128. background-color: var(--body-bg-color);
    129. }
    130. .codeBox.minimized > .codeBoxExpand{
    131. box-shadow: none;
    132. background-color: var(--body-bg-color);
    133. }
    134. /* -- Messages -- */
    135. /* default Message */
    136. .message{
    137. border-radius: 0;
    138. border: none;
    139. background: none;
    140. box-shadow: none;
    141. }
    142. /* content area */
    143. .message .messageContent{
    144. background-color: var(--data-bg-color);
    145. box-shadow: none !important;
    146. border-radius: 0 !important;
    147. }
    148. /* nth-child */
    149. li:nth-child(2n+1) .message .messageContent{
    150. background-color: var(--side-bg-color);
    151. }
    152. /* left border */
    153. .message.messageSidebarOrientationLeft .messageContent{
    154. border-left: none;
    155. }
    156. /* body text */
    157. .messageBody{
    158. color: var(--text-ft-color);
    159. }
    160. /* MessageBadge */
    161. .message .newMessageBadge,
    162. .message .newMessageBadge::before{
    163. background: var(--body-bg-color);
    164. border-color: var(--body-bg-color);
    165. }
    166. /* Headline */
    167. .message .messageContent .messageHeader .messageHeadline > h1{
    168. color: var(--main-ft-color);
    169. }
    170. /* Likes footer */
    171. .messageFooterNote{
    172. background: none;
    173. border-radius: 0;
    174. border-color: var(--main-br-color);
    175. border-left-width: 1px;
    176. color: var(--main-ft-color);
    177. }
    178. /* -- Redactor-Box -- */
    179. /* Toolbar */
    180. .redactor-toolbar{
    181. background-color: var(--data-bg-color);
    182. }
    183. .redactor-toolbar > li > a > i::before,
    184. .redactor-toolbar > li > a::before{
    185. color: var(--main-ft-color);
    186. }
    187. /* Hover */
    188. .redactor-toolbar > li > a:hover:not(.redactor-button-disabled),
    189. .redactor-toolbar > li > a.redactor-act,
    190. .redactor-toolbar > li > a.dropact{
    191. background-color: var(--side-bg-color);
    192. }
    193. .redactor-toolbar > li > a:hover:not(.redactor-button-disabled) > i:before,
    194. .redactor-toolbar > li > a:hover:not(.redactor-button-disabled):before,
    195. .redactor-toolbar > li > a.redactor-act:before,
    196. .redactor-toolbar > li > a.dropact:before{
    197. color: var(--note-ft-color);
    198. }
    199. /* Editor */
    200. .redactor-editor{
    201. background-color: var(--side-bg-color);
    202. box-shadow: none;
    203. }
    204. .redactor-editor .codeBox .redactorEditCodeBox{
    205. background: none;
    206. }
    207. .redactor-editor .codeBox .redactorEditCodeBox > div{
    208. color: var(--main-ft-color);
    209. }
    210. /* BBCode Textarea override */
    211. .redactor-box textarea,
    212. .redactor-box textarea:hover{
    213. background: var(--side-bg-color);
    214. color: var(--text-ft-color);
    215. }
    216. /* Navigation */
    217. .messageTabMenu > nav.messageTabMenuNavigation > ul,
    218. .messageTabMenu > div,
    219. .messageTabMenu > div > nav,
    220. .messageTabMenu > fieldset{
    221. background-color: var(--data-bg-color);
    222. }
    223. .messageTabMenu > div > nav ul li a{
    224. color: var(--main-ft-color);
    225. }
    226. .messageTabMenu > nav.messageTabMenuNavigation > ul > li > a{
    227. color: var(--main-ft-color);
    228. }
    229. .messageTabMenu > nav.messageTabMenuNavigation > ul > li.active > a,
    230. .messageTabMenu > nav.messageTabMenuNavigation > ul > li > a:hover{
    231. background: none;
    232. color: #88a825;
    233. }
    234. }
    Alles anzeigen
    Das ist der Hauptcode erstmal, hab noch paar zusatzfunktionen, aber das kommt dann im nächsten wieder....xD
    Seite wird neu aufgesetzt
    es war einmal....
    Tsuki tenshi QQ
  • SchwarzerBlitz schrieb:

    okay was mach ich jetzt damit^^?
    Ich dachte Fear hat dich bereits aufgeklärt gehabt? D:
    Also im Firefox kannste dir das addon stylish installieren und dann gibts oben rechts das symbol dafür, dort klickste auf neuen style erstellen für "such dir was aus", dann kopierste mein code über den vorhandenen da drinnen und speicherst das ab. Dann musste es gegenbenenfalls noch aktivieren, wieder oben beim icon.
    (in chrome gibts glaube auch stylish, aber obs da genauso abläuft keine ahnung, musste halt mal lesen xD)

    Hab auch noch paar zusätze. Die müssen in die Hauptdefinition (also vor der letzen } klammer im hauptscript)
    1. Die Farben Border von Teamlern entfernen.

    CSS-Quellcode

    1. .message .messageContent{
    2. border: none !important;
    3. }

    2. Den kompletten hintergrund entfernen und den Header direkt mit (das Banner lass ich mal, sonst wird orli bestimmt böse)

    CSS-Quellcode

    1. body{
    2. background: var(--main-bg-color);
    3. }
    4. .logo{
    5. display: none;
    6. }
    7. .mainMenu{
    8. margin-top: 75px;
    9. }
    Die Hauptnavigation mach ich wie gesagt später noch
    Seite wird neu aufgesetzt
    es war einmal....
    Tsuki tenshi QQ
  • Killerderneun schrieb:

    Boa, da sist ja fast genauso umständlich wie vorher.
    Du verlangst also das ich ein komplettes Design erstelle, damit es in die Forensoftware übernommen werden könnte (weil das keiner macht), nur damit du es nicht so umständlich hast? o.ô

    Ach und hab grad gesehn das ich ein fehler drinnen habe, fügt mal noch das hinzu bitte

    CSS-Quellcode

    1. .dialogContent{
    2. color: var(--text-ft-color);
    3. }
    4. .wbbBoardList .wbbBoardNode2{
    5. background-color: var(--data-bg-color);
    6. }
    Seite wird neu aufgesetzt
    es war einmal....
    Tsuki tenshi QQ
  • Weltraumente schrieb:

    Ich dachte Fear hat dich bereits aufgeklärt gehabt? D:
    Also im Firefox kannste dir das addon stylish installieren und dann gibts oben rechts das symbol dafür, dort klickste auf neuen style erstellen für "such dir was aus", dann kopierste mein code über den vorhandenen da drinnen und speicherst das ab. Dann musste es gegenbenenfalls noch aktivieren, wieder oben beim icon.
    fear hat n eigenes ad-on geschrieben, das musste ich dann vom rechner aus hochladen^^.

    aber thx

    edit. sry bin überfordert. hab den quellcode jetzt in den style geschrieben und gespeichert, wie aktivier ich das jetzt?
    Meine Klinge ist blutig, das Schlachtfeld ist rot

    Schnell wie der Blitz bring ich euch den Tod.

    Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von SchwarzerBlitz ()


  • so muss das aussehen und dann unten halt die Klammer wieder schließen, eigentlich wenn du beide css (die ersten beiden )nacheinander rein kopierst sollte das gehen? kannst ja erstmal die zusätzlichen weg lassen.

    (Wieso fängst du bei colorpicker an? das muss bei den variablen anfangen) ist es so schwer 2 code zitate zu kopieren? :mädchen:
    Seite wird neu aufgesetzt
    es war einmal....
    Tsuki tenshi QQ