2015-05-14 16:45:37 +03:00
|
|
|
/* Settings
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-02-17 17:10:02 +03:00
|
|
|
.gh-setting-header {
|
|
|
|
margin: 3vw 0 5px 0;
|
|
|
|
color: var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 25px 0;
|
|
|
|
border-top: var(--lightgrey) 1px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting-content {
|
2017-02-21 11:18:15 +03:00
|
|
|
width: 100%;
|
|
|
|
margin: 0 50px 0 0;
|
2017-02-17 17:10:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting-title {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
font-size: 1.8rem;
|
|
|
|
line-height: 1.15em;
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting-desc {
|
|
|
|
line-height: 1.3em;
|
|
|
|
color: var(--midgrey);
|
|
|
|
font-weight: 200;
|
|
|
|
letter-spacing: 0.3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting-action {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin: 1px 0 0 0;
|
|
|
|
}
|
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
/* Images */
|
|
|
|
|
|
|
|
.gh-setting-action-smallimg img {
|
|
|
|
max-height: 50px;
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting-action-largeimg img {
|
|
|
|
max-height: 130px;
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Checkboxes */
|
|
|
|
|
2017-02-17 17:10:02 +03:00
|
|
|
.gh-setting-action .input-toggle-component {
|
|
|
|
float: none;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-setting-action .input-toggle-component:before {
|
|
|
|
top: 7px;
|
|
|
|
left: 6px;
|
|
|
|
width: 15px;
|
|
|
|
height: 9px;
|
|
|
|
}
|
|
|
|
|
2017-02-21 11:18:15 +03:00
|
|
|
.gh-setting-content-extended {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* Navigation
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
.gh-blognav-container {
|
|
|
|
padding: 25px 0;
|
|
|
|
border-top: var(--lightgrey) 1px solid;
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav {
|
2017-02-27 09:31:01 +03:00
|
|
|
margin: 0 -24px 0 -16px;
|
|
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.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;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-09-16 20:02:06 +03:00
|
|
|
.gh-blognav-item--error {
|
|
|
|
margin-bottom: calc(1em + 10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-blognav-item .response {
|
|
|
|
position: absolute;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-05-25 16:17:14 +03:00
|
|
|
.gh-blognav-grab {
|
|
|
|
padding: 0 16px 0 0;
|
|
|
|
width: 16px;
|
2017-02-27 09:31:01 +03:00
|
|
|
color: color(var(--midgrey) l(+15%));
|
2015-05-25 16:17:14 +03:00
|
|
|
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-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;
|
2017-02-27 09:31:01 +03:00
|
|
|
color: color(var(--midgrey) l(+15%));
|
2015-05-25 16:17:14 +03:00
|
|
|
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 {
|
2017-02-27 09:31:01 +03:00
|
|
|
margin-right: -1px;
|
|
|
|
margin-left: 9px;
|
2015-05-25 16:17:14 +03:00
|
|
|
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%));
|
|
|
|
}
|
|
|
|
|
2016-02-09 20:16:18 +03:00
|
|
|
.gh-blognav-item:not(.gh-blognav-item--sortable) {
|
2017-02-17 08:50:07 +03:00
|
|
|
padding-left: 16px;
|
2015-05-25 16:17:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove space between inputs on smaller screens */
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.gh-blognav-label {
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
.gh-blognav-label input {
|
2017-02-27 09:31:01 +03:00
|
|
|
border-right-color: color(var(--lightgrey) l(-5%) s(-10%));
|
2015-05-25 16:17:14 +03:00
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
}
|
|
|
|
.gh-blognav-url input {
|
2017-02-27 09:31:01 +03:00
|
|
|
border-left-color: color(var(--lightgrey) l(-5%) s(-10%));
|
2015-05-25 16:17:14 +03:00
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
}
|
|
|
|
.gh-blognav-item input:focus {
|
|
|
|
position: relative;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2017-02-17 08:50:07 +03:00
|
|
|
/* Code injection
|
2015-05-14 16:45:37 +03:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2016-08-17 18:01:46 +03:00
|
|
|
|
|
|
|
|
|
|
|
/* Themes
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
.gh-themes-container {
|
|
|
|
padding: 25px 0;
|
|
|
|
border-top: var(--lightgrey) 1px solid;
|
2016-08-17 18:01:46 +03:00
|
|
|
}
|
|
|
|
|
2017-02-27 09:31:01 +03:00
|
|
|
.gh-themes-uploadbtn {
|
|
|
|
margin-top: 25px;
|
2016-08-17 18:01:46 +03:00
|
|
|
}
|
2017-02-27 09:31:01 +03:00
|
|
|
/*Errors */
|
2016-08-24 21:22:20 +03:00
|
|
|
|
|
|
|
.theme-validation-errors {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-validation-errors p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-validation-errors > li {
|
|
|
|
margin-bottom: 1.2em;
|
|
|
|
list-style: none;
|
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-validation-errors > li > ul {
|
|
|
|
margin-top: 0.2em;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|