Proces tvorby webu a WordPress (Martin Adamko)wcsk
Martin Adamko discusses the process of web design and development. He talks about the tools he uses for wireframing including Balsamiq, Omnigraffle, Photoshop, HTML/CSS frameworks, and pen and paper. He finds HTML and CSS works well for wireframing as it allows him to test functionality and reduces the risk of confusion with the final design. The document also discusses using InDesign for web page layouts due to its grid-based structure and building websites using a progressive enhancement approach.
Proces tvorby webu a WordPress (Martin Adamko)wcsk
Martin Adamko discusses the process of web design and development. He talks about the tools he uses for wireframing including Balsamiq, Omnigraffle, Photoshop, HTML/CSS frameworks, and pen and paper. He finds HTML and CSS works well for wireframing as it allows him to test functionality and reduces the risk of confusion with the final design. The document also discusses using InDesign for web page layouts due to its grid-based structure and building websites using a progressive enhancement approach.
4. Bootstrap 3
rieši responzivitu
rieši GRID
obsahuje dizajn patterny - nemusíme toľko
štýlovať a môžeme používať ukážky
napísaný v LESS
Bootstrap 3 - mobile first
nevýhody
zápis tried do HTML
nepodporuje staršie IEčka
5. LESS
Prečo nie SASS?
lebo Bootstrap je v LESS
rýchlejšie sa rendruje
mixiny, premenné, operácie, funkcie
6. Zrýchlime to s Bootstrap & Less
podmienky
1. Znalosť HTML + CSS
2. Naučiť sa značky a triedy Bootstrapu
3. Naučiť sa LESS
8. Začíname
v šablóne WP je nutné mať style.css,
inak hlási, že je šablóna neúplná
style.css môže byť prázdne
Vytvoríme v téme adresár CSS
umiestnime do neho adresár Bootstrap
stihneme si neskompilovanú verziu Bootstrapu
aby sme vedeli nastaviť náš grid
vyhodíme všetko, čo nepoužívame
kvôli veľkosti finálneho style.css v súbore bootstrap.less
9. Súbory
vytvoríme si
config.less - obsahuje všetky farby, typografiu
mixins.less - obsahuje mixiny, ktoré používame
style.less - obsahuje na začiatku súboru importy
config.less
mixins.less
bootstrap.less
10. Pri developmente
Nalinkujeme si cez wp_enqueue_script() less.js
Po finalizácii šablóny a pri nasadení do ostrej prevádzky
nelinkujeme less.js
Prehliadaču posielame už skompilovaný CSS file
WIN
http://winless.org/
MAC
http://incident57.com/less/
11. Problémové oblasti
V obsahu sa vyskytujú značky
Bežný užívateľ môže narušiť vzhľad webu
Riešenie
visual composer a nastavenie tried
http://vc.wpbakery.com/
nastavenie function.php pre visual composer - pomôže nám robiť
stĺpce