-
Notifications
You must be signed in to change notification settings - Fork 2k
/
module.less
108 lines (86 loc) · 1.77 KB
/
module.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
.module {
.border-radius(3px);
.box-shadow(0 0 3px rgba(0, 0, 0, 0.3));
background-color: @module-background-color;
margin-bottom: 20px;
}
.module > .heading {
font-size: 14px;
padding: 0 @module-margin-x;
border-bottom: 1px solid @module-heading-border-color;
#gradient > .vertical(@module-heading-background-color-start, @module-heading-background-color-end);
}
.module > .heading .action {
float: right;
color: #8c8c8c;
color: rgba(51, 51, 51, 0.7);
font-size: 11px;
text-decoration: underline;
}
.module > .content {
padding: 0 @module-margin-x;
margin: 20px 0;
}
.module > .content:first-child {
margin-top: 0;
padding-top: @module-margin-y;
}
.module > .content:last-child {
margin-bottom: 0;
padding-bottom: @module-margin-y;
}
.module > .content :last-child {
margin-bottom: 0;
}
.module > .footer {
padding: 0 @module-margin-x 7px;
margin: -17px 0 0;
}
.module .read-more {
font-weight: bold;
color: #000;
}
.module > .pagination {
height: 34px;
border-top: 1px solid @module-heading-border-color;
}
.module > .pagination > ul {
.border-radius(0);
border: 0;
}
.module .pagination li a {
border-top: none;
border-bottom: none;
}
.module .pagination li:first-child a,
.module .pagination li:last-child a {
.border-radius(0);
}
.module .pagination li:first-child a {
border-left: 0;
}
.module .pagination li:last-child a {
border-right: 0;
}
// Module Info
.module.info > .content {
padding: 10px;
margin: 0;
}
.module.info small {
font-size: 11px;
display: block;
}
// Action
.module .action {
text-align: center;
}
// Secondary column specific
.secondary .module {
.heading,
.content,
.footer {
padding-left: @secondary-module-margin-x;
padding-right: @secondary-module-margin-x;
}
}