arturmamedov / withfront Goto Github PK
View Code? Open in Web Editor NEWHTML, CSS, JS, .htaccess, .gitgnore and more That i use in every project of website with Bootstrap and jQuery
License: MIT License
HTML, CSS, JS, .htaccess, .gitgnore and more That i use in every project of website with Bootstrap and jQuery
License: MIT License
for now npm i https://github.com/arturmamedov/withFront --save
Or maybe must be called in a different way for not apply his rules
Cause the path from dist/css folder not reach anymore the flag-icon-css package
2possibility:
/* contact form errros - remove padding of h4 where unexpected it not centered vertically */
.alert.errors h4 {
margin-bottom: 0px !important;
}
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 );
}
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)
center-block
-> mx-auto
img-responsive
-> img-fluid
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!
/* 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%);
}
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.
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;
}
For have an !important rule for force the display
.display-none-imp {
display: none !important;
}
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
Must add this new feuatures supported by major browser
https://caniuse.com/?search=scroll-padding
html {
scroll-padding-top: 130px;
}
That make browser scroll to the field with error but moved from top for not haev this field hide from sticky/fixed navbar
Because some times we not need it event trigger
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
Line 194 in b41677b
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;
}
<div id="period">
must be!!!!!!
<div class="period">
For xs-, sm-
tools it present and for general no
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.