Skip to content

Instantly share code, notes, and snippets.

View skorasaurus's full-sized avatar

Will Skora skorasaurus

View GitHub Profile
that’s because they’re allowing the native `dialog` element to be used for chrome. the `dialog` element, without extra scripting, does not allow for click/tap outside to close
No. though it’s often an expectation for people to be able to mouse click / touch outside of a modal dialog to close it, it is not a requirement that all modal dialogs be allowed to do so.in some cases, it can be important that someone cannot click/tap outside the dialog to close it. e.g. for a confirmation dialog where an explicit “OK” / confirmation from the user is necessary.
<input type="radio" name="search-form-source" id="catalog" value="catalog"/>
<label for="catalog">Catalog</label>
<input type="radio" name="search-form-source" id="overdrive" value="overdrive"/>
<label for="overdrive">Ebooks</label>
<input type="radio" name="search-form-source" id="digitalgallery" value="digitalgallery"/>
<label for="digitalgallery">Digital Gallery</label>
<input type="radio" name="search-form-source" id="cpl-dot-org" value="cpl-dot-org"/>
<label for="cpl-dot-org">website</label>
vagrant up --provision
__ __ __ __
\ V\ V\ V / Varying Vagrant Vagrants
\_/\_/\_/ v3.1.0-git::develop
Moving db backup directory into database/sql/backups
Platform: platform-linux-gnu shell:/bin/bash systemd vagrant-hostsupdater vagrant-vbguest CaseSensitiveFS shared_db_folder_disabled
Vagrant: v2.2.4, VirtualBox: v5.2.12r122591
VVV Path: "/home/user_name/vvv"
<html <?php language_attributes(); ?>>
<head>
<?php cryout_meta_hook(); ?>
<meta http-equiv="content-type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="stylesheet" href="https://use.typekit.net/hmm8egp.css">
<?php
cryout_header_hook();
@skorasaurus
skorasaurus / B-package-control-sublime-user-settings
Created March 24, 2019 16:26
The values in b-SyncSettings-sublime arenotcorrect; I replaced them with dummy text but the formatting is the same.
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Package Control",
"Sync Settings"
]
[
{
"key": "group_5b9fc8c430d0a",
"title": "Home Slideshow",
"fields": [
{
"key": "field_57cec205ff109",
"label": "Link URL",
"name": "link_url",
"type": "text",
@skorasaurus
skorasaurus / content-location.php
Last active March 19, 2019 03:38
How to enqueue javascript so it displays within a page template;
<?php
/**
* Template part for displaying page content in page.php
*
* @link https://codex.wordpress.org/Template_Hierarchy
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
@skorasaurus
skorasaurus / button.css
Created February 13, 2019 16:05
default styling for button element, firefox 65.
align-content: normal;
align-items: normal;
align-self: auto;
animation-delay: 0s;
animation-direction: normal;
animation-duration: 0s;
animation-fill-mode: none;
animation-iteration-count: 1;
animation-name: none;
animation-play-state: running;
@skorasaurus
skorasaurus / CLEVELAND.geojson
Created February 6, 2019 15:01
surface parking
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
.l-search {
display: none;
position: absolute;
top: 10px;
right: 0; }
@media (min-width: 768px) {
.l-search {
max-width: 220px;
display: block; } }
.l-search select {