mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 11:31:30 +00:00
shamelessly round the hotkey popup help corners
This commit is contained in:
@@ -5516,4 +5516,17 @@
|
|||||||
return "score_neutral.png";
|
return "score_neutral.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function rounded_table_start($classname) {
|
||||||
|
print "<table width='100%' class='$classname' cellspacing='0' cellpadding='0'>";
|
||||||
|
print "<tr><td class='c1'> </td><td class='top'> </td><td class='c2'> </tr>";
|
||||||
|
print "<tr><td class='left'> </td><td class='content'>";
|
||||||
|
}
|
||||||
|
|
||||||
|
function rounded_table_end() {
|
||||||
|
print "</td><td class='right'> </td></tr>";
|
||||||
|
print "<tr><td class='c4'> </td><td class='bottom'> </td><td class='c3'> </tr>";
|
||||||
|
print "</table>";
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
BIN
images/c1.png
Normal file
BIN
images/c1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 386 B |
BIN
images/c2.png
Normal file
BIN
images/c2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 448 B |
BIN
images/c3.png
Normal file
BIN
images/c3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 435 B |
BIN
images/c4.png
Normal file
BIN
images/c4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 464 B |
37
tt-rss.css
37
tt-rss.css
@@ -1795,8 +1795,6 @@ div#hotkey_help_overlay {
|
|||||||
right : 15%;
|
right : 15%;
|
||||||
top : 15%;
|
top : 15%;
|
||||||
z-index : 999;
|
z-index : 999;
|
||||||
background : url("images/shadow_dark.png");
|
|
||||||
padding : 1em;
|
|
||||||
color : white;
|
color : white;
|
||||||
font-size : 12pt;
|
font-size : 12pt;
|
||||||
}
|
}
|
||||||
@@ -1838,4 +1836,39 @@ div#hotkey_help_overlay h2 {
|
|||||||
color : #88b0f0;
|
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");
|
||||||
|
}
|
||||||
|
|||||||
@@ -82,8 +82,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hotkey_help_overlay" style="display : none" onclick="Element.hide(this)">
|
<div id="hotkey_help_overlay" style="display : block" onclick="Element.hide(this)">
|
||||||
|
<?php rounded_table_start("hho"); ?>
|
||||||
<?php include "help/3.php" ?>
|
<?php include "help/3.php" ?>
|
||||||
|
<?php rounded_table_end(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="notify" class="notify"><span id="notify_body"> </span></div>
|
<div id="notify" class="notify"><span id="notify_body"> </span></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user