- https://www.drupal.org/project/r4032login
- https://www.drupal.org/project/admin_login_path
- https://www.drupal.org/project/redirect_after_login
- https://www.drupal.org/project/default_content ✨
- https://www.drupal.org/project/config_pages ✨
- https://www.drupal.org/project/simple_icons ✨
- https://www.drupal.org/project/ckeditor_config
- https://www.drupal.org/project/allowed_formats
- https://www.drupal.org/project/token_filter
- https://www.drupal.org/project/table_bs_filter
This file contains hidden or 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
| @media (orientation: landscape) { | |
| // 1.77 represents the 16/9 aspect ratio. | |
| // 95vh / 1.77 gives us the max height our video can be to guarantee | |
| // its width won't be too large to fit on some awkward viewport dimensions. | |
| // 95vh / 1.77 = 53.672316384, and 53.672316384 * 1.77 = 95. | |
| // This is <100, so this stops our video ever being too wide to fit on the screen. | |
| width: calc((95vh / 1.77) * 1.77); | |
| height: calc(95vh / 1.77); | |
| } |
This file contains hidden or 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
| $0.classList.toString().split(" ").map(utilityClass => `'${utilityClass.trim()}',`).join('\n') |
This file contains hidden or 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
| javascript:window.location=(jQuery("link[rel='shortlink']").attr('href') + '/edit') |
This file contains hidden or 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
| [{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"london_plan","theme_token":"EER5So6oi7xk_WA15TAY7yhCtIlfsjhC9tpZ_dx4v88"}},"merge":true},{"command":"insert","method":"append","selector":"div#ajax-status-messages-wrapper","data":"\u003Cdiv class=\u0022messages-container\u0022\u003E\n\u003Cdiv class=\u0022messages status\u0022 role=\u0022contentinfo\u0022 aria-label=\u0022Status message\u0022\u003E\n\u003Cdiv role=\u0022status\u0022\u003E\n\u003Ch2 class=\u0022element-invisible\u0022\u003EStatus message\u003C\/h2\u003E\nThank you, your comment has been submitted\u003C\/div\u003E\n\u003C\/div\u003E\n\u003C\/div\u003E\n","settings":null},{"command":"invoke","selector":null,"method":"updateAJAXCommentCount","arguments":["Thank you, your comment has been submitted"]},{"command":"modal_dismiss"},{"command":"insert","method":"append","selector":"div#ajax-status-messages-wrapper","data":"\u003Cdiv class=\u0022messages-container\u0022\u003E\n\u003Cdiv class=\u0022messages st |
This file contains hidden or 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
| <?php | |
| /** | |
| * Implements hook_views_post_render(). | |
| */ | |
| function MODULE_NAME_views_post_render($view) { | |
| if ($view->id() !== 'VIEW_ID' && $view->getDisplay()->getPluginId() !== 'page') { | |
| return; | |
| } |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge"> | |
| <title>Countdown</title> | |
| <meta name="author" content=""> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <script src="//code.jquery.com/jquery.js"></script> |
- Issue where idea was developed - https://www.drupal.org/node/1168246
- Issue where we are trying to look for an alternative polyfill - https://www.drupal.org/node/1839158
- This is the polyfill currently in use (it requires jQuery which D8 tries to avoid loading if there is an alternative, we no longer include it on every page by default)
- Details will be included in Firefox 49
This file contains hidden or 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
| /* | |
| Credit to https://github.com/bsuresh, I'm just saving this as a gist for my own reference | |
| */ | |
| /* Content to extend beyond the boundaries of our container and span | |
| to full width of viewport */ | |
| .u-breakout { | |
| margin-left: calc(-50vw + 50%); | |
| margin-right: calc(-50vw + 50%); | |
| clear: both; |
This file contains hidden or 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
| <div class="container"> | |
| <div class="box">Kinda works</div> | |
| </div> | |
| <div class="container"> | |
| <div class="box">Shame the gutter is applied with padding rather than a margin though</div> | |
| </div> |