Commit afcb0a83e0ccc29c71594728f73bef1ae12f2047
1 parent
4e284a27
Exists in
master
Style link-list-blocks
The first link list block has one style and all the others have other style
Showing
1 changed file
with
25 additions
and
17 deletions
Show diff stats
_blocks.sass
@@ -7,26 +7,10 @@ | @@ -7,26 +7,10 @@ | ||
7 | padding: 0px | 7 | padding: 0px |
8 | li | 8 | li |
9 | margin: 0px | 9 | margin: 0px |
10 | - padding: 20px | ||
11 | background-color: transparent | 10 | background-color: transparent |
12 | a | 11 | a |
13 | font-size: 16px | 12 | font-size: 16px |
14 | - &:nth-child(1) .link-list-block | ||
15 | - background-color: #696778 | ||
16 | - li | ||
17 | - border-bottom: 1px dotted #9A9996 | ||
18 | - &:last-child | ||
19 | - border: none | ||
20 | - a | ||
21 | - background: url('images/icone-seta.png') left center no-repeat | ||
22 | - color: #FFF | ||
23 | - padding-left: 40px | ||
24 | - &.link-this-page | ||
25 | - background-color: transparent | ||
26 | - border: medium none | ||
27 | - &:hover | ||
28 | - border-right: none | ||
29 | - &:nth-child(3) .link-list-block, .controller-profile_design &:nth-child(5) .link-list-block | 13 | + .link-list-block, .controller-profile_design .link-list-block |
30 | color: #696778 | 14 | color: #696778 |
31 | border: 1px solid #696778 | 15 | border: 1px solid #696778 |
32 | .block-title | 16 | .block-title |
@@ -46,7 +30,31 @@ | @@ -46,7 +30,31 @@ | ||
46 | background: none | 30 | background: none |
47 | color: #69677A | 31 | color: #69677A |
48 | padding-left: 5px | 32 | padding-left: 5px |
33 | + line-height: 24px | ||
49 | display: inline | 34 | display: inline |
35 | + &.link-this-page | ||
36 | + background-color: transparent | ||
37 | + border: medium none | ||
38 | + &:hover | ||
39 | + border-right: none | ||
40 | + &:nth-child(1) .link-list-block | ||
41 | + background-color: #696778 | ||
42 | + li | ||
43 | + border-bottom: 1px dotted #9A9996 | ||
44 | + padding: 20px | ||
45 | + list-style: outside none | ||
46 | + &:last-child | ||
47 | + border: none | ||
48 | + a | ||
49 | + background: url('images/icone-seta.png') left center no-repeat | ||
50 | + color: #FFF | ||
51 | + padding-left: 40px | ||
52 | + display: block | ||
53 | + &.link-this-page | ||
54 | + background-color: transparent | ||
55 | + border: medium none | ||
56 | + &:hover | ||
57 | + border-right: none | ||
50 | &:nth-child(2) .display-content-block, .controller-profile_design &:nth-child(3) .display-content-block | 58 | &:nth-child(2) .display-content-block, .controller-profile_design &:nth-child(3) .display-content-block |
51 | font-size: 16px | 59 | font-size: 16px |
52 | background-color: #DAE1C4 | 60 | background-color: #DAE1C4 |