2019-01-13 10:54:55 -05:00
|
|
|
|
|
|
|
.book-contents .entity-list-item {
|
|
|
|
.icon {
|
|
|
|
margin-top: $-xs;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2019-01-13 10:54:55 -05:00
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.inner-page {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
.inset-list {
|
2015-11-29 13:06:55 -05:00
|
|
|
display: none;
|
2018-03-18 08:23:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-18 09:49:36 -04:00
|
|
|
.sidebar-page-nav {
|
2015-09-03 11:51:10 -04:00
|
|
|
$nav-indent: $-s;
|
|
|
|
list-style: none;
|
2016-09-18 09:49:36 -04:00
|
|
|
margin: $-s 0 $-m 2px;
|
|
|
|
border-left: 2px dotted #BBB;
|
2015-09-03 11:51:10 -04:00
|
|
|
li {
|
2016-09-18 09:49:36 -04:00
|
|
|
padding-left: $-s;
|
2015-09-03 11:51:10 -04:00
|
|
|
margin-bottom: 4px;
|
2016-09-18 09:49:36 -04:00
|
|
|
font-size: 0.95em;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2016-09-18 09:49:36 -04:00
|
|
|
.h1 {
|
|
|
|
margin-left: -2px;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2016-09-18 09:49:36 -04:00
|
|
|
.h2 {
|
|
|
|
margin-left: -2px;
|
|
|
|
}
|
|
|
|
.h3 {
|
2015-09-03 11:51:10 -04:00
|
|
|
margin-left: $nav-indent;
|
|
|
|
}
|
2016-09-18 09:49:36 -04:00
|
|
|
.h4 {
|
2015-09-03 11:51:10 -04:00
|
|
|
margin-left: $nav-indent*2;
|
|
|
|
}
|
2016-09-18 09:49:36 -04:00
|
|
|
.h5 {
|
2015-09-03 11:51:10 -04:00
|
|
|
margin-left: $nav-indent*3;
|
|
|
|
}
|
2016-09-18 09:49:36 -04:00
|
|
|
.h6 {
|
2015-09-03 11:51:10 -04:00
|
|
|
margin-left: $nav-indent*4;
|
|
|
|
}
|
2017-11-01 15:44:06 -04:00
|
|
|
.current-heading {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sidebar list
|
2018-11-11 08:11:36 -05:00
|
|
|
.book-tree .book.entity-list-item {
|
|
|
|
font-size: 0.6rem;
|
|
|
|
h4 {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.book-tree .sidebar-page-list {
|
|
|
|
list-style: none;
|
2016-02-08 15:41:40 -05:00
|
|
|
margin: $-xs 0 0;
|
|
|
|
padding-left: 0;
|
2018-11-11 08:11:36 -05:00
|
|
|
padding-right: 0;
|
|
|
|
position: relative;
|
2015-09-03 11:51:10 -04:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
2018-11-11 08:11:36 -05:00
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.entity-icon {
|
|
|
|
font-size: 12px;
|
|
|
|
z-index: 2;
|
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
.entity-list-item-name {
|
|
|
|
font-size: 1em;
|
2015-09-03 11:51:10 -04:00
|
|
|
margin: 0;
|
|
|
|
}
|
2018-11-11 08:11:36 -05:00
|
|
|
.entity-list-item {
|
|
|
|
font-size: 0.8rem;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2018-11-11 08:11:36 -05:00
|
|
|
.entity-list-item.selected {
|
2018-12-01 11:29:57 -05:00
|
|
|
background-color: #F2F2F2;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2018-11-11 08:11:36 -05:00
|
|
|
.chapter-child-menu {
|
|
|
|
font-size: 12px;
|
|
|
|
padding-left: 2rem;
|
|
|
|
margin-top: -.2rem;
|
2018-02-17 08:30:52 -05:00
|
|
|
}
|
2017-08-06 16:08:03 -04:00
|
|
|
[chapter-toggle] {
|
2018-11-11 08:11:36 -05:00
|
|
|
padding-left: 1.5rem;
|
|
|
|
padding-bottom: .2rem;
|
2015-11-29 13:06:55 -05:00
|
|
|
}
|
2019-01-31 15:37:12 -05:00
|
|
|
.icon {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2018-11-11 08:11:36 -05:00
|
|
|
&:after, .sub-menu:after {
|
|
|
|
content: '';
|
2015-09-03 11:51:10 -04:00
|
|
|
display: block;
|
2018-11-11 08:11:36 -05:00
|
|
|
position: absolute;
|
|
|
|
left: 1.6rem;
|
|
|
|
top: 1rem;
|
|
|
|
bottom: 1rem;
|
|
|
|
border-left: 2px solid #DDD;
|
|
|
|
opacity: 0.6;
|
2019-01-31 15:37:12 -05:00
|
|
|
z-index: 0;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2018-11-11 08:11:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.chapter-child-menu {
|
|
|
|
ul.sub-menu {
|
2015-11-29 13:06:55 -05:00
|
|
|
display: none;
|
2016-02-11 17:23:19 -05:00
|
|
|
padding-left: 0;
|
2018-11-11 08:11:36 -05:00
|
|
|
position: relative;
|
2015-11-29 13:06:55 -05:00
|
|
|
}
|
2018-09-22 11:36:35 -04:00
|
|
|
[chapter-toggle].open + .sub-menu {
|
2015-11-29 13:06:55 -05:00
|
|
|
display: block;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sortable Lists
|
|
|
|
.sortable-page-list, .sortable-page-list ul {
|
|
|
|
list-style: none;
|
2015-09-06 09:35:53 -04:00
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
.sort-box {
|
|
|
|
margin-bottom: $-m;
|
|
|
|
padding: 0 $-l 0 $-l;
|
|
|
|
border-left: 4px solid $color-book;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
.sortable-page-list {
|
|
|
|
margin-left: 0;
|
2015-09-06 09:35:53 -04:00
|
|
|
> ul {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
padding: $-xs $-s;
|
|
|
|
margin-top: -1px;
|
|
|
|
min-height: 38px;
|
|
|
|
&.text-chapter {
|
|
|
|
border-left: 2px solid $color-chapter;
|
|
|
|
}
|
|
|
|
&.text-page {
|
|
|
|
border-left: 2px solid $color-page;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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 10:54:55 -05:00
|
|
|
padding: $-s 0;
|
2018-10-16 13:49:16 -04:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: min-content 1fr;
|
|
|
|
grid-column-gap: $-m;
|
2015-09-03 11:51:10 -04:00
|
|
|
color: #888;
|
2018-02-17 08:30:52 -05:00
|
|
|
fill: #888;
|
2015-09-03 11:51:10 -04:00
|
|
|
font-size: 0.9em;
|
2015-11-09 14:46:04 -05:00
|
|
|
}
|
2019-01-13 10:54:55 -05:00
|
|
|
.card .activity-list-item {
|
|
|
|
padding: $-s $-m;
|
|
|
|
}
|
2015-11-09 14:46:04 -05:00
|
|
|
|
|
|
|
ul.pagination {
|
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
|
|
|
margin: $-m 0;
|
2016-05-22 05:44:31 -04:00
|
|
|
padding-left: 1px;
|
2015-11-09 14:46:04 -05: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;
|
|
|
|
margin-left: -1px;
|
|
|
|
user-select: none;
|
|
|
|
&.disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li.active span {
|
2018-07-29 10:44:10 -04:00
|
|
|
color: #FFF;
|
2015-11-09 14:46:04 -05:00
|
|
|
}
|
2016-02-20 07:37:06 -05:00
|
|
|
}
|
|
|
|
|
2016-05-22 05:44:31 -04:00
|
|
|
.compact ul.pagination {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-01 15:28:17 -05:00
|
|
|
.entity-list, .icon-list {
|
|
|
|
margin: 0 (-$-m);
|
2016-09-18 09:49:36 -04:00
|
|
|
h4 {
|
2016-02-20 07:37:06 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-20 13:51:01 -05:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.text-small.text-muted {
|
|
|
|
color: #AAA;
|
|
|
|
font-size: 0.75em;
|
|
|
|
margin-top: $-xs;
|
|
|
|
}
|
2016-12-03 13:35:40 -05:00
|
|
|
.text-muted p.text-muted {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2016-03-13 08:04:08 -04:00
|
|
|
.page.draft .text-page {
|
|
|
|
color: $color-page-draft;
|
2018-02-17 08:30:52 -05:00
|
|
|
fill: $color-page-draft;
|
2016-03-13 08:04:08 -04:00
|
|
|
}
|
2018-12-09 11:51:31 -05:00
|
|
|
> .dropdown-container {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-02-20 13:51:01 -05:00
|
|
|
}
|
2016-09-18 09:49:36 -04:00
|
|
|
|
2018-12-01 15:28:17 -05:00
|
|
|
.entity-list-item, .icon-list-item {
|
2018-10-16 13:49:16 -04:00
|
|
|
padding: $-s $-m;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: min-content 1fr;
|
|
|
|
grid-column-gap: $-m;
|
|
|
|
align-items: top;
|
|
|
|
> .content {
|
|
|
|
padding-top: 2px;
|
|
|
|
}
|
|
|
|
.icon {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
h4 a {
|
|
|
|
color: #666;
|
|
|
|
}
|
2018-12-01 15:28:17 -05:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #DDD;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2018-10-16 13:49:16 -04:00
|
|
|
}
|
2018-12-01 15:28:17 -05:00
|
|
|
|
2019-01-13 10:54:55 -05:00
|
|
|
.card .entity-list-item:hover {
|
2018-10-16 13:49:16 -04:00
|
|
|
background-color: #F2F2F2;
|
2017-08-20 08:57:25 -04:00
|
|
|
}
|
2019-01-13 10:54:55 -05:00
|
|
|
.card .entity-list-item .entity-list-item:hover {
|
|
|
|
background-color: #EEEEEE;
|
|
|
|
}
|
2017-08-20 08:57:25 -04:00
|
|
|
|
2018-12-01 11:29:57 -05:00
|
|
|
.entity-list-item-image {
|
|
|
|
width: 140px;
|
|
|
|
background-size: cover;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
border-radius: 3px;
|
2018-12-08 18:34:06 -05:00
|
|
|
@include smaller-than($m) {
|
|
|
|
width: 80px;
|
|
|
|
}
|
2018-12-01 11:29:57 -05:00
|
|
|
}
|
|
|
|
|
2016-02-20 13:51:01 -05:00
|
|
|
.entity-list.compact {
|
2018-10-16 13:49:16 -04:00
|
|
|
font-size: 0.6 * $fs-m;
|
2016-09-18 09:49:36 -04:00
|
|
|
h4, a {
|
2016-02-20 13:51:01 -05:00
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2017-08-06 16:08:03 -04:00
|
|
|
.entity-item-snippet {
|
2016-02-20 07:37:06 -05:00
|
|
|
display: none;
|
2017-08-06 16:08:03 -04:00
|
|
|
}
|
2017-08-26 08:24:55 -04:00
|
|
|
.entity-list-item p {
|
2016-02-20 07:37:06 -05:00
|
|
|
font-size: $fs-m * 0.8;
|
|
|
|
padding-top: $-xs;
|
2017-08-26 08:24:55 -04:00
|
|
|
}
|
|
|
|
p {
|
2016-02-20 07:37:06 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
2016-07-03 05:12:12 -04:00
|
|
|
> p.empty-text {
|
|
|
|
display: block;
|
|
|
|
font-size: $fs-m;
|
|
|
|
}
|
2016-02-20 07:37:06 -05:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-10-16 13:49:16 -04:00
|
|
|
@include smaller-than($m) {
|
|
|
|
h4 {
|
|
|
|
font-size: 1.666em;
|
|
|
|
}
|
|
|
|
}
|
2016-02-20 13:51:01 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-container {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-container ul {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 999;
|
|
|
|
top: 0;
|
|
|
|
list-style: none;
|
|
|
|
right: 0;
|
|
|
|
margin: $-m 0;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
border-radius: 1px;
|
|
|
|
border: 1px solid #EEE;
|
|
|
|
min-width: 180px;
|
|
|
|
padding: $-xs 0;
|
|
|
|
color: #555;
|
2018-02-17 08:30:52 -05:00
|
|
|
fill: #555;
|
2016-02-20 13:51:01 -05:00
|
|
|
text-align: left !important;
|
|
|
|
&.wide {
|
|
|
|
min-width: 220px;
|
|
|
|
}
|
|
|
|
.text-muted {
|
|
|
|
color: #999;
|
2018-02-17 08:30:52 -05:00
|
|
|
fill: #999;
|
2016-02-20 13:51:01 -05:00
|
|
|
}
|
2016-07-10 07:12:52 -04:00
|
|
|
li.padded {
|
|
|
|
padding: $-xs $-m;
|
2017-09-09 10:56:24 -04:00
|
|
|
line-height: 1.2;
|
2016-07-10 07:12:52 -04:00
|
|
|
}
|
2018-12-07 13:33:32 -05:00
|
|
|
li.active a {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2018-09-15 05:45:42 -04:00
|
|
|
a, button {
|
2016-02-20 13:51:01 -05:00
|
|
|
display: block;
|
|
|
|
padding: $-xs $-m;
|
|
|
|
color: #555;
|
2018-02-17 08:30:52 -05:00
|
|
|
fill: #555;
|
2018-09-22 17:29:03 -04:00
|
|
|
white-space: nowrap;
|
2016-02-20 13:51:01 -05:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
2018-02-17 14:49:00 -05:00
|
|
|
svg {
|
2016-07-10 07:12:52 -04:00
|
|
|
margin-right: $-s;
|
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
2016-02-20 13:51:01 -05:00
|
|
|
}
|
|
|
|
}
|
2018-09-15 05:45:42 -04:00
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2016-02-20 13:51:01 -05:00
|
|
|
li.border-bottom {
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
}
|
2017-12-06 11:34:26 -05:00
|
|
|
|
|
|
|
// Books grid view
|
|
|
|
.featured-image-container {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2018-02-11 06:36:51 -05:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-12-06 11:34:26 -05:00
|
|
|
img {
|
|
|
|
display: block;
|
2018-02-11 06:36:51 -05:00
|
|
|
width: 100%;
|
2017-12-06 11:34:26 -05:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2018-02-11 06:36:51 -05:00
|
|
|
transition: all .5s ease-in-out;
|
2017-12-06 11:34:26 -05:00
|
|
|
}
|
2018-12-09 09:04:28 -05:00
|
|
|
}
|
|
|
|
.grid-card:hover .featured-image-container img {
|
|
|
|
transform: scale(1.15);
|
|
|
|
opacity: .5;
|
2017-12-06 11:34:26 -05:00
|
|
|
}
|
|
|
|
|
2018-12-01 15:28:17 -05:00
|
|
|
.action-link-list {
|
|
|
|
//padding: $-s 0;
|
|
|
|
}
|
|
|
|
.action-link {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
color: currentColor;
|
|
|
|
padding: $-m 0;
|
|
|
|
}
|
|
|
|
|
2019-02-02 10:49:57 -05:00
|
|
|
.active-link-list {
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
a:not(.active) {
|
|
|
|
color: #444;
|
|
|
|
fill: #444;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
border-radius: 3px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|