2015-05-14 16:45:37 +03:00
|
|
|
/* Settings
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
/* Navigation
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.navigation-item {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.navigation-item {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 601px) {
|
|
|
|
.navigation-item {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item:last-child {
|
|
|
|
padding-left: 17px;
|
|
|
|
/* simulate .navigation-item-drag-handle width + horizontal padding */
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item:last-child .navigation-item-drag-handle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-drag-handle {
|
|
|
|
padding: 6px 17px 0 0;
|
|
|
|
width: 17px;
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.navigation-item-drag-handle:before {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
|
|
|
z-index: 20;
|
2015-05-16 14:43:12 +03:00
|
|
|
margin-top: -9px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-inputs {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-url .fake-placeholder {
|
|
|
|
color: lightgrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.navigation-item-label {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.navigation-item-label,
|
|
|
|
.navigation-item-url {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 601px) {
|
|
|
|
.navigation-inputs {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.navigation-item-label {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.navigation-item-url {
|
|
|
|
flex-grow: 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-action {
|
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
2015-05-16 14:43:12 +03:00
|
|
|
padding-left: 10px;
|
|
|
|
width: 40px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-action button {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -2px;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
transform: translateY(-50%);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-action .icon-trash:before {
|
|
|
|
color: var(--midbrown);
|
|
|
|
font-size: 16px;
|
|
|
|
transition: color 0.1s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-action .icon-trash:hover:before {
|
|
|
|
color: var(--red);
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-action .icon-add:before {
|
2015-05-16 14:43:12 +03:00
|
|
|
padding: 3px;
|
2015-05-14 16:45:37 +03:00
|
|
|
background: var(--green);
|
2015-05-16 14:43:12 +03:00
|
|
|
border-radius: 2px;
|
2015-05-14 16:45:37 +03:00
|
|
|
color: #fff;
|
|
|
|
font-size: 12px;
|
|
|
|
transition: background 0.1s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navigation-item-action .icon-add:hover:before {
|
|
|
|
background: color(var(--green) lightness(-10%));
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Code Injection
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.settings-code .form-group {
|
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code .form-group p {
|
|
|
|
margin: 0 0 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code code {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code-editor {
|
|
|
|
min-width: 250px;
|
2015-05-16 14:43:12 +03:00
|
|
|
min-height: 300px;
|
2015-05-14 16:45:37 +03:00
|
|
|
max-width: 680px;
|
2015-05-16 14:43:12 +03:00
|
|
|
width: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
height: auto;
|
2015-05-16 00:28:30 +03:00
|
|
|
border: 1px solid #e0dfd7;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
line-height: 22px;
|
2015-05-16 14:43:12 +03:00
|
|
|
transition: border-color 0.15s linear;
|
|
|
|
|
|
|
|
-webkit-appearance: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code-editor.focused {
|
|
|
|
outline: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
border-color: var(--brown);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code-editor .CodeMirror {
|
|
|
|
border-radius: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code-editor .cm-s-xq-light span.cm-meta {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Labs
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
#startupload {
|
|
|
|
line-height: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 400px) {
|
|
|
|
#startupload {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|