2017-04-12 22:52:52 +08:00
|
|
|
// Customise area
|
|
|
|
.customize {
|
2017-04-18 03:56:13 +08:00
|
|
|
h1 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
input {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-04-20 03:24:00 +08:00
|
|
|
|
2017-04-20 04:46:28 +08:00
|
|
|
.field-error {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
2017-06-12 10:20:14 +08:00
|
|
|
background-color: $quaternary-low;
|
2017-04-20 04:46:28 +08:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2017-04-20 03:24:00 +08:00
|
|
|
.edit-main-nav {
|
|
|
|
.nav-pills:after, .nav-pills:before {
|
|
|
|
display: inline;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
.show-overidden {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2017-04-12 22:52:52 +08:00
|
|
|
.admin-container {
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
.admin-footer {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2017-04-19 23:06:06 +08:00
|
|
|
.select2-chosen, .color-schemes li {
|
|
|
|
.fa {
|
|
|
|
margin-right: 6px;
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
|
|
|
}
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
.show-current-style {
|
|
|
|
margin-left: 20px;
|
|
|
|
float: left;
|
|
|
|
width: 70%;
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.current-style.maximized {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 100000;
|
|
|
|
background-color: white;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
.wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 20px;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav.nav-pills.fields {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
.content-list, .current-style {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.content-list ul {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
.current-style {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.admin-container {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav.target {
|
2017-04-19 04:48:15 +08:00
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
margin-top: 15px;
|
|
|
|
.fa {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
2017-04-20 03:24:00 +08:00
|
|
|
li.mobile a {
|
|
|
|
padding-right: 25px;
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
.fa-mobile {
|
2017-04-19 04:48:15 +08:00
|
|
|
position: absolute;
|
2017-04-20 03:24:00 +08:00
|
|
|
right: 10px;
|
|
|
|
top: 3px;
|
2017-04-19 04:48:15 +08:00
|
|
|
font-size: 1.5em;
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-maximize {
|
|
|
|
position: absolute;
|
|
|
|
right: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 600px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.maximized {
|
|
|
|
.admin-container {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 50px;
|
|
|
|
top: 80px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.admin-footer {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
.ace-wrapper {
|
2017-05-11 03:42:51 +08:00
|
|
|
height: calc(100% - 200px);
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ace_editor {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-actions {
|
|
|
|
float: right;
|
|
|
|
margin-top: 7px;
|
|
|
|
span {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons {
|
|
|
|
float: left;
|
|
|
|
width: 200px;
|
|
|
|
.saving {
|
|
|
|
padding: 5px 0 0 0;
|
|
|
|
margin-left: 10px;
|
|
|
|
width: 80px;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.color-scheme {
|
|
|
|
.controls {
|
|
|
|
span, button, a {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.colors {
|
|
|
|
thead th { border: none; }
|
|
|
|
td.hex { width: 160px; }
|
|
|
|
td.actions { width: 200px; }
|
|
|
|
.hex-input { width: 80px; margin-bottom: 0; }
|
|
|
|
.hex { text-align: center; }
|
|
|
|
.description { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
|
|
|
|
|
|
|
|
.invalid .hex input {
|
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
border-color: $danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-message {
|
|
|
|
display: block;
|
|
|
|
font-size: 0.8em;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2017-05-10 05:20:28 +08:00
|
|
|
|
|
|
|
.removable-list {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
li {
|
|
|
|
display: table-row;
|
2017-05-11 02:43:05 +08:00
|
|
|
.col:first-child {
|
|
|
|
padding-right: 10px;
|
2017-05-10 05:20:28 +08:00
|
|
|
padding-bottom: 10px;
|
2017-05-11 02:43:05 +08:00
|
|
|
min-width: 80px;
|
2017-05-10 05:20:28 +08:00
|
|
|
}
|
2017-05-11 02:43:05 +08:00
|
|
|
.col {
|
2017-05-10 05:20:28 +08:00
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-12 22:52:52 +08:00
|
|
|
}
|
|
|
|
|
2017-05-11 02:43:05 +08:00
|
|
|
.add-upload-modal {
|
|
|
|
label {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
}
|