Skip to content

Instantly share code, notes, and snippets.

View bundyo's full-sized avatar

Bundyo (Kamen Bundev) bundyo

View GitHub Profile
@bundyo
bundyo / gist:2252670
Created March 30, 2012 16:34
Kendo UI Menu item source
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.common.min.css">
<link rel="stylesheet" type="text/css" href="http://cdn.kendostatic.com/2011.3.1129/styles/kendo.blueopal.min.css">
<script type='text/javascript' src="http://cdn.kendostatic.com/2011.3.1129/js/kendo.all.min.js"></script>
</head>
<body>
@bundyo
bundyo / dabblet.css
Created September 28, 2012 05:17
Untitled
.container
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
}
@bundyo
bundyo / dabblet.css
Created September 28, 2012 05:17
Untitled
.container
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
}
@bundyo
bundyo / dabblet.css
Created February 5, 2013 09:40
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body
{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@bundyo
bundyo / dabblet.css
Created March 4, 2013 08:44 — forked from LeaVerou/dabblet.css
Failed attempt at gracefully degrading switch-style checkboxes
/**
* Failed attempt at gracefully degrading switch-style checkboxes
* without pseudoelements (which shouldn’t exist on replaced elements) and extra elements.
* Inspired by Espresso’s “Tools” switch
* DO NOT USE. Currently only works properly in WebKit :(
*/
input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked { /* :checked here acting as a filter for older browsers */
appearance: none;
@bundyo
bundyo / dabblet.css
Created January 15, 2014 13:45 — forked from LeaVerou/dabblet.css
(C)Leanest CSS spinner ever
/**
* (C)Leanest CSS spinner ever
*/
@keyframes spin {
to { transform: rotate(1turn); }
}
.progress {
position: relative;
@bundyo
bundyo / kendo-docs.html
Created November 20, 2013 15:43
Kendo UI Docs Markdown Editor
<!--
Taken and extended from https://gist.github.com/jdkanani/4670615
-->
data:text/html,<style%20type="text/css">.e{position:absolute;top:0;right:50%;bottom:0;left:0;}%20.c{position:absolute;overflow:auto;top:0;right:0;bottom:0;left:50%;}</style><div%20class="e"%20id="editor"></div><div%20class="c"></div><link%20href="http://bundyo.org/markdown.css"%20type="text/css"%20rel="stylesheet"%20/><script%20src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js"%20type="text/javascript"%20charset="utf-8"></script><script%20src="http://cdnjs.cloudflare.com/ajax/libs/showdown/0.3.1/showdown.min.js"></script><script>%20function%20showResult(e){consoleEl.innerHTML=e}var%20e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/markdown");var%20consoleEl=document.getElementsByClassName("c")[0];var%20converter=new%20Showdown.converter;e.commands.addCommand({name:"markdown",bindKey:{win:"Ctrl-M",mac:"Command-M"},exec:function(t){var%20n=e.getSession().getMode().$id;if(n=="ace/mod