diff --git a/css/plugins/starred.less b/css/plugins/starred.less index 6c3e0c6..057a04c 100644 --- a/css/plugins/starred.less +++ b/css/plugins/starred.less @@ -2,9 +2,38 @@ * This file provides styles for starred plugin */ +.page-attributes { + li.plugin_starred { + .starred svg { + margin-top: .1em; + width: 1.6em; + height: 1.6em; + font-size: 0.82rem; + fill: @ini_nav_menu_color; + } -/* + + + + + global + + + + + */ + .starred.on svg { + fill: @ini_link; + } -#dokuwiki__site { + a:hover, + a:active { + .starred svg { + fill: @ini_nav_menu_hover_bg; + } + } + } +} + +nav.nav-starred { + ul { + list-style: none; + li { + margin-left: 0; + svg { + vertical-align: middle; + } + } + } } diff --git a/img/star-circle.svg b/img/star-circle.svg new file mode 100644 index 0000000..b71b998 --- /dev/null +++ b/img/star-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/lang/en/lang.php b/lang/en/lang.php index 6acde0a..679c2ba 100755 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -23,6 +23,7 @@ $lang['head_menu_status'] = 'site status'; $lang['head_breadcrumb'] = 'location indicator'; $lang['head_menu_trace'] = 'Last Visited Pages'; $lang['head_meta_box'] = 'meta data for this page'; +$lang['head_menu_starred'] = 'Starred Pages'; $lang['jump_to_quicksearch'] = 'Jump to quick search'; diff --git a/style.ini b/style.ini index e65c476..1cba47d 100755 --- a/style.ini +++ b/style.ini @@ -105,6 +105,7 @@ css/plugins/edittable.less = all css/plugins/extension__manager.less = all css/plugins/folded.less = all css/plugins/configmanager.less = all +css/plugins/starred.less = all ; _____________ print styles _____________ diff --git a/tpl/main-sidebar-nav.php b/tpl/main-sidebar-nav.php index 4fe6344..7998827 100644 --- a/tpl/main-sidebar-nav.php +++ b/tpl/main-sidebar-nav.php @@ -48,6 +48,35 @@ +loadStars(); +if($stars): + ?> + + + +