You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

86 lines
2.1 KiB

  1. /**
  2. * This file provides the design styles for the breadcrumb
  3. */
  4. .breadcrumbs {
  5. position: relative;
  6. min-height: @page-header_height;
  7. box-sizing: border-box;
  8. background-color: @ini_background;
  9. border-bottom: 1px solid @ini_border_light;
  10. padding: 1rem 1.8rem .2rem;
  11. @media @screen_max-md {
  12. background-color: @ini_background_page_header;
  13. }
  14. @media @screen_max-xs {
  15. padding-left: @margin-small;
  16. padding-right: .75rem;
  17. }
  18. @media @screen_xs-lg {
  19. background-color: @ini_background;
  20. }
  21. > p {
  22. font-size: @font-size-small;
  23. margin: 0;
  24. @media @screen_max-xs{
  25. width: 1px;
  26. position: relative;
  27. overflow: hidden;
  28. height: 1.6rem;
  29. }
  30. * {
  31. font-size: @font-size-small;
  32. }
  33. .bchead {
  34. .sr-only();
  35. }
  36. span.home {
  37. margin-left: -.2rem; // reverse spacing in home icon --> content text and home icon aligned
  38. .wide-content & {
  39. margin-left: .4rem; //toggle link has position absolute, hover on home icon needs more space than left padding of breadcrumb
  40. }
  41. a {
  42. .fontello();
  43. .hide-text-show-before();
  44. .icon-home();
  45. min-height: 1.8em;
  46. min-width: 1.9em;
  47. width: auto;
  48. box-sizing: border-box;
  49. border: solid 1px transparent;
  50. border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius
  51. vertical-align: middle;
  52. text-decoration: none;
  53. margin-top: -.2em;
  54. transition: @transition border-color;
  55. &:before {
  56. font-size: @font-size-default + (@font-scale-factor * 2);
  57. margin-top: .17rem;
  58. }
  59. &:hover,
  60. &:focus,
  61. &:active {
  62. border-color: @ini_existing;
  63. }
  64. }
  65. }
  66. bdi {
  67. padding: .1em .1em 0;
  68. }
  69. }
  70. }