Foros del Web » Creando para Internet » Sistemas de gestión de contenidos »

Revisar tema cambiar colores en phpbb

Estas en el tema de Revisar tema cambiar colores en phpbb en el foro de Sistemas de gestión de contenidos en Foros del Web. Que tal , pues lo que pregunto acá he de decir que lo he peguntado en varias partes, con algo de éxito, y he de ...
  #1 (permalink)  
Antiguo 25/09/2006, 08:26
Avatar de thrash  
Fecha de Ingreso: marzo-2002
Ubicación: Talca-Chile
Mensajes: 254
Antigüedad: 22 años, 2 meses
Puntos: 1
Revisar tema cambiar colores en phpbb

Que tal , pues lo que pregunto acá he de decir que lo he peguntado en varias partes, con algo de éxito, y he de asumir que hay algo de impericia de mi parte.

MI duda apunta a como cambiarle el color a revisar temas , que esta justo abajo de este y todos mensajes cuando los responden .
Se que el archivo es el posting_topic_review.tpl el cual llama desde un iframe src="{U_REVIEW_TOPIC} que esta en negrita en el código de abajo.

Bueno y una captura para mostar que es lo quiero cambiar es lo que esta en azul.



La págia responde a este código

Código:
<!-- BEGIN switch_inline_mode -->
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
 <tr> 
  <td class="catHead" height="28" align="center"><b><span class="cattitle">{L_TOPIC_REVIEW}</span></b></td>
 </tr>
 <tr>
  <td class="row1"><iframe width="100%" height="300" src="{U_REVIEW_TOPIC}" >
<!-- END switch_inline_mode -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumline">
 <tr>
  <td class="cat" width="22%">{L_AUTHOR}</td>
  <td class="cat">{L_MESSAGE}</td>
 </tr>
 <!-- BEGIN postrow -->
 <tr>
  <td width="22%" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span></td>
  <td class="{postrow.ROW_CLASS}" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr> 
    <td width="100%"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
   </tr>
   <tr> 
    <td colspan="2"><hr /></td>
   </tr>
   <tr> 
    <td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>
   </tr>
  </table></td>
 </tr>
 <tr> 
  <td colspan="2" height="1" class="spaceRow"><img src="templates/Avalanche/images/spacer.gif" alt="" width="1" height="1" /></td>
 </tr>
  <!-- END postrow -->
</table>
<!-- BEGIN switch_inline_mode -->
  </iframe></td>
 </tr>
</table>
<!-- END switch_inline_mode -->
__________________
Foro Forestal Maderero
Bosque y +
  #2 (permalink)  
Antiguo 25/09/2006, 08:28
Avatar de thrash  
Fecha de Ingreso: marzo-2002
Ubicación: Talca-Chile
Mensajes: 254
Antigüedad: 22 años, 2 meses
Puntos: 1
Sigo :...

y la hoja de estilos es :
Código:
/*
 +---------------------------------
 | Avalanche v1.0.4 Theme for phpBB version 2.0.12
 | copyright (C) 2004 What Is Real!?
 | Created by GraphicMD
 | www.whatisreal.com
+---------------------------------
*/.back_1_1 {
 width: 24px;
 height: 18px;
}
.back_1_2 {
 background: url(images/1_2.gif);
 width: 34px;
 height: 18px;
}
.back_1_3 {
 background: url(images/1_3.gif);
 height: 18px;
}
.back_1_6 {
 background: url(images/1_6.gif);
 width: 34px;
 height: 18px;
}
.back_1_7 {
 width: 24px;
 height: 18px;
}
.back_2_1 {
 background: url(images/2_1.gif);
 width: 24px;
 height: 103px;
}
.back_2_2 {
 background: url(images/2_2.gif);
 width: 236px;
 height: 103px;
}
.back_2_4 {
 background: url(images/2_4.gif);
 width: 126px;
 height: 103px;
}
.back_2_5 {
 background: url(images/2_5.gif);
 height: 103px;
}
.back_2_6 {
 background: url(images/2_6.gif);
 width: 34px;
 height: 103px;
}
.back_2_7 {
 background: url(images/2_7.gif);
 width: 24px;
 height: 103px;
}
.back_3_1 {
 background: url(images/3_1.gif);
 width: 24px;
 height: 59px;
}
.back_3_2 {
 background: #85cc66;
 height: 59px;
}
.back_3_7 {
 background: url(images/3_7.gif);
 width: 24px;
 height: 59px;
}
.back_4_1 {
 background: url(images/3_1.gif);
 width: 23px;
}
.back_4_2 {
 background: #85cc66;
}
.back_4_7 {
 background: url(images/3_7.gif);
 width: 24px;
}
.back_5_1 {
 background: url(images/5_1.gif);
 width: 24px;
 height: 48px;
}
.back_5_2 {
 background: url(images/5_2.gif);
 width: 34px;
 height: 48px;
}
.back_5_3 {
 background: url(images/5_3.gif);
 width: 202px;
 height: 48px;
}
.back_5_4 {
 background: url(images/5_4.gif);
 width: 126px;
 height: 48px;
}
.back_5_5 {
 background: url(images/5_5.gif);
 height: 48px;
}
.back_5_6 {
 background: url(images/5_6.gif);
 width: 34px;
 height: 48px;
}
.back_5_7 {
 background: url(images/5_7.gif);
 width: 24px;
 height: 48px;
}
.back_6_1 {
 width: 24px;
 height: 18px;
}
.back_6_2 {
 background: url(images/6_2.gif);
 width: 34px;
 height: 18px;
}
.back_6_3 {
 background: url(images/6_3.gif);
 height: 18px;
}
.back_6_6 {
 background: url(images/6_6.gif);
 width: 34px;
 height: 18px;
}
.back_6_7 {
 width: 24px;
 height: 18px;
}
.link_back_1 {
 background: url(images/link_back_1.gif);
 width: 37px;
 height: 23px;
}
.link_back_2 {
 background: url(images/link_back_2.gif);
 height: 23px;
}
.link_back_3 {
 background: url(images/link_back_3.gif);
 width: 37px;
 height: 23px;
}
.link_back_5 {
 background: url(images/link_back_5.gif);
 width: 304px;
 height: 7px;
}
.active_button {
 background: url(images/active_button.gif);
 width: 86px;
 height: 19px;
 text-align: center;
 font-weight: bold;
}
.tab_button {
 background: url(images/tab_button.gif);
 width: 86px;
 height: 19px;
 text-align: center;
 font-weight: bold;
}
.tab_space_1 {
 width: 20px;
 height: 19px;
}
.right_bottom {
 background: url(images/right_bottom.gif);
 width: 27px;
 height: 18px;
}
.left_bottom {
 background: url(images/left_bottom.gif) right;
 width: 24px;
 height: 18px;
}
.middle_bottom {
 background: url(images/middle_bottom.gif) right;
 height: 18px;
 width: 200px;
}
.middle_bottom2 {
 background: url(images/middle_bottom2.gif) right;
 height: 18px;
 width: 34px;
}
.middle_bottom3 {
 background: url(images/middle_bottom3.gif) right;
 height: 18px;
} /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
 background: url(images/body_back.gif) repeat-x #F0F0F0;
 margin-top: 15px;
}/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;}
a:link,a:active,a:visited { color : #4583c0; }
a:hover  { text-decoration: underline; color : #f3a625; }
hr { height: 0px; border: solid #fff 0px; border-top-width: 1px;}a.tab, a.tab:visited {
 color: #4583c0;
 font-weight: bold;
 font-size: 10px;
 text-decoration: none;
}
a.tab:hover {
 color: #f3a625;
}/* This is the border line & background colour round the entire page */
.bodyline {
 width: 742px;
}/* This is the outline round the main forum tables */
.forumline {
 border: #ffffff;
 border-style: solid;
 border-width: 0px 0px 1px 0px;
}
/* Main table cell colours and backgrounds */
td.row1, td.row2{
 background-color: #F0F0F0;
 border: #fff;
 border-style: solid;
 border-width: 1px 0px 0px 1px;
 padding: 5px;
}
td.row3 {
 background-color: #bacee2;
 border: #fff;
 border-style: solid;
 border-width: 1px 0px 0px 1px;
 padding: 5px;
}/* Header cells - the blue and silver gradient backgrounds */
th {
 font-size: 10px;
 font-weight : bold;
 height: 24px;
 background-image: url(images/cellpic3.gif);
 border: 0px;
 text-align: left;
 /* color: #f3a625; */
 color: #4583c0;
}
th.thRight {
 background: url(images/thRight.gif) right;
 width: 30px;
}
th.thLeft {
 background: url(images/thLeft.gif);
 width: 30px;
}
a.thCenter, a.thCenter:visited {
 color: #f3a625;
 text-decoration: none;
}
a.thCenter:hover {
 color: #4583c0;
}/* sub-header */
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
 background-color: #F0F0F0;
 height: 24px;
 padding-left: 5px;
 padding-right: 5px;
 border: #ffffff;
 border-style: solid;
 border-width: 1px 0px 0px 0px;
}/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2 {
 font-weight: bold;
 font-size: 22px;
 color: #fff;
}
/* General text */
.gen { font-size : 11px; color: #000; }
.genmed { font-size : 10px; }
.gensmall { font-size : 10px; }
.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #4583c0; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #f3a625; text-decoration: underline; }/* Forum category titles */
.cattitle        { font-weight: bold; font-size: 11px ; }
a.cattitle, a.cat       { text-decoration: none; }
a.cattitle:hover { text-decoration: underline; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 12px; }
a.forumlink, a.forumlink:visited{ text-decoration: none; }/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav, a.nav, a.nav:visited { font-weight: bold; font-size: 10px; color : #fff;}/* titles for the topics: could specify viewed link colour too */
.topictitle { font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle, a.topictitle:visited { text-decoration: none; }/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 11px; color : #000000;}/* Location, number of posts, post date etc */
.postdetails  { font-size : 10px; color : #000000; }
/* The content of the posts (body of text) */
.postbody { font-size : 10px;}
a.postlink:link { text-decoration: none; color : #4583c0; }
a.postlink:visited { text-decoration: none; color : #4583c0; }
a.postlink:hover { text-decoration: underline; color : #f3a625}
/* Quote & Code blocks */
.code {
 font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #4583c0;
 background-color: #FAFAFA; border: #3399cc; border-style: solid;
 border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;
 padding: 5px;
}.quote {
 font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; 
 background-color : #eff4f9;
 line-height: 125%;
 border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px;
 padding: 5px;
 border: #3399cc;
 border-style: solid;
 border-width: 1px 1px 1px 1px;
}
/* Copyright and bottom info */
.copyright  { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #333333; letter-spacing: -1px;}
a.copyright  { color: #fff; text-decoration: none;}
a.copyright:hover { text-decoration: underline;}
/* Form elements */
input,textarea, select {
 color : #000000;
 font: normal 10px Verdana, Arial, Helvetica, sans-serif;
 border-color : #000000;
}/* The text input fields background colour */
input.post, textarea.post, select {
 background-color : #eff4f9;
 border-color: #85cc66;
 border-style: solid;
 border-width: 1px 1px 1px 1px;
 color: #ffffff;
}input { text-indent : 2px; }/* The buttons used for bbCode styling in message post */
input.button, input.mainoption, input.liteoption {
 background-color : #85cc66;
 color: #eff4f9;
 font-size: 10px;
 border-color: #eff4f9;
 border-style: solid;
 border-width: 1px 1px 1px 1px;
}/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know  
*/
.helpline { background-color: #DEE3E7; border-style: none; }form {
 border: 0px;
 margin: 0px;
}
ul {
 border: 0px;
 margin: 0px;
}
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css" ;
La página que se genera de manera dinámica por decirlo así , es decir no es un tpl ni nada.

Un ejemplo http://www.ffm.cl/posting.php?mode=topicreview&t=2541
__________________
Foro Forestal Maderero
Bosque y +
  #3 (permalink)  
Antiguo 25/09/2006, 08:32
Avatar de thrash  
Fecha de Ingreso: marzo-2002
Ubicación: Talca-Chile
Mensajes: 254
Antigüedad: 22 años, 2 meses
Puntos: 1
Una de las partes que "controla" los colores es
td.row1, td.row2{
background-color: f0f0f0;
border: #fff;
border-style: solid;
border-width: 1px 0px 0px 1px;
padding: 5px;
}

y me han comentado que debo agregar esto:


html
{
background-color: green;
}

el que si agrego pone un margen verde a todo el foro y lo que quiero que afecte es sólo al borde iframe ese que comento antes .

Y me comentan "ahora te tocaría editar el código para hacer una capa que englobe a todo."

¿el tema es como ?

Disculpen lo largo del tema.

Agradecido de cualquier ayuda , Thrash
__________________
Foro Forestal Maderero
Bosque y +
  #4 (permalink)  
Antiguo 05/10/2006, 09:23
Avatar de thrash  
Fecha de Ingreso: marzo-2002
Ubicación: Talca-Chile
Mensajes: 254
Antigüedad: 22 años, 2 meses
Puntos: 1
No es que sea de vida o muerte, de hecho nadie se muerto por algo así, pero me tiene muy intrigado el tema. ¿Alguna sugerencia del como se de hacer ?.

Gracias
__________________
Foro Forestal Maderero
Bosque y +
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:49.