Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 93bc37f

Browse files
author
Won Song
committed
1. Changed the download page layout per feedback. 2. Removed custom styles added. 3. 0 to layout loop.... because I couldn't find a better way to remove padding left on UL :(
1 parent dc1bafd commit 93bc37f

File tree

3 files changed

+12
-23
lines changed

3 files changed

+12
-23
lines changed

public/download/index.jade

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.grid-fluid.l-space-bottom-8
22
for versions, framework in downloads
3-
div.c9.card
3+
div.c9.l-space-bottom-4
44
frameworkName = framework.replace(/\_/gm, ' ')
55
header
66
h2.text-headline #{frameworkName}
@@ -11,9 +11,7 @@
1111
p #{version}
1212

1313
else
14-
.card-content
15-
16-
ul.hover-card-container
14+
ul.l-pad-left-0
1715
if version.file
1816
li
1917
!= partial("../_includes/_hover-card", {name: "Version " + name, url: version.file })

public/resources/css/layout/_layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
*
143143
*/
144144

145-
@for $i from 1 through 10 {
145+
@for $i from 0 through 10 {
146146
.l-space-#{$i} {
147147
margin: $i * 8px;
148148
}

public/resources/css/module/_card.scss

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
border-bottom: none;
2727
}
2828

29-
30-
3129
h3 {
3230
margin: 0px;
3331
}
@@ -36,25 +34,18 @@
3634
padding: 0px;
3735
margin: 0px 0px 0px ($unit * 4);
3836

39-
&:not(.hover-card-container) {
40-
a {
41-
font-size: 14px;
42-
display: block;
43-
line-height: 24px;
44-
text-decoration: none;
45-
padding: 0px 4px;
37+
a {
38+
font-size: 14px;
39+
display: block;
40+
line-height: 24px;
41+
text-decoration: none;
42+
padding: 0px 4px;
4643

47-
&:hover {
48-
text-decoration: underline;
49-
background: $mist;
50-
}
44+
&:hover {
45+
text-decoration: underline;
46+
background: $mist;
5147
}
5248
}
53-
54-
&.hover-card-container {
55-
margin-left: 0;
56-
margin-top: $unit * 2;
57-
}
5849
}
5950
}
6051

0 commit comments

Comments
 (0)