2015-05-14 16:45:37 +03:00
|
|
|
/* Settings Menu
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
/* Container
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.settings-menu-container {
|
2018-05-01 12:57:20 +03:00
|
|
|
position: absolute;
|
2015-05-14 16:45:37 +03:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 500;
|
|
|
|
width: 350px;
|
2017-08-03 14:45:14 +03:00
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
2021-02-10 15:48:10 +03:00
|
|
|
background: var(--white);
|
|
|
|
transition: all 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
|
2019-06-18 13:47:21 +03:00
|
|
|
transform: translate3d(360px, 0px, 0px);
|
2021-02-10 15:48:10 +03:00
|
|
|
box-shadow: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2015-05-27 17:39:56 +03:00
|
|
|
.settings-menu-expanded .settings-menu-container {
|
2015-05-14 16:45:37 +03:00
|
|
|
transform: translate3d(0, 0px, 0px);
|
2021-02-10 15:48:10 +03:00
|
|
|
box-shadow:
|
|
|
|
-4.5px 0 3.6px rgba(0, 0, 0, 0.007),
|
|
|
|
-12.5px 0 10px rgba(0, 0, 0, 0.008),
|
|
|
|
-30.1px 0 24.1px rgba(0, 0, 0, 0.01),
|
|
|
|
-100px 0 80px rgba(0, 0, 0, 0.02)
|
|
|
|
;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-container .settings-menu-pane {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
overflow: auto;
|
2015-05-16 14:43:12 +03:00
|
|
|
opacity: 1;
|
|
|
|
transform: translate3d(0, 0px, 0px);
|
2017-08-03 14:45:14 +03:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 901px) {
|
|
|
|
.settings-menu-container .settings-menu-pane {
|
|
|
|
transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-container .settings-menu-pane.settings-menu-pane-out-left {
|
|
|
|
transform: translate3d(-100%, 0px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-container .settings-menu-pane.settings-menu-pane-out-right {
|
|
|
|
transform: translate3d(100%, 0px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-container .settings-menu-pane.settings-menu-pane-in {
|
|
|
|
transform: translate3d(0, 0px, 0px);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Header
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.settings-menu-header {
|
|
|
|
position: relative;
|
2015-05-18 19:30:59 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2015-08-26 16:20:41 +03:00
|
|
|
align-items: center;
|
|
|
|
padding: 15px 24px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-header h4 {
|
2015-05-16 14:43:12 +03:00
|
|
|
margin: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-size: 1.75rem;
|
2015-05-14 16:45:37 +03:00
|
|
|
line-height: 1.375;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 600;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-header .close {
|
2015-08-26 16:20:41 +03:00
|
|
|
margin-right: -15px;
|
|
|
|
padding: 10px 15px;
|
2015-05-18 19:30:59 +03:00
|
|
|
font-size: 12px;
|
2015-08-26 16:20:41 +03:00
|
|
|
line-height: 12px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.settings-menu-header .close svg {
|
|
|
|
width: 12px;
|
2017-08-03 14:45:14 +03:00
|
|
|
height: 12px;
|
2017-04-19 13:27:32 +03:00
|
|
|
fill: var(--darkgrey);
|
2017-04-14 19:22:14 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.settings-menu-header.subview h4 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-header.subview .back {
|
2015-08-26 16:20:41 +03:00
|
|
|
margin-left: -15px;
|
|
|
|
padding: 10px 15px;
|
|
|
|
line-height: 14px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.settings-menu-header.subview .back svg {
|
2017-06-02 00:02:03 +03:00
|
|
|
width: 14px;
|
2017-08-03 14:45:14 +03:00
|
|
|
height: 14px;
|
2017-04-14 19:22:14 +03:00
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2017-04-14 19:22:14 +03:00
|
|
|
.settings-menu-header.subview .back svg path {
|
|
|
|
fill: var(--darkgrey);
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* Content
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2019-11-07 11:49:49 +03:00
|
|
|
.settings-menu-container:not(.ember-power-select-multiple-trigger):not(.tag-settings) input:not([disabled]),
|
|
|
|
.settings-menu-container:not(.tag-settings) .gh-input:not([disabled]),
|
2019-06-18 13:47:21 +03:00
|
|
|
.settings-menu-pane .gh-date-time-picker-date,
|
|
|
|
.settings-menu-pane .gh-date-time-picker-time {
|
|
|
|
background: var(--white);
|
2021-02-10 15:48:10 +03:00
|
|
|
border: var(--input-border);
|
2019-06-18 13:47:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-container .ember-power-select-multiple-trigger input,
|
|
|
|
.settings-menu-pane .gh-date-time-picker-date input,
|
|
|
|
.settings-menu-pane .gh-date-time-picker-time input {
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.settings-menu-content {
|
|
|
|
padding: 0 24px 24px;
|
|
|
|
}
|
|
|
|
|
2017-08-02 12:32:51 +03:00
|
|
|
.settings-menu-content label code {
|
|
|
|
font-weight: normal;
|
2021-02-10 13:15:19 +03:00
|
|
|
border: 1px solid var(--lightgrey);
|
2017-08-02 12:32:51 +03:00
|
|
|
}
|
|
|
|
|
2016-02-26 16:25:47 +03:00
|
|
|
.settings-menu-content .gh-image-uploader {
|
2015-05-16 14:43:12 +03:00
|
|
|
margin: 0 0 1.6rem 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2016-02-26 16:25:47 +03:00
|
|
|
.settings-menu-content .gh-image-uploader .description {
|
2015-06-24 15:37:37 +03:00
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
2016-02-26 16:25:47 +03:00
|
|
|
.settings-menu-content .gh-image-uploader form {
|
2015-05-14 16:45:37 +03:00
|
|
|
padding: 35px 45px;
|
|
|
|
}
|
|
|
|
|
2016-09-24 12:10:08 +03:00
|
|
|
.settings-menu-content .gh-image-uploader.-with-image {
|
2017-08-03 14:45:14 +03:00
|
|
|
width: auto;
|
2016-02-26 16:25:47 +03:00
|
|
|
min-height: 50px;
|
|
|
|
max-height: 250px;
|
2017-08-03 14:45:14 +03:00
|
|
|
margin-top: 0;
|
2016-02-26 16:25:47 +03:00
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.settings-menu-content textarea {
|
|
|
|
height: 108px;
|
|
|
|
}
|
|
|
|
|
2017-08-03 14:45:14 +03:00
|
|
|
.settings-menu-content textarea.gh-input {
|
2019-06-21 14:52:39 +03:00
|
|
|
font-size: 1.5rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
line-height: 1.4em;
|
2017-08-03 14:45:14 +03:00
|
|
|
}
|
|
|
|
|
2018-01-02 21:29:03 +03:00
|
|
|
.settings-menu-content .gh-cm-editor-textarea {
|
|
|
|
min-height: 170px;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.settings-menu-content .nav-list {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-content .word-count {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ghost-url-preview {
|
2017-08-03 14:45:14 +03:00
|
|
|
width: 98%;
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Preview never wider than input */
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-05-16 14:43:12 +03:00
|
|
|
white-space: nowrap;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-19 13:00:05 +03:00
|
|
|
.settings-menu-delete-button {
|
2019-06-18 13:47:21 +03:00
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
2017-04-19 13:00:05 +03:00
|
|
|
color: var(--red);
|
2019-06-18 13:47:21 +03:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-delete-button:hover {
|
|
|
|
box-shadow: none;
|
2021-02-10 15:48:10 +03:00
|
|
|
background: none;
|
2017-04-19 13:00:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-delete-button span {
|
|
|
|
font-size: inherit;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 6px 0;
|
2017-04-19 13:00:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-delete-button svg {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-delete-button svg path {
|
|
|
|
stroke: var(--red);
|
2017-08-03 14:45:14 +03:00
|
|
|
fill: var(--red);
|
2017-04-19 13:00:05 +03:00
|
|
|
stroke-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-delete-button:hover,
|
|
|
|
.settings-menu-delete-button:hover svg path {
|
2018-04-03 13:52:18 +03:00
|
|
|
stroke: color-mod(var(--red) lightness(-10%));
|
|
|
|
fill: color-mod(var(--red) lightness(-10%));
|
|
|
|
color: color-mod(var(--red) lightness(-10%));
|
2017-04-19 13:00:05 +03:00
|
|
|
}
|
|
|
|
|
2017-08-01 11:24:46 +03:00
|
|
|
.post-setting-custom-excerpt {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1.35em;
|
|
|
|
}
|
|
|
|
|
2017-08-02 12:32:51 +03:00
|
|
|
.settings-menu-content .CodeMirror {
|
|
|
|
height: 170px;
|
|
|
|
min-height: 170px;
|
|
|
|
padding: 0;
|
2021-02-10 13:15:19 +03:00
|
|
|
background: var(--white);
|
|
|
|
color: var(--darkgrey);
|
|
|
|
border: 1px solid var(--lightgrey);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-content .CodeMirror-cursor {
|
|
|
|
border: 1px solid var(--midgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-content .CodeMirror-gutters {
|
|
|
|
background-color: var(--whitegrey-l2);
|
|
|
|
border-right: 1px solid var(--lightgrey);
|
2017-08-02 12:32:51 +03:00
|
|
|
}
|
|
|
|
|
2017-08-03 14:45:14 +03:00
|
|
|
.settings-menu-content .CodeMirror:hover {
|
|
|
|
cursor: text;
|
|
|
|
}
|
|
|
|
|
2017-08-02 12:32:51 +03:00
|
|
|
.settings-menu-content .CodeMirror-scroll {
|
|
|
|
min-height: 170px;
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2017-09-10 11:28:28 +03:00
|
|
|
.settings-menu-content .for-radio .input-toggle-component,
|
|
|
|
.settings-menu-content .for-checkbox .input-toggle-component {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
/* .settings-menu-pane .ember-power-select-multiple-trigger {
|
|
|
|
border: var(--input-border);
|
|
|
|
background: var(--input-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-pane .ember-power-select-trigger[aria-expanded=true] {
|
|
|
|
border-color: transparent;
|
|
|
|
background: color-mod(var(--input-bg-color) l(-3%));
|
|
|
|
} */
|
|
|
|
|
|
|
|
.settings-menu-pane .ember-power-select-dropdown {
|
|
|
|
border: none;
|
|
|
|
border-top: none;
|
|
|
|
margin: 0 1px;
|
|
|
|
width: calc(100% - 2px);
|
|
|
|
box-shadow: 0 0 0 1px rgba(99,114,130,0.16), 0 8px 16px rgba(27,39,51,0.08);
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-pane .gh-date-time-picker-date,
|
|
|
|
.settings-menu-pane .gh-date-time-picker-time {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-pane .gh-date-time-picker-date {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-pane .gh-date-time-picker-time {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2017-09-10 11:28:28 +03:00
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Background
|
|
|
|
/* ---------------------------------------------------------- */
|
2019-06-18 13:47:21 +03:00
|
|
|
@keyframes coverFadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2015-05-27 17:39:56 +03:00
|
|
|
.settings-menu-expanded .content-cover,
|
|
|
|
.mobile-menu-expanded .content-cover {
|
2015-05-14 16:45:37 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
2015-05-27 17:39:56 +03:00
|
|
|
z-index: 900;
|
2019-06-18 13:47:21 +03:00
|
|
|
opacity: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
|
2021-02-10 15:48:10 +03:00
|
|
|
background: rgba(0,0,0,0.02);
|
2015-05-14 16:45:37 +03:00
|
|
|
/* Not off the screen, to give a parallax effect */
|
2019-06-18 13:47:21 +03:00
|
|
|
animation: coverFadeIn 0.3s ease 0.1s 1 forwards;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2015-05-27 17:39:56 +03:00
|
|
|
.settings-menu-expanded .content-cover {
|
|
|
|
transform: translate3d(-350px, 0px, 0px);
|
|
|
|
}
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2015-05-27 17:39:56 +03:00
|
|
|
.mobile-menu-expanded .content-cover {
|
2016-08-18 14:42:42 +03:00
|
|
|
transform: translate3d(205px, 0px, 0px);
|
2015-05-27 17:39:56 +03:00
|
|
|
}
|
2018-05-15 15:47:50 +03:00
|
|
|
|
|
|
|
|
|
|
|
/* Badges
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.gh-setting-title .gh-badge {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2019-11-06 07:23:20 +03:00
|
|
|
|
|
|
|
/* Email
|
|
|
|
/* ---------------------------------------------------------- */
|
2019-11-07 11:32:29 +03:00
|
|
|
.settings-menu-email-button span {
|
2019-11-06 07:23:20 +03:00
|
|
|
padding: 4px 0;
|
|
|
|
line-height: 1em;
|
|
|
|
height: unset;
|
|
|
|
margin-bottom: 4px;
|
2019-11-07 11:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.settings-menu-email .disabled button,
|
|
|
|
.settings-menu-email .disabled input {
|
|
|
|
opacity: 0.5;
|
2019-11-06 07:23:20 +03:00
|
|
|
}
|