From b667d5b664ec0dd95c8f58319cdeb4950a888056 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Mon, 7 Jul 2014 14:17:00 +0000 Subject: [PATCH] include reference universe widget --- tools/htdocs/external/koha/Makefile | 11 +++++- tools/htdocs/external/koha/koha-mkws-complete.css | 43 +++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/tools/htdocs/external/koha/Makefile b/tools/htdocs/external/koha/Makefile index 7bfbbed..560545b 100644 --- a/tools/htdocs/external/koha/Makefile +++ b/tools/htdocs/external/koha/Makefile @@ -1,5 +1,9 @@ +# Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com +# +# this makefile will generate CSS files for Koha MKWS widgets + E_DIR= ../../../../examples/htdocs -COMPONENTS = ${E_DIR}/mkws-widget-reference.css +COMPONENTS = ${E_DIR}/mkws-widget-reference.css koha-mkws-widget-ru.css KOHA_CSS = koha-mkws.css KOHA_COMPLETE_CSS = koha-mkws-complete.css @@ -9,10 +13,13 @@ all: ${KOHA_COMPLETE_CSS} clean: rm -f ${KOHA_COMPLETE_CSS} -${KOHA_COMPLETE_CSS}: +${KOHA_COMPLETE_CSS}: ${COMPONENTS} ${KOHA_CSS} cat ${COMPONENTS} ${KOHA_CSS} > $@.tmp mv -f $@.tmp $@ distclean: clean rm -f *.orig *.bak *.rej +help: + @echo "make [ all | clean ]" + diff --git a/tools/htdocs/external/koha/koha-mkws-complete.css b/tools/htdocs/external/koha/koha-mkws-complete.css index 7daa169..d52efb3 100644 --- a/tools/htdocs/external/koha/koha-mkws-complete.css +++ b/tools/htdocs/external/koha/koha-mkws-complete.css @@ -32,6 +32,49 @@ content: "Source: "; font-weight: bold; } +/* original "ru" config +.mkwsReferenceUniverse { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + background: #FCFBFA; + padding: 0.5em 1em 0.25em; + box-shadow: 0 0 2px 0 #7F8F93; + border-radius: 0 0 1.5em; + -moz-border-radius: 0 0 1.5em; + -webkit-border-radius: 0 0 1.5em; + line-height: 1.4; + color: #86979B; + background: radial-gradient(ellipse at center, #ffffff 0%,#f8f8f8 100%); +} +*/ + +.mkwsReferenceUniverse { + padding: 0.5em 1em 0.25em; +} + +.mkwsReferenceUniverse h2 { + font-size: 100%; + color: #4A5456; + padding-bottom: .5em; +} + +.mkwsReferenceUniverse ul { + margin: 0; + padding: 0; +} + +.mkwsReferenceUniverse li { + margin: .95em .25em; + padding-top: .75em; + border-top: 1px dotted #BEC8CC; + font-size: 90%; + list-style: none; +} + +.mkwsReferenceUniverse a { + text-decoration: none; + font-weight:bold; + color: #2B77AF; +} /*! Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com * Licence: GPL, http://www.indexdata.com/licences/gpl * -- 1.7.10.4