You are here

search_api_glossary.facet.css in Search API AZ Glossary 8.4

Facet styles for the Search API Glossary module.

File

css/search_api_glossary.facet.css
View source
  1. /**
  2. * @file
  3. * Facet styles for the Search API Glossary module.
  4. */
  5. .block-facets ul {
  6. overflow: hidden;
  7. }
  8. .block-facets .glossaryaz {
  9. list-style: none;
  10. text-align: center;
  11. float: left;
  12. margin: 1%;
  13. width: 5%;
  14. height: 5%;
  15. min-width: 4em;
  16. min-height: 4em;
  17. text-transform: capitalize;
  18. line-height: 4em;
  19. font-weight: bold;
  20. padding: 0;
  21. font-family: sans-serif;
  22. font-size: 1.1em;
  23. }
  24. .block-facets .glossaryaz.no-results {
  25. background: #eaeaea;
  26. border: 0 none;
  27. color: #aaaaaa;
  28. }
  29. .block-facets .glossaryaz.yes-results {
  30. background: #00a6ed;
  31. border: 0 none;
  32. color: #ffffff;
  33. }
  34. .block-facets .glossaryaz.yes-results a {
  35. border: 0 none;
  36. color: #ffffff;
  37. display: block;
  38. }
  39. .block-facets .glossaryaz.yes-results a.is-inactive:hover {
  40. background: #ffb400;
  41. color: #ffffff;
  42. }
  43. .block-facets .glossaryaz.is-active {
  44. background: #f6511d;
  45. border: 0 none;
  46. }
  47. .block-facets .glossaryaz.is-active a {
  48. border: 0 none;
  49. color: #ffffff;
  50. }