This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, h1, h2, h3, h4, h5, h6 { | |
color: #fff; | |
} | |
body { | |
margin-top: 0; | |
} | |
body, | |
.content { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn get-canvas [] | |
"Returns canvas that will be fullscreened after a click." | |
(let [canvas (.getElementById js/document "article") | |
btnStatusBoard (.getElementById js/document "btnStatusBoard")] | |
(when canvas (.addEventListener btnStatusBoard "click" #(.webkitRequestFullscreen canvas))) | |
canvas)) | |
(dom/button #js {:className "c-button c-button--text" | |
:id "btnStatusBoard" | |
:title (tr "Fullscreen")} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns project.ui.style-helpers | |
(:require [om.next :as om :refer-macros [defui]] | |
[om.dom :as dom] | |
[om-css.core :as csc] | |
[garden.core :as g] | |
[garden.stylesheet :as gs] | |
[garden.selectors :as s])) | |
(def ^:once browsers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns project.ui.color) | |
(def orange | |
{:50 "#ffcc80" | |
:100 "#ffc16d" | |
:200 "#ffb75c" | |
:300 "#ffad4a" | |
:400 "#fea139" | |
:500 "#ff9800" | |
:600 "#f98d1d" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns projectName.core | |
(:require | |
goog.object | |
[om.next :as om :refer-macros [defui]] | |
[om.dom :as dom] | |
[untangled.dom :as udom] | |
)) | |
(defui Root | |
Object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.padding-class { | |
&__full { padding: 1em; } | |
&__half { padding: calc(1em / 2); } | |
&__quarter { padding: calc(1em / 4); } | |
&__double { padding: calc(1em * 2); } | |
&__treble { padding: calc(1em * 3); } | |
&__quadruple { padding: calc(1em * 4); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Josh Lee" ]; | |
then export GIT_AUTHOR_NAME="Hobo Bob"; export [email protected]; | |
fi; git commit-tree "$@"' |