From 32d19fe85e8dd729e46c3c9aa6f46346e845abcf Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Fri, 27 Jun 2014 13:43:35 +0200 Subject: [PATCH] added pink style --- index.html | 1 + uhr-pink.css | 36 ++++++++++++++++++++++++++++++++++++ uhr.js | 1 + 3 files changed, 38 insertions(+) create mode 100644 uhr-pink.css diff --git a/index.html b/index.html index 5b95933..9b62107 100644 --- a/index.html +++ b/index.html @@ -26,6 +26,7 @@ along with this program. If not, see . + diff --git a/uhr-pink.css b/uhr-pink.css new file mode 100644 index 0000000..bc38351 --- /dev/null +++ b/uhr-pink.css @@ -0,0 +1,36 @@ +/* +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +.uhr.pink { + background-color: #f0a; +} +.uhr.pink .dot.active{ + border-color: #fff; + box-shadow: 0 0 0.1em #fff; +} +.uhr.pink .letter.active{ + color: #fff; + text-shadow: 0 0 0.1em #fff; +} +.pink .onoffswitch-inner:before { + background-color: #f0a; +} +.uhr.pink .dot:not(.active) { + border-color: rgba(255,255,255,0.1); + box-shadow: 0 0 0.1em rgba(255,255,255,0.1); +} +.uhr.pink .letter:not(.active) { + color: rgba(255,255,255,0.1); + text-shadow: 0 0 0.1em rgba(255,255,255,0.1); +} diff --git a/uhr.js b/uhr.js index 74f0213..6982d62 100644 --- a/uhr.js +++ b/uhr.js @@ -227,6 +227,7 @@ along with this program. If not, see . themeChooser.append(''); themeChooser.append(''); themeChooser.append(''); + themeChooser.append(''); e.after(themeChooser); } },