Tweaks with @carljbowman

This commit is contained in:
Ray Schamp 2015-05-08 15:34:00 -04:00
parent b72824f960
commit ed378ecb77
6 changed files with 31 additions and 14 deletions

View file

@ -1,5 +1,5 @@
@charset "UTF-8"; @charset "UTF-8";
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700);
html { html {
box-sizing: border-box; } box-sizing: border-box; }
@ -608,7 +608,8 @@ h6 {
font-family: "Source Sans Pro", "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif; font-family: "Source Sans Pro", "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif;
font-size: 1em; font-size: 1em;
line-height: 1.2; line-height: 1.2;
margin: 0 0 0.75em; } margin: 0 0 0.75em;
font-weight: 700; }
article h1 { article h1 {
font-size: 1.5em; } font-size: 1.5em; }
@ -622,7 +623,8 @@ p {
a { a {
color: #21b4f0; color: #21b4f0;
text-decoration: none; text-decoration: none;
transition: color 0.1s linear; } transition: color 0.1s linear;
font-weight: 600; }
a:active, a:focus, a:hover { a:active, a:focus, a:hover {
color: #0c86b8; } color: #0c86b8; }
a:active, a:focus { a:active, a:focus {
@ -1024,17 +1026,22 @@ body #home {
color: #fff; color: #fff;
top: 0.75em; } top: 0.75em; }
.extension-feature section:first-child h2 { #dialogs .extension-feature section:first-child h2,
#modal-dialogs .extension-feature section:first-child h2 {
margin-top: 0.375em; } margin-top: 0.375em; }
.extension-feature section:last-child { #dialogs .extension-feature section:last-child,
#modal-dialogs .extension-feature section:last-child {
padding: 0px; } padding: 0px; }
.extension-feature ul li { #dialogs .extension-feature ul li,
#modal-dialogs .extension-feature ul li {
border-bottom: 1px solid #dfe3e7; border-bottom: 1px solid #dfe3e7;
padding: 0.75em; } padding: 0.75em; }
.extension-feature ul li a { #dialogs .extension-feature ul li a,
#modal-dialogs .extension-feature ul li a {
position: relative; position: relative;
display: block; } display: block; }
.extension-feature ul li a:before { #dialogs .extension-feature ul li a:before,
#modal-dialogs .extension-feature ul li a:before {
content: ""; content: "";
font-family: "ScratchX"; font-family: "ScratchX";
speak: none; speak: none;
@ -1053,14 +1060,17 @@ body #home {
top: 50%; top: 50%;
margin-top: -.5em; margin-top: -.5em;
font-size: 1.5em; } font-size: 1.5em; }
.extension-feature ul li h3 { #dialogs .extension-feature ul li h3,
#modal-dialogs .extension-feature ul li h3 {
font-size: 1.125em; font-size: 1.125em;
font-weight: 600; font-weight: 600;
margin-bottom: 0.375em; } margin-bottom: 0.375em; }
.extension-feature ul li p { #dialogs .extension-feature ul li p,
#modal-dialogs .extension-feature ul li p {
text-align: left; text-align: left;
margin: 0; margin: 0;
color: #58595b; } color: #58595b;
font-weight: normal; }
footer { footer {
padding: 1.875em 0; } padding: 1.875em 0; }

File diff suppressed because one or more lines are too long

View file

@ -96,6 +96,7 @@
<div> <div>
<h2>Developer Documentation</h2> <h2>Developer Documentation</h2>
<p>Developers can create new Experimental Extensions using Javascript. To learn more, read the <a href="http://llk.github.io/scratch-extension-docs/">Developer Documentation</a>.</p> <p>Developers can create new Experimental Extensions using Javascript. To learn more, read the <a href="http://llk.github.io/scratch-extension-docs/">Developer Documentation</a>.</p>
<p><a href="#scratch" data-action="static-link"><button>Open editor</button></a></p>
</div> </div>
</section> </section>
</article> </article>

View file

@ -239,6 +239,7 @@ function showModal(templateId) {
$("body").addClass("modal-open"); $("body").addClass("modal-open");
$(document).on("modal:exit", function(){ $(document).on("modal:exit", function(){
$("body").removeClass("modal-open"); $("body").removeClass("modal-open");
Scratch.FlashApp.ASobj.ASsetModalOverlay(false);
$(".modal-fade-screen", $modal).removeClass("visible"); $(".modal-fade-screen", $modal).removeClass("visible");
$(this).off(); $(this).off();
}); });

View file

@ -1,4 +1,4 @@
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700);
body { body {
@include font-feature-settings("kern", "liga", "pnum"); @include font-feature-settings("kern", "liga", "pnum");
@ -19,6 +19,7 @@ h6 {
font-size: $base-font-size; font-size: $base-font-size;
line-height: $heading-line-height; line-height: $heading-line-height;
margin: 0 0 $small-spacing; margin: 0 0 $small-spacing;
font-weight: 700;
} }
article h1 { article h1 {
@ -48,6 +49,7 @@ a {
&:focus { &:focus {
outline: none; outline: none;
} }
font-weight: 600;
} }
hr { hr {

View file

@ -90,7 +90,9 @@ body {
} }
.extension-feature { #dialogs .extension-feature,
#modal-dialogs .extension-feature
{
section:first-child { section:first-child {
h2 { h2 {
margin-top: $vertical-base; margin-top: $vertical-base;
@ -129,6 +131,7 @@ body {
text-align: left; text-align: left;
margin: 0; margin: 0;
color: $base-font-color; color: $base-font-color;
font-weight: normal;
} }
} }
} }