2015-05-14 16:45:37 +03:00
|
|
|
/* Settings
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
/* Navigation
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav {
|
|
|
|
margin: 20px 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding: 0 20px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-grab {
|
|
|
|
padding: 0 16px 0 0;
|
|
|
|
width: 16px;
|
|
|
|
color: #d1d1d1;
|
|
|
|
text-indent: -4px;
|
|
|
|
font-size: 16px;
|
2015-05-14 16:45:37 +03:00
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-url .fake-placeholder {
|
|
|
|
color: #c1c1c1;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-line {
|
|
|
|
display: flex;
|
2015-05-14 16:45:37 +03:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-label {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-right: 10px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-url {
|
|
|
|
flex-grow: 3;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-delete {
|
|
|
|
padding: 8px 0 8px 10px;
|
|
|
|
color: #c1c1c1;
|
|
|
|
font-size: 14px;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: color 0.1s linear;
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-delete:hover,
|
|
|
|
.gh-blognav-delete:focus {
|
2015-05-14 16:45:37 +03:00
|
|
|
color: var(--red);
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-add {
|
|
|
|
margin-right: -2px;
|
|
|
|
margin-left: 10px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
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;
|
2015-05-25 16:17:14 +03:00
|
|
|
text-align: center;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 8px;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: background 0.1s linear;
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-add:hover,
|
|
|
|
.gh-blognav-add:focus {
|
2015-05-14 16:45:37 +03:00
|
|
|
background: color(var(--green) lightness(-10%));
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-item:last-child {
|
|
|
|
padding-left: calc(16px + 20px);
|
|
|
|
/* icon-grab + nav-item padding) */
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-blognav-item:last-child .gh-blognav-grab {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove space between inputs on smaller screens */
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.gh-blognav-label {
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
.gh-blognav-label input {
|
|
|
|
border-right-color: #eaeaea;
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
}
|
|
|
|
.gh-blognav-url input {
|
|
|
|
border-left-color: #eaeaea;
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
}
|
|
|
|
.gh-blognav-item input:focus {
|
|
|
|
position: relative;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* Code Injection
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2015-05-20 19:52:55 +03:00
|
|
|
.settings-code {
|
2015-05-14 16:45:37 +03:00
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
|
2015-05-20 19:52:55 +03:00
|
|
|
.settings-code p {
|
2015-05-14 16:45:37 +03:00
|
|
|
margin: 0 0 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code code {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-code-editor {
|
2015-05-20 19:52:55 +03:00
|
|
|
padding: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
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-06-24 14:15:48 +03:00
|
|
|
border-color: var(--midgrey);
|
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;
|
|
|
|
}
|
|
|
|
}
|