Ignore:
Timestamp:
05/07/14 15:28:14 (10 years ago)
Author:
Twan Goosen
Message:

Further less/css refactoring... moved colour-common in with style, and importing colour variables first so that the theme colours do not need to import common colour styles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/inc/style.less

    r5148 r5149  
    357357}
    358358
     359/*
     360 * colours, using the colour variables from the themes
     361 */
     362
     363body{background: @body-background;}
     364
     365#main{background: @main-background;}
     366
     367#menu
     368{ background: @menu-background url(menu.png);
     369  color: @menu-foregrond;
     370  border-color: @menu-border-color;
     371}
     372
     373.sidebar, div.content
     374{ background: @main-background;
     375  color: @content-color;
     376}
     377
     378.sidebaritem, .topbar
     379{ background: @sidebar-item-background;
     380  color: @sidebar-item-foreground;
     381}
     382
     383#footer
     384{ background: @footer-background url(footer.png) repeat-x;
     385  color: @footer-foreground;
     386  border-color: @footer-border-color;
     387}
     388
     389li.searchresultitem:nth-child(even), #record .recorddetailstable tr:nth-child(odd) {
     390    background: @search-result-alternative-background;
     391}
     392
     393span.breadcrumbfacet:hover {
     394    background: @breadcrumb-hover-background;
     395}
     396
     397/* Based on Nifty Corners: rounded corners without images */
     398/* By Alessandro Fulciniti */
     399/* http://www.html.it/articoli/nifty/index.html */
     400.rtop, .rbottom{background: @main-background;}
     401.rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4,
     402.rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4{background: @sidebar-item-background;}
Note: See TracChangeset for help on using the changeset viewer.