Changeset 7843


Ignore:
Timestamp:
Nov 22, 2010, 9:13:09 PM (13 years ago)
Author:
rvelices
Message:

simplification of CSS rules (trunk only)

Location:
trunk/themes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/Sylvia/theme.css

    r6478 r7843  
    308308        list-style-type:none;
    309309}
    310 span.calItem {
     310.calItem {
    311311        border:1px solid #666;
    312312        margin:0 5px;
    313313        padding:2px 5px 0 8px;
    314314}
    315 span.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
     315.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
    316316        border:1px solid #666;
    317317}
  • trunk/themes/clear/theme.css

    r6531 r7843  
    6868
    6969/*calendar elements*/
    70 SPAN.calItem, SPAN.calItemEmpty
     70.calItem, .calItemEmpty
    7171{
    7272  border: 1px solid silver;
  • trunk/themes/default/fix-ie5-ie6.css

    r5123 r7843  
    11/* Issues in IE from 5 to 6 only not to be used with IE7 */
     2
     3#menubar LI.selected A {
     4        font-weight: bold;
     5}
     6
     7#menubar LI.selected LI A {
     8        font-weight: normal;
     9}
    210
    311/* fix IE with another layout for thumbnails */
  • trunk/themes/default/theme.css

    r7841 r7843  
    77        padding: 0;
    88        display: inline;
     9        width: 18em;
    910}
    1011
     
    4849}
    4950
    50 #menubar LI.selected A {
    51         font-weight: bold;
    52 }
    53 
    54 #menubar LI.selected LI A {
    55         font-weight: normal;
     51/*IE6 needs override because of > selector*/
     52#menubar LI.selected>A {
     53        font-weight: bold;
    5654}
    5755
     
    9593 */
    9694.content {
    97         margin-right: 1em;
    98         margin-bottom: 1em; /* when it's longer than menu bar */
    99 }
    100 
    101 BODY#theCommentsPage .content,
    102 BODY#theUploadPage .content,
    103 BODY#theRegisterPage .content,
    104 BODY#theIdentificationPage .content,
    105 BODY#theProfilePage .content,
    106 BODY#theSearchPage .content,
    107 BODY#theAboutPage .content,
    108 BODY#thePopuphelpPage .content,
    109 BODY#thePasswordPage .content,
    110 BODY#theNotificationPage .content,
    111 BODY#theTagsPage .content,
    112 BODY#theNBMPage .content
     95        margin: 1em;
     96}
     97
     98BODY#theCategoryPage .content
    11399{
    114         margin: 1em;
     100        margin-left: 20em;  /* = #menubar width + 2em */
    115101}
    116102
     
    156142
    157143/* begin chronology/calendar elements*/
    158 .content DIV.calendarViews {
     144.content .calendarViews {
    159145        display: block;
    160146        float: right;
     
    162148}
    163149
    164 SPAN.calItem, SPAN.calItemEmpty {
     150.calItem, .calItemEmpty {
    165151        font-weight: bold;
    166152        margin: 0 1px;
     
    168154}
    169155
    170 SPAN.calItem A { border:0 }
    171 
    172 .content DIV.calendarCalBar {
     156.calItem A { border:0 }
     157
     158.content .calendarCalBar {
    173159        margin: 10px;
    174160        text-align: left;
    175161}
    176162
    177 SPAN.calCalHead {
     163.calCalHead {
    178164        font-weight: bold;
    179165        font-size: 110%;
     
    181167}
    182168
    183 SPAN.calCal { margin: 0 2px; }
     169.calCal { margin: 0 2px; }
    184170
    185171/* nice looking month calendar*/
     
    713699}
    714700
    715 /* Set the width of the menubar for the galery */
    716 #menubar {
    717   width: 18em;
    718 }
    719 .content {
    720   margin-left: 20em;  /* = #menubar width + 2em */
    721 }
    722701/* Set minimum width of the page before getting a scrollbar */
    723702/* IE5 and IE6 don't get that */
     
    761740
    762741/* So that non-links are slightly greyed out */
    763 .content .navigationBar, SPAN.calItemEmpty, TD.calDayCellEmpty {
     742.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
    764743        color: #b0b0b0;
    765744}
Note: See TracChangeset for help on using the changeset viewer.