Changeset 1662

Show
Ignore:
Timestamp:
05/16/2010 03:40:44 PM (3 years ago)
Author:
DarTar
Message:

Fixed comments style in kubrick theme. Note: the comment navigation icons and the commentsnav div will need to be removed from the show handler and CSS. The label of the fieldset in the user settings can then drop the word "default". refs #418 and #912

Location:
branches/1.3/templates/kubrick/css
Files:
2 removed
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.3/templates/kubrick/css/kubrick.css

    r1658 r1662  
    4949        min-height: 300px; 
    5050        margin: 20px 0 0; 
    51         line-height: 1.4em; 
     51        line-height: 1.6em; 
    5252        padding: 0 0 20px 45px; 
    5353        font-size: 1.2em; 
     
    7272/* comments */ 
    7373 
     74/* wrapper for the whole comments block, contains the header and the actual comments */ 
    7475#comments { 
    7576        clear: left; 
     
    8081} 
    8182 
     83#comments form { 
     84        display: inline; 
     85} 
     86 
     87#comments form input[type=submit] { 
     88        font-size: 80%; 
     89        padding: 1px 2px; 
     90} 
     91 
     92/* contains the header to the comments block */ 
    8293#commentsheader { 
    83         font-size: 1em; 
    84 } 
    85  
    86 .comment { 
    87         font-size: 1.1em; 
    88         font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; 
    89         margin: 10px; 
    90         line-height: 1.5em; 
    91         padding: .8em 1.2em; 
    92         background-color: #f8f8f8; 
    93         border-top: 1px solid #ddd; 
    94         border-bottom: 1px solid #ddd; 
     94        clear: both; 
     95        background-color: #FAFAFA; 
     96        padding: 2px 10px 0 10px; 
     97        border-top: 1px solid #CCCCCC; 
     98} 
     99 
     100#commentsheader form { 
     101        padding: 5px 0;  
     102} 
     103 
     104/* wrapper for the comment lists */ 
     105.commentscontainer { 
     106        background-color: transparent; 
     107        margin-top: 10px;        
     108        padding: 0;      
     109} 
     110 
     111/* alternate style for single comments */ 
     112.comment-layout-1 { 
     113        background-color: #FAFAFA; 
     114        padding: 7px; 
     115        border: 1px solid #DDD; 
     116        margin: 5px; 
     117} 
     118 
     119.comment-layout-2 { 
     120        background-color: #FFF; 
     121        padding: 7px; 
     122        border: 1px solid #DDD; 
     123        margin: 5px; 
    95124} 
    96125 
     
    98127        font-size: .8em; 
    99128        padding: 5px; 
    100 } 
    101  
    102 #commentform textarea { 
    103         width: 100%; 
    104 } 
    105  
    106 div#commentsnav {  
    107 /*      border:1px solid #CCC; */  
    108 /*      background-color:#EEE; */  
    109         float:right;  
    110         padding:3px;  
    111 }  
    112   
    113 div#commentsnav img.icon {  
    114         border: 1px solid #CCC;  
    115         padding:3px;  
    116         background-color:#EFEFEF;  
    117         margin:1px;  
    118 }  
    119   
    120 div#commentsnav img.icon_on {  
    121         border: 1px solid #CCC;  
    122         padding:3px;  
    123         background-color:#DDD;  
    124         margin:1px;  
    125 }  
    126   
    127 div#commentsnav img.icon:hover {  
    128         background-color:#DDD; 
     129        color: #999; 
     130        font-family: "Lucida Console", Monaco, monospace; 
     131} 
     132 
     133.commentauthor { 
     134        font-size: 1.2em; 
     135} 
     136 
     137.commentbody { 
     138} 
     139 
     140.commentaction { 
     141        margin-top: 5px; 
     142} 
     143 
     144.commentform { 
     145        padding: 10px; 
     146        background-color: #EEE; 
     147} 
     148 
     149textarea#commentbox { 
     150        width: 400px; 
     151} 
     152 
     153.commentdeleted { 
     154        color: #AAA; 
     155} 
     156 
     157.commentparent { 
     158        font-size: 1em; 
     159        line-height: 20px; 
     160        color: #555; 
     161        margin: 5px 5px 5px 5px; 
     162} 
     163 
     164#commentsnav { 
     165        display: none;   
    129166} 
    130167 
     
    451488textarea { 
    452489        border: 1px solid #CCC;  
    453 } 
    454  
    455 textarea:hover { 
    456         background-color: #F3F3F3; 
    457 } 
    458  
    459 textarea:focus { 
    460         background-color: #E6E6FF; 
    461490} 
    462491