2015-05-14 16:45:37 +03:00
|
|
|
/* Content /ghost/
|
|
|
|
|
2017-01-25 23:05:28 +03:00
|
|
|
/* Header
|
2015-05-14 16:45:37 +03:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-contentfilter {
|
2017-01-25 23:05:28 +03:00
|
|
|
display: flex;
|
2017-03-11 14:23:44 +03:00
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
2019-07-15 16:06:27 +03:00
|
|
|
margin: 0 24px;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 0;
|
2017-02-15 15:43:49 +03:00
|
|
|
list-style: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-contentfilter li {
|
|
|
|
position: relative;
|
2017-01-25 23:05:28 +03:00
|
|
|
display: inline-block;
|
2017-02-15 15:43:49 +03:00
|
|
|
margin: 0 25px 0 0;
|
2017-02-03 17:00:42 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-contentfilter li.active:after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background: var(--darkgrey);
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
opacity: 0.5;
|
2017-02-03 17:00:42 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-contentfilter li a {
|
|
|
|
display: block;
|
|
|
|
padding: 13px 1px 0;
|
2018-04-03 13:52:18 +03:00
|
|
|
color: color-mod(var(--midgrey) l(+8%));
|
2017-02-15 15:43:49 +03:00
|
|
|
font-size: 1.5rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 400;
|
2017-02-15 15:43:49 +03:00
|
|
|
letter-spacing: 0.3px;
|
2017-02-03 17:00:42 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-contentfilter a.active {
|
|
|
|
font-weight: 500;
|
2017-02-03 17:00:42 +03:00
|
|
|
color: var(--darkgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-10 14:16:19 +03:00
|
|
|
.gh-contentfilter-menu-trigger,
|
|
|
|
.gh-contentfilter-menu-trigger:focus,
|
|
|
|
.gh-contentfilter-menu-trigger--active {
|
2019-06-18 13:47:21 +03:00
|
|
|
background: var(--white);
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--darkgrey);
|
2019-07-15 16:06:27 +03:00
|
|
|
padding: 5px 10px 6px 10px;
|
2019-06-18 13:47:21 +03:00
|
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
|
|
outline: none;
|
2017-04-10 14:16:19 +03:00
|
|
|
border: none;
|
2019-07-15 16:06:27 +03:00
|
|
|
border-right: 1px solid var(--whitegrey-l2);
|
|
|
|
border-radius: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
white-space: nowrap;
|
|
|
|
transition: all 0.25s ease;
|
2017-04-10 14:16:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-contentfilter-menu-trigger:hover {
|
|
|
|
cursor: pointer;
|
2019-06-18 13:47:21 +03:00
|
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
|
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
2019-07-15 16:06:27 +03:00
|
|
|
.gh-contentfilter-type .gh-contentfilter-menu-trigger {
|
|
|
|
border-top-left-radius: 4px !important;
|
|
|
|
border-bottom-left-radius: 4px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-contentfilter-sort .gh-contentfilter-menu-trigger {
|
|
|
|
border-top-right-radius: 4px !important;
|
|
|
|
border-bottom-right-radius: 4px !important;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-contentfilter-selected .gh-contentfilter-menu-trigger,
|
|
|
|
.gh-contentfilter-selected .gh-contentfilter-menu-trigger:hover {
|
|
|
|
color: var(--blue);
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-contentfilter-menu-trigger svg path {
|
|
|
|
stroke: color-mod(var(--midgrey) l(-7%));
|
2017-04-10 14:16:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-contentfilter .ember-power-select-selected-item,
|
|
|
|
.gh-contentfilter .ember-power-select-placeholder {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-contentfilter-menu-dropdown {
|
2017-07-06 13:04:28 +03:00
|
|
|
width: 180px;
|
2019-06-18 13:47:21 +03:00
|
|
|
margin-top: 6px;
|
|
|
|
padding: 6px 0;
|
2017-04-10 14:16:19 +03:00
|
|
|
border: none !important;
|
|
|
|
font-size: 1.3rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 7px 20px -5px rgba(0,0,0,.15);
|
|
|
|
border-radius: 5px !important;
|
2017-04-10 14:16:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-contentfilter-menu-dropdown .ember-power-select-search input {
|
|
|
|
display: block !important;
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 0 14px !important;
|
|
|
|
border-bottom: 1px solid var(--lightgrey) !important;
|
|
|
|
width: calc(100% - 28px) !important;
|
2017-04-10 14:16:19 +03:00
|
|
|
}
|
|
|
|
|
2017-07-06 13:04:28 +03:00
|
|
|
.gh-contentfilter-menu-dropdown .ember-power-select-option {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-contentfilter-sort .gh-contentfilter-menu-trigger .ember-power-select-selected-item::before {
|
|
|
|
content: "Sort by: ";
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2017-01-25 23:05:28 +03:00
|
|
|
/* Content List
|
2015-05-14 16:45:37 +03:00
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.content-list {
|
2017-02-03 17:00:42 +03:00
|
|
|
position: relative;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-03 17:00:42 +03:00
|
|
|
.gh-posts-list-item {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-posts-list-item a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2019-08-27 16:51:31 +03:00
|
|
|
.content-list .gh-list-header.no-padding {
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
.gh-posts-title-header {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-title {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-featured {
|
|
|
|
padding: 20px 0px 20px 10px;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-updated,
|
|
|
|
.gh-post-list-author {
|
|
|
|
color: var(--middarkgrey);
|
|
|
|
font-size: 1.3rem;
|
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-content-entry-title {
|
|
|
|
margin: 0 0 3px 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-size: 1.5rem;
|
2017-02-15 15:43:49 +03:00
|
|
|
font-weight: 600;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-content-entry-title a {
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--darkgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-posts-list-item p {
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 2px 0 0;
|
|
|
|
font-size: 1.3rem;
|
2019-04-15 19:23:09 +03:00
|
|
|
overflow-wrap: break-word;
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--middarkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-schedule-time {
|
|
|
|
color: var(--green-d1);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.gh-schedule-subtext {
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-content-entry-meta {
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 4px 0 0 0;
|
2017-02-15 15:43:49 +03:00
|
|
|
font-size: 1.3rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--midlightgrey);
|
2017-02-15 15:43:49 +03:00
|
|
|
font-weight: 200;
|
|
|
|
letter-spacing: 0.3px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-content-entry-meta .gh-badge {
|
|
|
|
margin-right: 3px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-content-status-published {
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--midgrey);
|
|
|
|
background: var(--lightgrey);
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 3px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
padding: 0 3px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content-status-featured {
|
|
|
|
color: var(--blue);
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 0 3px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content-status-featured svg {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-content-status-featured svg path {
|
|
|
|
fill: var(--blue);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-content-entry-author {
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--middarkgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2019-03-25 18:43:38 +03:00
|
|
|
.gh-posts-placeholder {
|
2019-06-18 13:47:21 +03:00
|
|
|
width: 120px;
|
2019-03-25 18:43:38 +03:00
|
|
|
margin: -30px 0 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-pages-placeholder {
|
2019-06-18 13:47:21 +03:00
|
|
|
width: 118px;
|
2019-03-25 18:43:38 +03:00
|
|
|
margin: -30px 0 15px;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
/* Mobile style of post list */
|
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.gh-posts-list-item {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
border-bottom: 1px solid var(--lightgrey);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-featured {
|
|
|
|
display: block;
|
|
|
|
order: 1;
|
|
|
|
border-bottom: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-title {
|
|
|
|
display: block;
|
|
|
|
order: 2;
|
|
|
|
flex: 1 1 100%;
|
|
|
|
border: none;
|
|
|
|
padding: 20px 28px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-status {
|
|
|
|
display: inline-block;
|
|
|
|
order: 3;
|
|
|
|
border: none;
|
|
|
|
padding: 0 4px 20px 28px;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
max-width: 140px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-updated {
|
|
|
|
display: inline-block;
|
|
|
|
order: 4;
|
|
|
|
border: none;
|
|
|
|
padding: 0 4px 20px;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
max-width: calc((100% - 140px) * 1/4);
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-author {
|
|
|
|
display: inline-block;
|
|
|
|
order: 5;
|
|
|
|
border: none;
|
|
|
|
padding: 0 4px 20px 0;
|
|
|
|
font-size: 1.3rem;
|
|
|
|
max-width: calc((100% - 140px) * 3/4);;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-author:before {
|
|
|
|
content: "- by";
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-headers,
|
|
|
|
.gh-post-list-actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-header {
|
|
|
|
justify-content: flex-end;
|
|
|
|
min-height: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-header .gh-canvas-title {
|
|
|
|
position: absolute;
|
|
|
|
top: 29px;
|
|
|
|
left: 21px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-header .view-actions {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-header .view-actions .gh-contentfilter {
|
|
|
|
order: 2;
|
|
|
|
margin: 10px 0;
|
|
|
|
padding: 6px 2px;
|
|
|
|
max-width: calc(100vw - 10px);
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 800px) {
|
|
|
|
.post-header {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-header .gh-canvas-title {
|
|
|
|
left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-updated {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-list-author {
|
|
|
|
max-width: calc(100% - 140px);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 901px) {
|
2017-02-03 17:00:42 +03:00
|
|
|
.gh-posts-list-item a:after {
|
2015-05-14 16:45:37 +03:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Empty State
|
|
|
|
/* ---------------------------------------------------------- */
|
2019-06-18 13:47:21 +03:00
|
|
|
.no-posts {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-posts + .infinity-loader {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
.no-posts-box {
|
|
|
|
position: relative;
|
2015-05-16 14:43:12 +03:00
|
|
|
z-index: 600;
|
2015-06-17 16:41:29 +03:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2015-05-16 00:28:30 +03:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
height: calc(100vh - 140px);
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-posts-box .no-posts {
|
2015-06-17 16:41:29 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-posts-box .no-posts h3 {
|
2015-06-17 16:41:29 +03:00
|
|
|
margin-bottom: 20px;
|
|
|
|
color: var(--midgrey);
|
2015-05-14 16:45:37 +03:00
|
|
|
font-size: 2em;
|
2015-05-16 14:43:12 +03:00
|
|
|
font-weight: 200;
|
2017-04-10 14:16:19 +03:00
|
|
|
letter-spacing: 1px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Keyboard Focus Effects
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
/* This has to be a pseudo element to sit over the top of everything else in the content list */
|
2015-10-15 15:03:26 +03:00
|
|
|
.tag-list-content.keyboard-focused:before,
|
|
|
|
.tag-settings.keyboard-focused:before {
|
2015-05-16 00:28:30 +03:00
|
|
|
content: "";
|
2015-05-14 16:45:37 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 500;
|
|
|
|
animation: keyboard-focus-style-fade-out 1.5s 1 forwards;
|
2015-05-16 14:43:12 +03:00
|
|
|
pointer-events: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|