Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/shortcut/css/shortcut.theme.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 |
---|---|
5 | 5 |
6 /** | 6 /** |
7 * Toolbar. | 7 * Toolbar. |
8 */ | 8 */ |
9 .toolbar .toolbar-tray-vertical .edit-shortcuts { | 9 .toolbar .toolbar-tray-vertical .edit-shortcuts { |
10 padding: 1em; | |
10 text-align: right; /* LTR */ | 11 text-align: right; /* LTR */ |
11 padding: 1em; | |
12 } | 12 } |
13 [dir="rtl"] .toolbar .toolbar-tray-vertical .edit-shortcuts { | 13 [dir="rtl"] .toolbar .toolbar-tray-vertical .edit-shortcuts { |
14 text-align: left; | 14 text-align: left; |
15 } | 15 } |
16 .toolbar .toolbar-tray-horizontal .edit-shortcuts { | 16 .toolbar .toolbar-tray-horizontal .edit-shortcuts { |
26 .shortcut-action { | 26 .shortcut-action { |
27 display: inline-block; | 27 display: inline-block; |
28 margin-left: 0.3em; /* LTR */ | 28 margin-left: 0.3em; /* LTR */ |
29 } | 29 } |
30 [dir="rtl"] .shortcut-action { | 30 [dir="rtl"] .shortcut-action { |
31 margin-right: 0.3em; | |
31 margin-left: 0; | 32 margin-left: 0; |
32 margin-right: 0.3em; | |
33 } | 33 } |
34 .shortcut-action__message { | 34 .shortcut-action__message { |
35 background: #000; | |
36 background: rgba(0, 0, 0, 0.5); | |
37 border-radius: 5px; | |
38 padding: 0 5px; | |
39 color: #fff; | |
40 display: inline-block; | 35 display: inline-block; |
41 margin-left: 0.3em; /* LTR */ | 36 margin-left: 0.3em; /* LTR */ |
42 opacity: 0; | 37 padding: 0 5px; |
38 -webkit-transition: all 200ms ease-out; | |
39 transition: all 200ms ease-out; | |
43 -ms-transform: translateY(-12px); | 40 -ms-transform: translateY(-12px); |
44 -webkit-transform: translateY(-12px); | 41 -webkit-transform: translateY(-12px); |
45 transform: translateY(-12px); | 42 transform: translateY(-12px); |
46 -webkit-transition: all 200ms ease-out; | 43 opacity: 0; |
47 transition: all 200ms ease-out; | 44 color: #fff; |
45 border-radius: 5px; | |
46 background: #000; | |
47 background: rgba(0, 0, 0, 0.5); | |
48 -ms-backface-visibility: hidden; | 48 -ms-backface-visibility: hidden; |
49 -webkit-backface-visibility: hidden; | 49 -webkit-backface-visibility: hidden; |
50 backface-visibility: hidden; | 50 backface-visibility: hidden; |
51 } | 51 } |
52 [dir="rtl"] .shortcut-action__message { | 52 [dir="rtl"] .shortcut-action__message { |
53 margin-right: 0.3em; | |
53 margin-left: 0; | 54 margin-left: 0; |
54 margin-right: 0.3em; | |
55 } | 55 } |
56 .shortcut-action:hover .shortcut-action__message, | 56 .shortcut-action:hover .shortcut-action__message, |
57 .shortcut-action:focus .shortcut-action__message { | 57 .shortcut-action:focus .shortcut-action__message { |
58 opacity: 1; | |
59 -ms-transform: translateY(-2px); | 58 -ms-transform: translateY(-2px); |
60 -webkit-transform: translateY(-2px); | 59 -webkit-transform: translateY(-2px); |
61 transform: translateY(-2px); | 60 transform: translateY(-2px); |
61 opacity: 1; | |
62 } | 62 } |