forked from drywall/Largo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.less
208 lines (207 loc) · 3.57 KB
/
sidebar.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.widget {
margin-bottom: @baseline;
padding: 12px;
border: 1px solid @grayLighter;
.border-radius(8px);
p, ul {
padding: 0 3px;
font-size: @baseFontSize * 0.815;
}
ul {
margin: @baseline/5 0 0 16px;
line-height: 1.2;
ul {
margin-bottom:@baseline/5;
}
}
p.morelink {
margin: -@baseline/4 0 0;
}
}
.widgettitle,
.stories h3.widgettitle {
margin-bottom: @baseline/3;
padding: 5px 8px;
border: 1px solid @grayLighter;
.border-radius(4px);
background-color: @baseColor;
font-size: @baseFontSize * 0.815;
text-transform: uppercase;
font-weight: bold;
color: @white;
a {
color: @white;
}
}
#site-footer .widget,
#site-footer .widgettitle,
#homepage-bottom .widgettitle,
.widget.no-bg {
.border-radius(0);
}
// Footer widgets
#site-footer .widget,
#site-footer .widgettitle {
margin: 0;
padding: 0;
background: none;
border: none;
}
#site-footer .widget {
margin-bottom: @baseline/2;
}
//A Few Alternate Styles
.widget.rev {
color: @white;
background-color: @baseColor;
.widgettitle {
background-color: @white;
color: @baseColor;
}
a {
color: @white;
font-weight: bold;
}
}
.widget.no-bg {
padding: 0;
background: none;
border: none;
p, ul {
background: none;
border: none;
}
.widgettitle {
color: @white;
}
}
//Follow Widget
.subscribe {
display: block;
height: 24px;
line-height: 1.5;
font-size: @baseFontSize - 2;
font-family: @sansFontFamily;
margin-bottom: 5px;
color: @gray;
&:hover {
text-decoration: none;
color: @grayDarker;
}
i {
color: @white;
padding: 3px 2px 3px 3px;
.border-radius(4px);
font-size: @baseFontSize - 3;
margin-right: 5px;
&.icon-rss {
background-color: darken(@orange, 5%);
&:hover {
background-color: @orange;
}
}
&.icon-linkedin {
background-color: darken(#238cc3, 5%);
&:hover {
background-color: #238cc3;
}
}
}
}
.twitter-follow-button {
display: block;
margin: 0 0 10px;
}
.widget .fb-like {
margin: 0 0 5px;
}
.fb-like, .fb-like span, .fb-like.fb_iframe_widget span iframe,
.fb-like-box, .fb-like-box span, .fb-like-box span iframe[style] {
width: 100% !important;
}
.fb-like-box {
background: white !important;
background-color: white !important;
}
//About Widget
.largo-about p {
margin-bottom: 0;
}
//Donate Widget
.largo-donate p {
margin-bottom: @baseline/3;
}
//Featured and Recent Posts Widget
.largo-sidebar-featured,
.largo-recent-posts,
.largo-INN-RSS {
.post-lead {
overflow: hidden;
margin-bottom: 10px;
}
img {
float: left;
margin: 5px 10px 0 5px;
&.attachment-large {
margin: 5px 0 10px;
}
}
h5 {
margin-bottom: 2px;
padding: 0 3px;
font-size: @baseFontSize;
}
p {
font-size: @baseFontSize * 0.667;
margin-bottom: 0;
}
}
#sidebar .largo-INN-RSS {
ul {
margin: @baseline/2 0;
padding: 0;
}
li {
margin-bottom: @baseline/2;
list-style: none;
h5,
h6,
p {
margin-bottom: @baseline/5;
}
}
}
.widget.rev .widgettitle a {
color: @grayDark;
}
.widget.largo-recent-comments {
ul {
margin-left: 0;
list-style: none;
}
p {
margin-bottom: 3px;
&.comment-excerpt {
&:before {
content: open-quote;
}
&:after {
content: close-quote;
}
}
&.comment-meta {
font-style: italic;
color: inherit;
}
}
}
//adjustments for default WP widgets
.widget_archive select,
.widget_categories select,
.largo-taxonomy-list select,
.widget_search form {
margin: @baseline/5 0;
}
#sidebar iframe {
max-width: 100%;
}