Coder Social home page Coder Social logo

arturmamedov / withfront Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 3.0 5.67 MB

HTML, CSS, JS, .htaccess, .gitgnore and more That i use in every project of website with Bootstrap and jQuery

License: MIT License

CSS 24.73% HTML 18.42% JavaScript 56.86%
jquery bootstrap frontend-web css html javascript bootstrap-datepicker datepicker loader loader-wrapper

withfront's People

Contributors

arturmamedov avatar withartur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

withfront's Issues

v1.4.5 and greater not show the `flag-icon-en`

Cause the path from dist/css folder not reach anymore the flag-icon-css package

2possibility:

  • copy the necessary flag to dist of withfront
  • change the path for refer to new flag-icon-css location

Social color's and background proposal

Something like this for all most important social's

.text-insta {
    background: -webkit-linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bg-insta {
    background: #833ab4;
    background: -moz-linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    background: -webkit-linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#833ab4', endColorstr='#e1306c',GradientType=1 );
}

Improve documentation

datepicker - Specify that document must include datepicker library for work, write the classes that are needed for work (i can to add a debug var tre/false and console.info thing that are not work in development)

go2top break and not have fallback

with bottom-buttons go2top must be moved inside this new div for btn's and this break go2top in single version so the update of library must have also the update of html code, its no good!

Proposal map black and white with a css class

/* Map Background Black & White */
.map-bg-bw {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

Flag Icon path?

Current flag icon path are wrong

/* OVERRIDE for flag icon (for more intuitive use then GB-en) */
.flag-icon-en {
    background-image: url(../bower_components/flag-icon-css/flags/4x3/gb.svg);
}

.flag-icon-en.flag-icon-squared {
    background-image: url(../bower_components/flag-icon-css/flags/1x1/gb.svg);
}

Or i open /bower_components/ from root or i suppose that booth packages are in /bowercomponents/ floder.

.w-overlay improvments

I think i can avoid use of additional div with .overlay class by use of pseudo elements, shure work with image, need to try with div and other's thing

.w-overlay {
   posiiton: relative;
   overlay: hidden;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.w-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #252525;
    opacity: 0;
}

.w-overlay:hover:after {
    opacity: 0.7;
}

A little but usefull function for set an element to full windows height

A little but usefull function for hero primary section on website for fit the entire height of windows and plus the min-height if present in data-min-height

viewportHeight = function() {
    return window.innerHeight || document.documentElement.clientHeight
}
function setHeight(element) {
    min_height = element.data('min-height');
    if (min_height > viewportHeight()) {
        element.height(min_height);
    } else {
        element.height(viewportHeight());
    }
}
setHeight($('.section-hero.cover'));
$(window).on('resize', function () {
    setHeight($('.section-hero.cover'));
});

Maybe add it to withplugins.js

whatsappWeb set to true by default broke the js if not found the whatsapp url element

Error:

 TypeError: $(...).attr(...) is undefined[Ulteriori informazioni] withplugins.js:853:42
    <anonima> withplugins.js:853
    jQuery 2

Code:

if(withOptions.whatsappWeb && !jQuery.browser.mobile){
    var mobile_wa = $(".whatsapp-weburl").attr('href').replace('?text=', '&text');
    mobile_wa = mobile_wa.replace('https://wa.me/', 'https://web.whatsapp.com/send?phone=+39')

    $(".whatsapp-weburl").attr('href', mobile_wa);
}

maybe add also the check of an element on page

Add disabled uxsolution/datepicker

Add disabled style to datepicker

/* disbled dates */
.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: #EEEEEE !important;
    cursor: no-drop !important;
}

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.