This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Example use of CSS nesting. | |
* | |
* @see https://developer.chrome.com/articles/css-nesting/ | |
*/ | |
.tabs__tab { | |
display: none; | |
margin: 0; | |
margin-block-end: calc(-1 * var(--tabs-border-width)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/ckeditor5/ckeditor5.ckeditor5.yml b/core/modules/ckeditor5/ckeditor5.ckeditor5.yml | |
index 4396b64ed4..0372fddc89 100644 | |
--- a/core/modules/ckeditor5/ckeditor5.ckeditor5.yml | |
+++ b/core/modules/ckeditor5/ckeditor5.ckeditor5.yml | |
@@ -263,6 +263,7 @@ ckeditor5_codeBlock: | |
label: Code Block | |
library: ckeditor5/internal.drupal.ckeditor5.codeBlock | |
admin_library: ckeditor5/internal.admin.codeBlock | |
+ class: Drupal\ckeditor5\Plugin\CKEditor5Plugin\CodeBlock | |
toolbar_items: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Custom Gin styles here. */ | |
.my-gin-selector { | |
color: red; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
(function () { | |
/* | |
* Fetch more data like views_load_more. | |
* | |
* @todos | |
* Add Quicklink integration when https://github.com/GoogleChromeLabs/quicklink/issues/54 is resolved. | |
*/ | |
Drupal.behaviors.load_more = { | |
'attach': function (context) { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.test-logical-properties { | |
block-size: 0; | |
inline-size: 0; | |
max-block-size: 0; | |
max-inline-size: 0; | |
min-block-size: 0; | |
min-inline-size: 0; | |
/* | |
Margins borders padding |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://css-tricks.com/theming-with-variables-globals-and-locals/ | |
https://medium.com/eightshapes-llc/tokens-in-design-systems-25dd82d58421 | |
https://bradfrost.com/blog/post/creating-themeable-design-systems/ | |
*/ | |
.root-frontend { | |
--color-primary: xxx; | |
--color-neutral: #777; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../base/media-queries.pcss.css"; | |
/* Breakpoint where tabs switch between vertical and horizontal layouts. */ | |
@custom-media --tabs-layout-switch (--md); | |
.tabs { | |
--tabs-height: var(--sp3); | |
--tabs-padding-inline: var(--sp1-5); | |
--tabs-active-border-size: 6px; | |
--tabs-highlight-color: var(--color--blue-50); /* Minimum 3:1 contrast ratio against --tabs-background-color and --tabs-background-color-hover. */ |
NewerOlder