2015-12-31 05:38:20 +08:00
|
|
|
#page-show {
|
|
|
|
>.row .col-md-9 {
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
>.row .col-md-3 {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 23:51:10 +08:00
|
|
|
.page-editor {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
.faded-small {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.edit-area {
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-style.editor {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-content {
|
|
|
|
max-width: 840px;
|
2015-10-19 03:06:49 +08:00
|
|
|
overflow-wrap: break-word;
|
2015-10-15 05:12:46 +08:00
|
|
|
.align-left {
|
|
|
|
text-align: left;
|
2015-12-02 04:26:09 +08:00
|
|
|
}
|
|
|
|
img.align-left, table.align-left {
|
|
|
|
float: left !important;
|
2015-10-15 05:12:46 +08:00
|
|
|
margin: $-xs $-s $-xs 0;
|
|
|
|
}
|
|
|
|
.align-right {
|
|
|
|
float: right !important;
|
2015-12-02 04:26:09 +08:00
|
|
|
}
|
|
|
|
img.align-right, table.align-right {
|
2015-10-15 05:12:46 +08:00
|
|
|
text-align: right;
|
|
|
|
margin: $-xs 0 $-xs $-s;
|
|
|
|
}
|
|
|
|
.align-center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
height:auto;
|
|
|
|
}
|
2016-07-03 16:58:45 +08:00
|
|
|
h1, h2, h3, h4, h5, h6, pre {
|
2016-05-22 16:08:37 +08:00
|
|
|
clear: left;
|
2015-10-15 05:12:46 +08:00
|
|
|
}
|
2015-10-19 03:06:49 +08:00
|
|
|
hr {
|
|
|
|
clear: both;
|
|
|
|
margin: $-m 0;
|
|
|
|
}
|
2015-11-10 03:05:52 +08:00
|
|
|
table {
|
|
|
|
word-break: break-all;
|
2015-11-10 03:20:44 +08:00
|
|
|
word-break: break-word;
|
|
|
|
hyphens: auto;
|
2015-11-10 03:05:52 +08:00
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
|
2015-10-11 01:57:52 +08:00
|
|
|
// Page content pointers
|
|
|
|
.pointer-container {
|
|
|
|
position: relative;
|
|
|
|
display: none;
|
2015-12-31 04:48:57 +08:00
|
|
|
left: 0;
|
2015-12-31 05:38:20 +08:00
|
|
|
z-index: 10;
|
2015-10-11 01:57:52 +08:00
|
|
|
}
|
|
|
|
.pointer {
|
|
|
|
border: 1px solid #CCC;
|
2015-09-03 23:51:10 +08:00
|
|
|
display: inline-block;
|
2016-05-22 16:08:37 +08:00
|
|
|
padding: $-s $-s;
|
2015-10-11 01:57:52 +08:00
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 8px 1px rgba(212, 209, 209, 0.35);
|
|
|
|
position: absolute;
|
|
|
|
top: -60px;
|
|
|
|
background-color:#FFF;
|
2015-12-31 04:48:57 +08:00
|
|
|
width: 272px;
|
2015-12-31 05:38:20 +08:00
|
|
|
z-index: 55;
|
2015-10-11 01:57:52 +08:00
|
|
|
&:before {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
bottom: -9px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin-left: -8px;
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
background-color:#FFF;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
border-bottom: 1px solid #CCC;
|
|
|
|
border-right: 1px solid #CCC;
|
2015-12-31 05:38:20 +08:00
|
|
|
z-index: 56;
|
2015-10-11 01:57:52 +08:00
|
|
|
}
|
|
|
|
input {
|
|
|
|
background-color: #FFF;
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
color: #666;
|
2016-02-23 04:18:08 +08:00
|
|
|
width: 172px;
|
2015-10-11 01:57:52 +08:00
|
|
|
z-index: 40;
|
|
|
|
}
|
|
|
|
input, button {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0;
|
|
|
|
height: 28px;
|
|
|
|
font-size: 12px;
|
2015-12-31 05:38:20 +08:00
|
|
|
vertical-align: top;
|
2015-10-11 01:57:52 +08:00
|
|
|
}
|
|
|
|
> i {
|
|
|
|
color: #888;
|
|
|
|
font-size: 18px;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
.button {
|
|
|
|
line-height: 1;
|
|
|
|
margin: 0 0 0 -4px;
|
|
|
|
box-shadow: none;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
|
|
|
}
|
2015-10-11 01:57:52 +08:00
|
|
|
|
2016-05-15 17:39:17 +08:00
|
|
|
// Attribute form
|
|
|
|
.floating-toolbox {
|
|
|
|
background-color: #FFF;
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
right: $-xl*2;
|
|
|
|
z-index: 99;
|
|
|
|
width: 48px;
|
|
|
|
overflow: hidden;
|
|
|
|
align-items: stretch;
|
|
|
|
flex-direction: row;
|
|
|
|
display: flex;
|
|
|
|
transition: width ease-in-out 180ms;
|
|
|
|
margin-top: -1px;
|
2016-05-22 16:08:37 +08:00
|
|
|
min-height: 0px;
|
2016-05-15 17:39:17 +08:00
|
|
|
&.open {
|
|
|
|
width: 480px;
|
|
|
|
}
|
|
|
|
[toolbox-toggle] i {
|
|
|
|
transition: transform ease-in-out 180ms;
|
|
|
|
}
|
|
|
|
[toolbox-toggle] {
|
|
|
|
transition: background-color ease-in-out 180ms;
|
|
|
|
}
|
|
|
|
&.open [toolbox-toggle] {
|
|
|
|
background-color: rgba(255, 0, 0, 0.29);
|
|
|
|
}
|
|
|
|
&.open [toolbox-toggle] i {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
> div {
|
|
|
|
flex: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.tabs {
|
|
|
|
display: block;
|
|
|
|
border-right: 1px solid #DDD;
|
2016-08-13 21:54:23 +08:00
|
|
|
width: 48px;
|
|
|
|
flex: 0 1 auto;
|
2016-05-15 17:39:17 +08:00
|
|
|
}
|
|
|
|
.tabs i {
|
|
|
|
color: rgba(0, 0, 0, 0.5);
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.tabs > span {
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: $-s $-m;
|
|
|
|
font-size: 13.5px;
|
|
|
|
line-height: 1.6;
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
&.open .tabs > span.active {
|
|
|
|
color: #444;
|
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
div[tab-content] {
|
|
|
|
padding-bottom: 45px;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
2016-05-22 16:08:37 +08:00
|
|
|
min-height: 0px;
|
|
|
|
overflow-y: scroll;
|
2016-05-15 17:39:17 +08:00
|
|
|
}
|
|
|
|
div[tab-content] .padded {
|
|
|
|
flex: 1;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
font-size: 24px;
|
|
|
|
margin: $-m 0 0 0;
|
|
|
|
padding: 0 $-l $-s $-l;
|
|
|
|
}
|
|
|
|
.tags input {
|
|
|
|
max-width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 50px;
|
|
|
|
}
|
|
|
|
.tags td {
|
|
|
|
padding-right: $-s;
|
|
|
|
padding-top: $-s;
|
2016-05-16 03:12:53 +08:00
|
|
|
position: relative;
|
2016-05-15 17:39:17 +08:00
|
|
|
}
|
|
|
|
button.pos {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: $-s;
|
|
|
|
height: 45px;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0;
|
|
|
|
&:hover{
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
2016-05-15 17:39:17 +08:00
|
|
|
.handle {
|
|
|
|
user-select: none;
|
|
|
|
cursor: move;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[tab-content] {
|
|
|
|
display: none;
|
2015-09-03 23:51:10 +08:00
|
|
|
}
|
2016-05-15 17:39:17 +08:00
|
|
|
|
|
|
|
.tag-display {
|
|
|
|
margin: $-xl $-xs;
|
|
|
|
border: 1px solid #DDD;
|
|
|
|
min-width: 180px;
|
|
|
|
max-width: 320px;
|
|
|
|
opacity: 0.7;
|
2016-05-22 16:08:37 +08:00
|
|
|
z-index: 5;
|
|
|
|
position: relative;
|
2016-05-15 17:39:17 +08:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2016-08-21 20:35:22 +08:00
|
|
|
.heading th {
|
2016-05-15 17:39:17 +08:00
|
|
|
padding: $-xs $-s;
|
2016-08-21 20:35:22 +08:00
|
|
|
color: #333;
|
|
|
|
font-weight: 400;
|
2016-05-15 17:39:17 +08:00
|
|
|
}
|
|
|
|
td {
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
padding: $-xs $-s;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
.tag-value {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
tr:last-child td {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
.tag {
|
|
|
|
padding: $-s;
|
2016-05-16 03:12:53 +08:00
|
|
|
}
|
|
|
|
}
|
2016-05-15 17:39:17 +08:00
|
|
|
|
2016-05-16 03:12:53 +08:00
|
|
|
.suggestion-box {
|
|
|
|
position: absolute;
|
|
|
|
background-color: #FFF;
|
|
|
|
border: 1px solid #BBB;
|
|
|
|
box-shadow: $bs-light;
|
|
|
|
list-style: none;
|
|
|
|
z-index: 100;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 3px;
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
padding: $-xs $-s;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
2016-05-15 17:39:17 +08:00
|
|
|
}
|
|
|
|
}
|