Skip to content

Instantly share code, notes, and snippets.

View agat's full-sized avatar

Aleksej Romanovskij agat

View GitHub Profile
@agat
agat / css
Created January 26, 2012 13:33
http://tcb.ru/ source
.navigation_home .navigation_home_items {
position: relative;
z-index: 51;
margin: 0 5em;
}
.navigation_home .navigation_home_item {
margin-right: 20px;
margin-bottom: 10px;
font-size: 0.9em;
@agat
agat / jquery.micro-tabs.min.js
Created April 20, 2012 07:03
Smallest jQuery tabs plugin
/* micro tabs jQuery plugin by Aleksej Romanovskij */
$.fn.tabs=function(c){this.click(function(){var a=$(this);a.parent().add($(a.attr('href'))).addClass(c).siblings().removeClass(c);return!1})}
@agat
agat / gist:3104610
Created July 13, 2012 12:19
Sencha Touch CSS example
.x-button.x-button-action.x-button-pressing,
.x-button.x-button-action.x-button-pressing:after,
.x-button.x-button-action.x-button-pressed,
.x-button.x-button-action.x-button-pressed:after,
.x-button.x-button-action.x-button-active,
.x-button.x-button-action.x-button-active:after,
.x-toolbar .x-button.x-button-action.x-button-pressing,
.x-toolbar .x-button.x-button-action.x-button-pressing:after,
.x-toolbar .x-button.x-button-action.x-button-pressed,
.x-toolbar .x-button.x-button-action.x-button-pressed:after,
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
// Metadata
meta : {
basePath : '',
sassPath : 'sass/',
fontsPath : 'fonts/',
cssPath : 'css/',
@agat
agat / gist:e5c3f819d9f203fd4054
Created January 15, 2015 10:36
CSS Grid Framework
.layout {
display: flex;
}
.layout__col {
flex: 1;
}
.layout__col + .layout__col {
margin-left: 15px;
@agat
agat / .flowconfig
Last active September 9, 2018 10:21 — forked from daniele-zurico/.flowconfig
Flow config file for React Native
[ignore]
.*/node_modules/fbjs/.*
[options]
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
[untyped]
.*/node_modules/.*