Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
40
core/modules/shortcut/css/shortcut.icons.theme.css
Normal file
40
core/modules/shortcut/css/shortcut.icons.theme.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
/**
|
||||
* @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 {
|
||||
background: transparent url(../images/favstar.svg) no-repeat left top;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
vertical-align: -2px;
|
||||
}
|
||||
[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;
|
||||
}
|
62
core/modules/shortcut/css/shortcut.theme.css
Normal file
62
core/modules/shortcut/css/shortcut.theme.css
Normal file
|
@ -0,0 +1,62 @@
|
|||
/**
|
||||
* @file
|
||||
* Styling for the shortcut module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Toolbar.
|
||||
*/
|
||||
.toolbar .toolbar-tray-vertical .edit-shortcuts {
|
||||
text-align: right; /* LTR */
|
||||
padding: 1em;
|
||||
}
|
||||
[dir="rtl"] .toolbar .toolbar-tray-vertical .edit-shortcuts {
|
||||
text-align: left;
|
||||
}
|
||||
.toolbar .toolbar-tray-horizontal .edit-shortcuts {
|
||||
float: right; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .toolbar .toolbar-tray-horizontal .edit-shortcuts {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add/remove links.
|
||||
*/
|
||||
.shortcut-action {
|
||||
display: inline-block;
|
||||
margin-left: 0.3em; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .shortcut-action {
|
||||
margin-left: 0;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
.shortcut-action__message {
|
||||
background: #000000;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
border-radius: 5px;
|
||||
padding: 0 5px;
|
||||
color: #ffffff;
|
||||
display: inline-block;
|
||||
margin-left: 0.3em; /* LTR */
|
||||
opacity: 0;
|
||||
-ms-transform: translateY(-12px);
|
||||
-webkit-transform: translateY(-12px);
|
||||
transform: translateY(-12px);
|
||||
-webkit-transition: all 200ms ease-out;
|
||||
transition: all 200ms ease-out;
|
||||
-ms-backface-visibility: hidden;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
[dir="rtl"] .shortcut-action__message {
|
||||
margin-left: 0;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
.shortcut-action:hover .shortcut-action__message,
|
||||
.shortcut-action:focus .shortcut-action__message {
|
||||
opacity: 1;
|
||||
-ms-transform: translateY(-2px);
|
||||
-webkit-transform: translateY(-2px);
|
||||
transform: translateY(-2px);
|
||||
}
|
Reference in a new issue