Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/shortcut/css/shortcut.icons.theme.css @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children | 12f9dff5fda9 |
rev | line source |
---|---|
Chris@0 | 1 /** |
Chris@0 | 2 * @file |
Chris@0 | 3 * Styling for the shortcut module icons. |
Chris@0 | 4 */ |
Chris@0 | 5 |
Chris@0 | 6 /** |
Chris@0 | 7 * Toolbar tab icon. |
Chris@0 | 8 */ |
Chris@0 | 9 .toolbar-bar .toolbar-icon-shortcut:before { |
Chris@0 | 10 background-image: url(../../../misc/icons/bebebe/star.svg); |
Chris@0 | 11 } |
Chris@0 | 12 .toolbar-bar .toolbar-icon-shortcut:active:before, |
Chris@0 | 13 .toolbar-bar .toolbar-icon-shortcut.is-active:before { |
Chris@0 | 14 background-image: url(../../../misc/icons/ffffff/star.svg); |
Chris@0 | 15 } |
Chris@0 | 16 |
Chris@0 | 17 /** |
Chris@0 | 18 * Add/remove links. |
Chris@0 | 19 */ |
Chris@0 | 20 .shortcut-action__icon { |
Chris@0 | 21 background: transparent url(../images/favstar.svg) no-repeat left top; |
Chris@0 | 22 width: 20px; |
Chris@0 | 23 height: 20px; |
Chris@0 | 24 display: inline-block; |
Chris@0 | 25 vertical-align: -2px; |
Chris@0 | 26 } |
Chris@0 | 27 [dir="rtl"] .shortcut-action__icon { |
Chris@0 | 28 background-image: url(../images/favstar-rtl.svg); |
Chris@0 | 29 } |
Chris@0 | 30 .shortcut-action--add:hover .shortcut-action__icon, |
Chris@0 | 31 .shortcut-action--add:focus .shortcut-action__icon { |
Chris@0 | 32 background-position: -20px top; |
Chris@0 | 33 } |
Chris@0 | 34 .shortcut-action--remove .shortcut-action__icon { |
Chris@0 | 35 background-position: -40px top; |
Chris@0 | 36 } |
Chris@0 | 37 .shortcut-action--remove:focus .shortcut-action__icon, |
Chris@0 | 38 .shortcut-action--remove:hover .shortcut-action__icon { |
Chris@0 | 39 background-position: -60px top; |
Chris@0 | 40 } |