Seite 1 von 3

codefragmente fuer diverse kleine aenderungen

Verfasst: 19. Jun 2011, 23:32
von Neo the Hunter
aufgrund eines kleinen projekts hab ich mal die 11 seiten des styleforums durchwuselt und alle kleineren aenderungen die ich gefunden habe codelich aufgelistet als kleine hilfe fuer fragen
das hier soll jetzt kein diskussionsthema werden
falls jemand noch andere kleinere aenderungen hier listen moechte bitte einfach posten ich nehme die dann in die liste auf zur sammlung
diese liste habe ich nochmal so als textdatei gespeichert und verschicke die auf anfrage auch gerne
SpoilerShow

Code: Alles auswählen

/* Drop-Down-Boxen (ZK-Auswahlmenü) */
	select { font-size: 11px; background-color: #DBEBEF; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=4513 */

/* Flüstermodus */
	.submitwhisper { font-size: 10px; font-weight: bold; color: #006600; width: 88px; margin-left: 1px; margin-right: 2px; }
	.chattextwhisper { color: #006600; font-size: 13px; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=6576 */

/* Modnachrichten/Worldsay */
	p.worldsay table tr { background-color:#FFBF00; }
	p.worldsay table tr td { color:#000000; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=7994 */

/* Blaue & Grüne Worldsays trennen */
	/* Blau */
	p.worldsay table tr[bgcolor="#C1CEF9"] { background-color:#FFBF00; }
	p.worldsay table tr[bgcolor="#C1CEF9"] td { color:#000000; }
	/* Grün */
	p.worldsay table tr[bgcolor="#99EE99"] { background-color:#000000; }
	p.worldsay table tr[bgcolor="#99EE99"] td { color:#FFFFFF; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=7994 */

/* Modchat */
	p.chattextwhisper span b { color:#FFFFFF; }
	p.chattextwhisper span { color:#66FF00 !important; }  
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=10738&start=30 */

/* Farbänderung für Freund, Clan, Gruppenmitglied, Feind, Verräter, Clankrieg */
	/* Freund */
	p.listusersrow [color="#17A105"]{color: neue Textfarbe;}
	/* Clan, Gruppenmitglied */
	p.listusersrow [color="#0055AA"]{color: neue Textfarbe;}
	/* Feind, Verräter, Clankrieg */
	p.listusersrow [color="#FF0000"]{color: neue Textfarbe;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=13864 */

/* Trennbalken zwischen Status und Inventar entfernen */
	body.frameitembg div { display:none; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=13389 */

/* Fieldset & Legend-Bereiche im Profil */
	legend { background-color:#FFFFFF; border:solid #000000 1px; color:#000000; }
	fieldset { background-color:#FFFFFF; border:0px; color:#000000; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=7995 */

/* Gruppen */
	.chattextgroup { color:#CE5A21 !important; font-size:13px !important; }
	.submitgroup { font-size:10px; font-weight:bold; color:#E36B30; width:80px; margin-right:2px; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=13112 */

/* Links */
	/* Allgemeine Links */
	a:link { text-decoration:none; font-weight:bold; color: gewünschte Farbe; }
	/* Besuchte Links */
	a:visited { text-decoration:none; font-weight:bold; color: gewünschte Farbe; }
	/* Aktive Links */
	a:active { text-decoration:hover; font-weight:bold; color: gewünschte Farbe; }
	/* Gehoverte Links(mit Maus drüberfahren) */
	a:hover { text-decoration:underline; font-weight:bold; color: gewünschte Farbe; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=16022 */

/* Name vor Chateingabe färben */
	.framechatformbg > table > tbody > tr > td[style="padding-left: 10px; padding-right: 5px;"] { color:#ffffff; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=26940 */

/* Nicht begehbare Felder */
	img.nocango { background: transparent; }
	a.nocango { background: #transparent; height: 50px; width: 50px; border-width: 0; display: block; }
	a.nocango:hover { background: url(../images/map/nocango.gif) top left no-repeat; cursor: default; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=27189 */

/* Bergbilder austauschen */
	.stdjpg { background-image:url(BILDURL); }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=29677 */

/* Chatbuttons ändern */
	.submitsagen { color: #000001; font-size: 12px; font-weight: bold; border: 1px solid #404040; margin-left: 1px; margin-right: 1px; background-color: #1D2844; }
	.submitschreien { color: #94AAD6; font-size: 12px; font-weight: bold; border: 1px solid #404040; margin-right: 1px; background-color: #1D2844; }
	.submitclan { color: #FF8C00; font-size: 12px; font-weight: bold; border: 1px solid #404040; margin-right: 1px; background-color: #1D2844; }
	.submitworldsay { color: #042D4C; font-size: 12px; font-weight: bold; border: 1px solid #404040; margin-right: 1px; background-color: #1D2844; }
	.submitgroup { color: #00FF00; font-size: 12px; font-weight: bold; border: 1px solid #404040; margin-right: 1px; background-color: #1D2844; }
	.submitwhisper { color: #FFC0CB; font-size: 12px; font-weight: bold; border: 1px solid #404040; margin-left: 1px; margin-right: 1px; background-color: #1D2844; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=29778 */

/* Brief Eingabefeld */
	.frameitembg > form > input[maxlength="30"] { background-image: url(...); }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=30236 */

/* Clanchat ausschalten */
	.chattextclan { display: none; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=33196 */

/* Reikan - Das Orakel Hintergrund ändern */
	form table tr { background-color: #000000; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=33348 */

/* Spielerkreuz ändern */
	img[src$="user.gif"] { display: block; width: 0; background: url(Bild-URL); no-repeat; padding-left: 50px; overflow: hidden; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=34230 */

/* Sponsorsterne ändern */
	img[src$="sponsor.gif"] { display: inline-block; width: 0px; height: 10px; background: url(neugelb.png); background-repeat: no-repeat; padding-left: 11px; overflow: hidden; }
	img[src$="sponsor2.gif"] { display: inline-block; width: 0px; height: 10px; background: url(neugruen.png); background-repeat: no-repeat; padding-left: 11px; overflow: hidden; }
	img[src$="sponsor3.gif"] { display: inline-block; width: 0px; height: 10px; background: url(neublau.png); background-repeat: no-repeat; padding-left: 11px; overflow: hidden; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=34247 */

/* Supportlink ausblenden */
	.framemenubg a[href*="support.php"] { visibility:hidden; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=36197 */

/* "Du siehst folgende Personen an diesem Ort:" austauschen */
	p.personlistcaption { border: 1px solid #000000; color: #000000; font-weight: bold; padding: 2px; padding-left: 5px; background-image:url(Main1.gif); background-repeat: no-repeat; height: 32px; line-height: 32px; padding:1px 15px 4px 45px; font-size: 0px; }
	p.personlistcaption:before { content: "Folgende Leute haben keinen Kopf:"; font-size: 12px; }
	p.personlistcaption:hover { text-decoration: none; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=36305 */

/* Runenpuzzlebilder austauschen */
	img[src$="a1.gif"] { width: 0; background: url(Bilderrp1.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a2.gif"] { width: 0; background: url(Bilderrp2.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a3.gif"] { width: 0; background: url(Bilderrp3.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a4.gif"] { width: 0; background: url(Bilderrp4.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a5.gif"] { width: 0; background: url(Bilderrp5.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a6.gif"] { width: 0; background: url(Bilderrp6.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a7.gif"] { width: 0; background: url(Bilderrp7.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a8.gif"] { width: 0; background: url(Bilderrp8.png); no-repeat; padding: 20px; overflow: hidden; }
	img[src$="a9.gif"] { width: 0; background: url(Bilderrp9.png); no-repeat; padding: 20px; overflow: hidden; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=36554 */

/* "Folgende Pflanzen" ändern */
	#plantrow { border: 1px solid #A2A09F; font-weight: bold; padding: 2px; padding-left: 5px; background-image: url(../images/buttonorange_bg.jpg); }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=36007 */

/* Schnellzauberfarbe ändern */
	#fastspell td a { color: #ABABAB;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=36947 */

/* Worldsay Rahmen */
	p.worldsay table tr { background-color: #59ABFD; color: #ffffff; border: 2px solid #ffffff; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
	p.worldsay table tr td { background-color: #59ABFD; color: #ffffff; border: 2px solid #ffffff; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=38218 */

/* Kartenbilder austauschen */
	#mapxXyY { background-image:url(bildurl)!important; }
	#mainmapxXyY { background:transparent url(bildurl) no-repeat scroll 0 0; overflow:hidden; padding-left:65px; width:0; }
	.framemainbg div[title*="(X: ? Y: ?)"] img { width: 0; background: url(bildurl) no-repeat; padding-left: 25px; overflow: hidden; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=37844 */

/* Drop-Down-Menü ansprechen */
	option[value="2350"] { befehle }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=35127 */

/* Auslaufender Status */
	span[title*="Schutz (5 Minuten)"] { color:#ff6600; font-size: 14px;}
	span[title*="Schutz (4 Minuten)"] { color:#ff6600; font-size: 14px;}
	span[title*="Schutz (3 Minuten)"] { color:#ff6600; font-size: 14px;}
	span[title*="Schutz (2 Minuten)"] { color:#cc0000; font-size: 18px; text-decoration:blink;}
	span[title*="Schutz (1 Minuten)"] { color:#cc0000; font-size: 18px; text-decoration:blink;}
	span[title*="Schutz (0 Minuten)"] { color:#cc0000; font-size: 18px; text-decoration:blink;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=37481 */

/* Waffenzustände hinter den Waffen */
	p[title$="100%"]:after{ content: " (100%)"; color: #309000;font-size: smaller; }
	p[title$="99%"]:after { content: " (99%)"; color: #309000;font-size: smaller; }
	p[title$="98%"]:after { content: " (98%)"; color: #309000;font-size: smaller; }
	p[title$="97%"]:after { content: " (97%)"; color: #309000;font-size: smaller; }
	p[title$="96%"]:after { content: " (96%)"; color: #309000;font-size: smaller; }
	p[title$="95%"]:after { content: " (95%)"; color: #309000;font-size: smaller; }
	p[title$="94%"]:after { content: " (94%)"; color: #309000;font-size: smaller; }
	p[title$="93%"]:after { content: " (93%)"; color: #309000;font-size: smaller; }
	p[title$="92%"]:after { content: " (92%)"; color: #309000;font-size: smaller; }
	p[title$="91%"]:after { content: " (91%)"; color: #309000;font-size: smaller; }
	p[title$="90%"]:after { content: " (90%)"; color: #309000;font-size: smaller; }
	p[title$="89%"]:after { content: " (89%)"; color: #309000;font-size: smaller; }
	p[title$="88%"]:after { content: " (88%)"; color: #309000;font-size: smaller; }
	p[title$="87%"]:after { content: " (87%)"; color: #309000;font-size: smaller; }
	p[title$="86%"]:after { content: " (86%)"; color: #309000;font-size: smaller; }
	p[title$="85%"]:after { content: " (85%)"; color: #309000;font-size: smaller; }
	p[title$="84%"]:after { content: " (84%)"; color: #309000;font-size: smaller; }
	p[title$="83%"]:after { content: " (83%)"; color: #309000;font-size: smaller; }
	p[title$="82%"]:after { content: " (82%)"; color: #309000;font-size: smaller; }
	p[title$="81%"]:after { content: " (81%)"; color: #309000;font-size: smaller; }
	p[title$="80%"]:after { content: " (80%)"; color: #309000;font-size: smaller; }
	p[title$="79%"]:after { content: " (79%)"; color: #309000;font-size: smaller; }
	p[title$="78%"]:after { content: " (78%)"; color: #309000;font-size: smaller; }
	p[title$="77%"]:after { content: " (77%)"; color: #309000;font-size: smaller; }
	p[title$="76%"]:after { content: " (76%)"; color: #309000;font-size: smaller; }
	p[title$="75%"]:after { content: " (75%)"; color: #309000;font-size: smaller; }
	p[title$="74%"]:after { content: " (74%)"; color: #309000;font-size: smaller; }
	p[title$="73%"]:after { content: " (73%)"; color: #309000;font-size: smaller; }
	p[title$="72%"]:after { content: " (72%)"; color: #309000;font-size: smaller; }
	p[title$="71%"]:after { content: " (71%)"; color: #309000;font-size: smaller; }
	p[title$="70%"]:after { content: " (70%)"; color: #309000;font-size: smaller; }
	p[title$="69%"]:after { content: " (69%)"; color: #309000;font-size: smaller; }
	p[title$="68%"]:after { content: " (68%)"; color: #309000;font-size: smaller; }
	p[title$="67%"]:after { content: " (67%)"; color: #309000;font-size: smaller; }
	p[title$="66%"]:after { content: " (66%)"; color: #309000;font-size: smaller; }
	p[title$="65%"]:after { content: " (65%)"; color: #309000;font-size: smaller; }
	p[title$="64%"]:after { content: " (64%)"; color: #309000;font-size: smaller; }
	p[title$="63%"]:after { content: " (63%)"; color: #309000;font-size: smaller; }
	p[title$="62%"]:after { content: " (62%)"; color: #309000;font-size: smaller; }
	p[title$="61%"]:after { content: " (61%)"; color: #309000;font-size: smaller; }
	p[title$="60%"]:after { content: " (60%)"; color: #309000;font-size: smaller; }
	p[title$="59%"]:after { content: " (59%)"; color: #309000;font-size: smaller; }
	p[title$="58%"]:after { content: " (58%)"; color: #309000;font-size: smaller; }
	p[title$="57%"]:after { content: " (57%)"; color: #309000;font-size: smaller; }
	p[title$="56%"]:after { content: " (56%)"; color: #309000;font-size: smaller; }
	p[title$="55%"]:after { content: " (55%)"; color: #309000;font-size: smaller; }
	p[title$="54%"]:after { content: " (54%)"; color: #309000;font-size: smaller; }
	p[title$="53%"]:after { content: " (53%)"; color: #309000;font-size: smaller; }
	p[title$="52%"]:after { content: " (52%)"; color: #309000;font-size: smaller; }
	p[title$="51%"]:after { content: " (51%)"; color: #309000;font-size: smaller; }
	p[title$="50%"]:after { content: " (50%)"; color: #309000;font-size: smaller; }
	p[title$="49%"]:after { content: " (49%)"; color: #FF8000;font-size: smaller; }
	p[title$="48%"]:after { content: " (48%)"; color: #FF8000;font-size: smaller; }
	p[title$="47%"]:after { content: " (47%)"; color: #FF8000;font-size: smaller; }
	p[title$="46%"]:after { content: " (46%)"; color: #FF8000;font-size: smaller; }
	p[title$="45%"]:after { content: " (45%)"; color: #FF8000;font-size: smaller; }
	p[title$="44%"]:after { content: " (44%)"; color: #FF8000;font-size: smaller; }
	p[title$="43%"]:after { content: " (43%)"; color: #FF8000;font-size: smaller; }
	p[title$="42%"]:after { content: " (42%)"; color: #FF8000;font-size: smaller; }
	p[title$="41%"]:after { content: " (41%)"; color: #FF8000;font-size: smaller; }
	p[title$="40%"]:after { content: " (40%)"; color: #FF8000;font-size: smaller; }
	p[title$="39%"]:after { content: " (39%)"; color: #FF8000;font-size: smaller; }
	p[title$="38%"]:after { content: " (38%)"; color: #FF8000;font-size: smaller; }
	p[title$="37%"]:after { content: " (37%)"; color: #FF8000;font-size: smaller; }
	p[title$="36%"]:after { content: " (36%)"; color: #FF8000;font-size: smaller; }
	p[title$="35%"]:after { content: " (35%)"; color: #FF8000;font-size: smaller; }
	p[title$="34%"]:after { content: " (34%)"; color: #FF8000;font-size: smaller; }
	p[title$="33%"]:after { content: " (33%)"; color: #FF8000;font-size: smaller; }
	p[title$="32%"]:after { content: " (32%)"; color: #FF8000;font-size: smaller; }
	p[title$="31%"]:after { content: " (31%)"; color: #FF8000;font-size: smaller; }
	p[title$="30%"]:after { content: " (30%)"; color: #FF8000;font-size: smaller; }
	p[title$="29%"]:after { content: " (29%)"; color: #FF8000;font-size: smaller; }
	p[title$="28%"]:after { content: " (28%)"; color: #FF8000;font-size: smaller; }
	p[title$="27%"]:after { content: " (27%)"; color: #FF8000;font-size: smaller; }
	p[title$="26%"]:after { content: " (26%)"; color: #FF8000;font-size: smaller; }
	p[title$="25%"]:after { content: " (25%)"; color: #FF8000;font-size: smaller; }
	p[title$="24%"]:after { content: " (24%)"; color: #D20000;font-size: smaller; }
	p[title$="23%"]:after { content: " (23%)"; color: #D20000;font-size: smaller; }
	p[title$="22%"]:after { content: " (22%)"; color: #D20000;font-size: smaller; }
	p[title$="21%"]:after { content: " (21%)"; color: #D20000;font-size: smaller; }
	p[title$="20%"]:after { content: " (20%)"; color: #D20000;font-size: smaller; }
	p[title$="19%"]:after { content: " (19%)"; color: #D20000;font-size: smaller; }
	p[title$="18%"]:after { content: " (18%)"; color: #D20000;font-size: smaller; }
	p[title$="17%"]:after { content: " (17%)"; color: #D20000;font-size: smaller; }
	p[title$="16%"]:after { content: " (16%)"; color: #D20000;font-size: smaller; }
	p[title$="15%"]:after { content: " (15%)"; color: #D20000;font-size: smaller; }
	p[title$="14%"]:after { content: " (14%)"; color: #D20000;font-size: smaller; }
	p[title$="13%"]:after { content: " (13%)"; color: #D20000;font-size: smaller; }
	p[title$="12%"]:after { content: " (12%)"; color: #D20000;font-size: smaller; }
	p[title$="11%"]:after { content: " (11%)"; color: #D20000;font-size: smaller; }
	p[title$="10%"]:after { content: " (10%)"; color: #D20000;font-size: smaller; }
	p[title$=" 9%"]:after { content: " (9%)"; color: #D20000;font-size: smaller; }
	p[title$=" 8%"]:after { content: " (8%)"; color: #D20000;font-size: smaller; }
	p[title$=" 7%"]:after { content: " (7%)"; color: #D20000;font-size: smaller; }
	p[title$=" 6%"]:after { content: " (6%)"; color: #D20000;font-size: smaller; }
	p[title$=" 5%"]:after { content: " (5%)"; color: #D20000; }
	p[title$=" 4%"]:after { content: " (4%)"; color: #D20000; text-decoration:blink;}
	p[title$=" 3%"]:after { content: " (3%)"; color: #FF0000; text-decoration:blink; font-size: larger;}
	p[title$=" 2%"]:after { content: " (2%)"; color: #FF0000; text-decoration:blink; font-size: larger;}
	p[title$=" 1%"]:after { content: " (1%)"; color: #FF0000; text-decoration:blink; font-size: larger;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=37933 */

/* Inventarfarbe ändern */
	p.listitemrow {color: #ff0000;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=39042 */

/* Mainframeschriftfarben ändern */
	/* Personen */
	p.personlistcaption {color: #ff0000; }
	/* Items */
	p.itemlistcaption {color: #ff0000; }
	/* Pflanzen */
	p#plantrow {color: #ff0000; }
	/* Feldnamen */
	td.mainheader { color: #ff0000; }
	/* Feldbeschreibungen */
	td.areadescription { color: #ff0000; }
	/* Feldbeschreibungen Hintergrund */
	td.areadescription {background-color: transparent;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=39042 */

/* Schreichatsymbol ändern */
	img[src$="icon_scream.gif"] { display: inline-block; width: 0px; height: 13px; background-image: url(scream.png); padding-left: 21px;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=39707 */

/* Abstand bei Clanmitgliedern ändern */
	.frameitembg > p.listrow > a[target^="mainFrame"] { line-height: 20px; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=39834 */

/* Phasenenergie ändern */
	#fullenergydisp { background-image: url(energyred_bg.jpg) !important; }
	#curenergy { background-image: url(buttongreen_bg.jpg) !important; }
	#test { color: ffffff; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=39155 */

/* Werbung im Banner verschieben */
	.framebannerbg table { position:absolute; left: -XYpx }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=41157 */

/* Freundesliste Notizen */
	.friendlist a[href$="fight.php?action=watchuser&act_user_id=75731"]:after { content:" Test"; color:#339966; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=41157 */

/* Schnellzauber einheitlich */
	table b + a[href*="item.php?action=activate&act_item"] { position:relative; left: 40px; margin-left:-31px; margin-right: 41px; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=40220 */

/* "Du hast eine neue Nachricht erhalten" ausblenden */
	.framechattextbg span[class*="chattextclan"]{display: none;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=41420 */

/* Nachrichten blinken abstellen und farblich hervorheben */
	.framemenubg a[href*="main.php?showallmsgs=1"]:before {font-size: 13px; color: #2C6C98; content: "Nachrichten: "; text-align: center; }
	.framemenubg a[href*="main.php?showallmsgs=1"] { font-size: 0px;}
	.framemenubg a[href*="main.php?showallmsgs=1&zeromsg=1"]:before { color: #2C6C98; content: "Keine Nachrichten";}
	.framemenubg a[href*="main.php?showallmsgs=1&zeromsg=1"] { font-size: 0px;}
	.framemenubg blink {  font-size: 15px; color: #8b0000;text-decoration: none; -webkit-border-radius: 6px;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=41420 */

/* Leerzeichen hinter Sponsorstern */
	img[src$="sponsor3.gif"] { margin-right: 1px; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=43431&sid=47fae0b2f0fc338bede8aea7813f8cc7 */

/* Inventarverkleinderung (CID) */
	p.listitemrow { position: relative; padding: 2px 4px 3px 4px; font-size: 1px; color: transparent; border: 1px solid #BABABA; }
	p.listitemrow:hover { padding: 2px 65px 3px 4px; }
	p.listitemrow + p { margin-top: 3px; overflow: hidden; height: 11px; }
	p.listitemrow a[href*="action=activate"] { display: block; height: 0px; margin: -2px 0px 0px 300px; }
	p.listitemrow:hover a[href*="action=activate"]:before { content: url(../pimg/cid/act.png); position: absolute; top: 2px; right: 47px; opacity: 0.80; }
	p.listitemrow:hover a[href*="action=activate"]:hover:before { opacity: 1.00; }
	p.listitemrow b, .itemequipped { font-size: 11px; color: #5E5E5E; }
	.itemequipped { color: #D20000 !important; font-weight: bold; }
	.itemamount { font-size: 11px; margin-right: 1px; }
	.itemmagic { font-size: 11px; margin-left: 1px; }
	p.listitemrow .iteminventorypics { max-height: 14px; opacity: 0.80; }
	p.listitemrow .iteminventorypics:hover { opacity: 1.00; }
	p.listitemrow img[src$="icon_transfer.gif"] { display: none; }
	p.listitemrow img[src$="icon_drop.gif"] { display: none; }
	p.listitemrow img[src$="icon_view.gif"] { display: none; }
	p.listitemrow:hover img[src$="icon_transfer.gif"] { display: inline-block; position: absolute; top: 3px; right: 2px; }
	p.listitemrow:hover img[src$="icon_drop.gif"] { display: inline-block; position: absolute; top: 4px; right: 16px; }
	p.listitemrow:hover img[src$="icon_view.gif"] { display: inline-block; position: absolute; top: 4px; right: 28px; }
	p.listitemrow span.medium { font-size: 1px; color: transparent; }
	p.listitemrow span.medium a { font-size: 1px; color: #FF0000; display: block; height: 0px; margin: -2px 0px 0px 300px; }
	#filterrow { padding: 2px; }
	#filterrow b { font-size: 10px; }
	#filterrow:before { color: #5E5E5E; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=43880&sid=47fae0b2f0fc338bede8aea7813f8cc7 */
	/* Aktuellere version von bwoebi */

/* Tutorial Hintergrundfarbe ändern */
	.frameitembg legend { display: none; }
	.frameitembg fieldset { background-color: #FFFF00!important; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=45039&sid=47fae0b2f0fc338bede8aea7813f8cc7 */

/* Chaterweiterungsbild ändern */
	.framechatformbg td:last-child img { opacity: 0; }
	.framechatformbg td:last-child { background: url("http://bgimg.png") no-repeat scroll 0 9px transparent; min-width: XYpx; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=44944&sid=47fae0b2f0fc338bede8aea7813f8cc7 */

/* Item beim verkaufen im Shop oder in der Markthalle einfärben */
	td.areadescription table b[onmouseover^="tt('zerbrochene Jerodar-Halskette',"]{color:#cc0000;}
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=45128&sid=47fae0b2f0fc338bede8aea7813f8cc7 */

/* Kampfberichbilder austauschen */
	img[src$="sieg.jpg"] { display: inline-block; width: 0 !important; height: 87px; background: url(http://s3.imgimg.de/uploads/Siegd5e3b4b0jpg.jpg); background-repeat: no-repeat; padding-left: 109px; overflow: hidden; }
	img[src$="niederlage.jpg"] { display: inline-block; width: 0 !important; height: 87px; background: url(http://s3.imgimg.de/uploads/Niederlage028d4de0jpg.jpg); background-repeat: no-repeat; padding-left: 109px; overflow: hidden; }
	/* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=45205&sid=47fae0b2f0fc338bede8aea7813f8cc7 */

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 8. Aug 2011, 09:34
von bwoebi
Wer meint, die Errungenschaften sind ihm zu groß geraten usw…, der kann gerne folgendes Codefragment bei sich einbauen (evtl. müssen je nach Schriftgröße noch einige px verschoben werden oder eben Farben geändert)

Code: Alles auswählen

p.itemlistcaption[style="width: 500px"] ~ br, p.listcaption[style="width: 500px"] ~ br { display: block; margin-bottom: 5px; }
p.itemlistcaption[style="width: 500px"]:hover, p.listcaption[style="width: 500px"]:hover { border-radius: 6px 6px 0 0; }
p.itemlistcaption[style="width: 500px"] ~ p.maincaption2 + br { display: inline; }
p.itemlistcaption[style="width: 500px"] ~ p.maincaption2 { margin-top: 22px; }
p.itemlistcaption[style="width: 500px"]:hover + p.listrow, p.listcaption[style="width: 500px"]:hover + p.listrow, p.listitemcaption[style="width: 500px"] ~ p.listrow:hover { display: block; z-index: 1; }
p.listcaption[style="width: 500px"], p.itemlistcaption[style="width: 500px"] { color: #5E5E5E; font-size: 12px; font-weight: bold; width: 45% !important; background: none repeat scroll 0 0 #ECEAEA; border: 1px solid #5E5E5E; border-radius: 6px 6px 6px 6px; font-size: 12px; font-weight: bold; padding: 2px; text-align: center; }
p.maincaption2 ~ p.maincaption2:nth-of-type(4n+1) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n) + p.listrow, p.maincaption2 ~ p.maincaption2:nth-of-type(4n+3) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n+2) + p.listrow, p.itemlistcaption[style="width: 500px"]:nth-of-type(4n+1) + p.listrow { margin-top: -8px !important; }
p.maincaption2 ~ p.maincaption2:nth-of-type(4n+1) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n), p.maincaption2 ~ p.maincaption2:nth-of-type(4n+3) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n+2), p.itemlistcaption[style="width: 500px"]:nth-of-type(4n+1), p.maincaption2 ~ p.maincaption2:nth-of-type(4n+3) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n+2) + p.listrow, p.maincaption2 ~ p.maincaption2:nth-of-type(4n+1) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n) + p.listrow, p.itemlistcaption[style="width: 500px"]:nth-of-type(4n+1) + p.listrow { margin-top: -26px; position: absolute; right: 10px; }
p.maincaption2 ~ p.maincaption2:nth-of-type(4n+1) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n+2), p.maincaption2 ~ p.maincaption2:nth-of-type(4n+3) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n), p.itemlistcaption[style="width: 500px"]:nth-of-type(4n+3) { padding-left: 6px; padding-right: 7px; }
p.maincaption2 ~ p.maincaption2:nth-of-type(4n+1) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n+2) + p.listrow, p.maincaption2 ~ p.maincaption2:nth-of-type(4n+3) ~ p.listcaption[style="width: 500px"]:nth-of-type(4n) + p.listrow, p.itemlistcaption[style="width: 500px"]:nth-of-type(4n+3) + p.listrow { margin-top: -3px; }
p.listcaption[style="width: 500px"], p.itemlistcaption[style="width: 500px"] { color: #5E5E5E; font-size: 12px; font-weight: bold; width: 45% !important; }
p.listrow[style="width: 500px"] { border-radius: 0 0 6px 6px; border: 1px solid #5E5E5E; display: none; padding: 0 2px 5px; position: absolute; width: 45% !important; border-top: none; }
p.itemlistcaption[style="width: 500px"] a, p.listcaption[style="width: 500px"] a { color: #5E5E5E; }
Irgendwie verhält sich webkit anders wie gecko, und der erste Befehl hat bei Webkit keine Auswirkungen… Hat wer da eine Alternative vorzuschlagen?

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 8. Aug 2011, 10:28
von Andi90
Char-Zustände durch Icons ersetzen, inkl. Warnung vor Ablauf:
viewtopic.php?f=18&t=39917&p=832971#p832971

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 8. Aug 2011, 10:33
von bwoebi
Andi90 hat geschrieben:Char-Zustände durch Icons ersetzen, inkl. Warnung vor Ablauf:
viewtopic.php?f=18&t=39917&p=832971#p832971
Neo the Hunter hat geschrieben:

Code: Alles auswählen

/* Auslaufender Status */
   span[title*="Schutz (5 Minuten)"] { color:#ff6600; font-size: 14px;}
   span[title*="Schutz (4 Minuten)"] { color:#ff6600; font-size: 14px;}
   span[title*="Schutz (3 Minuten)"] { color:#ff6600; font-size: 14px;}
   span[title*="Schutz (2 Minuten)"] { color:#cc0000; font-size: 18px; text-decoration:blink;}
   span[title*="Schutz (1 Minuten)"] { color:#cc0000; font-size: 18px; text-decoration:blink;}
   span[title*="Schutz (0 Minuten)"] { color:#cc0000; font-size: 18px; text-decoration:blink;}
   /* Forenbeitrag: http://forum.freewar.de/viewtopic.php?f=18&t=37481 */
Ist also bereits vorhanden ;) auch wenn nicht genau das gleiche (::after {content}, aber so viel sollte man schon von CSS verstehen, wenn man einen Style macht ;) )

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 8. Aug 2011, 10:35
von Andi90
Ah, nicht gesehen, sry :)

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 8. Aug 2011, 12:13
von Crazy_Ace
alter, sagenhaft!

bitte pinnen und aktiv halten!

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 30. Aug 2011, 23:00
von Atmosphere
Das ist wirklich eine sehr gute Hilfe. Bin auch für anpinnen!

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 24. Sep 2011, 09:45
von burning eagle
Notruf nach rechts verschieben:

Code: Alles auswählen

/* Notruf rechtsbündig */
	a[href*="clanmenu.php?action=sos"] {margin-left:170px;}

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 25. Sep 2011, 22:22
von Bärchen
Mag mal wer schreiben, wie man dafür sorgt, dass Kommentare dauerhaft hinter der Freundesliste stehen? Hatte zwar schon ein wenig probiert, bin aber zu keinem zufriedenstellendem Ergebnis gekommen.

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 25. Sep 2011, 23:42
von Neo the Hunter
Neo the Hunter hat geschrieben: /* Freundesliste Notizen */
.friendlist a[href$="fight.php?action=watchuser&act_user_id=75731"]:after { content:" Test"; color:#339966; }
/* Forenbeitrag: viewtopic.php?f=18&t=41157 */
meinst du in etwa sowas? was anderes konnte ich mir jetzt nicht drunter vorstellen das wuerde in der freundesliste dauerhaft "Test" hinter den user mit der angegebenen id haun

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 26. Sep 2011, 00:05
von Bärchen
Ich fürchte, es war quatsch, was ich suchte, sry ;) Aber was vielleicht noch interessant wäre, ist das, was Mheatus hier getan hat: viewtopic.php?f=8&t=44990&sk=a&start=75#p914610 , also bei bestimmten, oft genutzten Dingen wie Dienstleistungen das dann dementsprechend anzeigen zu lassen.

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 30. Dez 2019, 15:30
von restless wayfarer
Tausenderpunkte bei der eigenen Erfahrungsanzeige.

Code: Alles auswählen

.hidden1000sep { display: inline !important; }

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 5. Jan 2020, 12:26
von restless wayfarer
Für die Einfäbrung von Lebenspunkten nach % statt fixen werten.

Code: Alles auswählen

[id$="lpdisp"] span { color: red; }
[id$="lpdisp"][data-percent*="50."] span, [id$="lpdisp"][data-percent="50"] span, [id$="lpdisp"][data-percent*="51."] span, [id$="lpdisp"][data-percent="51"] span, [id$="lpdisp"][data-percent*="52."] span, [id$="lpdisp"][data-percent="52"] span, [id$="lpdisp"][data-percent*="53."] span, [id$="lpdisp"][data-percent="53"] span, [id$="lpdisp"][data-percent*="54."] span, [id$="lpdisp"][data-percent="54"] span, [id$="lpdisp"][data-percent*="55."] span, [id$="lpdisp"][data-percent="55"] span, [id$="lpdisp"][data-percent*="56."] span, [id$="lpdisp"][data-percent="56"] span, [id$="lpdisp"][data-percent*="57."] span, [id$="lpdisp"][data-percent="57"] span, [id$="lpdisp"][data-percent*="58."] span, [id$="lpdisp"][data-percent="58"] span, [id$="lpdisp"][data-percent*="59."] span, [id$="lpdisp"][data-percent="59"] span, [id$="lpdisp"][data-percent*="60."] span, [id$="lpdisp"][data-percent="60"] span, [id$="lpdisp"][data-percent*="61."] span, [id$="lpdisp"][data-percent="61"] span, [id$="lpdisp"][data-percent*="62."] span, [id$="lpdisp"][data-percent="62"] span, [id$="lpdisp"][data-percent*="63."] span, [id$="lpdisp"][data-percent="63"] span, [id$="lpdisp"][data-percent*="64."] span, [id$="lpdisp"][data-percent="64"] span, [id$="lpdisp"][data-percent*="65."] span, [id$="lpdisp"][data-percent="65"] span, [id$="lpdisp"][data-percent*="66."] span, [id$="lpdisp"][data-percent="66"] span, [id$="lpdisp"][data-percent*="67."] span, [id$="lpdisp"][data-percent="67"] span, [id$="lpdisp"][data-percent*="68."] span, [id$="lpdisp"][data-percent="68"] span, [id$="lpdisp"][data-percent*="69."] span, [id$="lpdisp"][data-percent="69"] span, [id$="lpdisp"][data-percent*="70."] span, [id$="lpdisp"][data-percent="70"] span, [id$="lpdisp"][data-percent*="71."] span, [id$="lpdisp"][data-percent="71"] span, [id$="lpdisp"][data-percent*="72."] span, [id$="lpdisp"][data-percent="72"] span, [id$="lpdisp"][data-percent*="73."] span, [id$="lpdisp"][data-percent="73"] span, [id$="lpdisp"][data-percent*="74."] span, [id$="lpdisp"][data-percent="74"] span { color: orange; }
[id$="lpdisp"][data-percent*="75."] span, [id$="lpdisp"][data-percent="75"] span, [id$="lpdisp"][data-percent*="76."] span, [id$="lpdisp"][data-percent="76"] span, [id$="lpdisp"][data-percent*="77."] span, [id$="lpdisp"][data-percent="77"] span, [id$="lpdisp"][data-percent*="78."] span, [id$="lpdisp"][data-percent="78"] span, [id$="lpdisp"][data-percent*="79."] span, [id$="lpdisp"][data-percent="79"] span, [id$="lpdisp"][data-percent*="80."] span, [id$="lpdisp"][data-percent="80"] span, [id$="lpdisp"][data-percent*="81."] span, [id$="lpdisp"][data-percent="81"] span, [id$="lpdisp"][data-percent*="82."] span, [id$="lpdisp"][data-percent="82"] span, [id$="lpdisp"][data-percent*="83."] span, [id$="lpdisp"][data-percent="83"] span, [id$="lpdisp"][data-percent*="84."] span, [id$="lpdisp"][data-percent="84"] span, [id$="lpdisp"][data-percent*="85."] span, [id$="lpdisp"][data-percent="85"] span, [id$="lpdisp"][data-percent*="86."] span, [id$="lpdisp"][data-percent="86"] span, [id$="lpdisp"][data-percent*="87."] span, [id$="lpdisp"][data-percent="87"] span, [id$="lpdisp"][data-percent*="88."] span, [id$="lpdisp"][data-percent="88"] span, [id$="lpdisp"][data-percent*="89."] span, [id$="lpdisp"][data-percent="89"] span, [id$="lpdisp"][data-percent*="90."] span, [id$="lpdisp"][data-percent="90"] span, [id$="lpdisp"][data-percent*="91."] span, [id$="lpdisp"][data-percent="91"] span, [id$="lpdisp"][data-percent*="92."] span, [id$="lpdisp"][data-percent="92"] span, [id$="lpdisp"][data-percent*="93."] span, [id$="lpdisp"][data-percent="93"] span, [id$="lpdisp"][data-percent*="94."] span, [id$="lpdisp"][data-percent="94"] span, [id$="lpdisp"][data-percent*="95."] span, [id$="lpdisp"][data-percent="95"] span, [id$="lpdisp"][data-percent*="96."] span, [id$="lpdisp"][data-percent="96"] span, [id$="lpdisp"][data-percent*="97."] span, [id$="lpdisp"][data-percent="97"] span, [id$="lpdisp"][data-percent*="98."] span, [id$="lpdisp"][data-percent="98"] span, [id$="lpdisp"][data-percent*="99."] span, [id$="lpdisp"][data-percent="99"] span, [id$="lpdisp"][data-percent="100"] span { color: green; }
Vielen Dank noch Mal an Nyrea & Bob für die schnelle Umsetzung der letzten beiden Einträge :)

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 3. Mär 2021, 16:07
von Kauket
Bei mir werden die zu killenden NPCs z.B. bei den täglichen Quests in der gleichen Farbe angezeigt wie der Hintergrund.
Also nicht immer - mal so mal so. Kommt auf die Länge vom Text an glaub ich. Hab mal ein Bild angehängt.

Weiß jemand, wie man das ändern kann? Am besten die Schriftfarbe in weiß weil der Hintergrund schwarz ist.
Ich nutze einen sehr alten und angepassten Style von tanine (I love ...)

Bild

Re: codefragmente fuer diverse kleine aenderungen

Verfasst: 3. Mär 2021, 16:16
von Sir Alex
#MainFrameQuests svg {
background-color: grey;
}
Das könnte dir schon reichen, Farbe kannst du dir ja schön machen.