Merge branch 'release/1.0' of git.yoho.cn:fe/yoho-blk into release/1.0
Showing
5 changed files
with
5 additions
and
8 deletions
1 | .brand-text-box { | 1 | .brand-text-box { |
2 | - $size: 18px; | 2 | + $size: 14px; |
3 | $line-height: 1.8; | 3 | $line-height: 1.8; |
4 | $lines-to-show: 3; | 4 | $lines-to-show: 3; |
5 | 5 | ||
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | h4 { | 13 | h4 { |
14 | height: 18px; | 14 | height: 18px; |
15 | line-height: 18px; | 15 | line-height: 18px; |
16 | - padding-right: 10px; | 16 | + padding-right: 20px; |
17 | display: -webkit-box; | 17 | display: -webkit-box; |
18 | font-size: 16px; | 18 | font-size: 16px; |
19 | font-weight: bold; | 19 | font-weight: bold; |
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | display: -webkit-box; | 26 | display: -webkit-box; |
27 | height: calc($size*$line-height*$lines-to-show); | 27 | height: calc($size*$line-height*$lines-to-show); |
28 | margin: 25px 0; | 28 | margin: 25px 0; |
29 | - padding-right: 25px; | 29 | + padding-right: 20px; |
30 | font-size: $size; | 30 | font-size: $size; |
31 | line-height: $line-height; | 31 | line-height: $line-height; |
32 | overflow: hidden; | 32 | overflow: hidden; |
@@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
33 | min-height: 50px; | 33 | min-height: 50px; |
34 | padding: $space; | 34 | padding: $space; |
35 | position: absolute; | 35 | position: absolute; |
36 | - bottom: 2px; | 36 | + bottom: 0; |
37 | background-color: rgba(0, 0, 0, 0.5); | 37 | background-color: rgba(0, 0, 0, 0.5); |
38 | color: #fff; | 38 | color: #fff; |
39 | font-size: 14px; | 39 | font-size: 14px; |
@@ -51,7 +51,6 @@ | @@ -51,7 +51,6 @@ | ||
51 | margin: 15px 0; | 51 | margin: 15px 0; |
52 | padding-right: $space; | 52 | padding-right: $space; |
53 | font-size: $size; | 53 | font-size: $size; |
54 | - font-weight: bold; | ||
55 | line-height: $line-height; | 54 | line-height: $line-height; |
56 | overflow: hidden; | 55 | overflow: hidden; |
57 | -webkit-line-clamp: $lines-to-show; | 56 | -webkit-line-clamp: $lines-to-show; |
-
Please register or login to post a comment