You are here

book.css in AT Tools 8.3

@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-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

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