You are here

book.css in AT Tools 8.2

@charset "UTF-8";
/**
 * Book
 *  - Set styles for book navigation and the menu tree.
 ============================================================================ */
.menu--book-tree {
  margin-bottom: 1rem;
}

.menu--book-tree .menu__item a {
  margin-top: 0;
}

.book-pager {
  padding: 1rem 0;
  text-align: center;
  overflow: auto;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media screen and (min-width: 45.0625em) {
  .book-pager {
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.book-pager__item {
  list-style: none;
  vertical-align: top;
  width: 100%;
  margin-bottom: 2px;
}

.book-pager__link {
  padding: 0.25rem;
  display: inline-block;
  position: relative;
}

.book-pager__link:before, .book-pager__link:after {
  text-align: center;
  font-family: FontAwesome, sans-serif;
  position: absolute;
  top: 0;
  padding-top: 0.25rem;
  width: 1rem;
  display: none;
}

.fa-loaded .book-pager__link:before, .fa-loaded .book-pager__link:after {
  display: inline-block !important;
}

[dir="rtl"] .book-pager__link:before, [dir="rtl"] .book-pager__link:after {
  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

@media screen and (max-width: 45em) {
  .book-pager__previous {
    -webkit-order: 2;
        -ms-flex-order: 2;
            order: 2;
  }
}

@media screen and (min-width: 45.0625em) {
  .book-pager__previous {
    text-align: left;
    margin-right: auto;
    width: 46%;
  }
}

.book-pager__previous a.book-pager__link {
  padding-left: 1.5rem;
}

.book-pager__previous a.book-pager__link:before {
  content: "";
  left: 0;
}

@media screen and (max-width: 45em) {
  .book-pager__up {
    -webkit-order: 1;
        -ms-flex-order: 1;
            order: 1;
  }
}

@media screen and (min-width: 45.0625em) {
  .book-pager__up {
    text-align: center;
    width: 8%;
  }
}

@media screen and (max-width: 45em) {
  .book-pager__next {
    -webkit-order: 3;
        -ms-flex-order: 3;
            order: 3;
  }
}

@media screen and (min-width: 45.0625em) {
  .book-pager__next {
    text-align: right;
    margin-left: auto;
    width: 46%;
  }
}

.book-pager__next a.book-pager__link {
  padding-right: 1.5rem;
}

.book-pager__next a.book-pager__link:after {
  content: "";
  right: 0;
}
/*# sourceMappingURL=book.css.map */

File

at_theme_generator/starterkits/starterkit/styles/css/components/book.css
View source
  1. @charset "UTF-8";
  2. /**
  3. * Book
  4. * - Set styles for book navigation and the menu tree.
  5. ============================================================================ */
  6. .menu--book-tree {
  7. margin-bottom: 1rem;
  8. }
  9. .menu--book-tree .menu__item a {
  10. margin-top: 0;
  11. }
  12. .book-pager {
  13. padding: 1rem 0;
  14. text-align: center;
  15. overflow: auto;
  16. border-top: 1px solid #cccccc;
  17. border-bottom: 1px solid #cccccc;
  18. display: -webkit-flex;
  19. display: -ms-flexbox;
  20. display: flex;
  21. -webkit-flex-direction: column;
  22. -ms-flex-direction: column;
  23. flex-direction: column;
  24. }
  25. @media screen and (min-width: 45.0625em) {
  26. .book-pager {
  27. -webkit-flex-direction: row;
  28. -ms-flex-direction: row;
  29. flex-direction: row;
  30. -webkit-flex-wrap: wrap;
  31. -ms-flex-wrap: wrap;
  32. flex-wrap: wrap;
  33. -webkit-justify-content: space-between;
  34. -ms-flex-pack: justify;
  35. justify-content: space-between;
  36. }
  37. }
  38. .book-pager__item {
  39. list-style: none;
  40. vertical-align: top;
  41. width: 100%;
  42. margin-bottom: 2px;
  43. }
  44. .book-pager__link {
  45. padding: 0.25rem;
  46. display: inline-block;
  47. position: relative;
  48. }
  49. .book-pager__link:before, .book-pager__link:after {
  50. text-align: center;
  51. font-family: FontAwesome, sans-serif;
  52. position: absolute;
  53. top: 0;
  54. padding-top: 0.25rem;
  55. width: 1rem;
  56. display: none;
  57. }
  58. .fa-loaded .book-pager__link:before, .fa-loaded .book-pager__link:after {
  59. display: inline-block !important;
  60. }
  61. [dir="rtl"] .book-pager__link:before, [dir="rtl"] .book-pager__link:after {
  62. -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
  63. -webkit-transform: scale(-1, 1);
  64. -ms-transform: scale(-1, 1);
  65. transform: scale(-1, 1);
  66. }
  67. @media screen and (max-width: 45em) {
  68. .book-pager__previous {
  69. -webkit-order: 2;
  70. -ms-flex-order: 2;
  71. order: 2;
  72. }
  73. }
  74. @media screen and (min-width: 45.0625em) {
  75. .book-pager__previous {
  76. text-align: left;
  77. margin-right: auto;
  78. width: 46%;
  79. }
  80. }
  81. .book-pager__previous a.book-pager__link {
  82. padding-left: 1.5rem;
  83. }
  84. .book-pager__previous a.book-pager__link:before {
  85. content: "";
  86. left: 0;
  87. }
  88. @media screen and (max-width: 45em) {
  89. .book-pager__up {
  90. -webkit-order: 1;
  91. -ms-flex-order: 1;
  92. order: 1;
  93. }
  94. }
  95. @media screen and (min-width: 45.0625em) {
  96. .book-pager__up {
  97. text-align: center;
  98. width: 8%;
  99. }
  100. }
  101. @media screen and (max-width: 45em) {
  102. .book-pager__next {
  103. -webkit-order: 3;
  104. -ms-flex-order: 3;
  105. order: 3;
  106. }
  107. }
  108. @media screen and (min-width: 45.0625em) {
  109. .book-pager__next {
  110. text-align: right;
  111. margin-left: auto;
  112. width: 46%;
  113. }
  114. }
  115. .book-pager__next a.book-pager__link {
  116. padding-right: 1.5rem;
  117. }
  118. .book-pager__next a.book-pager__link:after {
  119. content: "";
  120. right: 0;
  121. }
  122. /*# sourceMappingURL=book.css.map */