From ec92c9d1461b860856a14bb7df6668a6eea60ba5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 May 2008 06:17:49 +0100 Subject: shamelessly round the hotkey popup help corners --- functions.php | 13 +++++++++++++ images/c1.png | Bin 0 -> 386 bytes images/c2.png | Bin 0 -> 448 bytes images/c3.png | Bin 0 -> 435 bytes images/c4.png | Bin 0 -> 464 bytes tt-rss.css | 37 +++++++++++++++++++++++++++++++++++-- tt-rss.php | 4 +++- 7 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 images/c1.png create mode 100644 images/c2.png create mode 100644 images/c3.png create mode 100644 images/c4.png diff --git a/functions.php b/functions.php index 3dc4f4b60..a8cb09fe4 100644 --- a/functions.php +++ b/functions.php @@ -5516,4 +5516,17 @@ return "score_neutral.png"; } } + + function rounded_table_start($classname) { + print ""; + print ""; + print ""; + print ""; + print "
   
 "; + } + + function rounded_table_end() { + print " 
   
"; + } + ?> diff --git a/images/c1.png b/images/c1.png new file mode 100644 index 000000000..fbe27bde0 Binary files /dev/null and b/images/c1.png differ diff --git a/images/c2.png b/images/c2.png new file mode 100644 index 000000000..6bf3db1ed Binary files /dev/null and b/images/c2.png differ diff --git a/images/c3.png b/images/c3.png new file mode 100644 index 000000000..4a052d946 Binary files /dev/null and b/images/c3.png differ diff --git a/images/c4.png b/images/c4.png new file mode 100644 index 000000000..1d9c619ba Binary files /dev/null and b/images/c4.png differ diff --git a/tt-rss.css b/tt-rss.css index 13daa8145..d6ecdd766 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -1795,8 +1795,6 @@ div#hotkey_help_overlay { right : 15%; top : 15%; z-index : 999; - background : url("images/shadow_dark.png"); - padding : 1em; color : white; font-size : 12pt; } @@ -1838,4 +1836,39 @@ div#hotkey_help_overlay h2 { color : #88b0f0; } +div#hotkey_help_overlay table.hho td.c1 { + height : 30px; + width : 30px; + background : url("images/c1.png"); + background-repeat : no-repeat; + +} + +div#hotkey_help_overlay table.hho td.c2 { + height : 30px; + width : 30px; + background : url("images/c2.png"); + background-repeat : no-repeat; +} + +div#hotkey_help_overlay table.hho td.c3 { + height : 30px; + width : 30px; + background : url("images/c3.png"); + background-repeat : no-repeat; +} +div#hotkey_help_overlay table.hho td.c4 { + height : 30px; + width : 30px; + background : url("images/c4.png"); + background-repeat : no-repeat; +} + +div#hotkey_help_overlay table.hho td.top, +div#hotkey_help_overlay table.hho td.left, +div#hotkey_help_overlay table.hho td.right, +div#hotkey_help_overlay table.hho td.bottom, +div#hotkey_help_overlay table.hho td.content { + background : url("images/shadow_dark.png"); +} diff --git a/tt-rss.php b/tt-rss.php index 1f0e6d4ab..972aebb67 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -82,8 +82,10 @@ -