diff --git a/css/toollist.less b/css/toollist.less new file mode 100644 index 0000000..1cd2459 --- /dev/null +++ b/css/toollist.less @@ -0,0 +1,30 @@ +/** + * Styles for site tools and user tools in sidebar + * + * Using BEM methodology as far as possible + */ + +.toollist { +} + +.toollist__listitem { + list-style: none; + + a { + display: inline-flex; + flex-direction: row-reverse; + flex-wrap: nowrap; + align-items: center; + } + + span { + font-size: @font-size-default; + } + + svg { + width: @font-size-default; + vertical-align: middle; + fill: @ini_nav_menu_color; + margin-right: .2em; + } +} diff --git a/style.ini b/style.ini index d88a515..abb7b83 100755 --- a/style.ini +++ b/style.ini @@ -84,6 +84,9 @@ css/area_recent.less = all css/template_admin.less = all css/template_detail.less = all +; ____________ block styles ________________ +css/toollist.less = all + ; _____________ plugin styles _____________ diff --git a/tpl/main-sidebar-nav.php b/tpl/main-sidebar-nav.php index 7157957..3079428 100644 --- a/tpl/main-sidebar-nav.php +++ b/tpl/main-sidebar-nav.php @@ -10,10 +10,10 @@