| 
									
										
										
										
											2019-01-13 23:54:55 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | .book-contents .entity-list-item { | 
					
						
							|  |  |  |   .icon { | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |     width: 4px; | 
					
						
							|  |  |  |     border-radius: 1px; | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     justify-self: stretch; | 
					
						
							|  |  |  |     align-self: stretch; | 
					
						
							|  |  |  |     height: auto; | 
					
						
							| 
									
										
										
										
											2022-05-18 20:28:34 +08:00
										 |  |  |     margin-inline-end: $-xs; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |   .icon:after { | 
					
						
							|  |  |  |     opacity: 0.5; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .icon svg { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-01-13 23:54:55 +08:00
										 |  |  |   p { | 
					
						
							|  |  |  |     margin-bottom: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .inner-page { | 
					
						
							|  |  |  |     padding-top: 0; | 
					
						
							|  |  |  |     padding-bottom: 0; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .entity-list-item + .chapter-expansion { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   padding: 0 $-m $-m $-m; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   border: 0; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   > .icon { | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |     width: 4px; | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     height: auto; | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |     border-radius: 0 0 1px 1px; | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     align-self: stretch; | 
					
						
							|  |  |  |     flex-shrink: 0; | 
					
						
							|  |  |  |     &:before { | 
					
						
							|  |  |  |       position: absolute; | 
					
						
							|  |  |  |       top: 0; | 
					
						
							|  |  |  |       left: 0; | 
					
						
							|  |  |  |       width: 100%; | 
					
						
							|  |  |  |       height: 1px; | 
					
						
							|  |  |  |       background-color: currentColor; | 
					
						
							|  |  |  |       content: ''; | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |       opacity: 0.5; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     &:after { | 
					
						
							|  |  |  |       opacity: 0.5; | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |   .icon svg { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |   > .content { | 
					
						
							|  |  |  |     flex: 1; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  |   .chapter-contents-toggle { | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     border-radius: 0 4px 4px 0; | 
					
						
							| 
									
										
										
										
											2022-05-18 20:28:34 +08:00
										 |  |  |     padding: $-xs ($-m + $-xxs); | 
					
						
							| 
									
										
										
										
											2019-08-26 00:21:25 +08:00
										 |  |  |     width: 100%; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     text-align: start; | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  |   .chapter-contents-toggle:hover { | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     background-color: rgba(0, 0, 0, 0.06); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .entity-list-item.has-children { | 
					
						
							|  |  |  |   padding-bottom: 0; | 
					
						
							|  |  |  |   > .icon { | 
					
						
							|  |  |  |     border-radius: 4px 4px 0 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .inset-list { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  |   .entity-list-item-name { | 
					
						
							|  |  |  |     font-size: 1rem; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .entity-list-item-children { | 
					
						
							|  |  |  |     padding-top: 0; | 
					
						
							|  |  |  |     padding-bottom: 0; | 
					
						
							| 
									
										
										
										
											2018-03-18 20:23:48 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  | .sidebar-page-nav { | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |   $nav-indent: $-m; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   list-style: none; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   @include margin($-s, 0, $-m, $-xs); | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |   position: relative; | 
					
						
							|  |  |  |   &:after { | 
					
						
							|  |  |  |     content: ''; | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     position: absolute; | 
					
						
							|  |  |  |     left: 0; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     @include rtl { | 
					
						
							|  |  |  |       left: auto; | 
					
						
							|  |  |  |       right: 0; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)); | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |     width: 2px; | 
					
						
							|  |  |  |     top: 5px; | 
					
						
							|  |  |  |     bottom: 5px; | 
					
						
							|  |  |  |     z-index: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   li { | 
					
						
							|  |  |  |     margin-bottom: 4px; | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |     font-size: 0.95em; | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |     position: relative; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   .h1 { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $nav-indent; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   .h2 { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $nav-indent * 1.5; | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   .h3 { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $nav-indent * 2; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   .h4 { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $nav-indent * 2.5; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   .h5 { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $nav-indent*3; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   .h6 { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $nav-indent*3.5; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2017-11-02 03:44:06 +08:00
										 |  |  |   .current-heading { | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |   li:not(.current-heading) .sidebar-page-nav-bullet { | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |     @include lightDark(background-color, #BBB, #666, true); | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   .sidebar-page-nav-bullet { | 
					
						
							|  |  |  |     width: 6px; | 
					
						
							|  |  |  |     height: 6px; | 
					
						
							|  |  |  |     position: absolute; | 
					
						
							|  |  |  |     left: -2px; | 
					
						
							|  |  |  |     top: 30%; | 
					
						
							|  |  |  |     border-radius: 50%; | 
					
						
							|  |  |  |     box-shadow: 0 0 0 6px #F2F2F2; | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |     @include lightDark(box-shadow, 0 0 0 6px #F2F2F2, 0 0 0 6px #111); | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |     z-index: 1; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     @include rtl { | 
					
						
							|  |  |  |       left: auto; | 
					
						
							|  |  |  |       right: -2px; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-02-16 23:39:11 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Sidebar list
 | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  | .book-tree .sidebar-page-list  { | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   list-style: none; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   @include margin($-xs, -$-s, 0, -$-s); | 
					
						
							|  |  |  |   padding-inline-start: 0; | 
					
						
							|  |  |  |   padding-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   ul { | 
					
						
							|  |  |  |     list-style: none; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: 1rem; | 
					
						
							|  |  |  |     padding-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2018-11-11 21:11:36 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-05-25 23:52:17 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |   .entity-list-item { | 
					
						
							| 
									
										
										
										
											2022-05-14 01:34:47 +08:00
										 |  |  |     padding-top: 2px; | 
					
						
							|  |  |  |     padding-bottom: 2px; | 
					
						
							| 
									
										
										
										
											2019-05-25 23:52:17 +08:00
										 |  |  |     background-clip: content-box; | 
					
						
							|  |  |  |     border-radius: 0 3px 3px 0; | 
					
						
							| 
									
										
										
										
											2021-10-24 05:03:03 +08:00
										 |  |  |     padding-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |     .content { | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  |       width: 100%; | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |       padding-top: $-xs; | 
					
						
							|  |  |  |       padding-bottom: $-xs; | 
					
						
							| 
									
										
										
										
											2019-03-31 01:07:01 +08:00
										 |  |  |       max-width: calc(100% - 20px); | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-05-25 23:52:17 +08:00
										 |  |  |   .entity-list-item.selected { | 
					
						
							| 
									
										
										
										
											2022-05-14 01:34:47 +08:00
										 |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.06)); | 
					
						
							| 
									
										
										
										
											2019-05-25 23:52:17 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |   .entity-list-item.no-hover { | 
					
						
							|  |  |  |     margin-top: -$-xs; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2018-11-11 21:11:36 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   .entity-list-item-name { | 
					
						
							|  |  |  |     font-size: 1em; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |     margin: 0; | 
					
						
							| 
									
										
										
										
											2021-10-24 05:03:03 +08:00
										 |  |  |     margin-inline-end: $-m; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-11-11 21:11:36 +08:00
										 |  |  |   .chapter-child-menu { | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |     font-size: .8rem; | 
					
						
							| 
									
										
										
										
											2018-11-11 21:11:36 +08:00
										 |  |  |     margin-top: -.2rem; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     margin-inline-start: -1rem; | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  |   .chapter-contents-toggle { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     width: 100%; | 
					
						
							| 
									
										
										
										
											2022-09-07 04:30:28 +08:00
										 |  |  |     text-align: start; | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  |     padding: $-xxs $-s ($-xxs * 2) $-s; | 
					
						
							|  |  |  |     border-radius: 0 3px 3px 0; | 
					
						
							|  |  |  |     line-height: 1; | 
					
						
							|  |  |  |     margin-top: -$-xxs; | 
					
						
							|  |  |  |     margin-bottom: -$-xxs; | 
					
						
							|  |  |  |     &:hover { | 
					
						
							|  |  |  |       @include lightDark(background-color, rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.06)); | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2015-11-30 02:06:55 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |   .entity-list-item .icon { | 
					
						
							| 
									
										
										
										
											2019-02-01 04:37:12 +08:00
										 |  |  |     z-index: 2; | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |     width: 4px; | 
					
						
							|  |  |  |     height: auto; | 
					
						
							|  |  |  |     align-self: stretch; | 
					
						
							|  |  |  |     flex-shrink: 0; | 
					
						
							|  |  |  |     border-radius: 1px; | 
					
						
							| 
									
										
										
										
											2022-05-14 01:34:47 +08:00
										 |  |  |     opacity: 0.8; | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-31 00:54:15 +08:00
										 |  |  |   .entity-list-item .icon:after { | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |     opacity: 1; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-31 00:54:15 +08:00
										 |  |  |   .entity-list-item .icon svg { | 
					
						
							| 
									
										
										
										
											2019-03-30 23:15:01 +08:00
										 |  |  |     display: none; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-11-11 21:11:36 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  | .chapter-child-menu ul.sub-menu { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  |   padding-inline-start: 0; | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   margin-bottom: 0; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Sortable Lists
 | 
					
						
							|  |  |  | .sortable-page-list, .sortable-page-list ul { | 
					
						
							|  |  |  |   list-style: none; | 
					
						
							| 
									
										
										
										
											2015-09-06 21:35:53 +08:00
										 |  |  | } | 
					
						
							|  |  |  | .sort-box { | 
					
						
							|  |  |  |   margin-bottom: $-m; | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  |   padding: $-m $-xl; | 
					
						
							| 
									
										
										
										
											2019-08-26 21:37:53 +08:00
										 |  |  |   position: relative; | 
					
						
							|  |  |  |   &::before { | 
					
						
							| 
									
										
										
										
											2019-09-07 20:08:55 +08:00
										 |  |  |     pointer-events: none; | 
					
						
							| 
									
										
										
										
											2019-08-26 21:37:53 +08:00
										 |  |  |     content: ''; | 
					
						
							|  |  |  |     border-radius: 4px; | 
					
						
							|  |  |  |     opacity: 0.5; | 
					
						
							|  |  |  |     border: 2px solid var(--color-book); | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     top: 0; | 
					
						
							|  |  |  |     bottom: 0; | 
					
						
							|  |  |  |     left: 0; | 
					
						
							|  |  |  |     right: 0; | 
					
						
							|  |  |  |     position: absolute; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  | } | 
					
						
							|  |  |  | .sort-box-options { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   flex-wrap: wrap; | 
					
						
							|  |  |  |   justify-content: space-between; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .sort-box-options .button { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   margin-inline-start: 0; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  | } | 
					
						
							|  |  |  | .sortable-page-list { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   margin-inline-start: 0; | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  |   padding: 0; | 
					
						
							|  |  |  |   .entity-list-item > span:first-child { | 
					
						
							|  |  |  |     align-self: flex-start; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2020-04-27 23:53:27 +08:00
										 |  |  |   .sortable-selected  .entity-list-item, .sortable-selected  .entity-list-item:hover { | 
					
						
							|  |  |  |     outline: 1px dotted var(--color-primary); | 
					
						
							|  |  |  |     background-color: var(--color-primary-light) !important; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  |   .entity-list-item > div { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     flex: 1; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-09-06 21:35:53 +08:00
										 |  |  |   > ul { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     margin-inline-start: 0; | 
					
						
							| 
									
										
										
										
											2015-09-06 21:35:53 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   ul { | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  |     margin-bottom: $-m; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |     margin-top: 0; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     padding-inline-start: $-m; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   li { | 
					
						
							|  |  |  |     border: 1px solid #DDD; | 
					
						
							|  |  |  |     margin-top: -1px; | 
					
						
							|  |  |  |     min-height: 38px; | 
					
						
							| 
									
										
										
										
											2019-08-26 21:37:53 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   li.text-page, li.text-chapter { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     border-inline-start: 2px solid currentColor; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   li:first-child { | 
					
						
							|  |  |  |     margin-top: $-xs; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .sortable-page-list li.placeholder { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .sortable-page-list li.placeholder:before { | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .activity-list-item { | 
					
						
							| 
									
										
										
										
											2019-01-13 23:54:55 +08:00
										 |  |  |   padding: $-s 0; | 
					
						
							| 
									
										
										
										
											2018-10-17 01:49:16 +08:00
										 |  |  |   display: grid; | 
					
						
							|  |  |  |   grid-template-columns: min-content 1fr; | 
					
						
							|  |  |  |   grid-column-gap: $-m; | 
					
						
							| 
									
										
										
										
											2015-09-03 23:51:10 +08:00
										 |  |  |   font-size: 0.9em; | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-01-13 23:54:55 +08:00
										 |  |  | .card .activity-list-item { | 
					
						
							|  |  |  |   padding: $-s $-m; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 01:34:15 +08:00
										 |  |  | .user-list-item { | 
					
						
							|  |  |  |   display: inline-grid; | 
					
						
							|  |  |  |   padding: $-s; | 
					
						
							|  |  |  |   grid-template-columns: min-content 1fr; | 
					
						
							|  |  |  |   grid-column-gap: $-m; | 
					
						
							|  |  |  |   font-size: 0.9em; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   > div:first-child { | 
					
						
							|  |  |  |     line-height: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  | ul.pagination { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   list-style: none; | 
					
						
							|  |  |  |   margin: $-m 0; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   padding-inline-start: 1px; | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  |   li { | 
					
						
							|  |  |  |     float: left; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   li:first-child { | 
					
						
							|  |  |  |     a, span { | 
					
						
							|  |  |  |       border-radius: 3px 0 0 3px; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   li:last-child { | 
					
						
							|  |  |  |     a, span { | 
					
						
							|  |  |  |       border-radius: 0 3px 3px 0; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   a, span { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     padding: $-xxs $-s; | 
					
						
							|  |  |  |     border: 1px solid #CCC; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     margin-inline-start: -1px; | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  |     user-select: none; | 
					
						
							| 
									
										
										
										
											2020-07-26 22:07:47 +08:00
										 |  |  |     @include lightDark(color, #555, #eee); | 
					
						
							|  |  |  |     @include lightDark(border-color, #ccc, #666); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   li.disabled { | 
					
						
							|  |  |  |     cursor: not-allowed; | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   li.active span { | 
					
						
							| 
									
										
										
										
											2020-07-26 22:07:47 +08:00
										 |  |  |     @include lightDark(color, #111, #eee); | 
					
						
							|  |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5)); | 
					
						
							| 
									
										
										
										
											2015-11-10 03:46:04 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-20 20:37:06 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-05-22 17:44:31 +08:00
										 |  |  | .compact ul.pagination { | 
					
						
							|  |  |  |   margin: 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  | .entity-list, .icon-list { | 
					
						
							|  |  |  |   margin: 0 (-$-m); | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   h4 { | 
					
						
							| 
									
										
										
										
											2016-02-20 20:37:06 +08:00
										 |  |  |     margin: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   hr { | 
					
						
							|  |  |  |     margin: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .text-small.text-muted { | 
					
						
							|  |  |  |     color: #AAA; | 
					
						
							|  |  |  |     font-size: 0.75em; | 
					
						
							|  |  |  |     margin-top: $-xs; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-12-04 02:35:40 +08:00
										 |  |  |   .text-muted p.text-muted { | 
					
						
							|  |  |  |     margin-top: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-03-13 20:04:08 +08:00
										 |  |  |   .page.draft .text-page { | 
					
						
							| 
									
										
										
										
											2019-08-26 21:37:53 +08:00
										 |  |  |     color: var(--color-page-draft); | 
					
						
							|  |  |  |     fill: var(--color-page-draft); | 
					
						
							| 
									
										
										
										
											2016-03-13 20:04:08 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-12-10 00:51:31 +08:00
										 |  |  |   > .dropdown-container { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-13 19:46:15 +08:00
										 |  |  | .icon-list hr { | 
					
						
							|  |  |  |   margin: $-s $-m; | 
					
						
							|  |  |  |   max-width: 140px; | 
					
						
							|  |  |  |   opacity: 0.25; | 
					
						
							|  |  |  |   height: 1.1px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .icon-list hr + hr, .icon-list hr:first-child, .icon-list hr:last-child { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  | .entity-list-item, .icon-list-item { | 
					
						
							| 
									
										
										
										
											2021-10-24 05:03:03 +08:00
										 |  |  |   padding: $-s $-m; | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							| 
									
										
										
										
											2022-05-14 19:54:23 +08:00
										 |  |  |   gap: $-m; | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |   background-color: transparent; | 
					
						
							|  |  |  |   border: 0; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   position: relative; | 
					
						
							| 
									
										
										
										
											2019-04-07 00:31:59 +08:00
										 |  |  |   word-break: break-word; | 
					
						
							| 
									
										
										
										
											2018-10-17 01:49:16 +08:00
										 |  |  |   h4 a { | 
					
						
							|  |  |  |     color: #666; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |   > span:first-child { | 
					
						
							|  |  |  |     flex-basis: 1.88em; | 
					
						
							|  |  |  |     flex: none; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   > span:last-child { | 
					
						
							|  |  |  |     flex: 1; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     text-align: start; | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2021-02-13 07:10:30 +08:00
										 |  |  |   > .content { | 
					
						
							|  |  |  |     min-width: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  |   &:not(.no-hover) { | 
					
						
							|  |  |  |     cursor: pointer; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   &:not(.no-hover):hover { | 
					
						
							| 
									
										
										
										
											2022-05-14 01:34:47 +08:00
										 |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.06)); | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  |     text-decoration: none; | 
					
						
							|  |  |  |     border-radius: 4px; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-03-30 22:27:00 +08:00
										 |  |  |   &.outline-hover:hover { | 
					
						
							|  |  |  |     background-color: transparent; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-08-25 01:26:28 +08:00
										 |  |  |   &:focus { | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |     @include lightDark(background-color, #eee, #222); | 
					
						
							| 
									
										
										
										
											2019-08-25 01:26:28 +08:00
										 |  |  |     outline: 1px dotted #666; | 
					
						
							|  |  |  |     outline-offset: -2px; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-10-17 01:49:16 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-13 22:23:03 +08:00
										 |  |  | .entity-list-item.disabled { | 
					
						
							|  |  |  |   pointer-events: none; | 
					
						
							|  |  |  |   cursor: not-allowed; | 
					
						
							|  |  |  |   opacity: 0.8; | 
					
						
							|  |  |  |   user-select: none; | 
					
						
							|  |  |  |   background: var(--bg-disabled); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-31 00:54:15 +08:00
										 |  |  | .entity-list-item-path-sep { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   vertical-align: top; | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   top: 1px; | 
					
						
							|  |  |  |   svg { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     margin-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2019-03-31 00:54:15 +08:00
										 |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2019-02-17 19:44:02 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-20 00:38:04 +08:00
										 |  |  | .split-icon-list-item { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   gap: $-m; | 
					
						
							|  |  |  |   background-color: transparent; | 
					
						
							|  |  |  |   border: 0; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   word-break: break-word; | 
					
						
							|  |  |  |   border-radius: 4px; | 
					
						
							|  |  |  |   > a { | 
					
						
							|  |  |  |     padding: $-s $-m; | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     gap: $-m; | 
					
						
							|  |  |  |     flex: 1; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   > a:hover { | 
					
						
							|  |  |  |     text-decoration: none; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .icon { | 
					
						
							|  |  |  |     flex-basis: 1.88em; | 
					
						
							|  |  |  |     flex: none; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   &:hover { | 
					
						
							|  |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.06)); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .icon-list-item-dropdown { | 
					
						
							|  |  |  |   margin-inline-start: auto; | 
					
						
							|  |  |  |   align-self: stretch; | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: stretch; | 
					
						
							|  |  |  |   border-inline-start: 1px solid rgba(0, 0, 0, .1); | 
					
						
							|  |  |  |   visibility: hidden; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .split-icon-list-item:hover .icon-list-item-dropdown, | 
					
						
							|  |  |  | .split-icon-list-item:focus-within .icon-list-item-dropdown { | 
					
						
							|  |  |  |   visibility: visible; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .icon-list-item-dropdown-toggle { | 
					
						
							|  |  |  |   padding: $-xs; | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   align-items: center; | 
					
						
							|  |  |  |   cursor: pointer; | 
					
						
							|  |  |  |   @include lightDark(color, #888, #999); | 
					
						
							|  |  |  |   svg { | 
					
						
							|  |  |  |     margin: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   &:hover { | 
					
						
							|  |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.06), rgba(255, 255, 255, 0.06)); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-18 20:28:34 +08:00
										 |  |  | .card .entity-list-item:not(.no-hover, .book-contents .entity-list-item):hover { | 
					
						
							| 
									
										
										
										
											2022-05-14 19:54:23 +08:00
										 |  |  |   @include lightDark(background-color, #F2F2F2, #2d2d2d); | 
					
						
							|  |  |  |   border-radius: 0; | 
					
						
							| 
									
										
										
										
											2017-08-20 20:57:25 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-01-13 23:54:55 +08:00
										 |  |  | .card .entity-list-item .entity-list-item:hover { | 
					
						
							|  |  |  |   background-color: #EEEEEE; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2017-08-20 20:57:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  | .entity-list-item-children { | 
					
						
							| 
									
										
										
										
											2022-05-18 21:06:40 +08:00
										 |  |  |   padding: $-m $-l; | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  |   > div { | 
					
						
							|  |  |  |     overflow: hidden; | 
					
						
							| 
									
										
										
										
											2022-05-18 20:18:21 +08:00
										 |  |  |     padding: 0 0 $-xs 0; | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   .entity-chip { | 
					
						
							|  |  |  |     text-overflow: ellipsis; | 
					
						
							|  |  |  |     height: 2.5em; | 
					
						
							|  |  |  |     overflow: hidden; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     text-align: start; | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  |     display: block; | 
					
						
							|  |  |  |     white-space: nowrap; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-05-13 00:27:57 +08:00
										 |  |  |   > .entity-list > .entity-list-item:last-child { | 
					
						
							|  |  |  |     margin-bottom: -$-xs; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-02 00:29:57 +08:00
										 |  |  | .entity-list-item-image { | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |   align-self: stretch; | 
					
						
							| 
									
										
										
										
											2018-12-02 00:29:57 +08:00
										 |  |  |   width: 140px; | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  |   flex: none; | 
					
						
							| 
									
										
										
										
											2018-12-02 00:29:57 +08:00
										 |  |  |   background-size: cover; | 
					
						
							|  |  |  |   background-position: 50% 50%; | 
					
						
							|  |  |  |   border-radius: 3px; | 
					
						
							| 
									
										
										
										
											2019-02-16 23:05:18 +08:00
										 |  |  |   position: relative; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   margin-inline-end: $-l; | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-05 22:54:22 +08:00
										 |  |  |   &.entity-list-item-image-wide { | 
					
						
							|  |  |  |     width: 220px; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  |   .svg-icon { | 
					
						
							| 
									
										
										
										
											2020-04-11 22:48:08 +08:00
										 |  |  |     @include lightDark(color, #fff, rgba(255, 255, 255, 0.6)); | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  |     font-size: 1.66rem; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     margin-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2019-02-17 01:13:01 +08:00
										 |  |  |     position: absolute; | 
					
						
							|  |  |  |     bottom: $-xs; | 
					
						
							|  |  |  |     left: $-xs; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-09 07:34:06 +08:00
										 |  |  |   @include smaller-than($m) { | 
					
						
							|  |  |  |     width: 80px; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-12-02 00:29:57 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-17 23:07:03 +08:00
										 |  |  | .chapter > .entity-list-item-image { | 
					
						
							|  |  |  |   width: 60px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  | .entity-list.compact { | 
					
						
							| 
									
										
										
										
											2018-10-17 01:49:16 +08:00
										 |  |  |   font-size: 0.6 * $fs-m; | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |   h4, a { | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |     line-height: 1.2; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2017-08-07 04:08:03 +08:00
										 |  |  |   .entity-item-snippet { | 
					
						
							| 
									
										
										
										
											2016-02-20 20:37:06 +08:00
										 |  |  |     display: none; | 
					
						
							| 
									
										
										
										
											2017-08-07 04:08:03 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  |   .entity-list-item p { | 
					
						
							| 
									
										
										
										
											2016-02-20 20:37:06 +08:00
										 |  |  |     font-size: $fs-m * 0.8; | 
					
						
							|  |  |  |     padding-top: $-xs; | 
					
						
							| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-05-14 19:54:23 +08:00
										 |  |  |   .entity-list-item p:empty { | 
					
						
							|  |  |  |     padding-top: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  |   p { | 
					
						
							| 
									
										
										
										
											2016-02-20 20:37:06 +08:00
										 |  |  |     margin: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-07-03 17:12:12 +08:00
										 |  |  |   > p.empty-text { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     font-size: $fs-m; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-20 20:37:06 +08:00
										 |  |  |   hr { | 
					
						
							|  |  |  |     margin: 0; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-10-17 01:49:16 +08:00
										 |  |  |   @include smaller-than($m) { | 
					
						
							|  |  |  |     h4 { | 
					
						
							|  |  |  |       font-size: 1.666em; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-24 23:12:09 +08:00
										 |  |  | .entity-item-tags { | 
					
						
							|  |  |  |   font-size: .75rem; | 
					
						
							|  |  |  |   opacity: 1; | 
					
						
							|  |  |  |   .primary-background-light { | 
					
						
							|  |  |  |     background: transparent; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .tag-name { | 
					
						
							|  |  |  |     background-color: rgba(0, 0, 0, 0.05); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  | .dropdown-container { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   vertical-align: top; | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-05 21:43:26 +08:00
										 |  |  | .dropdown-menu { | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   display: none; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   z-index: 999; | 
					
						
							|  |  |  |   top: 0; | 
					
						
							|  |  |  |   list-style: none; | 
					
						
							| 
									
										
										
										
											2022-09-07 04:30:28 +08:00
										 |  |  |   inset-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   margin: $-m 0; | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |   @include lightDark(background-color, #fff, #333); | 
					
						
							| 
									
										
										
										
											2022-05-14 00:12:45 +08:00
										 |  |  |   box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.18); | 
					
						
							|  |  |  |   border-radius: 3px; | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   min-width: 180px; | 
					
						
							|  |  |  |   padding: $-xs 0; | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |   @include lightDark(color, #555, #eee); | 
					
						
							|  |  |  |   fill: currentColor; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |   text-align: start !important; | 
					
						
							| 
									
										
										
										
											2020-06-28 06:56:01 +08:00
										 |  |  |   max-height: 500px; | 
					
						
							|  |  |  |   overflow-y: auto; | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   &.wide { | 
					
						
							|  |  |  |     min-width: 220px; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .text-muted { | 
					
						
							|  |  |  |     color: #999; | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |     fill: #999; | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-12-08 02:33:32 +08:00
										 |  |  |   li.active a { | 
					
						
							|  |  |  |     font-weight: 600; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-04-20 21:03:47 +08:00
										 |  |  |   button { | 
					
						
							|  |  |  |     width: 100%; | 
					
						
							|  |  |  |     text-align: start; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   li.border-bottom { | 
					
						
							|  |  |  |     border-bottom: 1px solid #DDD; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   li hr { | 
					
						
							|  |  |  |     margin: $-xs 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .icon-item, .text-item, .label-item { | 
					
						
							|  |  |  |     padding: 8px $-m; | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |     @include lightDark(color, #555, #eee); | 
					
						
							| 
									
										
										
										
											2019-08-26 00:21:25 +08:00
										 |  |  |     fill: currentColor; | 
					
						
							| 
									
										
										
										
											2018-09-23 05:29:03 +08:00
										 |  |  |     white-space: nowrap; | 
					
						
							| 
									
										
										
										
											2022-04-20 21:03:47 +08:00
										 |  |  |     line-height: 1.4; | 
					
						
							| 
									
										
										
										
											2020-04-13 02:06:34 +08:00
										 |  |  |     cursor: pointer; | 
					
						
							| 
									
										
										
										
											2019-08-25 01:26:28 +08:00
										 |  |  |     &:hover, &:focus { | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |       text-decoration: none; | 
					
						
							| 
									
										
										
										
											2019-08-26 00:21:25 +08:00
										 |  |  |       background-color: var(--color-primary-light); | 
					
						
							|  |  |  |       color: var(--color-primary); | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2019-08-25 01:26:28 +08:00
										 |  |  |     &:focus { | 
					
						
							| 
									
										
										
										
											2019-08-26 00:21:25 +08:00
										 |  |  |       outline: 1px solid var(--color-primary); | 
					
						
							| 
									
										
										
										
											2019-08-25 01:26:28 +08:00
										 |  |  |       outline-offset: -2px; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2018-02-18 03:49:00 +08:00
										 |  |  |     svg { | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |       margin-inline-end: $-s; | 
					
						
							| 
									
										
										
										
											2016-07-10 19:12:52 +08:00
										 |  |  |       display: inline-block; | 
					
						
							|  |  |  |       width: 16px; | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-04-20 21:03:47 +08:00
										 |  |  |   .text-item { | 
					
						
							|  |  |  |     display: block; | 
					
						
							| 
									
										
										
										
											2018-09-15 17:45:42 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-04-20 21:03:47 +08:00
										 |  |  |   .label-item { | 
					
						
							|  |  |  |     display: grid; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     grid-template-columns: auto min-content; | 
					
						
							|  |  |  |     gap: $-m; | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-04-20 21:03:47 +08:00
										 |  |  |   .label-item > *:nth-child(2) { | 
					
						
							|  |  |  |     opacity: 0.7; | 
					
						
							|  |  |  |     &:hover { | 
					
						
							|  |  |  |       opacity: 1; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   .icon-item { | 
					
						
							|  |  |  |     display: grid; | 
					
						
							|  |  |  |     align-items: start; | 
					
						
							|  |  |  |     grid-template-columns: 16px auto; | 
					
						
							|  |  |  |     gap: $-m; | 
					
						
							|  |  |  |     svg { | 
					
						
							|  |  |  |       margin-inline-end: 0; | 
					
						
							|  |  |  |       margin-block-start: 1px; | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-04-12 03:37:51 +08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2017-12-07 00:34:26 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-20 00:38:04 +08:00
										 |  |  | // Shift in sidebar dropdown menus to prevent shadows
 | 
					
						
							| 
									
										
										
										
											2022-05-14 00:12:45 +08:00
										 |  |  | // being cut by scrollable container.
 | 
					
						
							| 
									
										
										
										
											2022-05-20 00:38:04 +08:00
										 |  |  | .tri-layout-right .dropdown-menu, | 
					
						
							|  |  |  | .tri-layout-left .dropdown-menu { | 
					
						
							| 
									
										
										
										
											2022-09-07 04:30:28 +08:00
										 |  |  |   inset-inline-end: $-xs; | 
					
						
							| 
									
										
										
										
											2022-05-14 00:12:45 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-07 00:34:26 +08:00
										 |  |  | // Books grid view
 | 
					
						
							|  |  |  | .featured-image-container { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   overflow: hidden; | 
					
						
							| 
									
										
										
										
											2019-03-17 00:00:41 +08:00
										 |  |  |   min-height: 140px; | 
					
						
							|  |  |  |   background-size: cover; | 
					
						
							|  |  |  |   background-position: 50% 50%; | 
					
						
							|  |  |  |   transition: opacity ease-in-out 240ms; | 
					
						
							| 
									
										
										
										
											2018-02-11 19:36:51 +08:00
										 |  |  |   a { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2017-12-07 00:34:26 +08:00
										 |  |  |   img { | 
					
						
							|  |  |  |     display: block; | 
					
						
							| 
									
										
										
										
											2018-02-11 19:36:51 +08:00
										 |  |  |     width: 100%; | 
					
						
							| 
									
										
										
										
											2017-12-07 00:34:26 +08:00
										 |  |  |     max-width: 100%; | 
					
						
							|  |  |  |     height: auto; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-12-09 22:04:28 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-03-17 00:00:41 +08:00
										 |  |  | .featured-image-container-wrap { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   .svg-icon { | 
					
						
							| 
									
										
										
										
											2020-04-11 22:48:08 +08:00
										 |  |  |     @include lightDark(color, #fff, rgba(255, 255, 255, 0.6)); | 
					
						
							| 
									
										
										
										
											2019-03-17 00:00:41 +08:00
										 |  |  |     font-size: 2rem; | 
					
						
							| 
									
										
										
										
											2020-04-05 20:07:19 +08:00
										 |  |  |     margin-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2019-03-17 00:00:41 +08:00
										 |  |  |     position: absolute; | 
					
						
							|  |  |  |     bottom: 10px; | 
					
						
							|  |  |  |     left: 6px; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .grid-card:hover .featured-image-container { | 
					
						
							| 
									
										
										
										
											2018-12-09 22:04:28 +08:00
										 |  |  |   opacity: .5; | 
					
						
							| 
									
										
										
										
											2017-12-07 00:34:26 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-02 04:28:17 +08:00
										 |  |  | .action-link-list { | 
					
						
							|  |  |  |   //padding: $-s 0;
 | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .action-link { | 
					
						
							|  |  |  |   background: transparent; | 
					
						
							|  |  |  |   border: none; | 
					
						
							|  |  |  |   color: currentColor; | 
					
						
							|  |  |  |   padding: $-m 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-02 23:49:57 +08:00
										 |  |  | .active-link-list { | 
					
						
							|  |  |  |   a { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  |     padding: $-s; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   a:not(.active) { | 
					
						
							| 
									
										
										
										
											2022-03-28 18:09:55 +08:00
										 |  |  |     @include lightDark(color, #444, #888); | 
					
						
							| 
									
										
										
										
											2019-02-02 23:49:57 +08:00
										 |  |  |   } | 
					
						
							|  |  |  |   a:hover { | 
					
						
							| 
									
										
										
										
											2020-04-11 05:38:29 +08:00
										 |  |  |     @include lightDark(background-color, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05)); | 
					
						
							| 
									
										
										
										
											2022-03-27 05:36:05 +08:00
										 |  |  |     border-radius: 4px; | 
					
						
							| 
									
										
										
										
											2019-02-02 23:49:57 +08:00
										 |  |  |     text-decoration: none; | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2022-03-27 05:36:05 +08:00
										 |  |  |   &.in-sidebar { | 
					
						
							|  |  |  |     a { | 
					
						
							|  |  |  |       display: block; | 
					
						
							|  |  |  |       margin-bottom: $-xs; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     a.active { | 
					
						
							|  |  |  |       border-radius: 4px; | 
					
						
							|  |  |  |       @include lightDark(background-color, rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05)); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   } | 
					
						
							| 
									
										
										
										
											2021-10-22 07:34:41 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-05-14 01:03:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | .entity-meta-item { | 
					
						
							|  |  |  |   display: flex; | 
					
						
							|  |  |  |   line-height: 1.2; | 
					
						
							|  |  |  |   margin: 0.6em 0; | 
					
						
							|  |  |  |   align-content: start; | 
					
						
							|  |  |  |   gap: $-s; | 
					
						
							|  |  |  |   a { | 
					
						
							|  |  |  |     line-height: 1.2; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  |   svg { | 
					
						
							|  |  |  |     flex-shrink: 0; | 
					
						
							|  |  |  |     width: 1em; | 
					
						
							|  |  |  |     margin: 0; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |