2015-09-03 15:51:10 +00:00
|
|
|
.page-list {
|
2016-09-18 13:49:36 +00:00
|
|
|
h4 {
|
2016-07-03 08:58:45 +00:00
|
|
|
margin: $-l 0 $-xs 0;
|
|
|
|
font-size: 1.666em;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
a.chapter {
|
|
|
|
color: $color-chapter;
|
|
|
|
}
|
|
|
|
.inset-list {
|
2015-11-29 18:06:55 +00:00
|
|
|
display: none;
|
2015-09-03 15:51:10 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
h5 {
|
2015-09-03 15:51:10 +00:00
|
|
|
display: block;
|
|
|
|
margin: $-s 0 0 0;
|
|
|
|
border-left: 5px solid $color-page;
|
|
|
|
padding: $-xs 0 $-xs $-m;
|
2016-09-18 13:49:36 +00:00
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: normal;
|
2016-03-13 12:43:42 +00:00
|
|
|
&.draft {
|
|
|
|
border-left-color: $color-page-draft;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2017-08-06 20:08:03 +00:00
|
|
|
.entity-list-item {
|
|
|
|
margin-bottom: $-m;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
hr {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-09-03 18:05:45 +00:00
|
|
|
.page, .chapter, .book {
|
2015-09-03 15:51:10 +00:00
|
|
|
padding-left: $-l;
|
2015-09-03 18:05:45 +00:00
|
|
|
}
|
|
|
|
.page {
|
|
|
|
border-left: 5px solid $color-page;
|
|
|
|
}
|
2016-03-13 12:04:08 +00:00
|
|
|
.page.draft {
|
|
|
|
border-left: 5px solid $color-page-draft;
|
|
|
|
.text-page {
|
|
|
|
color: $color-page-draft;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: $color-page-draft;
|
2016-03-13 12:04:08 +00:00
|
|
|
}
|
|
|
|
}
|
2015-09-03 18:05:45 +00:00
|
|
|
.chapter {
|
|
|
|
border-left: 5px solid $color-chapter;
|
|
|
|
}
|
|
|
|
.book {
|
|
|
|
border-left: 5px solid $color-book;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2015-10-14 20:55:56 +00:00
|
|
|
.meta {
|
|
|
|
margin-top: -$-m;
|
|
|
|
font-size: 0.95em;
|
|
|
|
}
|
|
|
|
.meta span {
|
|
|
|
margin-right: $-s;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
|
2018-03-18 12:23:48 +00:00
|
|
|
@include smaller-than($s) {
|
|
|
|
.page-list h4 {
|
|
|
|
font-size: 1.333em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-18 13:49:36 +00:00
|
|
|
.sidebar-page-nav {
|
2015-09-03 15:51:10 +00:00
|
|
|
$nav-indent: $-s;
|
|
|
|
list-style: none;
|
2016-09-18 13:49:36 +00:00
|
|
|
margin: $-s 0 $-m 2px;
|
|
|
|
border-left: 2px dotted #BBB;
|
2015-09-03 15:51:10 +00:00
|
|
|
li {
|
2016-09-18 13:49:36 +00:00
|
|
|
padding-left: $-s;
|
2015-09-03 15:51:10 +00:00
|
|
|
margin-bottom: 4px;
|
2016-09-18 13:49:36 +00:00
|
|
|
font-size: 0.95em;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
.h1 {
|
|
|
|
margin-left: -2px;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
.h2 {
|
|
|
|
margin-left: -2px;
|
|
|
|
}
|
|
|
|
.h3 {
|
2015-09-03 15:51:10 +00:00
|
|
|
margin-left: $nav-indent;
|
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
.h4 {
|
2015-09-03 15:51:10 +00:00
|
|
|
margin-left: $nav-indent*2;
|
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
.h5 {
|
2015-09-03 15:51:10 +00:00
|
|
|
margin-left: $nav-indent*3;
|
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
.h6 {
|
2015-09-03 15:51:10 +00:00
|
|
|
margin-left: $nav-indent*4;
|
|
|
|
}
|
2017-11-01 19:44:06 +00:00
|
|
|
.current-heading {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sidebar list
|
|
|
|
.book-tree {
|
2016-02-11 22:23:19 +00:00
|
|
|
transition: ease-in-out 240ms;
|
|
|
|
transition-property: right, border;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
.book-tree h4 {
|
|
|
|
padding: $-m $-s 0 $-s;
|
|
|
|
i {
|
|
|
|
padding-right: $-s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.book-tree .sidebar-page-list {
|
|
|
|
list-style: none;
|
2016-02-08 20:41:40 +00:00
|
|
|
margin: $-xs 0 0;
|
|
|
|
padding-left: 0;
|
2015-09-03 15:51:10 +00:00
|
|
|
border-left: 5px solid $color-book;
|
|
|
|
li a {
|
|
|
|
display: block;
|
|
|
|
border-bottom: none;
|
|
|
|
padding: $-xs 0 $-xs $-s;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2015-12-02 19:10:05 +00:00
|
|
|
li a i {
|
|
|
|
padding-right: $-xs + 2px;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
li, a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
a.bold {
|
|
|
|
color: #EEE !important;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: #EEE !important;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.book {
|
|
|
|
color: $color-book !important;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: $color-book !important;
|
2015-09-03 15:51:10 +00:00
|
|
|
&.selected {
|
|
|
|
background-color: rgba($color-book, 0.29);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chapter {
|
|
|
|
color: $color-chapter !important;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: $color-chapter !important;
|
2015-09-03 15:51:10 +00:00
|
|
|
&.selected {
|
|
|
|
background-color: rgba($color-chapter, 0.12);
|
|
|
|
}
|
|
|
|
}
|
2018-02-17 13:30:52 +00:00
|
|
|
.page {
|
|
|
|
color: $color-page !important;
|
|
|
|
fill: $color-page !important;
|
|
|
|
border-bottom: none;
|
|
|
|
&.selected {
|
|
|
|
background-color: rgba($color-page, 0.1);
|
|
|
|
}
|
|
|
|
}
|
2017-08-06 20:08:03 +00:00
|
|
|
[chapter-toggle] {
|
2015-11-29 18:06:55 +00:00
|
|
|
padding-left: $-s;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
.list-item-chapter {
|
|
|
|
border-left: 5px solid $color-chapter;
|
|
|
|
margin: 10px 10px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.list-item-page {
|
|
|
|
border-bottom: none;
|
2015-12-02 19:10:05 +00:00
|
|
|
border-left: 5px solid $color-page;
|
|
|
|
margin: 10px 10px;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
2016-03-13 12:04:08 +00:00
|
|
|
.list-item-page.draft {
|
|
|
|
border-left: 5px solid $color-page-draft;
|
|
|
|
}
|
|
|
|
.page.draft .page, .list-item-page.draft a.page {
|
|
|
|
color: $color-page-draft !important;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: $color-page-draft !important;
|
2016-03-13 12:04:08 +00:00
|
|
|
}
|
2015-11-29 18:06:55 +00:00
|
|
|
.sub-menu {
|
|
|
|
display: none;
|
2016-02-11 22:23:19 +00:00
|
|
|
padding-left: 0;
|
2015-11-29 18:06:55 +00:00
|
|
|
}
|
|
|
|
.sub-menu.open {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Sortable Lists
|
|
|
|
.sortable-page-list, .sortable-page-list ul {
|
|
|
|
list-style: none;
|
2015-09-06 13:35:53 +00:00
|
|
|
background-color: #FFF;
|
|
|
|
}
|
|
|
|
.sort-box {
|
|
|
|
margin-bottom: $-m;
|
|
|
|
padding: 0 $-l 0 $-l;
|
|
|
|
border-left: 4px solid $color-book;
|
2015-09-03 15:51:10 +00:00
|
|
|
}
|
|
|
|
.sortable-page-list {
|
|
|
|
margin-left: 0;
|
2015-09-06 13:35:53 +00:00
|
|
|
> ul {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2015-09-03 15:51:10 +00: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 {
|
|
|
|
padding: $-s 0;
|
|
|
|
color: #888;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: #888;
|
2015-09-03 15:51:10 +00:00
|
|
|
border-bottom: 1px solid #EEE;
|
|
|
|
font-size: 0.9em;
|
|
|
|
.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.left + .right {
|
|
|
|
margin-left: 30px + $-s;
|
|
|
|
}
|
2017-08-26 12:24:55 +00:00
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2015-11-09 19:46:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.pagination {
|
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
|
|
|
margin: $-m 0;
|
2016-05-22 09:44:31 +00:00
|
|
|
padding-left: 1px;
|
2015-11-09 19:46:04 +00: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 14:44:10 +00:00
|
|
|
color: #FFF;
|
2015-11-09 19:46:04 +00:00
|
|
|
}
|
2016-02-20 12:37:06 +00:00
|
|
|
}
|
|
|
|
|
2016-05-22 09:44:31 +00:00
|
|
|
.compact ul.pagination {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2016-02-20 18:51:01 +00:00
|
|
|
.entity-list {
|
2016-09-18 13:49:36 +00:00
|
|
|
> div {
|
2016-02-20 12:37:06 +00:00
|
|
|
padding: $-m 0;
|
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
h4 {
|
2016-02-20 12:37:06 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-20 18:51:01 +00:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.text-small.text-muted {
|
|
|
|
color: #AAA;
|
|
|
|
font-size: 0.75em;
|
|
|
|
margin-top: $-xs;
|
|
|
|
}
|
2016-12-03 18:35:40 +00:00
|
|
|
.text-muted p.text-muted {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2016-03-13 12:04:08 +00:00
|
|
|
.page.draft .text-page {
|
|
|
|
color: $color-page-draft;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: $color-page-draft;
|
2016-03-13 12:04:08 +00:00
|
|
|
}
|
2016-02-20 18:51:01 +00:00
|
|
|
}
|
2016-09-18 13:49:36 +00:00
|
|
|
|
2017-08-26 12:24:55 +00:00
|
|
|
.card .entity-list-item, .card .activity-list-item {
|
2017-08-20 12:57:25 +00:00
|
|
|
padding-left: $-m;
|
|
|
|
padding-right: $-m;
|
|
|
|
}
|
|
|
|
|
2016-02-20 18:51:01 +00:00
|
|
|
.entity-list.compact {
|
|
|
|
font-size: 0.6em;
|
2016-09-18 13:49:36 +00:00
|
|
|
h4, a {
|
2016-02-20 18:51:01 +00:00
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2017-08-06 20:08:03 +00:00
|
|
|
.entity-item-snippet {
|
2016-02-20 12:37:06 +00:00
|
|
|
display: none;
|
2017-08-06 20:08:03 +00:00
|
|
|
}
|
2017-08-26 12:24:55 +00:00
|
|
|
.entity-list-item p {
|
2016-02-20 12:37:06 +00:00
|
|
|
font-size: $fs-m * 0.8;
|
|
|
|
padding-top: $-xs;
|
2017-08-26 12:24:55 +00:00
|
|
|
}
|
|
|
|
p {
|
2016-02-20 12:37:06 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
2016-07-03 09:12:12 +00:00
|
|
|
> p.empty-text {
|
|
|
|
display: block;
|
|
|
|
font-size: $fs-m;
|
|
|
|
}
|
2016-02-20 12:37:06 +00:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-20 18:51:01 +00: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 13:30:52 +00:00
|
|
|
fill: #555;
|
2016-02-20 18:51:01 +00:00
|
|
|
text-align: left !important;
|
|
|
|
&.wide {
|
|
|
|
min-width: 220px;
|
|
|
|
}
|
|
|
|
.text-muted {
|
|
|
|
color: #999;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: #999;
|
2016-02-20 18:51:01 +00:00
|
|
|
}
|
2016-07-10 11:12:52 +00:00
|
|
|
li.padded {
|
|
|
|
padding: $-xs $-m;
|
2017-09-09 14:56:24 +00:00
|
|
|
line-height: 1.2;
|
2016-07-10 11:12:52 +00:00
|
|
|
}
|
2016-02-20 18:51:01 +00:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: $-xs $-m;
|
|
|
|
color: #555;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: #555;
|
2016-02-20 18:51:01 +00:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
2018-02-17 19:49:00 +00:00
|
|
|
svg {
|
2016-07-10 11:12:52 +00:00
|
|
|
margin-right: $-s;
|
|
|
|
display: inline-block;
|
|
|
|
width: 16px;
|
2016-02-20 18:51:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
li.border-bottom {
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
}
|
2017-12-06 16:34:26 +00:00
|
|
|
|
|
|
|
// Books grid view
|
|
|
|
.featured-image-container {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
background: #F2F2F2;
|
2018-02-11 11:36:51 +00:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-12-06 16:34:26 +00:00
|
|
|
img {
|
|
|
|
display: block;
|
2018-02-11 11:36:51 +00:00
|
|
|
width: 100%;
|
2017-12-06 16:34:26 +00:00
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
2018-02-11 11:36:51 +00:00
|
|
|
transition: all .5s ease-in-out;
|
2017-12-06 16:34:26 +00:00
|
|
|
}
|
|
|
|
img:hover {
|
|
|
|
transform: scale(1.15);
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-11 11:36:51 +00:00
|
|
|
.book-grid-item .grid-card-content {
|
2017-12-06 16:34:26 +00:00
|
|
|
border-top: 0;
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
h2 {
|
2018-02-11 11:36:51 +00:00
|
|
|
width: 100%;
|
2017-12-06 16:34:26 +00:00
|
|
|
font-size: 1.5em;
|
|
|
|
margin: 0 0 10px;
|
|
|
|
}
|
|
|
|
h2 a {
|
|
|
|
display: block;
|
2018-02-11 11:36:51 +00:00
|
|
|
width: 100%;
|
2017-12-06 16:34:26 +00:00
|
|
|
line-height: 1.2;
|
|
|
|
color: #009688;;
|
2018-02-17 13:30:52 +00:00
|
|
|
fill: #009688;;
|
2017-12-06 16:34:26 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: .85em;
|
2018-02-11 11:36:51 +00:00
|
|
|
margin: 0;
|
2017-12-06 16:34:26 +00:00
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
2018-02-11 11:36:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.book-grid-item .grid-card-footer {
|
2017-12-06 16:34:26 +00:00
|
|
|
p.small {
|
|
|
|
font-size: .8em;
|
2018-02-11 11:36:51 +00:00
|
|
|
margin: 0;
|
2017-12-06 16:34:26 +00:00
|
|
|
}
|
2018-04-30 12:53:04 +00:00
|
|
|
}
|