Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 28, 2013
  1. @k88hudson

    bug 896494 - Details form

    k88hudson authored
Commits on Aug 19, 2013
  1. @jbuck
Commits on Jul 30, 2013
  1. @Pomax

    Codemirror 2 -> 3

    Pomax authored
Commits on Apr 29, 2013
  1. @Pomax
Commits on Jan 18, 2013
  1. @toolness
  2. @toolness
Commits on Nov 2, 2012
  1. @stenington

    Darker dimples

    stenington authored
  2. @stenington

    Merge pull request #157 from stenington/145-dimple

    stenington authored
    Adding dimple
  3. @stenington
  4. @stenington
  5. @stenington
Commits on Nov 1, 2012
  1. @toolness
  2. @toolness

    Replace myriad-pro with Open Sans.

    toolness authored
    Also added open sans to the repository so we're no longer dependent
    on forsaken typekit.
Commits on Oct 31, 2012
  1. @stenington

    Added buttons.css to temporarily house webmaker-style button styles.

    stenington authored
    Updated publish button to use webmaker-style buttons, and removed
    old button styling.
Commits on Oct 29, 2012
  1. @stenington
  2. @toolness

    Merge pull request #151 from stenington/140-remove-border

    toolness authored
    Remove borders from .thimble-url-box
Commits on Oct 26, 2012
  1. @stenington
  2. @stenington
Commits on Aug 29, 2012
  1. @toolness

    Merge branch 'editor-with-toolbar-widget' into gh-pages

    toolness authored
    Conflicts:
    	js/fc/ui/editor-toolbar.js
    	js/friendlycode.js
  2. @toolness
Commits on Aug 28, 2012
  1. @toolness

    Added docs for gutter-pointer.js, minor refactorings.

    toolness authored
    Made the absolute positioning of the gutter-pointer an intrinsic
    part of gutter-pointer.js, since it's core to its functionality
    (there's no reason it should be anything else, afaik).
Commits on Aug 27, 2012
  1. @toolness

    Initial attempt at an SVG-based gutter pointer.

    toolness authored
    This gutter pointer is based on Jess' original mockup here:
    
      http://www.flickr.com/photos/jessicaklein/7221327312
    
    Currently this needs to be changed so the pointer's left side starts
    at the very right side of the gutter, and extends into the margin of
    the actual text area.
Commits on Aug 22, 2012
  1. @toolness
Commits on Aug 19, 2012
  1. @toolness
Commits on Aug 16, 2012
  1. @toolness

    Removed extraneous font-family mentions of Ubuntu Mono.

    toolness authored
    I used the following code to ensure that the rules I excised
    font-family declarations from still inherited Ubuntu Mono from
    parent nodes:
    
    (function(jQuery) {
      var $ = jQuery;
    
      function test(name, selectors, css) {
        console.log("CSS test: " + name);
        selectors.forEach(function(selector) {
          var passed = 0;
          var elements = $(selector);
          if (!elements.length)
            return console.error("  FAIL - nothing matches " + selector);
          elements.each(function() {
            var $el = $(this);
            for (var property in css) {
              var value = $el.css(property);
              if (!value.match(css[property]))
                return console.error("  FAIL - " + selector + " " + property +
                                     " is " + value + ", not " + css[property]);
            }
            passed++;
          });
          if (elements.length == passed)
            console.log("  OK    - " + selector + " (" + passed + ")");
        });
      }
    
      test("font is Ubuntu Mono", [
        ".CodeMirror", ".CodeMirror-lines", ".CodeMirror textarea",
        ".CodeMirror-gutter-text", ".cm-s-jsbin span.cm-comment"
      ], {
        'font-family': /Ubuntu Mono/
      });
    })(jQuery);
Commits on Aug 15, 2012
  1. @toolness

    Use myriad-pro/sans-serif for help/error messages.

    toolness authored
    (Instead of inheriting ubuntu mono from CodeMirror.)
  2. @toolness

    Use Helvetica Neue as the first fallback to myriad-pro.

    toolness authored
    It appears to have closer font metrics to myriad-pro, and thus
    doesn't make the editor look quite as wonky if Typekit doesn't
    load.
  3. @toolness

    Removed redundant references to the base font-style (myriad-pro).

    toolness authored
    All the styles that this has been removed from already inherit
    the font-style from .friendlycode-base.
  4. @toolness

    Got rid of opensans, as we don't seem to be using it anymore.

    toolness authored
    For some reason it was on the .logo class, which doesn't actually
    have any text on it. Perhaps it used to?
  5. @toolness

    Replaced all CSS element rules w/ namespaced ones.

    toolness authored
    This should make it easier to integrate friendlycode with existing
    sites.
  6. @toolness

    Removed the unused 'b' rule from errorhelp.css.

    toolness authored
    There don't seem to be any <b> tags in help or error message
    content.
Commits on Aug 14, 2012
  1. @toolness

    The confirm/publish dialogs now always appear under the publish button.

    toolness authored
    In order to do this, I changed the animation from a slide to a fade
    because the addition of margins to the .thimble-modal-menu selector
    made the slide appear wonky.
    
    We can fix this later; Jess also seemed to want to change the publish UI
    a lot, so I didn't want to spend too much time figuring out how to
    retain the slide at its original quality. Also, a fade transition still
    looks okay.
  2. @toolness

    index.html and bare.html are now separate pages that embed friendlycode.

    toolness authored
    Specifically, index.html assumes embedding within the Thimble website
    and features Thimble-specific branding, while bare.html is a trivial
    embedding of friendlycode.
    
    The many stylesheets used by both pages are now consolidated into
    friendlycode.css, which (for now) just @imports all the stylesheets.
    A production build system can compile these into a single file for
    better performance.
  3. @toolness

    Fixed regressions in the loading throbber.

    toolness authored
    It also now uses CSS animations instead of CSS transitions to fade-in
    the loading message, which relieves us from having to dynamically add
    classes during loading to trigger transitions.
  4. @toolness

    A single div now contains both the toolbar and editor.

    toolness authored
    This is a major step towards stylistically decoupling friendlycode
    from being Thimble-specific; a different page can now include its
    own header (or none at all) and still have the friendlycode editor,
    toolbar, and modals in it.
    
    This refactoring is incomplete in a few ways, though:
    
    * Thimble-specific CSS needs to be moved out of editor.css and
      into its own separate file.
    * The publishing modals are still hard-coded to appear next to the
      publish button's expected location in Thimble, meaning that they
      assume a header with a height of about 79px.
    * The 'Loading...' message had to be moved into index.html
      so it actually appears while resources are loading, not once
      they're done loading. This is very messy right now and should be
      fixed in an upcoming commit.
    * It's likely that this refactoring changes the positioning of
      some toolbar elements by a pixel or two. I checked the appearance
      on all browsers and things seem to look fine, though the positioning
      of the Publish button seems visibly off IE9 and Opera--not sure
      if this is a regression or if things have always been this way.
Something went wrong with that request. Please try again.