Mercurial > hg > isophonics-drupal-site
annotate core/modules/shortcut/css/shortcut.icons.theme.css @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
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@18 | 21 display: inline-block; |
Chris@0 | 22 width: 20px; |
Chris@0 | 23 height: 20px; |
Chris@0 | 24 vertical-align: -2px; |
Chris@18 | 25 background: transparent url(../images/favstar.svg) no-repeat left top; |
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 } |