Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										54
									
								
								web/core/modules/shortcut/css/shortcut.icons.theme.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								web/core/modules/shortcut/css/shortcut.icons.theme.css
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										40
									
								
								web/core/modules/shortcut/css/shortcut.icons.theme.pcss.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								web/core/modules/shortcut/css/shortcut.icons.theme.pcss.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 {
 | 
			
		||||
  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;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										59
									
								
								web/core/modules/shortcut/css/shortcut.theme.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								web/core/modules/shortcut/css/shortcut.theme.css
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,59 @@
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Styling for the shortcut module.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Toolbar.
 | 
			
		||||
 */
 | 
			
		||||
.toolbar .toolbar-tray-vertical .edit-shortcuts {
 | 
			
		||||
  padding: 1em;
 | 
			
		||||
  text-align: right; /* LTR */
 | 
			
		||||
}
 | 
			
		||||
[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-right: 0.3em;
 | 
			
		||||
  margin-left: 0;
 | 
			
		||||
}
 | 
			
		||||
.shortcut-action__message {
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
  margin-left: 0.3em; /* LTR */
 | 
			
		||||
  padding: 0 5px;
 | 
			
		||||
  -webkit-transition: all 200ms ease-out;
 | 
			
		||||
  transition: all 200ms ease-out;
 | 
			
		||||
  -webkit-transform: translateY(-12px);
 | 
			
		||||
  transform: translateY(-12px);
 | 
			
		||||
  opacity: 0;
 | 
			
		||||
  color: #fff;
 | 
			
		||||
  border-radius: 5px;
 | 
			
		||||
  background: #000;
 | 
			
		||||
  background: rgb(0, 0, 0, 0.5);
 | 
			
		||||
  -webkit-backface-visibility: hidden;
 | 
			
		||||
  backface-visibility: hidden;
 | 
			
		||||
}
 | 
			
		||||
[dir="rtl"] .shortcut-action__message {
 | 
			
		||||
  margin-right: 0.3em;
 | 
			
		||||
  margin-left: 0;
 | 
			
		||||
}
 | 
			
		||||
.shortcut-action:hover .shortcut-action__message,
 | 
			
		||||
.shortcut-action:focus .shortcut-action__message {
 | 
			
		||||
  -webkit-transform: translateY(-2px);
 | 
			
		||||
  transform: translateY(-2px);
 | 
			
		||||
  opacity: 1;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user