source: documentation/trunk/tutorial_sample_files/libraries/althor/less/widgets.less@ 28599

Last change on this file since 28599 was 28599, checked in by jlwhisler, 10 years ago

Draft interface for use in Defining Libraries tutorial.

File size: 1.2 KB
Line 
1
2@import "palette.less";
3
4/* SIDEBAR ----------------------------------------------------*/
5
6#sidebar{
7 .cat-item,
8 .page_item {
9 a{
10 display: block;
11 border-bottom: 1px solid rgba(0,0,0,0.1);
12 padding-bottom: 5px;
13 margin-bottom: 5px;
14 padding-left: 10px;
15
16 .post-counter{
17 color: @fontColor;
18 }
19 }
20 }
21
22 .ads{
23 a{
24 display: block;
25 float: left;
26 margin-right: 10px;
27 margin-bottom: 10px;
28 line-height: 0em;
29 }
30
31 a.last{
32 margin-right: 0px;
33 }
34 }
35}
36
37/* WIDGETS -----------------------------------------------*/
38
39.widget-cols{
40
41 .cat-item,
42 .page_item {
43 a{
44 display: block;
45 border-bottom: 1px solid rgba(255, 255, 255, .1);
46 padding-bottom: 5px;
47 margin-bottom: 5px;
48 padding-left: 10px;
49
50 .post-counter{
51 color: #f1f1f1;
52 }
53 }
54 }
55
56
57 .cat-item:last-child,
58 .page_item:last-child{
59 a{
60 border-bottom: none;
61 }
62 }
63
64 /* RECENT POSTS -----------------------------------------------*/
65
66 .recent-post{
67 margin-bottom: 21px;
68
69 .thumb{
70 display: block;
71 float: left;
72 background: #f1f1f1;
73 line-height: 0em;
74 padding: 3px;
75 margin-right: 15px;
76 margin-bottom: 10px;
77 .box-shadow();
78 }
79
80 .post-head{
81 overflow: auto;
82 }
83
84 span{
85 display: block;
86 }
87
88 }
89
90}
Note: See TracBrowser for help on using the repository browser.