From 30e6bb0828086eba7f0e4a91409f16e93160e7ed Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Thu, 7 May 2015 17:06:35 -0400 Subject: [PATCH] Use modal Refill for popovers. Add JSshowExtensionDialog --- css/scratchx.css | 141 +++++++++++++++++++++++++++++++++++-- css/scratchx.css.map | 4 +- js/scratchx.js | 71 ++++++++++--------- sass/base/_base.scss | 1 + sass/base/_modal.scss | 128 +++++++++++++++++++++++++++++++++ sass/base/_typography.scss | 2 +- sass/scratchx.scss | 9 ++- 7 files changed, 313 insertions(+), 43 deletions(-) create mode 100644 sass/base/_modal.scss diff --git a/css/scratchx.css b/css/scratchx.css index f9bbf94..5c411ab 100644 --- a/css/scratchx.css +++ b/css/scratchx.css @@ -613,7 +613,7 @@ h6 { article h1 { font-size: 1.5em; } -article h2 { +article h2, dialog h2 { font-size: 1.5em; } p { @@ -640,6 +640,132 @@ picture { margin: 0; max-width: 100%; } +.modal label { + cursor: pointer; + margin-bottom: 0; } +.modal label img { + border-radius: 150px; + display: block; + max-width: 300px; } +.modal .modal-state { + display: none; } +.modal .modal-trigger { + background-color: #21b4f0; + border-radius: 3px; + border: 0; + color: #333333; + display: inline-block; + font-size: inherit; + font-weight: bold; + padding: 7px 18px; + text-decoration: none; + background-clip: padding-box; + padding: 0.8em 1em; } + .modal .modal-trigger:hover:not(:disabled) { + background-color: #35bef6; + cursor: pointer; } + .modal .modal-trigger:active:not(:disabled), .modal .modal-trigger:focus:not(:disabled) { + background-color: #15a7e3; + cursor: pointer; } + .modal .modal-trigger:disabled { + cursor: not-allowed; + opacity: 0.5; } +.modal .modal-fade-screen { + -webkit-transition: opacity 0.25s ease; + -moz-transition: opacity 0.25s ease; + transition: opacity 0.25s ease; + position: fixed; + top: 0px; + right: 0px; + bottom: 0px; + left: 0px; + background: rgba(0, 0, 0, 0.85); + opacity: 0; + padding-top: 0.6em; + text-align: left; + visibility: hidden; + z-index: 99999999999; } + @media screen and (min-width: 60em) { + .modal .modal-fade-screen { + padding-top: 10em; } } + .modal .modal-fade-screen .modal-bg { + position: absolute; + top: 0px; + right: 0px; + bottom: 0px; + left: 0px; + cursor: pointer; } +.modal .modal-close { + position: absolute; + top: 1.5em; + right: 1.5em; + height: 1.5em; + width: 1.5em; + background: #fff; + cursor: pointer; } + .modal .modal-close:after, .modal .modal-close:before { + position: absolute; + top: 3px; + right: 3px; + bottom: 0; + left: 50%; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + height: 1.5em; + width: 0.15em; + background: #dfe3e7; + content: ''; + display: block; + margin: -3px 0 0 -1px; } + .modal .modal-close:hover:after, .modal .modal-close:hover:before { + background: #c2c9d1; } + .modal .modal-close:before { + -webkit-transform: rotate(-45deg); + -moz-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + -o-transform: rotate(-45deg); + transform: rotate(-45deg); } +.modal .modal-inner { + -webkit-transition: opacity 0.25s ease; + -moz-transition: opacity 0.25s ease; + transition: opacity 0.25s ease; + background: #fff; + border-radius: 5px; + padding: 1.5em; + position: relative; + max-width: 60em; + margin-left: auto; + margin-right: auto; } + .modal .modal-inner::after { + clear: both; + content: ""; + display: table; } + .modal .modal-inner .modal-content { + color: #58595b; + -webkit-columns: 2 8em; + -moz-columns: 2 8em; + columns: 2 8em; } + .modal .modal-inner a.cta { + color: white; + display: inline-block; + margin-right: 0.5em; + margin-top: 1em; } + .modal .modal-inner a.cta:last-child { + padding: 0 2em; } +.modal .modal-state:checked + .modal-fade-screen, +.modal .modal-fade-screen.visible { + opacity: 1; + visibility: visible; } +.modal .modal-state:checked + .modal-fade-screen .modal-inner, +.modal .modal-fade-screen.visible .modal-inner { + top: 0.5em; } + +.modal-open { + overflow: hidden; } + dialog { display: block; position: static; } @@ -816,19 +942,24 @@ body > section { body #home { display: block; } -#dialogs { +#dialogs, #modal-dialogs .modal-inner { display: block; } - #dialogs::after { + #dialogs::after, #modal-dialogs .modal-inner::after { clear: both; content: ""; display: table; } - #dialogs dialog { + #dialogs dialog, #modal-dialogs .modal-inner dialog { float: left; display: block; margin-right: 1.25%; width: 32.5%; } - #dialogs dialog:last-child { + #dialogs dialog:last-child, #modal-dialogs .modal-inner dialog:last-child { margin-right: 0; } + #dialogs dialog p, #modal-dialogs .modal-inner dialog p { + text-align: center; } + +#modal-dialogs .modal-inner { + background-color: transparent; } .extension-file section:first-child { /* Add a border equal to the number of featured extensions - 1 */ diff --git a/css/scratchx.css.map b/css/scratchx.css.map index f060f86..e25d78d 100644 --- a/css/scratchx.css.map +++ b/css/scratchx.css.map @@ -1,7 +1,7 @@ { "version": 3, -"mappings": ";AAAQ,+FAAuF;ACG7F,IAAK;EACH,UAAU,EAAE,UAAU;;AAItB,sBAEU;EACR,UAAU,EAAE,OAAO;;;;;;;;ACHzB,IAAK;EACH,WAAW,EAAE,UAAU;;EACvB,oBAAoB,EAAE,IAAI;;EAC1B,wBAAwB,EAAE,IAAI;;;;;;AAOhC,IAAK;EACH,MAAM,EAAE,CAAC;;;;;;;;;;AAaX;;;;;;;;;;;;;OAaQ;EACN,OAAO,EAAE,KAAK;;;;;;AAQhB;;;KAGM;EACJ,OAAO,EAAE,YAAY;;EACrB,cAAc,EAAE,QAAQ;;;;;;;AAQ1B,qBAAsB;EACpB,OAAO,EAAE,IAAI;EACb,MAAM,EAAE,CAAC;;;;;;AAQX;QACS;EACP,OAAO,EAAE,IAAI;;;;;;;AAUf,CAAE;EACA,gBAAgB,EAAE,WAAW;;;;;AAO/B;OACQ;EACN,OAAO,EAAE,CAAC;;;;;;;AAUZ,WAAY;EACV,aAAa,EAAE,UAAU;;;;;AAO3B;MACO;EACL,WAAW,EAAE,IAAI;;;;;AAOnB,GAAI;EACF,UAAU,EAAE,MAAM;;;;;;AAQpB,EAAG;EACD,SAAS,EAAE,GAAG;EACd,MAAM,EAAE,QAAQ;;;;;AAOlB,IAAK;EACH,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;;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lB,qBAAsB;EAClB,UAAU,EjB8BA,iBAA4B;EiB7BtC,UAAU,EAAE,MAAmB;EAC/B,OAAO,EAAE,QAAqB;EAC9B,QAAQ,EAAE,QAAQ;EpBoBlB,4BAAe;IAGP,OAAO,EAAE,GAA2B;IAGxC,WAAW,EA1CP,UAAU;IA2Cd,KAAK,EAAE,IAAI;IACX,UAAU,EAAE,MAAM;IAClB,WAAW,EAAE,MAAM;IACnB,YAAY,EAAE,MAAM;IACpB,SAAS,EAhByE,GAAG;IAiBrF,cAAc,EAAE,IAAI;IACpB,WAAW,EAAE,CAAC;;IAGd,sBAAsB,EAAE,WAAW;IACnC,uBAAuB,EAAE,SAAS;IoBlClC,SAAS,EAAE,GAAG;IACd,KAAK,EjBsBO,OAAY;IiBrBxB,QAAQ,EAAE,QAAQ;IAClB,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,GAAG;IACT,WAAW,EAAE,MAAM;IACnB,gBAAgB,EjBWP,IAAM;IiBVf,MAAM,EAAE,cAAgB;IACxB,YAAY,EAAE,OAAO;EAGzB,iDAAM;IACF,UAAU,EAAE,MAAM;;AC/B1B,OAAQ;EACJ,QAAQ,EAAE,QAAQ;EAClB,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,GAAG,EAAE,OAAO;;AAGhB,sBAAuB;EACnB,KAAK,EAAE,IAAI;EACX,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,IAAI", -"sources": ["../sass/base/_typography.scss","../sass/neat/grid/_box-sizing.scss","../sass/base/_normalize.scss","../sass/base/_icons.scss","../sass/base/_buttons.scss","../sass/bourbon/addons/_prefixer.scss","../sass/base/_variables.scss","../sass/base/_forms.scss","../sass/base/_mixins.scss","../sass/base/_grid-settings.scss","../sass/bourbon/css3/_placeholder.scss","../sass/bourbon/addons/_border-radius.scss","../sass/base/_lists.scss","../sass/base/_tables.scss","../sass/base/_base.scss","../sass/neat/grid/_span-columns.scss","../sass/neat/grid/_shift.scss","../sass/scratchx.scss","../sass/neat/grid/_outer-container.scss","../sass/bourbon/addons/_clearfix.scss","../sass/neat/grid/_row.scss","../sass/neat/grid/_pad.scss","../sass/bourbon/addons/_hide-text.scss","../sass/_home.scss","../sass/_editor.scss"], +"mappings": ";AAAQ,+FAAuF;ACG7F,IAAK;EACH,UAAU,EAAE,UAAU;;AAItB,sBAEU;EACR,UAAU,EAAE,OAAO;;;;;;;;ACHzB,IAAK;EACH,WAAW,EAAE,UAAU;;EACvB,oBAAoB,EAAE,IAAI;;EAC1B,wBAAwB,EAAE,IAAI;;;;;;AAOhC,IAAK;EACH,MAAM,EAAE,CAAC;;;;;;;;;;AAaX;;;;;;;;;;;;;OAaQ;EACN,OAAO,EAAE,KAAK;;;;;;AAQhB;;;KAGM;EACJ,OAAO,EAAE,YAAY;;EACrB,cAAc,EAAE,QAAQ;;;;;;;AAQ1B,qBAAsB;EACpB,OAAO,EAAE,IAAI;EACb,MAAM,EAAE,CAAC;;;;;;AAQX;QACS;EACP,OAAO,EAAE,IAAI;;;;;;;AAUf,CAAE;EACA,gBAAgB,EAAE,WAAW;;;;;AAO/B;OACQ;EACN,OAAO,EAAE,CAAC;;;;;;;AAUZ,WAAY;EACV,aAAa,EAAE,UAAU;;;;;AAO3B;MACO;EACL,WAAW,EAAE,IAAI;;;;;AAOnB,GAAI;EACF,UAAU,EAAE,MAAM;;;;;;AAQpB,EAAG;EACD,SAAS,EAAE,GAAG;EACd,MAAM,EAAE,QAAQ;;;;;AAOlB,IAAK;EACH,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;;;;AAOb,KAAM;EACJ,SAAS,EAAE,GAAG;;;;;AAOhB;GACI;EACF,SAAS,EAAE,GAAG;EACd,WAAW,EAAE,CAAC;EACd,QAAQ,EAAE,QAAQ;EAClB,cAAc,EAAE,QAAQ;;AAG1B,GAAI;EACF,GAAG,EAAE,MAAM;;AAGb,GAAI;EACF,MAAM,EAAE,OAAO;;;;;;;AAUjB,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ass/base/_typography.scss","../sass/neat/grid/_box-sizing.scss","../sass/base/_normalize.scss","../sass/base/_icons.scss","../sass/base/_buttons.scss","../sass/bourbon/addons/_prefixer.scss","../sass/base/_variables.scss","../sass/base/_forms.scss","../sass/base/_mixins.scss","../sass/base/_grid-settings.scss","../sass/bourbon/css3/_placeholder.scss","../sass/bourbon/addons/_border-radius.scss","../sass/base/_lists.scss","../sass/base/_tables.scss","../sass/base/_modal.scss","../sass/bourbon/_bourbon-deprecated-upcoming.scss","../sass/bourbon/addons/_position.scss","../sass/neat/grid/_media.scss","../sass/bourbon/addons/_size.scss","../sass/neat/grid/_outer-container.scss","../sass/bourbon/addons/_clearfix.scss","../sass/base/_base.scss","../sass/neat/grid/_span-columns.scss","../sass/neat/grid/_shift.scss","../sass/scratchx.scss","../sass/neat/grid/_row.scss","../sass/neat/grid/_pad.scss","../sass/bourbon/addons/_hide-text.scss","../sass/_home.scss","../sass/_editor.scss"], "names": [], "file": "scratchx.css" } \ No newline at end of file diff --git a/js/scratchx.js b/js/scratchx.js index 6fcd0f3..1496b41 100644 --- a/js/scratchx.js +++ b/js/scratchx.js @@ -36,6 +36,10 @@ function JSprojectLoaded() { loadExtensionQueue(); } +function JSshowExtensionDialog() { + showModal("dialogs"); +} + var extensionQueue = []; function handleParameters() { var project; @@ -198,36 +202,31 @@ function loadFromURLParameter() { } -/* Popovers */ +/* Modals */ -function getOrCreateFromTemplate(elementId, templateId, appendTo, initialStyle) { - if (initialStyle === undefined) { - initialStyle = {}; - } - if (appendTo) { - appendTo = "body"; - } +function getOrCreateFromTemplate(elementId, templateId, elementType, appendTo, wrapper) { + elementType = elementType ? elementType : "div"; var $element = $("#" + elementId); if (!$element.length) { $template = $("#" + templateId); - $element = $("") + $element = $("<"+elementType+">") .attr("id", elementId) - .html($template.html()) - .appendTo(appendTo); + .html($template.html()); + if (wrapper) $element.wrapInner(wrapper); + $element.appendTo(appendTo) } - $element.css(initialStyle); return $element; }; function enableOverlay(forZIndex) { - var overlayId = "popover-overlay"; + var overlayId = "modal-overlay"; var $overlay = $("#" + overlayId); if (!$overlay.length) { $overlay = $("
") .attr("id", overlayId) .appendTo("body") .click(function(){ - $(this).trigger("popover:exit"); + $(this).trigger("modal:exit"); }); } $overlay.css({ @@ -244,34 +243,38 @@ function enableOverlay(forZIndex) { return $overlay; } -$("[data-action='popover']").click(function(e){ +function showModal(templateId) { /* - * Usage: - * Popup - * * Copies the HTML referenced by data-template into a new element, - * with id="popover-[template value]" and creates an overlay on the + * with id="modal-[template value]" and creates an overlay on the * page, which when clicked will close the popup. */ - e.preventDefault(); - var templateId = $(this).data("template"); - var popoverId = "popover-" + templateId; var zIndex = 100; - var $overlay = enableOverlay(zIndex); - var $popover = getOrCreateFromTemplate( - popoverId, templateId, "body", { - position: "fixed", - display: "block", - top: "50%", - left: "50%", - "z-index": zIndex, - }); - $(document).on("popover:exit", function(){ - $overlay.css({display: 'none'}); - $popover.css({display: 'none'}); + var modalId = "modal-" + templateId; + $modalwrapper = $(""); + var $modal = getOrCreateFromTemplate(modalId, templateId, "dialog", "body", $modalwrapper); + $modal.addClass("modal"); + $(".modal-fade-screen", $modal) + .addClass("visible") + .click(function(e){$(this).trigger("modal:exit")}); + $(".modal-inner", $modal).click(function(e){e.stopPropagation();}) + $("body").addClass("modal-open"); + $(document).on("modal:exit", function(){ + $("body").removeClass("modal-open"); + $(".modal-fade-screen", $modal).removeClass("visible"); $(this).off(); }); +} + +$("[data-action='modal']").click(function(e){ + /* + * Usage: + * Popup + */ + + e.preventDefault(); + showModal($(this).data("template")); }); diff --git a/sass/base/_base.scss b/sass/base/_base.scss index 53d0bb2..a3031dd 100644 --- a/sass/base/_base.scss +++ b/sass/base/_base.scss @@ -12,6 +12,7 @@ @import "lists"; @import "tables"; @import "typography"; +@import "modal"; dialog { display: block; diff --git a/sass/base/_modal.scss b/sass/base/_modal.scss new file mode 100644 index 0000000..3d7a548 --- /dev/null +++ b/sass/base/_modal.scss @@ -0,0 +1,128 @@ +.modal { + $base-border-color: gainsboro !default; + $base-border-radius: 3px !default; + $base-background-color: white !default; + $base-font-size: 1em !default; + $base-line-height: 1.5em !default; + $action-color: #477DCA !default; + $dark-gray: #333 !default; + $light-gray: #DDD !default; + $medium-screen: em(640) !default; + $large-screen: em(860) !default; + $base-font-color: $dark-gray !default; + $modal-padding: 3em; + $modal-background: $base-background-color; + $modal-close-color: $light-gray; + $modal-image-height: 135px; + $modal-image-width: $modal-image-height; + $modal-trigger-image-width: 300px; + + label { + cursor: pointer; + margin-bottom: 0; + } + + label img { + border-radius: $modal-trigger-image-width / 2; + display: block; + max-width: $modal-trigger-image-width; + } + + .modal-state { + display: none; + } + + .modal-trigger { + @include button(flat, $action-color); + padding: 0.8em 1em; + } + + .modal-fade-screen { // overlay + @include transition(opacity 0.25s ease); + @include position(fixed, 0px 0px 0px 0px); + background: rgba(0,0,0, 0.85); + opacity: 0; + padding-top: 0.6em; + text-align: left; + visibility: hidden; + z-index: 99999999999; + + @include media($large-screen) { + padding-top: 10em; + } + + .modal-bg { + @include position(absolute, 0px 0px 0px 0px); + cursor: pointer; + } + } + + .modal-close { + @include position(absolute, ($modal-padding /2) ($modal-padding /2) null null); + @include size(1.5em); + background: $modal-background; + cursor: pointer; + + &:after, + &:before { + @include position(absolute, 3px 3px 0 50%); + @include transform(rotate(45deg)); + @include size(0.15em 1.5em); + background: $modal-close-color; + content: ''; + display: block; + margin: -3px 0 0 -1px; + } + + &:hover:after, + &:hover:before { + background: darken($modal-close-color, 10%); + } + + &:before { + @include transform(rotate(-45deg)); + } + } + + .modal-inner { + @include transition(opacity 0.25s ease); + background: $modal-background; + border-radius: $base-border-radius; + padding: $modal-padding / 2; + position: relative; + @include outer-container; + + .modal-content { + color: $base-font-color; + @include columns(2 8em); + } + + a.cta { + color: white; + display: inline-block; + margin-right: 0.5em; + margin-top: 1em; + + &:last-child { + padding: 0 2em; + } + } + } + + .modal-state:checked + .modal-fade-screen, + .modal-fade-screen.visible { + opacity: 1; + visibility: visible; + } + + .modal-state:checked + .modal-fade-screen .modal-inner, + .modal-fade-screen.visible .modal-inner { + top: 0.5em; + } +} + +.modal-open { + overflow: hidden; +} + +// Based on code by Kasper Mikiewicz diff --git a/sass/base/_typography.scss b/sass/base/_typography.scss index c64b0f3..d9cffe9 100644 --- a/sass/base/_typography.scss +++ b/sass/base/_typography.scss @@ -25,7 +25,7 @@ article h1 { font-size: $h1-font-size; } -article h2 { +article h2, dialog h2 { font-size: $h2-font-size; } diff --git a/sass/scratchx.scss b/sass/scratchx.scss index 827f887..b8c6be1 100644 --- a/sass/scratchx.scss +++ b/sass/scratchx.scss @@ -40,13 +40,20 @@ body { } } -#dialogs { +#dialogs, #modal-dialogs .modal-inner { @include row(); dialog { @include span-columns(4); + p { + text-align: center; + } } } +#modal-dialogs .modal-inner { + background-color: transparent; +} + .extension-file { section:first-child { /* Add a border equal to the number of featured extensions - 1 */