Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
General Info re: Diddle.css
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
General Info re: Diddle.css
PostPosted: 04/07/2007 5:22 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:47 PM
greatbrE.gif
Hi Nightrider, I wonder if you would mind explaining roughly what a few things are in this file and where they show on my pages? Doesn't have to be detailed just a rough idea of what they are  sunny



Code:
/*
  The original Diddle Theme for phpBB version 2.0.12
 
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
   background-color: #fff9d4;
   scrollbar-face-color: #FFFBCC;
   scrollbar-highlight-color: #FFF7C6;
   scrollbar-shadow-color: #DE82E7;
   scrollbar-3dlight-color: #DE82E7;
   scrollbar-arrow-color:  #DE82E7;
   scrollbar-track-color: #FFFFDD;
   scrollbar-darkshadow-color: #FFF7C6;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #006699; }
a:hover      { text-decoration: underline; color : #DD6900; }
hr   { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}


/* This is the border line & background colour round the entire page */
.bodyline   {
   border: 1px solid #DE82E7;   
}

/* This is the outline round the main forum tables */
.forumline   { background-color: #DEAE08; border: 2px #FFFFDD solid; }  (I changed this thinking it was the brownish lines that separate each forum but I couldnt see any changes)

/* Main table cell colours and backgrounds */
td.row1   { background-color: #FFFEE6; }
td.row2   { background-color: #FFFDDD; }
td.row3   { background-color: #FFFBCD; }


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
      background-color: #D6E7FF;
      background-image: url(images/cellpic1.gif);
      background-repeat: repeat;
}

/* Header cells - the rainbow gradient backgrounds */
th   {
   color: #FFA34F; font-size: 11px; font-weight : bold;
   background-color: #FFFBCD; height: 25px;
   background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
         background-image: url(images/cellpic1.gif);
         background-color:#FFFBCD; height: 28px;
}


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/

th.thCornerR {
   font-weight: bold;
   height: 28px;
   color: #4A598C;
}
td.spaceRow {
   background-color: #C6D7F7; }
td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
td.spaceRow    { }
td.catBottom  { border-width: 0px 1px 1px 1px; }


/* General text */
.gen { font-size : 12px; color : #4A598C; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover   { color: #DD6900; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu      { font-size : 11px; color : #000000 }
a.mainmenu      { text-decoration: none; color : #006699;  }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }


/* Forum category titles */
.cattitle      { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699}
a.cattitle      { text-decoration: none; color : #006699; }
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; color : #006699; }
a.forumlink    { text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav         { font-weight: bold; font-size: 11px; color : #000000;}
a.nav         { text-decoration: none; color : #006699; }
a.nav:hover      { text-decoration: underline; }


/* titles for the topics: could specify viewed link colour too */
.topictitle         { font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #006699; }
a.topictitle:visited { text-decoration: none; color : #5493B4; }
a.topictitle:hover   { text-decoration: underline; color : #DD6900; }


/* 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 : 12px;}
a.postlink:link   { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
   font-family: Georgia, "Times New Roman", Times, serif; font-size: 11px; color: #AA64B1;
   background-color: #FAFAFA; border: #EDC3F5; border-style: solid;
   border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
   font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #00699C; line-height: 125%;
   background-color: #FAFAFA; border: #EDC3F5; border-style: solid;
   border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}


/* Copyright and bottom info */
.copyright      { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright      { color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}


/* Form elements */
input,textarea, select {
   color : #000000;
   font: normal 11px Verdana, Arial, Helvetica, sans-serif;
   border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
   background-color : #F5FFF3;
    border-top-width: 2px;
   border-right-width: 2px;
   border-bottom-width: 2px;
   border-left-width: 2px;
   border-top-style: solid;
   border-right-style: solid;
   border-bottom-style: solid;
   border-left-style: solid;
   border-top-color: #A9C7A9;
   border-right-color: #F7FFF7;
   border-bottom-color: #F7FFF7;
   border-left-color: #A9C7A9;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
   background-color : #F0FFEC;
   color : #000000;
   font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
   background-color : #E7FBD6;
   font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
   background-color : #E7FBD6;
   font-weight : normal;
}

/* 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: #E7FBD6; border: 1px solid #000000; }
td.row3Right {    background-color: #FFFBCD;  }th.thCornerL {
   font-weight: bold;
   height: 28px;
   color: #4A598C;
} th.thBottom { } th.thBottom {    font-weight: bold; height: 28px;  }
th.thHead { font-size: 12px;  } th.thHead {    font-weight: bold; height: 28px;  color: #4A598C;}  th.thLeft {    font-weight: bold; height: 28px; color: #4A598C; }  th.thRight {    font-weight: bold; height: 28px; color: #4A598C; } th.thSides { } th.thSides {    font-weight: bold; height: 28px;  } th.thTop {
   font-weight: bold;
   height: 28px;
   color: #4A598C;
} td.catSides { }

/* The largest text used in the index page title and toptic title etc. */
.maintitle, h1, h2 {          font-weight: bold; font-size: 22px; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
         text-decoration: none; line-height : 120%; color : #4A598C;
 }

/* Top table on index-body forum */
.indextable {background:url(images/table_m.gif) repeat-x;width:100%}

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");



If it makes it any easier I've done a screen shot and marked what I want to know. The green arrows = where would I look if I wanted to change the colour in these.
The purple arrow is the lines I want to change the colour of - where do I find that?

Thanks  headbang

Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 11:17 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:47 AM
Location: St Pete, FL
peace.gif
Ok, the image on the first arrow is named folder_locked_big.gif and is assigned to the $images array in your Diddle.cfg file:

Code:
$images['forum_locked'] = "$current_template_images/folder_locked_big.gif";

Then that array is used in your index.php file to assign it when necessary.  To find out where, just search on $images['forum_locked'] in the index.php file...

I assume in the second arrow, you are referring to the background color of the cell.  That is assigned to a class in your Diddle.css file:

Code:
td.row1   { background-color: #FFFEE6; }

So in your index_body.tpl, it sets the class, which is responsible for the background color and other attributes, in the table column code:

Code:
<td class="row1"

I assume that the next three arrows are pointing to the variables, 0, 0, and No posts.  These variables are the following that are found in your index_body.tpl file:

Code:
{catrow.forumrow.TOTAL_TOPICS}
{catrow.forumrow.TOTAL_POSTS}
{catrow.forumrow.LAST_POST}

And they are assigned in your index.php file

Code:
'TOTAL_TOPICS' => $forum_data[$j]['forum_topics'],
'TOTAL_POSTS' => $forum_data[$j]['forum_posts'],
'LAST_POST' => $last_post,

The last arrow pointing to the bottom of the post is determined by the cellspacing assignment for the table in your index_body.tpl file:

Code:
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">

If you set that to 0, there would be no line separating the columns and rows.  Of course if you increase the value, the line would get wider...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 1:32 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:47 PM
greatbrE.gif
Cool thank you! Will add all that to my growing library of NR explanations (you think I'm joking??)
I have various posts/info labled and stored for easy referernce  headbang
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 1:40 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:47 AM
Location: St Pete, FL
peace.gif
LOL  I used to try to keep notes, but I found that I spent a lot of time writing and saving them, but I never managed to get back to rereading them.  So I probalby used a lot of paper for nothing in college.  I probably could have gotten more out of my classes if I had just sat and listened to what the instructor was saying rather than being distracted by keeping up with the notes...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 2:15 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:47 PM
greatbrE.gif
Well you seem to be scraping by ok  hysterical2

My psychology teacher used to say the average attention span is about 15 mins...but used to lecture us for 2 hours straight...go figure!
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 2:47 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:47 AM
Location: St Pete, FL
peace.gif
Yeah, that doesn't seem right that he knew that the attention span dropped off so quickly but continued for so long.  I had instructors like that too.  I think I slept through a lot of those classes.  My bed would have been more comfortable...

Shocked
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 4:56 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 12:47 PM
greatbrE.gif
hysterical2

Quote:
The last arrow pointing to the bottom of the post is determined by the cellspacing assignment for the table in your index_body.tpl file:

If you set that to 0, there would be no line separating the columns and rows.  Of course if you increase the value, the line would get wider...




Is it possible to change the colour of this line?
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: General Info re: Diddle.css
PostPosted: 04/07/2007 5:02 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 8:47 AM
Location: St Pete, FL
peace.gif
I believe that you can adjust the color by changing the forumline color in your Diddle.css file.  But that will adjust all the border colors as well...

Code:
.forumline   { background-color: #DEAE08; border: 2px #DE82E7 solid; }

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1847s (PHP: 55% - SQL: 45%) - SQL queries: 52 - GZIP disabled - Debug on