Changeset 6541

Show
Ignore:
Timestamp:
11/24/10 00:32:18 (2 years ago)
Author:
soma
Message:

theme/freifunk-generic: fix html markup and clean/modify css

Location:
luci/trunk/themes/freifunk-generic
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/themes/freifunk-generic/htdocs/luci-static/freifunk-generic/cascade.css

    r6538 r6541  
    99 
    1010body { 
    11     color: #cccccc; 
     11    color: #ccc; 
    1212    background:#e5eef5 url(bg.jpg) repeat-x top left; 
    1313    font-family: Verdana, Arial, sans-serif; 
     
    7878 
    7979.error { 
    80     color: #ff0000; 
     80    color: #f00; 
    8181    background-color: white; 
    8282} 
    8383 
    8484#header { 
    85     min-height: 98px; 
     85    min-height: 100px; 
    8686    background: #FFF url(header.jpg) repeat-x left bottom; 
    87     color: #cccccc; 
     87    color: #ccc; 
    8888    font-weight: bold; 
     89    text-align:right; 
     90} 
     91 
     92#header img { 
     93    border: 0; 
     94    padding-left: 10px; 
    8995} 
    9096 
    9197#header_left{ 
    92 position: absolute; 
    9398text-align:left; 
    9499top: 42px; 
     100float:left; 
    95101} 
    96102 
     
    99105font: bold 28px Helvetica; 
    100106text-decoration: none; 
    101 } 
    102  
    103 #header_right{ 
    104 text-align:right; 
    105 } 
    106  
    107 #header h1 { 
    108     padding: 1em 1em 0 1em; 
    109107} 
    110108 
     
    325323    width: auto; 
    326324    background: #000; 
    327     color: #ffffff; 
     325    color: #fff; 
    328326    list-style: none; 
    329327    margin-right: 1px; 
     
    351349    width: 98%; 
    352350    min-height: 500px; 
    353     border: 3px solid #cccccc; 
     351    border: 3px solid #ccc; 
    354352    padding: 5px; 
    355353    font-family: monospace; 
     
    364362    color: #000; 
    365363    font-size: 80%; 
    366     background: #ffffff url(bg.jpg) repeat-x center bottom; 
    367     border: 1px dashed #CCCCCC; 
     364    background: #fff url(bg.jpg) repeat-x center bottom; 
     365    border: 1px dashed #ccc; 
    368366} 
    369367 
     
    389387    margin-bottom: 0.5em; 
    390388    padding: 0.5em 1em; 
    391     border: 1px dotted #555555; 
    392     background-color: #ffffff; 
     389    border: 1px dotted #555; 
     390    background-color: #fff; 
    393391    color: #000; 
    394392} 
     
    410408    text-decoration: none !important; 
    411409    font-weight: bold !important; 
    412     color: #555555 !important; 
     410    color: #555 !important; 
    413411    margin: 0.25em !important; 
    414412    font-size: 100% !important; 
     
    452450        border: 1px outset #000; 
    453451        border-bottom: none; 
    454         background-color: #EEEEEE; 
    455         color: #BBBBBB; 
     452        background-color: #eee; 
     453        color: #bbb; 
    456454} 
    457455 
     
    470468        padding-top: 4px; 
    471469        color: #000; 
    472         background-color: #FFFFFF; 
     470        background-color: #fff; 
    473471} 
    474472 
     
    477475        background-position: 0.25em 50%; 
    478476        background-repeat: no-repeat; 
    479         border-bottom: 1px solid #CCCCCC; 
     477        border-bottom: 1px solid #ccc; 
    480478        margin: 0.25em 0.25em 2em; 
    481479        padding: 0.5em 0.5em 0.5em 2em; 
     
    494492input, 
    495493textarea { 
    496     background: #ffffff; 
    497     color: #000; 
    498     border: 1px solid #cccccc; 
     494    background: #fff; 
     495    color: #000; 
     496    border: 1px solid #ccc; 
    499497} 
    500498 
     
    509507textarea:focus, 
    510508textarea:hover { 
    511     background-color: #ffffff; 
     509    background-color: #fff; 
    512510    color: #000; 
    513511} 
     
    644642    background: #f5f5f5; 
    645643    color: #000; 
    646     border: 1px solid #666666; 
     644    border: 1px solid #666; 
    647645    font-size: 90%; 
    648646    width: 80%; 
     
    659657table.smalltext tr th { 
    660658    padding: 0 0.25em; 
    661     border-left: 1px solid #666666; 
     659    border-left: 1px dotted #666; 
    662660    text-align: left; 
    663661} 
    664662 
    665663table.smalltext tr td { 
    666     padding: 0 0.25em; 
    667     border-top: 1px solid #666666; 
    668     border-left: 1px solid #666666; 
     664    padding: 0.2em; 
     665    border-top: 1px dotted #666; 
     666    border-left: 1px dotted #666; 
    669667} 
    670668 
     
    677675.cbi-section .cbi-rowstyle-1 h3 { 
    678676    background-color: #f1f6fa; 
    679     color: #555555; 
     677    color: #555; 
    680678} 
    681679 
     
    688686    vertical-align: middle; 
    689687    padding-left: 0.25em; 
    690     border-bottom: 1px dashed #bbbbbb; 
     688    border-bottom: 1px dashed #bbb; 
    691689} 
    692690 
     
    720718 
    721719div.cbi-tblsection-create { 
    722     border-bottom: 1px dotted #bbbbbb; 
     720    border-bottom: 1px dotted #bbb; 
    723721} 
    724722 
     
    728726 
    729727input.cbi-section-create-name { 
    730     border: ; 
    731728    margin-right: -0.25em; 
    732729    border-top-width: 1px; 
     
    734731    border-bottom-width: 1px; 
    735732    border-left-width: 1px; 
    736     border-top-color: #999999; 
    737     border-right-color: #999999; 
    738     border-bottom-color: #999999; 
    739     border-left-color: #999999; 
     733    border-top-color: #999; 
     734    border-right-color: #999; 
     735    border-bottom-color: #999; 
     736    border-left-color: #999; 
    740737} 
    741738 
     
    746743div.cbi-optionals { 
    747744    padding: 0.25em; 
    748     border-bottom: 1px dotted #bbbbbb; 
     745    border-bottom: 1px dotted #bbb; 
    749746} 
    750747 
     
    755752.cbi-section-node { 
    756753    clear: both; 
    757     border-top: 1px dotted #bbbbbb; 
    758     border-left: 1px dotted #bbbbbb; 
    759     border-right: 1px dotted #bbbbbb; 
     754    border-top: 1px dotted #bbb; 
     755    border-left: 1px dotted #bbb; 
     756    border-right: 1px dotted #bbb; 
    760757    border-bottom: none; 
    761758    padding-bottom: 0; 
     
    798795    font-size: 95%; 
    799796    font-weight: bold; 
    800     color: #ff0000; 
    801     background-color: #ffffff; 
     797    color: #f00; 
     798    background-color: #fff; 
    802799} 
    803800 
     
    809806.cbi-value-error select { 
    810807    color: red; 
    811     background-color: #ffcccc; 
     808    background-color: #fcc; 
    812809} 
    813810 
     
    844841.luci a:visited, 
    845842.exectime { 
    846     color: #666666; 
     843    color: #666; 
    847844    text-decoration: none; 
    848845    font-size: 70%; 
     
    855852.error500 { 
    856853    white-space: normal; 
    857     border: 1px dotted #ff0000; 
    858     background-color: #ffffff; 
     854    border: 1px dotted #f00; 
     855    background-color: #fff; 
    859856    color: #000; 
    860857    padding: 0.5em; 
    861858} 
    862  
     859} 
  • luci/trunk/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm

    r6501 r6541  
    2222local node     = luci.dispatcher.context.dispatched 
    2323local hostname = luci.sys.hostname() 
    24  
    2524 
    2625local c = luci.model.uci.cursor():get_all("freifunk", "community") 
     
    6867<body class="lang_<%=luci.i18n.context.lang%>"> 
    6968 
     69<div class="wrapper"> 
     70 
    7071<!--[if lt IE 7]> 
    7172<div class="warning"><div style="background-color: #cccccc;padding: 2px 10px 2px 10px"> 
     
    8182 
    8283<div id="header"> 
    83 <span id="ff_logo"> 
    84 <a href="<%=homepage%>" style="text.decoration=none"><img src="/luci-static/freifunk-generic/logo.jpg" border="0" alt="FF Logo" align="left" /></a> 
    85 </span> 
    86  
    87 <span id="header_left"> 
    88 <a href="<%=homepage%>"><%=community%></a> 
    89 </span> 
    90  
    91 <h1><%=luci.version.distname%></h1> 
    92 <p> 
    93 <%=luci.version.distversion%><br /> 
    94 <%:Load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%><br /> 
    95 <%:Hostname%>: <%=hostname%> 
    96 <br /> 
    97 </p> 
     84    <span id="header_left"> 
     85        <a href="<%=homepage%>"><img src="/luci-static/freifunk-generic/logo.jpg" alt="FF Logo" /></a> 
     86        <a href="<%=homepage%>"><%=community%></a> 
     87    </span> 
     88    <p> 
     89        <%=luci.version.distversion%><br /> 
     90        <%:Load%>: <%="%.2f" % load1%> <%="%.2f" % load5%> <%="%.2f" % load15%><br /> 
     91        <%:Hostname%>: <%=hostname%><br /> 
     92    </p> 
    9893</div> 
    9994