Coder Social home page Coder Social logo

base's People

Contributors

katiaeirin avatar murraybunton avatar scottsanders avatar tommaitland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

base's Issues

Set font-size on html, not body, when using REMs

Shouldn't the font-size: 100% be set on the root html element rather than body for REMs to be scalable between responsive steps? If I change the font-size on the body my REMs don't update, but if I change it on html they do.

Add tooltips

Something like

//
// Tooltips
// --------------------------------------------------

[data-tooltip] {
    position: relative;
    cursor: pointer;
    .inline-block();

    &:before,
    &:after {
        .transition(all 0.2s ease-out);
        position: absolute;
        visibility: hidden;
        opacity: 0;
    }

    &:before {
        .arrow-up(7px, @textColor);
        content: '';
        left: 50%;
        margin-left: -3.25px;
        z-index: 10001;
        bottom: -10px;
    }
    &:after {
        .box-sizing(border-box);
        content: attr(data-tooltip);
        padding: 0.5em 0.75em;
        border-radius: 3px;
        font-size: 0.875em;
        z-index: 10000;
        left: 50%;
        margin-left: -5em;
        margin-top: 10px;
        width: 10em;
        line-height: 120%;
        background: @textColor;
        color: @baseColor;
    }
    &:hover:before,
    &:hover:after {
        visibility: visible;
        opacity: 1;
    }

    &.tax-tooltip {
        &:after {
            width: 20em;
        }
    }
}

jQuery fallbacks for CSS animations on carousel

Would be good, the fallback is usable but a bit lame. Currently the animations are only:

  • fade
  • slide

Will do a check on the Modernizer body class to select which method (jQuery/CSS3) to use.

Carousel Controls

Add class-based next/previous buttons and a paged dot thing to the carousel.

Automatically calculated column widths

Experiment with setting page width / # of columns for each responsive snap size and the system automatically calculations column and maybe gutter width.

Responsive Typography

Open for discussion, should typography be calculated on variables set at the responsive level? In the same way that _layout.less is processed. Will this be helpful or a hinderance?

Select boxes lose drop-down styles in FF, Chrome, Safari

I'm not sure if this is expected behaviour, but in '_forms.less' - this rule (truncated here for brevity) seems to remove the drop-down arrow from select inputs in FF, Chrome and Safari:

// Form Elements
// -------------------

select {
-webkit-appearance: none;
}

Overriding it restores the drop-down arrow:

// Misc Additions

select {
-webkit-appearance: menulist;
}

Offset mixin bug

When you put an offset that equals the column amount the offset doesn't apply. IE

@include columns(4,4) would have no offset.

Responsive Menus

Wishlist:

  1. responsive menu kicks in at tablet.css media query (100% width mobile, max-width on tablet
  2. menu shrinks to drop-down with โ˜ฐ aligned to right, leaving header on left (with option of a different ascii character or 'Menu').
  3. Menu designed with two levels possible levels of sub-menu (may be excessive).
  4. Menu z-index overlays over content rather than pushing content down:
  • User will scroll page to navigate menu
  • Mobile menu needs a close button at bottom which also scrolls page immediately to top
    5) If necessary extra footer navigation list can reveal itself on mobile for very complex pages.
    6) Top-level menu items with sub-menus should function only as headings, not as distinct pages. Can link to first sub-menu item page - in mobile layouts this will be disabled to allow hover function to work.

Menus: primary sub menu off-screen in mobile; secondary submenu not hidden; submenus background color

  1. Using .menu-primary, the submenu can appear off-screen on small devices.

  2. Using .menu-secondary, the submenu appears by default instead of being hidden by default and appearing on hover.

  3. Every submenu under a 'selected' menu appears with a 'selected' background. This looks like every menu item is concurrently selected.

Fix for (3) - assuming only one level of submenu:
&.selected ul li a {
background: #FFF/inherit/transparent/variable;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.