Zum Inhalt springen

Hilfe ich werde erSTYLT :evil:

Erstellt am 8. September 2005 · 9 Antworten · letzte Antwort am 13. September 2005

Tags: HTML & CSS, Frage

frankfox ·

Ich habe ein ernsthaftes Problem mit style-angaben die offensichtlich von mini-news, chc-forum und jw-calender erzeugt und fleißig auf allen seiten impletiert werden.
Um das Problem klar zu machen, eine seite mit den styls hat 64kb ohne noch knapp 14. Das bremst natürlich enorm und bedeutet natürlich auch 4fache serverlast. Abgesehen wird mir jeder profi den quelltext um die ohren hauen 😢

Ich kann mir nicht vorstellen das daß so gewollt ist, also bin ich wahrscheinlich mal wieder zu blöde die extentions richtig zu configurieren.

Wer kann mir einen tipp geben wie ich die styles aus einer zentralen styles.css auslesen kann und die nicht immer in die seite implementiert werden #paralyzed#

jenses ·

Du kopierst die Styles, die du benötigts, in deine CSS-Datei.

Mit

plugin.tx_newloginbox_pi3._CSS_DEFAULT_STYLE >

wirst du die defazult styles los.
tx_newloginbox_pi3 muß natürlich gegen das entsprechende Plugin ausgetauscht werden.
Das kannst du auch bequem über den TSOB machen.
?? TSOB --> Suche benutzen

jenses

frankfox ·

He das war eineaAnfängerfrage #giggle#
Also wenn ich das so lese guck ich genauso dämlich wie dein elch.

Die styles aus dem generiertem quelltext in die styles.css kopieren die ich unter fileadmin angelegt habe, klar

aber wo schreibe ich
plugin.tx_newloginbox_pi3._CSS_DEFAULT_STYLE >
hin? Soll das ins Setup im template?

Und wer ist TSOB? sollte ich den kennen?
Klick- TSOB TypoScriptObjektBrowser ok.

"tx_newloginbox_pi3 muß natürlich gegen das entsprechende Plugin ausgetauscht werden."
Öhhh ähhh könntest du das nochmals ein wenig näher... Das währe nett :o

Space-Teddy ·

jau die zeile gehört in das setup feld
beim template
(info/modefier)
kannst du das eintragen

d wo du den (info/mod..) auswählst kannst du auch den TSOB auswöhlen

mit dem kannst du durch alle von typo3
intern ... oj je space sag nix falsches ..
vor formatierten Typoscricpts duch "zappen"
und auch werte ändern ...

der TSOB ist Object Orientiert aufgebaut ...
dort wird es einen (wie im file oder sitebrowser)
zu geklappten teil mit "plugins" finden
den aufklappen dann kommt ein aufklapp teil für
tx_newloginbox_pi3
und da müste dann auch
_CSS_DEFAULT_STYLE
da kannst du dann acuh das >
eintragen ....

hilft es oder verwirrt es noch mehr :p ?

frankfox ·

Ich habe also folgende zeilen in meinem template setup hinzugefügt.

# entfernen der stylscheets aus dem Quellcode
plugin.tx_newloginbox_pi3._CSS_DEFAULT_STYLE >
plugin.tx-mininews-pi1._CSS_DEFAULT_STYLE >
plugin.tx_chcforum-pi1._CSS_DEFAULT_STYLE >
plugin.tx-jwcalendar-pi1._CSS_DEFAULT_STYLE >

Aber leider habe ich noch immer 200 Zeilen CSS im Quelltext #angry#

DAS mit dem TSOB war als alternative eingabe gedacht oder muss da extra ein > rein?

#paralyzed# 😉 #evil# #angry# 8-) 🙁 :x

Mal ne noch blödere frage am rande, warum werden denn die styles nicht beim installieren der extention für jede extention in dem fileadmin ordner gespeichert, dort kann man sie dann einzeln bearbeiten und sie sind updatsicher, beim integrieren eines moduls auf einer seite wird automatisch der css-link eingefügt, schon hat man den ganzen salat nicht mehr.

frankfox ·

Habe ich alles schon versucht 🙁.

Die schreibweise hatte ich aus dem quellcode übernommen.

Anbei die paar zeilen die ich gerne aus der seite verbannt haben möchte, vielleicht hilft das ja jemanden.

<style type="text/css">
/*<![CDATA[*/
<!--
/* default styles for extension "tx_mininews_pi1" */
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser { margin-bottom:15px; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-teaser { margin-top:0px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-singleView P.tx-mininews-pi1-singleViewField-teaser { font-style:italic; margin-top:5px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-browsebox P SPAN.tx-mininews-pi1-browsebox-strong { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A { color:black; text-decoration:none; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A:hover { color:black; text-decoration:none; }
/* default styles for extension "tx_newloginbox_pi3" */
.tx-newloginbox-pi3-listrow TD { background-color:#eeeeee; padding-left: 3px; padding-right: 3px; }
.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-header TD { background-color:#cccccc; }
.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-header TD P { font-weight:bold; }
.tx-newloginbox-pi3-listrow TR.tx-newloginbox-pi3-listrow-odd TD { background-color:#f6f6f6; }
/* default styles for extension "tx_chcforum_pi1" */

/* BASIC STUFF */
#tx_chcforum-pi1 {
font-family: arial, sans-serif;
font-size: 11px;
}

#tx_chcforum-pi1 caption {
display: none;
}

#tx_chcforum-pi1 a {
text-decoration: underline;
}

#tx_chcforum-pi1 a:hover {
text-decoration: none !important;
}

/* only one form in the forum */
#tx_chcforum-pi1 form {
margin-top: 20px;
}

/* GENERIC TABLE BEGIN */
.tx-chcforum-pi1-Table {
border: 1px solid #999999;
background: #FFFFFF;
margin-bottom: 3px;
width: 100%;
}

.tx-chcforum-pi1-Table thead tr th {
font-size: 14px;
font-weight: bold;
background: #A7B3CB;
padding: 5px;
text-align: center;
white-space: nowrap;
}

/* category title row */
.tx-chcforum-pi1-Table tbody tr th {
font-size: 15px;
font-weight: bold;
letter-spacing: 2px;
background: #F3F5F8;
padding: 5px;
text-align: left;
}

/* category features row */
.tx-chcforum-pi1-Table tbody tr td {
font-size: 12px;
background: #E3E7EF;
padding: 5px;
}
/* GENERIC TABLE END */

/* CATEGORY TABLE BEGIN */
/* cell 1 */
.tx-chcforum-pi1-catConferenceCell {

}

.tx-chcforum-pi1-catConferenceCell dl {
margin: 0;
}

.tx-chcforum-pi1-catConferenceCell dt {

}

.tx-chcforum-pi1-catConferenceCell dd {
font-size: 10px;
margin-left: 5px;
}

.tx-chcforum-pi1-catConferenceCell dd.new {
color: #FF0000;
}

/* cell 2 */
.tx-chcforum-pi1-catThreadCell {
text-align: center;
}

/* cell 3 */
.tx-chcforum-pi1-catPostCell {
text-align: center;
}

/* cell 4 */
.tx-chcforum-pi1-catLastCell {
font-size: 10px !important;
vertical-align: top;
}
/* CATEGORY TABLE END */

/* CONFERENCE TABLE BEGIN */
/* cell 1 */
.tx-chcforum-pi1-confThreadSubjCell {

}

.tx-chcforum-pi1-confThreadNew {
color: #F00;
font-size: 10px;
padding-left: 5px;
}

.tx-chcforum-pi1-confThreadBtns img {
padding-top: 5px;
}

.tx-chcforum-pi1-confThreadBtns {
padding-left: 5px;
}

/* cell 2 */
.tx-chcforum-pi1-confThreadRepliesCell {
text-align: center;
}

/* cell 3 */
.tx-chcforum-pi1-confThreadAuthorCell {
text-align: center;
}

/* cell 4 */
.tx-chcforum-pi1-confThreadLastCell {
font-size: 10px !important;
}

/* CONFERENCE TABLE END */

/* NAVPATH BEGIN*/
.tx-chcforum-pi1-navPath {
background: #DEE3E7;
border: 1px solid #000000;
/* margin: 12px 0 15px 0; */
margin-bottom: 3px;
margin-top: 15px;
padding: 3px;
font-size: 10px;
}
/* NAVPATH END*/

/* PAGELINKS BEGIN */
.tx-chcforum-pi1-pageLinksTop, .tx-chcforum-pi1-pageLinksBtm {
background: #DEE3E7;
border: 1px solid #000000;
font-size: 10px;
margin-bottom: 3px;
padding: 3px;
font-size: 10px;
text-align: right;
clear: both;
}
/* PAGELINKS END */

/* POST FORM BEGIN */
.tx-chcforum-pi1-postForm {
border: 1px solid #999999;
background: #E3E7EF;
padding: 5px;
margin-bottom: 3px;
}

.tx-chcforum-pi1-postForm fieldset label {
display: block;
text-align: right;
padding-right: 20px;
width: 150px;
float: left;
}

.tx-chcforum-pi1-postForm fieldset#formTop input {
display: block;
width: 150px;
float: left;
padding: 2px;
border: 1px solid #000000;
margin-bottom: 3px;
}

.tx-chcforum-pi1-postForm textarea {
border: 1px solid #000000;
margin: 3px 0;
width: 100% ;
height: 150px;
}

.tx-chcforum-pi1-postForm fieldset#formTop br {
clear:left;
}

.tx-chcforum-pi1-formBtn {
text-align: center;
}

.tx-chcforum-pi1-formBtn input {
border: 1px solid #999999;
font-size:10px;
font-family:Verdana, Arial, Helvetica, sans-serif;
margin:2px;
background-color: #FFF;

}

.tx-chcforum-pi1-formBtnHov {
border: 1px solid #666;
font-size:10px;
font-family:Verdana, Arial, Helvetica, sans-serif;
margin:2px;
background-color: #FFF;
color: #CC0000;
}

.tx-chcforum-pi1-formBtnStyle {
background-color: #FFF;
border: 1px solid #000000;
padding: 3px;
margin: 3px;
}

.tx-chcforum-pi1-formBtnStyleHov {
background-color: #FFF;
border: 1px solid #C00;
color: #CC0000;
padding: 3px;
margin: 3px;
}
/* POST FORM END */

/* SINGLE POST BEGIN */
.tx-chcforum-pi1-singlePost {
border: 1px solid #000000;
margin: 3px 0;
margin-bottom: 10px;
}

/* top */
.tx-chcforum-pi1-singlePost .author {
background: #E3E7EF;
padding: 3px;
vertical-align: top;
height: 78px;
}

.tx-chcforum-pi1-formEmicoStyle {
margin: 3px;
}

.tx-chcforum-pi1-singlePost .im {
vertical-align: middle;
margin-top: 3px;
}

.tx-chcforum-pi1-singlePost .im a {
margin-right: 10px;
}

.tx-chcforum-pi1-singlePost .im img {
vertical-align: middle;
border: 0px;
padding-right: 2px;
margin-bottom: 2px;
}

.tx-chcforum-pi1-singlePost .userPic {
border: 1px solid #000000;
float: right;
}
/* deprecated */
.tx-chcforum-pi1-singlePost #userPic {
border: 1px solid #000000;
float: right;
}

/* middle */
.tx-chcforum-pi1-singlePost .text {
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
background: #E3E7EF;
}

.tx-chcforum-pi1-singlePost .scroller {
overflow: auto;
width: 95%;
background: #FFF;
min-height: 125px;
text-indent: 0px;
padding: 3px;
}

/* bottom */
.tx-chcforum-pi1-singlePost .edit {
background: #F3F5F8;
padding: 3px;
height: 19px;
vertical-align: middle;
margin-top: 3px;
}

.tx-chcforum-pi1-singlePost .edit a {
margin-right: 30px;
}

.tx-chcforum-pi1-singlePost .edit img {
vertical-align: middle;
border: 0px;
}

.tx-chcforum-pi1-singlePost .attachment {
background: #DEE3E7;
padding: 3px;
}

.tx-chcforum-pi1-singlePost .attachment div {
vertical-align: top;
}

.tx-chcforum-pi1-singlePost .attachment img {
float: left;
margin-right: 5px;
}

.tx-chcforum-pi1-singlePost .rate {
background: #DEE3E7;
border-top: 3px solid #FFFFFF ;
padding: 3px;
}

.tx-chcforum-pi1-singlePost .rate input {
background-color: #FFF;
border: 1px solid #000000;
font-size: 9px;
}

.tx-chcforum-pi1-singlePost .rate select {
border: 1px solid #000000;
font-size: 10px;
}

.tx-chcforum-pi1-singlePost .rate select option {
height: 1.5em;
}

.tx-chcforum-pi1-singlePost .rate form {
padding: 0;
margin: 0;
display: inline;
}

.tx-chcforum-pi1-singlePost .rate .rateStars {
float: left;
text-align: left;
height: 1.85em;
}

.tx-chcforum-pi1-singlePost .rate .rateMenu {
text-align: right;
width: 100%;
height: 1.85em;
}

.tx-chcforum-pi1-singlePost .offset {
margin-left: 15px;
margin-right: 15px;
}

.tx-chcforum-pi1-singlePost .codeCell {
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
padding: 5px;
background-color: #FAFAFA;
border: #D1D7DC;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px
}

.tx-chcforum-pi1-singlePost .quoteCell {
background-color: #FAFAFA;
font-size: 10px;
padding: 5px;
border: #D1D7DC;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px
}

.tx-chcforum-pi1-singlePost .quoteCellAuthor {
border: 0px;
font-weight: bold;
padding: 3px 0;
}

.tx-chcforum-pi1-singlePost .quoteTable {
border: 0px;
margin: 15px 0;
}

.tx-chcforum-pi1-singlePost .text img {
max-height: 350px;
max-width: 350px;
}

.tx-chcforum-pi1-singlePostQuoteText {
background-color: #FAFAFA;
border: 1px solid #000000;
font-size: 10px;
padding: 5px;
}

/* SINGLE POST END */

/* FOOTER BOX BEGIN */
.tx-chcforum-pi1-footerBox {
background: #A7B3CB;
padding: 3px;
border: 1px solid #999999;
font-size: 10px;
}

/* used for user listing */
.tx-chcforum-pi1-footerBox div {
padding-top: 5px;
padding-left: 5px;
font-size: 10px;
}
/* FOOTER BOX END */

/* HEADER BOX BEGIN */
.header_center {
text-align: center;
height: 34px;
}
.header_text {
font-size: 24px;
line-height: 34px;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-weight: bold;
font-variant: small-caps;
}
.header_small {
margin-bottom: 3px;
border: solid #000000 1px;
}
/* HEADER BOX END */

/* TOOL BAR BEGIN */
.tx_chcforum-pi1-toolBar {
background: #DEE3E7;
border: 1px solid #000000;
margin-bottom: 3px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 3px;
}

.tx_chcforum-pi1-toolBar img {
vertical-align: middle;
margin-left: 16px;
}

.tx_chcforum-pi1-toolBar div {
line-height: 30px;
text-align: right;
font-size: 9px;
font-weight: bold;
font-family: Verdana,Arial,Helvetica,sans-serif;
}

.tx_chcforum-pi1-subToolBar {
background: #DEE3E7;
border: 1px solid #000000;
margin-bottom: 3px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 3px;
}

.tx_chcforum-pi1-subToolBar img {
vertical-align: middle;
margin-left: 16px;
}

.tx_chcforum-pi1-subToolBar div {
line-height: 30px;
text-align: right;
font-size: 9px;
font-weight: bold;
font-family: Verdana,Arial,Helvetica,sans-serif;
}

/* TOOL BAR END */

/* PROFILE BEGIN */
.tx-chcforum-pi1-profileBorder {
border: 1px solid #999999;
padding: 3px;
}

.tx-chcforum-pi1-profileBorder #userPic {
border: 1px solid #000000;
float: right;
}

.tx-chcforum-pi1-profileBorder hr {
clear: left;
display: block;
visibility: hidden;
}

.tx_chcforum-pi1-profileHdrBig {
background: #DEE3E7;
border: 1px solid #000000;
padding: 5px;
margin-bottom: 3px;
font-size: 11px;
font-weight: bold;
}

.tx_chcforum-pi1-profile_hdr {
font-size: 11px;
font-weight: bold;
background: #E3E7EF;
padding: 2px;
padding-left: 6px;
}
/* PROFILE END */

/* MESSAGE BOX BEGIN */
.tx-chcforum-pi1-errorBoxCell {
background: #E3E7EF;
font-weight: bold;
text-align: left;
}

.tx-chcforum-pi1-messageBoxErrorNoBorder {
background: #FFD6EF;
font-weight: bold;
text-align: left;
margin-bottom: 3px;
padding: 3px;
font-weight: bold;
}

.tx-chcforum-pi1-messageBox, .tx-chcforum-pi1-messageBoxError {
background: #FFD6EF;
border: 1px dotted #FF0000;
margin-bottom: 3px;
padding: 3px;
font-weight: bold;
}
/* MESSAGE BOX END */

.tx-chcforum-pi1-forumTextBig {
font-size: 14px;
font-weight: bold;
}

.tx-chcforum-pi1-helpBox {
background-color: #E3E7EF !important;
border-style: none;
}

.tx-chcforum-pi1-linkUp {
background: #DEE3E7;
border: 1px solid #000000;
margin: 12px 0 15px 0;
padding: 3px;
font-size: 10px;
text-align: center;
}

.tx-chcforum-pi1-previewBoxCell {
background: #A7B3CB;
text-align: center;
}

/* CWT COMMUNITY STYLES */

#tx_chcforum-pi1 .tx-cwtcommunity-pi1 .userlistLetters {
font-weight: bold;
}
#tx_chcforum-pi1 .tx-chcforum-pi1-Table .tx-cwtcommunity-pi1 form {
margin: 0px;
padding: 0px;
font-family: arial, sans-serif;
}
#tx_chcforum-pi1 .tx-chcforum-pi1-Table .tx-cwtcommunity-pi1 td {
font-family: arial, sans-serif;
padding: 2px;
}
#tx_chcforum-pi1 .tx-chcforum-pi1-Table .tx-cwtcommunity-pi1 th {
background: #E3E7EF;
font-family: arial, sans-serif;
font-size: 11px;
padding: 2px;
text-align: left;
letter-spacing: 0px;
}

/* default styles for extension "tx_jwcalendar_pi1" */
div.tx-jwcalendar-pi1{ font-family: Verdana, sans-serif; font-size: 11px; text-align: center; color:#193A72;}div.tx-jwcalendar-pi1 img{ border:0;}div.tx-jwcalendar-pi1 a, div.tx-jwcalendar-pi1 table a{ /* text-decoration:none;*/ text-decoration:none; color: #692287;}div.tx-jwcalendar-pi1 a:hover,div.tx-jwcalendar-pi1 table a:hover{ color: red;}div.tx-jwcalendar-pi1 input{ clear:both; background: #FBE29F; border-top:2px #FCF6E5 solid; border-left:2px #FCF6E5 solid; border-right:2px #FECC3C solid; border-bottom:2px #FECC3C solid; text-align:center; margin:10px; padding: 3px 14px; } div.tx-jwcalendar-pi1 .tx_jw_input_text{ width:260px; border:1px #FECC3C solid; padding:3px; height:23px;}div.tx-jwcalendar-pi1 .tx_jw_select{ font-size:11px; border:0px;}div.tx-jwcalendar-pi1 .tx_jw_textarea{ font-size:12px; height:120px; width:260px; padding:3px; border:1px #FECC3C solid;}div.tx-jwcalendar-pi1 .tx_jw_input_button{ font-size:12px; background: #FBE29F; text-align:center; margin:4px 10px; padding:2px 4px;}/********************************************//*****************LIST view ****************//********************************************/div.jwcalendar_list{ width:100%; background-color:#FDF2D2; font-family: Verdana, sans-serif; font-size: 12px; color:#193A72; border: 1px #FFC725 solid; margin:10px 0;}div.jwcalendar_list .title{ font-size: 14px; font-weight: bold; color:#193A72; padding: 8px 5px;}div.jwcalendar_list .prev_items{ float:left; font-size: 11px; font-weight: bold; text-align:left; color:#193A72; padding:8px 0 0 16px;}div.jwcalendar_list .next_items{ float:right; font-size: 11px; font-weight: bold; text-align:right; color:#193A72; padding:8px 0 0 16px;}div.jwcalendar_list .next_items{}div.jwcalendar_list .itemslist{ padding:0 10px;}div.jwcalendar_list table.items{ width:100%; font-family: Verdana, sans-serif; font-size: 11px; text-align:left; line-height:1.4em; empty-cells:show; border-collapse:separate; border-collapse:collapse; border-spacing:0; border: 1px #FFC725 solid;}div.jwcalendar_list table.items td.label{ background:#FCECC0; width:33%; vertical-align:top; border: 1px #FFC725 dotted; padding:5px;}div.jwcalendar_list table.items td.item{ background:#FBE29F; width:67%; border: 1px #FFC725 dotted; vertical-align:top; padding:5px;}div.jwcalendar_list table.items p{ font-size: 11px; padding:0;}div.jwcalendar_list table.items p{ font-size: 11px; padding:0;}div.jwcalendar_list .submit{ clear:both; font-size: 11px; padding:0;}/********************************************//*****************WEEK view ****************//********************************************/div.jwcalendar_week{ width:100%; background-color:#FDF2D2; font-family: Verdana, sans-serif; font-size: 12px; color:#193A72; border: 1px #FFC725 solid; margin:10px 0;}div.jwcalendar_week .prev_week{ margin:4px 120px 0px 10px; float:left;}div.jwcalendar_week .selector{ margin:4px 0 0 0; float:left;}div.jwcalendar_week .next_week{ text-align:right; margin:4px 10px 0px 120px;}div.jwcalendar_week table.days{ clear:both; font-family: Verdana, sans-serif; font-size: 12px; width:100%; line-height:1.4em; border-collapse:collapse; empty-cells:show; border-spacing:0; border:1px solid #FFC725; margin:8px;}div.jwcalendar_week table.days td.dayname{ text-align:right; vertical-align:top; border:1px solid #FFC725; padding:2px 8px 0 4px;}div.jwcalendar_week table.day_events,div.jwcalendar_week table.times { background:#FBE29F; font-family: Verdana, sans-serif; font-size: 12px; width:100%; border-collapse:collapse; empty-cells:show; border-spacing:0;}div.jwcalendar_week table.times { border:1px solid #FFC725;}div.jwcalendar_week table.times td.time{ border-left:2px solid #FFC725; border-right:2px solid #FFC725;}div.jwcalendar_week table.days a{ text-decoration:none;}div.jwcalendar_week table.days td.time{ font-family: Verdana, sans-serif; font-size: 11px; text-align:center;}div.jwcalendar_week table.days td.event_time{ height:4px; padding:0; margin: 0px;}div.jwcalendar_week table.days td.event{ font-family: Verdana, sans-serif; font-size: 11px; vertical-align:top; padding:4px 2px; margin: 0px;}div.jwcalendar_week table.days td.event a{ font-family: Verdana, sans-serif; font-size: 11px;}/********************************************//*****************MONTH view ****************//********************************************/div.jwcalendar_month{ width:100%; background-color:#FDF2D2; font-family: Verdana, sans-serif; font-size: 12px; color:#193A72; border: 1px #FFC725 solid; margin:10px 0;}div.jwcalendar_month .title{ clear:both; text-align: center; font-size: 14px; font-weight:bold; color: #333; padding:5px 0;}div.jwcalendar_month .navi, div.jwcalendar_month .days_view{ padding:0 10px;}/*******************//*tables navi******//*******************/div.jwcalendar_month table.navs{ width:100%;}div.jwcalendar_month table.months, div.jwcalendar_month table.year{ width:100%; font-family: Verdana, sans-serif; font-size: 11px; font-weight:bold; text-align:center; empty-cells:show; border-collapse:separate; border-spacing:10px;}div.jwcalendar_month table.year { font-size: 12px; border-spacing:5px;}div.jwcalendar_month table.months td, div.jwcalendar_month table.year td{}div.jwcalendar_month table.months td.other_month, div.jwcalendar_month table.year td.last_year, div.jwcalendar_month table.year td.next_year{ background: #FBE29F; border-top:2px #FCF6E5 solid; border-left:2px #FCF6E5 solid; border-right:2px #FECC3C solid; border-bottom:2px #FECC3C solid; padding:15px 5px;}div.jwcalendar_month table.months td.other_month{ padding:5px;}div.jwcalendar_month table.months td.current_month{ background: #FBE29F; border-right:2px #FCF6E5 solid; border-bottom:2px #FCF6E5 solid; border-top:2px #FECC3C solid; border-left:2px #FECC3C solid; padding:5px;}/*****************//*table days******//*****************//*div.jwcalendar_month .days_view table{*/div.jwcalendar_month table.days{ font-family: Verdana, sans-serif; font-size: 11px; width:100%; line-height:1.4em; border-collapse:collapse; empty-cells:show; border-spacing:0; border:1px solid #FFC725; padding:0;}div.jwcalendar_month table.days a{ text-decoration:none;}div.jwcalendar_month table.days td{ vertical-align:top; border:dotted 1px #FFC725; padding:4px;}div.jwcalendar_month table.days td.week{ background:#FBE29F; font-weight:bold;}div.jwcalendar_month table.days td.dayname{ background:#FBE29F; font-weight:bold; text-align:center;}div.jwcalendar_month table.days,div.jwcalendar_month table.days td.inside,div.jwcalendar_month table.days td.today,div.jwcalendar_month table.days td.inside_weekend,div.jwcalendar_month table.days td.today_weekend,div.jwcalendar_month table.days td.outside_weekend{ font-weight:bold;}div.jwcalendar_month table.days a,div.jwcalendar_month table.days td.inside a,div.jwcalendar_month table.days td.today_inside a,div.jwcalendar_month table.days td.inside_weekend a,div.jwcalendar_month table.days td.today_weekend a,div.jwcalendar_month table.days td.outside_weekend a{ font-weight:bold; color:blue;}div.jwcalendar_month table.days td.today{ background: #F9F4E7; border:solid 2px #CD9705; border:solid 1px #AD1602; }div.jwcalendar_month table.days td.outside_weekend,div.jwcalendar_month table.days td.outside{ background:#EAEAEB; border:dotted 1px #F9DF94;}div.jwcalendar_month table.days td.inside_weekend{ background:#FCECC0;}/**********************//*table singleday******//**********************/div.jwcalendar_month table.singleday,div.jwcalendar_month table.singleday td,div.jwcalendar_month table.singleday td a,div.jwcalendar_month table.singleday a{ font-weight:bold; font-family: Verdana, sans-serif; font-size: 11px; width:100%; line-height:1.0em; border-collapse:collapse; empty-cells:show; border-spacing:0px; border:0px solid #ddd; padding:0px; margin:0 0 2px 0;}div.jwcalendar_month table.singleday{ background: #eee; border:1px dotted #ddd;}div.jwcalendar_month table.singleday td{ border:0px solid #ddd; padding:3px 0;}/*****************//*table dayitem******//*****************/div.jwcalendar_month table.dayitem,div.jwcalendar_month table.dayitem a{ font-weight:normal; font-family: Verdana, sans-serif; font-size: 11px; width:100%; line-height:1.0em; border-collapse:collapse; empty-cells:show; border-spacing:0px; border:1px solid #ddd; padding:0px; margin:1px 0;}div.jwcalendar_month table.dayitem td.item,div.jwcalendar_month table.dayitem td.item a{ color:#333; text-decoration:none; font-weight:normal; border:0;}div.jwcalendar_month table.dayitem td.itemcat,div.jwcalendar_month table.dayitem td.itemcat a{ font-weight:normal; color:#333; text-decoration:none; font-size: 8px; padding:0px; Cursor:help; width:2px; border:0;}/********************************************//*****************SINGLE view ****************//********************************************/div.jwcalendar_single{ background-color:#FDF2D2; border: 1px #FFC725 solid; padding:10px 10px;}div.jwcalendar_single .content,div.jwcalendar_single .header,div.jwcalendar_single .org{ width:100%; clear:both;}div.jwcalendar_single .contentie,div.jwcalendar_single .headerie,div.jwcalendar_single .orgie{ float:left; width:100%; text-align:left; border-left: 1px #FFC725 dotted; border-right: 1px #FFC725 dotted; border-bottom: 1px #FFC725 dotted; background:#FCECC0;}div.jwcalendar_single .headerie{ border-top: 1px #FFC725 dotted;}div.jwcalendar_single .contentie{ background:#FBE29F;}div.jwcalendar_single .title, div.jwcalendar_single .category{ float:left; font-size: 14px; text-align:left; font-weight:bold; padding:4px 8px 8px 8px;}div.jwcalendar_single .catcolor{ float:none; font-size: 2px; padding:0;} div.jwcalendar_single .category{ float:none; font-size: 12px; font-weight:normal; padding:6px 8px 8px 8px;}div.jwcalendar_single .images{ float:left; padding:10px 8px; margin:0px;}div.jwcalendar_single .itemtext{ margin:8px; }div.jwcalendar_single .itemtitle p:first-letter{ font-size: 15px; font-weight:bold; color:red;}div.jwcalendar_single .itemtitle p:first-line{ font-size: 13px; font-weight:bold; line-height:1.2em;}div.jwcalendar_single .teaser{ font-weight:bold; font-style:italic; line-height:1.8em;}div.jwcalendar_single .desc{ font-size: 11px;}div.jwcalendar_single .itemlink{ line-height:1.8em;}div.jwcalendar_single .label, div.jwcalendar_feEntry .label,div.jwcalendar_feEntry .timelabel{ clear:both; float:left; text-align:right; font-weight:bold; width:33%; padding:4px 8px;}div.jwcalendar_single .item, div.jwcalendar_feEntry .item{ text-align:left; padding:4px 4px 4px 32%;}/********************************************//*****************feEntry view ****************//********************************************/div.jwcalendar_feEntry{ background-color:#FDF2D2; border: 1px #FFC725 solid; padding:8px;}div.jwcalendar_feEntry .label,div.jwcalendar_feEntry .timelabel{ vertical-align:bottom; line-height:1.6em; padding:8px 8px; width:32%;} div.jwcalendar_feEntry .timelabel{ width:20%;} div.jwcalendar_feEntry .title{ font-size:14px; font-weight:bold; color:blue; text-align:left; line-height:1.0em; padding:0px 8px;}div.jwcalendar_feEntry .title p:first-letter{ font-size:20px; }div.jwcalendar_feEntry .item{ text-align:left; padding:8px 8px;}div.jwcalendar_feEntry .fileitem{ text-align:left; padding:8px 8px; width:30px;}div.jwcalendar_feEntry input{ clear:none; background: white; border-top:2px #FCF6E5 solid; border-left:2px #FCF6E5 solid; border-right:2px #FECC3C solid; border-bottom:2px #FECC3C solid; text-align:left; font-size:12px; margin:0; padding: 0; }div.jwcalendar_feEntry .error ul li{ list-style:circle inline; text-align:left; font-size:12px; color:red; margin:4px 40px;}div.jwcalendar_feEntry .error ul li:first-letter{ font-size:16px; font-weight:bold;}div.jwcalendar_confirm .error{ font-size:12px; color:red; margin:10px;}div.jwcalendar_confirm .conftext{ font-size:14px; margin:10px;}/********************************************//*****************ORGANIZER view ****************//********************************************/div.jwcalendar_organizer, div.jwcalendar_location{ background-color:#FDF2D2; border: 1px #FFC725 solid; padding:10px 10px;}div.jwcalendar_organizer .content,div.jwcalendar_organizer .header,div.jwcalendar_organizer .org, div.jwcalendar_location .content,div.jwcalendar_location .header,div.jwcalendar_location .org{ width:100%; clear:both;}div.jwcalendar_organizer .contentie,div.jwcalendar_organizer .headerie,div.jwcalendar_organizer .orgie,div.jwcalendar_location .contentie,div.jwcalendar_location .headerie,div.jwcalendar_location .orgie{ float:left; width:100%; text-align:left; border-left: 1px #FFC725 dotted; border-right: 1px #FFC725 dotted; border-bottom: 1px #FFC725 dotted; background:#FCECC0;}div.jwcalendar_organizer .headerie,div.jwcalendar_location .headerie{ border-top: 1px #FFC725 dotted;}div.jwcalendar_organizer .contentie,div.jwcalendar_location .contentie{ background:#FBE29F;}div.jwcalendar_organizer .title,div.jwcalendar_location .title{ float:left; font-size: 14px; text-align:left; font-weight:bold; padding:4px 8px 8px 8px;}div.jwcalendar_organizer .text,div.jwcalendar_location .text{ margin:8px;}div.jwcalendar_location .name,div.jwcalendar_organizer .name{ font-size: 14px; text-align:left; font-weight:bold; padding:0;}div.jwcalendar_location .name p:first-letter,div.jwcalendar_organizer .name p:first-letter{ font-size: 15px; font-weight:bold; color:red;}div.jwcalendar_location .name p:first-line,div.jwcalendar_organizer .name p:first-line{ font-size: 13px; font-weight:bold; line-height:1.2em;}div.jwcalendar_location .images,div.jwcalendar_organizer .images{ float:left; padding:10px 8px; margin:0px;}div.jwcalendar_location .desc,div.jwcalendar_organizer .desc{ font-size: 11px;}div.jwcalendar_location .label,div.jwcalendar_organizer .label{ clear:both; float:left; text-align:right; font-weight:bold; width:33%; padding:4px 4px;}div.jwcalendar_location .item,div.jwcalendar_organizer .item{ text-align:left; padding:4px 4px 4px 32%;}div.jwcalendar_location .addritem,div.jwcalendar_organizer .addritem{ text-align:left; padding:4px 4px 0px 32%;}div.jwcalendar_location .cityitem,div.jwcalendar_organizer .cityitem{ text-align:left; padding:0px 4px 8px 32%;}.jwcalendar_olbg { border: solid 0px #003399; background-color: #6666CC; }.jwcalendar_olfg { border: 0px; background-color: #EEEEEE; padding:4px 6px; text-align:left;}.jwcalendar_olcf { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; line-height: 2em; font-weight: bold; color: #FFFFFF; }.jwcalendar_oltf { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
/* default styles for extension "tx_danewslettersubscription_pi1" */
DIV.tx-danewslettersubscription-pi1 DIV.tx-danewslettersubscription-pi1-listrow TABLE TR TD.tx-danewslettersubscription-pi1-descr P {margin-bottom: 10px;}
DIV.tx-danewslettersubscription-pi1 TABLE TR.tx-danewslettersubscription-pi1-form-row TD {background-color: #ffffff;}
DIV.tx-danewslettersubscription-pi1 TABLE TR.tx-danewslettersubscription-pi1-form-row TD.tx-danewslettersubscription-pi1-form-header {background-color: #eeeeee;}
DIV.tx-danewslettersubscription-pi1 DIV.tx-danewslettersubscription-pi1-listrow TABLE TR.tx-danewslettersubscription-pi1-listrow-header TD {background-color: #EEEEEE;}
DIV.tx-danewslettersubscription-pi1 DIV.tx-danewslettersubscription-pi1-listrow TABLE TR.tx-danewslettersubscription-pi1-listrow-header TD P {font-weight: bold;}

</style>

fuss ·

Mannomann, wenn man so ziemlich alle extensions installiert, die es gibt, dann wird der Kram nunmal so aufgebläht 😉

also einfach folgendens ins Le Setup schreiben:

config {
 inlineStyle2TempFile=1
}

und schon wird der ganze CSS Krempel ausgelagert.

gruss, fuss

frankfox ·

Dachte ich #angry#

Nachdem ich nun die styles aus dem quelltext verbannt habe und die mainstyles.css die styles für meine seiten beherbergen, wollte ich noch ein wenig das forum und den kalender anpassen.

Denkste, egal was ich mache, keine veränderung. Zum schluss habe ich alle styles für kalender und forum aus der styles.css rausgeschmissen und war auf eine völlig zerschossene seite gefasst aber pustekuchen das forum läuft auch ohne die stylevorgaben völlig gestylt.

Aus diesem versuch bin ich versucht zu glauben das die 50kg styles die ursprünglichin den quelltext geschrieben wurden nur nett gemeinter balast waren aber bedeutungslos für die funktion. Daraus ergibt sich für mich die feststellung, "der sch... muss in irgend einer tabelle eingetragen sein!?!". Die daraus resultierenden Fragen sind also:
1. wenn, in welcher und wie komm ich ran?
2. wie kommt die html seite daran ?

Also schaue ich mir den quelltext mal genauer an und finde ein

<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_dd38b0a727.css" />

aber wie kommt den der dahin?

Ist das vieleicht das gepriesene stylesheet in dem alle extentions ihre styles ablegen und in dem ich in ruhe rumpfuschen kann??? Oder haben wir es hier mit einer dynamischen stylesheet datei zu tun die aus der datebank bei jedem seitenaufruf geschreiben wird.

Also experiment, ich lösche die datei und siehe da, sie wird aus geisterhand neu geschreiben.

Die Geisterhand wahr ja dann wohl ich...

   1.
      config {
   2.
       inlineStyle2TempFile=1
   3.
      } 

damit wird wohl die datei erzeugt, aber mein problem bleibt, da ich nach wie vor die css nicht bearbeiten kann. 

Ich benötige also eine zeile die das einsetzen des style codes verhindert und nicht verlagert damit die von mir geänderten styles aus der style.css ausgelesen werden. Leider hatte ich mit den oben vorgeschlagenen befehlszeilen keinen erfolg. Wer kann helfen das einfügen der styles in den quelltext effektiv zu unterbinden.

Hätte man vieleicht auch kürzer schreiben können, ich weis   :o 


PS: Ich habe nur drei extentions installiert, mininews, chc-forum und den jw-calender, wie wird das erst wenn dann noch das gewünschte fotoalbum und die to-do extentions dazukommen?