Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem 1. corrected sidebar fonts to monospace. Changed bullets to u… #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pmxperiment
Copy link

@pmxperiment pmxperiment commented Jan 19, 2018

The PR fixes the sidebar font & bullets inconsistency issues.
All sidebars now in monospace font. All bullets now unfilled circles

#1

Sidebar fonts:

  1. Located the correct class that controls the font for the “tags” sidebar with a global search.
    It was in bootstrap-2/stylesheets.style.css. the class is called “.sidebar-title”

  2. Located the html file with class that controls the in-correct font for the “archive” sidebar.
    It was in lib/author_sidebar/app/views/archive_sidebar/_content.html.erb.
    I changed the “.sidebar_title” into “.sidebar-title.”

  3. Located the css file with class that controls the in-correct font for the “archive” sidebar.
    It was in sidebar_admin.css.scss
    changed the “.sidebar_title” into “.sidebar-title.”

Sidebar bullets:

  1. In archives_sidebar/_contents.html.erb I set the “sidebar_body” to match “sidebar-body” class with the unfilled styling.

@@ -1,5 +1,5 @@
<% unless sidebar.authors.blank? %>
<h3 class="sidebar-title"><%= t(".authors")%></h3>
<h3 class="sidebar_title"><%= t(".authors")%></h3>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary?

Copy link
Author

@pmxperiment pmxperiment Jan 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was an accident in debugging. i should change it back

@@ -22,7 +22,7 @@
padding: 45px;
border: 1px solid #ccc;
}
.sidebar_item {
.sidebar-item {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this because this controlled the font styling for the Archive sidebar. I could've left this css file alone and only changed the class on the HTML file. Now I know it is an unnecessary change.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sidebar-item is not a class used anywhere.

Please push changes addressing my comments to this same branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants