Merge branch 'MDL-81713-main' of https://github.com/junpataleta/moodle
[moodle.git] / mod / book / styles.css
blobbff952db56c662ff846a71e5ce1c0a21a56715ae
1 /* == Fake toc block == */
2 .path-mod-book .book_toc .action-list img.smallicon {
3 margin: 0 3px;
6 /* toc style INDENTED*/
7 .path-mod-book .book_toc ul {
8 display: flex;
9 flex-direction: column;
11 .path-mod-book .book_toc li {
12 flex: 1 1 100%;
14 .path-mod-book .book_toc_indented > ul {
15 margin-left: 0;
16 padding-left: 0;
19 .path-mod-book .book_toc_indented li {
20 list-style: none;
23 /* toc style BULLETED*/
24 .path-mod-book .book_toc_bullets > ul {
25 margin-left: 0;
26 padding-left: 1.3rem;
28 .path-mod-book .book_toc_bullets li {
29 list-style: disc;
32 /* toc style NUMBERED*/
33 .path-mod-book .book_toc_numbered > ul {
34 margin-left: 0;
35 padding-left: 0;
38 .path-mod-book .book_toc_numbered li {
39 list-style: none;
42 /* toc style NONE*/
43 .path-mod-book .book_toc_none ul {
44 margin-left: 0;
45 padding-left: 0;
48 .path-mod-book .book_toc_none li {
49 list-style: none;
52 .path-mod-book #mod_book-chaptersnavigation {
53 top: 80px;
54 width: inherit;
55 margin: 0 -35px;
56 position: sticky; /* Make navigation sticky. */
59 .path-mod-book #mod_book-chaptersnavigation .tertiary-navigation .navitem {
60 margin-bottom: -52px;
63 .path-mod-book .book_content {
64 margin: 0 5px;
65 padding-right: 15px;
66 padding-left: 15px;
67 position: relative; /* Chapter navigation should not float on top of content. */
70 .path-mod-book .btn-previous,
71 .path-mod-book .btn-next {
72 background: #dee2e6;
73 box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 0.075);
74 padding: 13px 10px;
77 .path-mod-book .btn-previous {
78 border-radius: 200px 0 0 200px;
81 .path-mod-book .btn-next {
82 border-radius: 0 200px 200px 0;
85 .path-mod-book.dir-rtl .btn-previous .icon,
86 .path-mod-book.dir-rtl .btn-next .icon {
87 transform: scale(-1, -1); /* Flip the icons in RTL languages */
90 .path-mod-book .btn-previous .icon,
91 .path-mod-book .btn-next .icon {
92 font-size: 24px;
93 width: auto;
94 height: auto;
95 margin: auto;
98 @media (max-width: 768px) {
99 .path-mod-book #mod_book-chaptersnavigation {
100 top: calc(100% - 250px);
101 margin: 0 -0.5rem;
102 z-index: 1;
105 .path-mod-book .btn-previous,
106 .path-mod-book .btn-next {
107 opacity: 0.85;
108 border-radius: 25px;
109 padding: 10px;
110 width: 45px;
111 height: 45px;
114 .path-mod-book .book_content {
115 margin-left: -5px;
116 margin-right: -5px;