Skip to content

Instantly share code, notes, and snippets.

View kkriehl's full-sized avatar

Kristian Kriehl kkriehl

  • dynabase Technologies GmbH
  • Cologne, Germany
View GitHub Profile
@kkriehl
kkriehl / offclick.js
Last active October 1, 2015 15:10
A solution for registering the click/touchend outside an element without stopping event propagation
// usage: data-offclick='json-config'
// config: {
// "target": "selector", // -> optional child selector for action/trigger target
// "action": "action", // -> optional action to execute - for now only "uncheck" a checkbox
// "trigger": "event" // -> optional event to trigger (not if action specified) - default is "offclick"
// }
;(function($, window, document, undefined) {
'use strict';
@kkriehl
kkriehl / gist:47ccdc1f458373c8d8e763e1898cf7f1
Created May 27, 2016 07:26
Mattermost: KDE Breeze Theme
#31363b,#fff,#3a4046,#FFFFFF,#fff,#334e5e,#3daee9,#FFFFFF,#27ae60,#c6970c,#27ae60,#FFFFFF,#232629,#DDDDDD,#3daee9,#da4453,#A4FFEB,#3daee9,#334e5e,#FFFFFF,monokai