source: vlo/trunk/vlo-web-app/src/main/less/eu/clarin/cmdi/vlo/wicket/pages/inc/colour-common.less @ 5148

Last change on this file since 5148 was 5148, checked in by Twan Goosen, 10 years ago

refactored LESS/CSS a bit:

  • colours defined through variables
  • all common and theme definitions under 'inc', so that only the theme roots get compiled
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1/*
2 * Applies colour theme to a number of classes and elements.
3 * Should be included in each colour theme!
4*/
5
6body{background: @body-background;}
7
8#main{background: @main-background;}
9
10#menu
11{ background: @menu-background url(menu.png);
12  color: @menu-foregrond;
13  border-color: @menu-border-color;
14}
15
16.sidebar, div.content
17{ background: @main-background;
18  color: @content-color;
19}
20
21.sidebaritem, .topbar
22{ background: @sidebar-item-background;
23  color: @sidebar-item-foreground;
24} 
25
26#footer
27{ background: @footer-background url(footer.png) repeat-x;
28  color: @footer-foreground;
29  border-color: @footer-border-color;
30}
31
32li.searchresultitem:nth-child(even), #record .recorddetailstable tr:nth-child(odd) {
33    background: @search-result-alternative-background;
34}
35
36span.breadcrumbfacet:hover {
37    background: @breadcrumb-hover-background;
38}
39
40/* Based on Nifty Corners: rounded corners without images */
41/* By Alessandro Fulciniti */
42/* http://www.html.it/articoli/nifty/index.html */
43.rtop, .rbottom{background: @main-background;}
44.rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4,
45.rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4{background: @sidebar-item-background;}
Note: See TracBrowser for help on using the repository browser.