kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Merge pull request #1228 from tobibeer/button.tc-tiddlylink
allows to style buttons as though internal linksprint-window-tiddler
commit
b29973312d
|
@ -35,3 +35,5 @@ The content of the `<$button>` widget is displayed within the button.
|
|||
|style |An optional CSS style attribute to be assigned to the HTML element |
|
||||
|selectedClass |An optional additional CSS class to be assigned if the popup is triggered or the tiddler specified in `set` already has the value specified in `setTo` |
|
||||
|default |Default value if `set` tiddler is missing for testing against `setTo` to determine `selectedClass` |
|
||||
|
||||
''Tip:'' Set ''class'' to `tc-btn-invisble tc-tiddlylink` to have a button look like an internal link.
|
|
@ -139,6 +139,7 @@ table tfoot tr td {
|
|||
** Links
|
||||
*/
|
||||
|
||||
button.tc-tiddlylink,
|
||||
a.tc-tiddlylink {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
|
@ -154,6 +155,7 @@ a.tc-tiddlylink {
|
|||
color: <<colour sidebar-tiddler-link-foreground-hover>>;
|
||||
}
|
||||
|
||||
button.tc-tiddlylink:hover,
|
||||
a.tc-tiddlylink:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue