Skip to content

Instantly share code, notes, and snippets.

View machal's full-sized avatar

Martin Michálek machal

View GitHub Profile
@machal
machal / gulpfile.js
Created February 7, 2019 05:37
SVG workflow SUPERKODERS
var config = require('./helpers/getConfig.js');
var gulp = require('gulp');
var nunjucksRender = require('gulp-nunjucks-render');
var notify = require('gulp-notify');
var plumber = require('gulp-plumber');
var cachebust = require('gulp-cache-bust');
var fs = require('fs');
var path = require('path');
@machal
machal / template.scss
Created May 22, 2018 13:43
Empty SCSS file template
/*
Molecule Component
==================
Using for …
Documentation: http://example.com/pattern-lab/component
*/
// Structure:
/* # Modul Velka polozka seznamu
Napr. seznamy ubytovatelu, pobytu, last-minute atd.
*/
.list_item {
position: relative;
padding: 9px 0;
border-bottom: 1px solid #ddd;
Running "stylelint:all" (stylelint) task
source/css/_src/_components/atoms/blockquote.scss
30:117 ✖ Expected line length to be no more than 80 characters max-line-length
source/css/_src/_components/atoms/form-control.scss
4:162 ✖ Expected line length to be no more than 80 characters max-line-length
source/css/_src/_components/atoms/form-general-error.scss
2:158 ✖ Expected line length to be no more than 80 characters max-line-length
@machal
machal / pravidla-frontendisti-prace.md
Last active November 22, 2018 10:40
FB/Frontendisti práce – pravidla

Pravidla skupiny „Frontendisti práce“

Skupina je spravována pro podporu komunity http://frontendisti.cz/.

  1. DRŽÍME TÉMA
    Patří sem jen nabídky práce na webovém frontendu – CSS, HTML a Javascript.
  2. NESPAMUJEME
    Odobrná diskuze patří na forum Frontendistů: https://www.facebook.com/groups/frontendisti/
    Reklama na produkty a služby sem nepatří.
  3. NABÍZÍME PŘESNĚ
@machal
machal / .stylelintrc
Created January 15, 2018 10:02
RFE Stylint rules v1 -> v2
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-empty-line-before": null,
"at-rule-no-unknown": [
true, {
"ignoreAtRules": ["if", "else", "extend", "mixin", "include", "content", "for"]
}
],
"block-closing-brace-empty-line-before": null,
@machal
machal / drmax.css
Created January 3, 2018 09:48
Dr Max Main CSS
This file has been truncated, but you can view the full file.
@import url("https://fonts.googleapis.com/css?family=Work+Sans:100,200,300,500,700&subset=latin-ext");
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Rajdhani&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:300,600,700');
@font-face {
font-family: 'DrMaxIcons';
src: url('/-s85?field=data');
src: url('/-s85?field=data#iefix') format('embedded-opentype'), url('/-s83?field=data') format('truetype'), url('/-s84?field=data') format('woff'), url('/-s82?field=data') format('svg');
@machal
machal / index.scss
Created November 6, 2017 08:45
Bootstrap 4 customization (repaired in beta.2 version)
// Bootstrap functions (required)
@import "vendor/bootstrap/functions";
// Customize
$white: #ffddff;
$theme-colors: (
primary: blue
);
<a href="#">Odeslané zprávy</a>
<a href="#">Historie operací</a>
<a href="#">Importy BB</a>
<a href="#">Historie nastavení potvrzujících a certifikačních
poplatků</a>
<a href="#">Žádosti o úvěr</a>
<a href="#">Kontakty</a>
<a href="#">Info 24</a>
<a href="#">Smart zařízení</a>
<a href="#">Smart OTP zařízení</a>
<p><a href="#">Návrat domů</a></p>
<hr>
<p>PEK</p>
<h1 id="toc_0">Detail disponenta: Vojtěch Man, IPPID: 980326547</h1>
<p><a href="#">Disponenti</a> &gt; Detail disponenta</p>