2015-09-03 11:51:10 -04:00
|
|
|
.page-list {
|
|
|
|
h3 {
|
|
|
|
margin: $-l 0 $-m 0;
|
|
|
|
}
|
|
|
|
a.chapter {
|
|
|
|
color: $color-chapter;
|
|
|
|
}
|
|
|
|
.inset-list {
|
2015-11-29 13:06:55 -05:00
|
|
|
display: none;
|
2015-09-03 11:51:10 -04:00
|
|
|
overflow: hidden;
|
|
|
|
// padding-left: $-m;
|
|
|
|
margin-bottom: $-l;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
display: block;
|
|
|
|
margin: $-s 0 0 0;
|
|
|
|
border-left: 5px solid $color-page;
|
|
|
|
padding: $-xs 0 $-xs $-m;
|
2016-03-13 08:43:42 -04:00
|
|
|
&.draft {
|
|
|
|
border-left-color: $color-page-draft;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
hr {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-09-03 14:05:45 -04:00
|
|
|
.page, .chapter, .book {
|
2015-09-03 11:51:10 -04:00
|
|
|
padding-left: $-l;
|
2015-09-03 14:05:45 -04:00
|
|
|
}
|
|
|
|
.page {
|
|
|
|
border-left: 5px solid $color-page;
|
|
|
|
}
|
2016-03-13 08:04:08 -04:00
|
|
|
.page.draft {
|
|
|
|
border-left: 5px solid $color-page-draft;
|
|
|
|
.text-page {
|
|
|
|
color: $color-page-draft;
|
|
|
|
}
|
|
|
|
}
|
2015-09-03 14:05:45 -04:00
|
|
|
.chapter {
|
|
|
|
border-left: 5px solid $color-chapter;
|
|
|
|
}
|
|
|
|
.book {
|
|
|
|
border-left: 5px solid $color-book;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
2015-10-14 16:55:56 -04:00
|
|
|
.meta {
|
|
|
|
margin-top: -$-m;
|
|
|
|
font-size: 0.95em;
|
|
|
|
}
|
|
|
|
.meta span {
|
|
|
|
margin-right: $-s;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
.chapter-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 0 0 $-l 0;
|
|
|
|
transition: all ease-in-out 180ms;
|
2015-09-06 09:35:53 -04:00
|
|
|
user-select: none;
|
2015-11-29 13:06:55 -05:00
|
|
|
i.zmdi-caret-right {
|
2015-09-03 11:51:10 -04:00
|
|
|
transition: all ease-in-out 180ms;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
transform-origin: 25% 50%;
|
|
|
|
}
|
|
|
|
&.open {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-11-29 13:06:55 -05:00
|
|
|
&.open i.zmdi-caret-right {
|
2015-09-03 11:51:10 -04:00
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-nav-list {
|
|
|
|
$nav-indent: $-s;
|
|
|
|
margin-left: 2px;
|
|
|
|
list-style: none;
|
|
|
|
li {
|
|
|
|
//border-left: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
padding-left: $-xs;
|
|
|
|
border-left: 2px solid #888;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
li a {
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
.nav-H2 {
|
|
|
|
margin-left: $nav-indent;
|
|
|
|
font-size: 0.95em;
|
|
|
|
}
|
|
|
|
.nav-H3 {
|
|
|
|
margin-left: $nav-indent*2;
|
|
|
|
font-size: 0.90em
|
|
|
|
}
|
|
|
|
.nav-H4 {
|
|
|
|
margin-left: $nav-indent*3;
|
|
|
|
font-size: 0.85em
|
|
|
|
}
|
|
|
|
.nav-H5 {
|
|
|
|
margin-left: $nav-indent*4;
|
|
|
|
font-size: 0.80em
|
|
|
|
}
|
|
|
|
.nav-H6 {
|
|
|
|
margin-left: $nav-indent*5;
|
|
|
|
font-size: 0.75em
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Sidebar list
|
|
|
|
.book-tree {
|
2016-03-05 13:09:21 -05:00
|
|
|
padding: $-l 0 0 0;
|
2016-02-11 17:23:19 -05:00
|
|
|
position: relative;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: ease-in-out 240ms;
|
|
|
|
transition-property: right, border;
|
|
|
|
border-left: 0px solid #FFF;
|
2016-03-05 13:09:21 -05:00
|
|
|
background-color: #FFF;
|
2016-02-11 17:23:19 -05:00
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
padding-left: $-l;
|
|
|
|
padding-right: $-l + 15;
|
|
|
|
width: 30%;
|
|
|
|
right: -15px;
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
//background-color: $primary-faded;
|
|
|
|
border-left: 1px solid #DDD;
|
|
|
|
&::-webkit-scrollbar { width: 0 !important }
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
.book-tree h4 {
|
|
|
|
padding: $-m $-s 0 $-s;
|
|
|
|
i {
|
|
|
|
padding-right: $-s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.book-tree .sidebar-page-list {
|
|
|
|
list-style: none;
|
2016-02-08 15:41:40 -05:00
|
|
|
margin: $-xs 0 0;
|
|
|
|
padding-left: 0;
|
2015-09-03 11:51:10 -04: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 14:10:05 -05:00
|
|
|
li a i {
|
|
|
|
padding-right: $-xs + 2px;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
li, a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
a.bold {
|
|
|
|
color: #EEE !important;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.book {
|
|
|
|
color: $color-book !important;
|
|
|
|
&.selected {
|
|
|
|
background-color: rgba($color-book, 0.29);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chapter {
|
|
|
|
color: $color-chapter !important;
|
|
|
|
&.selected {
|
|
|
|
background-color: rgba($color-chapter, 0.12);
|
|
|
|
}
|
|
|
|
}
|
2015-11-29 13:06:55 -05:00
|
|
|
.chapter-toggle {
|
|
|
|
padding-left: $-s;
|
|
|
|
}
|
2015-09-03 11:51:10 -04:00
|
|
|
.list-item-chapter {
|
|
|
|
border-left: 5px solid $color-chapter;
|
|
|
|
margin: 10px 10px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.list-item-page {
|
|
|
|
border-bottom: none;
|
2015-12-02 14:10:05 -05:00
|
|
|
border-left: 5px solid $color-page;
|
|
|
|
margin: 10px 10px;
|
2015-09-03 11:51:10 -04:00
|
|
|
}
|
|
|
|
.page {
|
|
|
|
color: $color-page !important;
|
|
|
|
border-bottom: none;
|
|
|
|
&.selected {
|
|
|
|
background-color: rgba($color-page, 0.1);
|
|
|
|
}
|
|
|
|
}
|
2016-03-13 08:04:08 -04: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;
|
|
|
|
}
|
2015-11-29 13:06:55 -05:00
|
|
|
.sub-menu {
|
|
|
|
display: none;
|
2016-02-11 17:23:19 -05:00
|
|
|
padding-left: 0;
|
2015-11-29 13:06:55 -05:00
|
|
|
}
|
|
|
|
.sub-menu.open {
|
|
|
|
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 {
|
|
|
|
padding: $-s 0;
|
|
|
|
color: #888;
|
|
|
|
border-bottom: 1px solid #EEE;
|
|
|
|
font-size: 0.9em;
|
|
|
|
.left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.left + .right {
|
|
|
|
margin-left: 30px + $-s;
|
|
|
|
}
|
2015-11-09 14:46:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.pagination {
|
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
|
|
|
margin: $-m 0;
|
|
|
|
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;
|
|
|
|
color: #888;
|
|
|
|
user-select: none;
|
|
|
|
&.disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li.active span {
|
|
|
|
background-color: rgba($primary, 0.8);
|
|
|
|
color: #EEE;
|
|
|
|
border-color: rgba($primary, 0.8);
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2016-02-20 07:37:06 -05:00
|
|
|
}
|
|
|
|
|
2016-02-20 13:51:01 -05:00
|
|
|
.entity-list {
|
|
|
|
>div {
|
2016-02-20 07:37:06 -05:00
|
|
|
padding: $-m 0;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-20 13:51:01 -05:00
|
|
|
p {
|
|
|
|
margin: $-xs 0 0 0;
|
|
|
|
}
|
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.text-small.text-muted {
|
|
|
|
color: #AAA;
|
|
|
|
font-size: 0.75em;
|
|
|
|
margin-top: $-xs;
|
|
|
|
}
|
2016-03-13 08:04:08 -04:00
|
|
|
.page.draft .text-page {
|
|
|
|
color: $color-page-draft;
|
|
|
|
}
|
2016-02-20 13:51:01 -05:00
|
|
|
}
|
|
|
|
.entity-list.compact {
|
|
|
|
font-size: 0.6em;
|
|
|
|
h3, a {
|
|
|
|
line-height: 1.2;
|
|
|
|
}
|
2016-02-20 07:37:06 -05:00
|
|
|
p {
|
|
|
|
display: none;
|
|
|
|
font-size: $fs-m * 0.8;
|
|
|
|
padding-top: $-xs;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
hr {
|
|
|
|
margin: 0;
|
|
|
|
}
|
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;
|
|
|
|
text-align: left !important;
|
|
|
|
&.wide {
|
|
|
|
min-width: 220px;
|
|
|
|
}
|
|
|
|
.text-muted {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: $-xs $-m;
|
|
|
|
color: #555;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
|
|
|
i {
|
|
|
|
margin-right: $-m;
|
|
|
|
padding-right: 0;
|
|
|
|
display: inline;
|
|
|
|
width: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li.border-bottom {
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
}
|