shortcut.icons.theme.css
Same filename in this branch
Same filename in other branches
- 8.9.x core/themes/stable/css/shortcut/shortcut.icons.theme.css
- 8.9.x core/modules/shortcut/css/shortcut.icons.theme.css
- 10 core/themes/stable9/css/shortcut/shortcut.icons.theme.css
- 10 core/modules/shortcut/css/shortcut.icons.theme.css
- 11.x core/themes/stable9/css/shortcut/shortcut.icons.theme.css
- 11.x core/modules/shortcut/css/shortcut.icons.theme.css
Styling for the shortcut module icons.
File
-
core/
modules/ shortcut/ css/ shortcut.icons.theme.css
View source
- /**
- * @file
- * Styling for the shortcut module icons.
- */
-
- /**
- * Toolbar tab icon.
- */
- .toolbar-bar .toolbar-icon-shortcut:before {
- background-image: url(../../../misc/icons/bebebe/star.svg);
- }
- .toolbar-bar .toolbar-icon-shortcut:active:before,
- .toolbar-bar .toolbar-icon-shortcut.is-active:before {
- background-image: url(../../../misc/icons/ffffff/star.svg);
- }
-
- /**
- * Add/remove links.
- */
- .shortcut-action__icon {
- display: inline-block;
- width: 20px;
- height: 20px;
- vertical-align: -2px;
- background: transparent url(../images/favstar.svg) no-repeat left top;
- }
- [dir="rtl"] .shortcut-action__icon {
- background-image: url(../images/favstar-rtl.svg);
- }
- .shortcut-action--add:hover .shortcut-action__icon,
- .shortcut-action--add:focus .shortcut-action__icon {
- background-position: -20px top;
- }
- .shortcut-action--remove .shortcut-action__icon {
- background-position: -40px top;
- }
- .shortcut-action--remove:focus .shortcut-action__icon,
- .shortcut-action--remove:hover .shortcut-action__icon {
- background-position: -60px top;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.