2015-07-13 03:01:42 +08:00
|
|
|
@import "reset";
|
|
|
|
@import "variables";
|
|
|
|
@import "mixins";
|
|
|
|
@import "html";
|
|
|
|
@import "text";
|
|
|
|
@import "grid";
|
|
|
|
@import "blocks";
|
|
|
|
@import "buttons";
|
|
|
|
@import "forms";
|
2015-08-09 03:05:30 +08:00
|
|
|
@import "tables";
|
2015-08-16 07:18:22 +08:00
|
|
|
@import "animations";
|
2015-07-16 05:55:49 +08:00
|
|
|
@import "tinymce";
|
2015-08-09 21:52:15 +08:00
|
|
|
@import "image-manager";
|
2015-07-16 05:55:49 +08:00
|
|
|
|
|
|
|
header {
|
|
|
|
display: block;
|
2015-07-22 05:11:30 +08:00
|
|
|
z-index: 2;
|
|
|
|
top: 0;
|
|
|
|
.padded {
|
|
|
|
padding: $-m;
|
|
|
|
}
|
2015-07-24 04:55:46 +08:00
|
|
|
//margin-bottom: $-l;
|
2015-07-22 05:11:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
position: fixed;
|
2015-07-24 04:55:46 +08:00
|
|
|
background-color: #444;
|
|
|
|
color: #EEE;
|
2015-07-22 05:11:30 +08:00
|
|
|
height: 100%;
|
2015-07-16 05:55:49 +08:00
|
|
|
top: 0;
|
2015-07-22 05:11:30 +08:00
|
|
|
z-index: 1;
|
2015-07-24 04:55:46 +08:00
|
|
|
//padding-top: $-m;
|
2015-08-06 03:59:39 +08:00
|
|
|
width: 340px;
|
2015-07-22 05:11:30 +08:00
|
|
|
border-right: 1px solid #DDD;
|
2015-07-24 04:55:46 +08:00
|
|
|
h4, li, p, a {
|
|
|
|
color: #CCC;
|
|
|
|
}
|
2015-07-16 05:55:49 +08:00
|
|
|
}
|
2015-07-22 05:11:30 +08:00
|
|
|
|
|
|
|
#content {
|
2015-07-24 04:55:46 +08:00
|
|
|
//margin-top: 63px;
|
2015-08-06 03:59:39 +08:00
|
|
|
margin-left: 340px;
|
2015-07-22 05:11:30 +08:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
2015-07-24 04:55:46 +08:00
|
|
|
padding: 0 16px;
|
2015-07-22 05:11:30 +08:00
|
|
|
}
|
|
|
|
|
2015-08-06 03:59:39 +08:00
|
|
|
.logo-container {
|
2015-08-17 03:11:21 +08:00
|
|
|
padding: $-l $-s;
|
2015-07-24 04:55:46 +08:00
|
|
|
color: #CCC;
|
2015-08-06 03:59:39 +08:00
|
|
|
.logo {
|
2015-08-17 03:11:21 +08:00
|
|
|
display: block;
|
2015-08-06 03:59:39 +08:00
|
|
|
font-size: 2em;
|
|
|
|
font-weight: bold;
|
2015-08-17 03:11:21 +08:00
|
|
|
padding: $-m 0;
|
2015-08-06 03:59:39 +08:00
|
|
|
}
|
|
|
|
i {
|
|
|
|
padding-right: $-s;
|
|
|
|
}
|
2015-07-17 04:24:26 +08:00
|
|
|
}
|
2015-07-16 05:55:49 +08:00
|
|
|
|
2015-08-06 03:59:39 +08:00
|
|
|
|
2015-07-24 04:55:46 +08:00
|
|
|
.search-box {
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 0;
|
2015-08-17 03:11:21 +08:00
|
|
|
padding: $-m;
|
2015-07-24 04:55:46 +08:00
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
border: none;
|
|
|
|
border-top: 1px solid #333;
|
|
|
|
border-bottom: 1px solid #333;
|
2015-08-17 03:11:21 +08:00
|
|
|
color: #EEE;
|
2015-07-24 04:55:46 +08:00
|
|
|
}
|
2015-07-13 03:01:42 +08:00
|
|
|
}
|
|
|
|
|
2015-08-16 22:05:02 +08:00
|
|
|
.menu {
|
2015-07-13 03:01:42 +08:00
|
|
|
list-style: none;
|
2015-07-24 04:55:46 +08:00
|
|
|
margin: 0;
|
2015-08-16 22:05:02 +08:00
|
|
|
.col-md-4 {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
a {
|
2015-07-24 04:55:46 +08:00
|
|
|
padding: $-m;
|
|
|
|
display: block;
|
2015-07-31 05:27:35 +08:00
|
|
|
border-bottom: 1px solid #3A3939;
|
2015-07-13 03:01:42 +08:00
|
|
|
}
|
2015-07-13 04:31:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-title input {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 1.4em;
|
2015-07-15 05:34:31 +08:00
|
|
|
}
|
|
|
|
|
2015-07-16 05:55:49 +08:00
|
|
|
.page-style {
|
|
|
|
padding: $-s $-xxl $-xxl $-xxl;
|
|
|
|
margin-bottom: $-xxl;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-style.editor {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content {
|
|
|
|
@extend .page-style;
|
|
|
|
min-height: 70vh;
|
2015-07-22 05:11:30 +08:00
|
|
|
max-width: 840px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2015-07-16 05:55:49 +08:00
|
|
|
&.right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
&.left {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-07-31 05:42:05 +08:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2015-07-31 05:44:58 +08:00
|
|
|
height:auto;
|
2015-07-31 05:42:05 +08:00
|
|
|
}
|
2015-07-16 05:55:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-list {
|
2015-07-31 05:27:35 +08:00
|
|
|
h3 {
|
|
|
|
margin: $-l 0;
|
|
|
|
}
|
|
|
|
.inset-list {
|
2015-07-16 05:55:49 +08:00
|
|
|
display: block;
|
2015-07-31 05:27:35 +08:00
|
|
|
overflow: hidden;
|
|
|
|
padding-left: $-l*2;
|
|
|
|
border-top: 3px dotted #EEE;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
display: block;
|
|
|
|
margin: $-m 0;
|
|
|
|
}
|
|
|
|
hr {
|
|
|
|
margin-top: 0;
|
2015-07-16 05:55:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-24 04:55:46 +08:00
|
|
|
.side-nav {
|
|
|
|
position: fixed;
|
|
|
|
padding-left: $-m;
|
|
|
|
opacity: 0.8;
|
|
|
|
margin-top: $-xxl;
|
|
|
|
margin-left: 0;
|
|
|
|
max-width: 240px;
|
2015-08-22 22:06:03 +08:00
|
|
|
display: none;
|
2015-07-16 05:55:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-nav-list {
|
|
|
|
$nav-indent: $-s;
|
2015-07-24 04:55:46 +08:00
|
|
|
margin-left: 2px;
|
|
|
|
list-style: none;
|
2015-07-16 05:55:49 +08:00
|
|
|
li {
|
|
|
|
//border-left: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
padding-left: $-xs;
|
2015-07-24 04:55:46 +08:00
|
|
|
border-left: 2px solid #888;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
li a {
|
|
|
|
color: #555;
|
2015-07-16 05:55:49 +08:00
|
|
|
}
|
|
|
|
.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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-17 02:15:22 +08:00
|
|
|
|
|
|
|
|
2015-07-15 05:34:31 +08:00
|
|
|
.overlay {
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
position: fixed;
|
2015-08-13 06:42:42 +08:00
|
|
|
display: none;
|
2015-07-15 05:34:31 +08:00
|
|
|
z-index: 95536;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
2015-07-17 02:15:22 +08:00
|
|
|
|
|
|
|
// Link hooks & popovers
|
|
|
|
a.link-hook {
|
|
|
|
position: absolute;
|
|
|
|
display: inline-block;
|
|
|
|
top: $-xs;
|
2015-07-31 06:43:18 +08:00
|
|
|
left: -$-l;
|
|
|
|
padding-bottom: 30px;
|
2015-07-17 02:15:22 +08:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: #BBB;
|
|
|
|
opacity: 0;
|
2015-07-31 06:43:18 +08:00
|
|
|
transform: translate3d(10px, 0, 0);
|
|
|
|
transition: all ease-in-out 240ms;
|
|
|
|
background-color: transparent;
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2015-07-17 02:15:22 +08:00
|
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
&:hover a.link-hook {
|
|
|
|
opacity: 1;
|
2015-07-31 06:43:18 +08:00
|
|
|
transform: translate3d(0, 0, 0);
|
2015-07-17 02:15:22 +08:00
|
|
|
}
|
2015-07-21 05:05:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs {
|
|
|
|
margin-top: $-s;
|
|
|
|
i {
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
span.sep {
|
2015-07-31 05:27:35 +08:00
|
|
|
color: #aaa;
|
2015-07-21 05:05:26 +08:00
|
|
|
padding: 0 $-xs;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-24 04:55:46 +08:00
|
|
|
.faded {
|
2015-07-31 05:27:35 +08:00
|
|
|
a {
|
|
|
|
color: #666;
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: all ease-in-out 120ms;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2015-07-24 04:55:46 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.faded-small {
|
|
|
|
color: #666;
|
|
|
|
font-size: 0.9em;
|
|
|
|
a, span {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.action-buttons {
|
|
|
|
text-align: right;
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: $-s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-21 05:05:26 +08:00
|
|
|
|
2015-07-24 04:55:46 +08:00
|
|
|
.book-tree h4 {
|
|
|
|
padding: $-m $-s 0 $-s;
|
|
|
|
i {
|
|
|
|
padding-right: $-s;
|
|
|
|
}
|
|
|
|
}
|
2015-07-31 05:27:35 +08:00
|
|
|
// Sidebar list
|
2015-07-24 04:55:46 +08:00
|
|
|
.book-tree .sidebar-page-list {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
2015-08-16 21:51:45 +08:00
|
|
|
margin-top: $-xl;
|
2015-08-16 07:50:27 +08:00
|
|
|
border-left: 5px solid #7BD06E;
|
2015-07-24 04:55:46 +08:00
|
|
|
li a {
|
|
|
|
display: block;
|
2015-08-16 21:51:45 +08:00
|
|
|
border-bottom: none;
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2015-07-24 04:55:46 +08:00
|
|
|
}
|
2015-08-16 07:50:27 +08:00
|
|
|
li, a {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-07-24 04:55:46 +08:00
|
|
|
a.bold {
|
|
|
|
color: #EEE !important;
|
|
|
|
}
|
2015-07-31 05:27:35 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
ul li a {
|
|
|
|
padding-left: $-xl;
|
|
|
|
}
|
|
|
|
.book {
|
|
|
|
color: #7BD06E !important;
|
2015-08-16 21:51:45 +08:00
|
|
|
&.selected {
|
|
|
|
background-color: rgba(123, 208, 110, 0.29);
|
|
|
|
}
|
2015-07-31 05:27:35 +08:00
|
|
|
}
|
|
|
|
.chapter {
|
|
|
|
color: #D2A64B !important;
|
2015-08-16 21:51:45 +08:00
|
|
|
&.selected {
|
|
|
|
background-color: rgba(239, 169, 42, 0.27);
|
|
|
|
}
|
2015-07-31 05:27:35 +08:00
|
|
|
}
|
2015-08-16 07:50:27 +08:00
|
|
|
.list-item-chapter {
|
|
|
|
border-left: 5px solid #D2A64B;
|
|
|
|
margin: 10px 10px;
|
|
|
|
display: block;
|
|
|
|
}
|
2015-08-16 21:51:45 +08:00
|
|
|
.list-item-page {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2015-07-31 05:27:35 +08:00
|
|
|
.page {
|
|
|
|
color: #4599DC !important;
|
2015-08-16 07:50:27 +08:00
|
|
|
border-left: 5px solid #4599DC;
|
|
|
|
margin: 10px 10px;
|
2015-08-16 21:51:45 +08:00
|
|
|
border-bottom: none;
|
|
|
|
&.selected {
|
|
|
|
background-color: rgba(118, 164, 202, 0.41);
|
|
|
|
}
|
2015-07-31 05:27:35 +08:00
|
|
|
}
|
2015-07-24 04:55:46 +08:00
|
|
|
}
|
|
|
|
|
2015-07-22 03:13:29 +08:00
|
|
|
.sortable-page-list, .sortable-page-list ul {
|
|
|
|
list-style: none;
|
|
|
|
//background-color: rgba(0, 0, 0, 0.04);
|
|
|
|
}
|
|
|
|
.sortable-page-list {
|
|
|
|
margin-left: 0;
|
|
|
|
ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid #BBB;
|
|
|
|
border-left: 1px solid #BBB;
|
|
|
|
border-right: 1px solid #BBB;
|
|
|
|
padding: $-xs $-s;
|
|
|
|
}
|
|
|
|
li:first-child {
|
|
|
|
margin-top: $-xs;
|
|
|
|
border-top: 1px solid #BBB;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Jquery Sortable Styles
|
|
|
|
.dragged {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0.5;
|
|
|
|
z-index: 2000;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dragging, body.dragging * {
|
|
|
|
cursor: move !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sortable-page-list li.placeholder {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.sortable-page-list li.placeholder:before {
|
|
|
|
position: absolute;
|
2015-07-31 05:44:58 +08:00
|
|
|
}
|
2015-08-06 03:59:39 +08:00
|
|
|
|
|
|
|
.image-cover {
|
|
|
|
height: 100vh;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
background-size: cover;
|
|
|
|
&.login {
|
|
|
|
background-image: url('/images/bg-books.jpg');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-bg {
|
|
|
|
background-image: url('/images/bg-books.jpg');
|
|
|
|
background-size: cover;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: -1;
|
2015-08-13 06:42:42 +08:00
|
|
|
&:after{
|
|
|
|
content: '';
|
2015-08-06 03:59:39 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: -1;
|
2015-08-16 07:50:27 +08:00
|
|
|
background-color: rgba(0,0,0,0.85);
|
2015-08-13 06:42:42 +08:00
|
|
|
display: block;
|
2015-08-06 03:59:39 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-cover #sidebar {
|
|
|
|
width: auto;
|
|
|
|
border: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.38);
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-box {
|
|
|
|
margin-top: 15vh;
|
|
|
|
padding: $-m $-xxl $-xl*2 $-xxl;
|
|
|
|
max-width: 346px;
|
|
|
|
h1, label {
|
|
|
|
color: #EEE;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
margin-bottom: $-m;
|
|
|
|
}
|
|
|
|
.button {
|
|
|
|
margin-top: $-xl;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
background-color: transparent;
|
|
|
|
color: #EEE;
|
|
|
|
}
|
2015-08-17 01:59:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.activity-list-item {
|
|
|
|
padding: $-s 0;
|
|
|
|
color: #888;
|
|
|
|
border-bottom: 1px solid #EEE;
|
2015-08-06 03:59:39 +08:00
|
|
|
}
|