Changeset 5149


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

Location:
vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages
Files:
1 deleted
5 edited

Legend:

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

    r5148 r5149  
     1/* Colours for the CLARIN-D theme */
     2
    13@body-background: #97adc2;
    24
     
    1921
    2022@breadcrumb-hover-background: #d1dae4;
    21 
    22 @import "../colour-common";
  • vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/inc/default/colour.less

    r5148 r5149  
     1/* Colours for the default theme */
     2
    13@body-background: #bfced5;
    24
     
    1921
    2022@breadcrumb-hover-background: #e9eff8;
    21 
    22 @import "../colour-common";
  • 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;}
  • vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/vlo.less

    r5148 r5149  
    2323/* STYLE FOR DEFAULT THEME */
    2424
     25/* theme specific colours (import first because of variables )*/
     26@import "inc/default/colour";
     27
     28/* common styling */
    2529@import "inc/vlo-common";
    26 
    27 /* theme specific colours */
    28 @import "inc/default/colour";
    2930
    3031/* styles for header image */
  • vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/vlo_clarin-d.less

    r5148 r5149  
    2323/** STYLE FOR CLARIN-D THEME **/
    2424
     25/* theme specific colours (import first because of variables )*/
     26@import "inc/clarin-d/colour";
     27
     28/* common styling */
    2529@import "inc/vlo-common";
    26 
    27 /* theme specific colours */
    28 @import "inc/clarin-d/colour";
    2930
    3031/* styles for header image */
    3132@import "inc/clarin-d/vlo-header";
    32 
Note: See TracChangeset for help on using the changeset viewer.