diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 12a5a8089..b8122b4a0 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -132,7 +132,7 @@ h2 { /* Rules for the menu displayed in the left sidebar */ .left_menu { - padding: 5px; + padding: 5px 10px; margin: 4px 0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; @@ -156,6 +156,13 @@ h2 { padding: 0px; } +/* submenus */ +.left_menu ul li ul { + font-weight: normal; + line-height: 15px; + font-size: 12px; +} + .left_menu a { color: #000; } @@ -178,7 +185,7 @@ h2 { */ .optionalbox { - padding: 5px; + padding: 5px 10px; margin: 4px 0; border-top: 1px solid #ccc; } @@ -210,7 +217,7 @@ h2 { } #search_field input[type="text"] { - width: 136px; + width: 130px; } #search_field input[type="submit"] { diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index b6fb08986..14cf7b003 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -32,20 +32,17 @@ historyclass = 'geolink bbox minzoom11' exportclass = 'geolink llz layers' traceclass = '' - diaryclass = '' viewclass += ' active' if params['controller'] == 'site' and params['action'] == 'index' editclass += ' active' if params['controller'] == 'site' and params['action'] == 'edit' historyclass += ' active' if params['controller'] == 'changeset' and params['action'] == 'list' exportclass += ' active' if params['controller'] == 'site' and params['action'] == 'export' traceclass += ' active' if params['controller'] == 'trace' - diaryclass += ' active' if params['controller'] == 'diary_entry' %>