Mercurial > hg > cmmr2012-drupal-site
comparison core/themes/classy/css/components/action-links.css @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
2 * @file | 2 * @file |
3 * Styles for link buttons and action links. | 3 * Styles for link buttons and action links. |
4 */ | 4 */ |
5 | 5 |
6 .action-links { | 6 .action-links { |
7 margin: 1em 0; | |
8 padding: 0; | |
7 list-style: none; | 9 list-style: none; |
8 padding: 0; | |
9 margin: 1em 0; | |
10 } | 10 } |
11 [dir="rtl"] .action-links { | 11 [dir="rtl"] .action-links { |
12 /* This is required to win over specificity of [dir="rtl"] ul */ | 12 /* This is required to win over specificity of [dir="rtl"] ul */ |
13 margin-right: 0; | 13 margin-right: 0; |
14 } | 14 } |
18 } | 18 } |
19 .action-links li:first-child { | 19 .action-links li:first-child { |
20 margin-left: 0; /* LTR */ | 20 margin-left: 0; /* LTR */ |
21 } | 21 } |
22 [dir="rtl"] .action-links li:first-child { | 22 [dir="rtl"] .action-links li:first-child { |
23 margin-right: 0; | |
23 margin-left: 0.3em; | 24 margin-left: 0.3em; |
24 margin-right: 0; | |
25 } | 25 } |
26 .button-action { | 26 .button-action { |
27 display: inline-block; | 27 display: inline-block; |
28 line-height: 160%; | |
29 padding: 0.2em 0.5em 0.3em; | 28 padding: 0.2em 0.5em 0.3em; |
30 text-decoration: none; | 29 text-decoration: none; |
30 line-height: 160%; | |
31 } | 31 } |
32 .button-action:before { | 32 .button-action:before { |
33 content: '+'; | |
34 font-weight: 900; | |
35 margin-left: -0.1em; /* LTR */ | 33 margin-left: -0.1em; /* LTR */ |
36 padding-right: 0.2em; /* LTR */ | 34 padding-right: 0.2em; /* LTR */ |
35 content: "+"; | |
36 font-weight: 900; | |
37 } | 37 } |
38 [dir="rtl"] .button-action:before { | 38 [dir="rtl"] .button-action:before { |
39 margin-right: -0.1em; | |
39 margin-left: 0; | 40 margin-left: 0; |
40 margin-right: -0.1em; | 41 padding-right: 0; |
41 padding-left: 0.2em; | 42 padding-left: 0.2em; |
42 padding-right: 0; | |
43 } | 43 } |