You are here

views_blogspot_archive.css in Views Blogspot Archive 8

/* Remove default bullets */
.vba-archive ul {
  list-style-type: none;
  display: none;
}

/* Remove margins and padding from the parent ul */
.vba-archive > ul {
  margin: 0;
  padding: 0;
}

/* Style the caret/arrow */
.vba-archive .caret {
  cursor: pointer;
  user-select: none; /* Prevent text selection */
}

/* Create the caret/arrow with a unicode, and style it */
.vba-archive .caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 6px;
}

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.vba-archive .caret-down::before {
  transform: rotate(90deg);
}

.vba-archive {
  display: block !important;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.vba-archive .active {
  display: block;
}

File

css/views_blogspot_archive.css
View source
  1. /* Remove default bullets */
  2. .vba-archive ul {
  3. list-style-type: none;
  4. display: none;
  5. }
  6. /* Remove margins and padding from the parent ul */
  7. .vba-archive > ul {
  8. margin: 0;
  9. padding: 0;
  10. }
  11. /* Style the caret/arrow */
  12. .vba-archive .caret {
  13. cursor: pointer;
  14. user-select: none; /* Prevent text selection */
  15. }
  16. /* Create the caret/arrow with a unicode, and style it */
  17. .vba-archive .caret::before {
  18. content: "\25B6";
  19. color: black;
  20. display: inline-block;
  21. margin-right: 6px;
  22. }
  23. /* Rotate the caret/arrow icon when clicked on (using JavaScript) */
  24. .vba-archive .caret-down::before {
  25. transform: rotate(90deg);
  26. }
  27. .vba-archive {
  28. display: block !important;
  29. }
  30. /* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
  31. .vba-archive .active {
  32. display: block;
  33. }