Git Product home page Git Product logo

front-end-toolkit's People

Contributors

andriusign avatar bryant1410 avatar kestutis-buivydas avatar linasmatakas avatar mantas-kunsmanas-w avatar trlmkb avatar vaclovasv avatar vaclovasvicius 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

front-end-toolkit's Issues

Update gruntfile

Need to update gruntfile due to grunt spritesmith version changes. Sprites generation won't work if you using current version.

Update current Wiki pages for Sass

Current Sass documentation is outdated. We need to update setup process (Libsass) and add info about the frameworks (Bourbon, Neat, Susy).

Incorrect spriting mixin

in spriting.scss we should have only these mixins included and sprite maps scss, now mixins are incorrect:
@mixin get-sprite($sprite, $sprite2x: false, $center: false, $center-y: false, $center-x: false) {
$sprite-half-sprite: 50%;
$sprite-icn-height: nth($sprite, 6);
$sprite-icn-width: nth($sprite, 5);
background: url(nth($sprite, 9)) nth($sprite, 3) nth($sprite, 4) no-repeat;
@include sprite-width($sprite);
@include sprite-height($sprite);
@content;
@if $sprite2x {
@media only screen and (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 2.0) {
background: url(nth($sprite2x, 9)) nth($sprite2x, 3)/2 nth($sprite2x, 4)/2 no-repeat;
background-size: nth($sprite2x, 7)/2 nth($sprite2x, 8)/2;
@content;
}
}
@if $center {
position: absolute;
top: $sprite-half-sprite;
left: $sprite-half-sprite;
margin: {
top: -($sprite-icn-height / 2);
left: -($sprite-icn-width / 2);
}
} @else if $center-y {
position: absolute;
top: $sprite-half-sprite;
margin: {
top: -($sprite-icn-height / 2);
}
} @else if $center-x {
position: absolute;
left: $sprite-half-sprite;
margin: {
left: -($sprite-icn-width / 2);
}
}
}

@mixin sprite-background-size($sprite) {
background-size: nth($sprite, 7) nth($sprite, 8);
}

styleguide bourbon

maybe let's use node-bourbon instead of adding whole library to the project?

Add print.scss

Basic print styles should be included.
Basic styling is added to "documentation" branch

Review javascript structure

We need to review existing javascript structure:

  1. We need to add references to CDN resources with appropieate fallbacks.
  2. We need to check for latest versions of the libraries.
  3. We need to check if new libraries needed in default templates.
  4. Predefined default modules for plugins initiation in site.js file (like module.modal = function(){..})

Suggestion: Remove components folder, move everything to module folder

Components naming isn't very informative in Scss world. Modules would be much better.
For 3rd party party modules, create additional folder Modules -> Libs (jqueryUI, default slider styles and etc goes here).
Bring normalize to core folder.
Extenders (change name to helpers, like in other projects?) should go to core too.

Add default selectors to layouts scss

We need to add default selectors to scss as a reminder to fill them up. Example below but check if there are any more:

a {
}

h1, .heading1 {
}

h2, .heading2 {
}

h3, .heading3 {
}

h4, .heading4 {
}

ul {

}

ol {

}

figure {

}

strong {

}

Add silent classes

Suggestion, to add silent classes like(better consistency across projects):

%hidden {
display: none;
visibility: hidden;
}

%visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;

// Extends the .visuallyhidden class to allow the element to be focusable
// when navigated to via the keyboard: h5bp.com/p

&.focusable:active,
&.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto;
}
}

Wrong local jquery path?

This line (/libs/jquery-1.8.3.min) in scripts/main.js is wrong - no need '/' at the beginning or I misunderstood something?

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.