2020-08-16 13:33:47 +02:00
|
|
|
@keyframes slideUp20 {
|
2021-08-21 23:49:56 +02:00
|
|
|
0% {
|
|
|
|
transform: translateY(20px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(0);
|
|
|
|
}
|
2020-08-16 13:33:47 +02:00
|
|
|
}
|
2020-07-16 09:01:40 +02:00
|
|
|
.article-wrapper {
|
|
|
|
margin: 32px auto 0;
|
|
|
|
width: 860px;
|
|
|
|
height: calc(100% - 50px);
|
|
|
|
background-color: var(--white);
|
2021-08-21 23:49:56 +02:00
|
|
|
box-shadow: 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132),
|
|
|
|
0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108);
|
2020-07-16 09:01:40 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
overflow: hidden;
|
2020-08-16 13:33:47 +02:00
|
|
|
animation-name: slideUp20;
|
2020-07-16 09:01:40 +02:00
|
|
|
}
|
|
|
|
.article-container .btn-group .btn {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.article-container .btn-group {
|
|
|
|
position: absolute;
|
2021-08-21 23:49:56 +02:00
|
|
|
top: calc(50% - 32px);
|
2020-07-16 09:01:40 +02:00
|
|
|
}
|
|
|
|
.article-container .btn-group.prev {
|
|
|
|
left: calc(50% - 486px);
|
|
|
|
}
|
|
|
|
.article-container .btn-group.next {
|
|
|
|
right: calc(50% - 486px);
|
|
|
|
}
|
|
|
|
.article {
|
|
|
|
height: 100%;
|
2020-07-20 06:18:10 +02:00
|
|
|
user-select: none;
|
2020-07-16 09:01:40 +02:00
|
|
|
}
|
2021-08-21 23:49:56 +02:00
|
|
|
.article webview,
|
|
|
|
.article .error-prompt {
|
2020-07-16 09:01:40 +02:00
|
|
|
width: 100%;
|
|
|
|
height: calc(100% - 36px);
|
|
|
|
border: none;
|
2020-07-20 06:18:10 +02:00
|
|
|
color: var(--black);
|
|
|
|
}
|
|
|
|
.article webview.error {
|
|
|
|
display: none;
|
2020-07-16 09:01:40 +02:00
|
|
|
}
|
|
|
|
.article i.ms-Icon {
|
|
|
|
color: var(--neutralDarker);
|
|
|
|
}
|
|
|
|
.article .actions {
|
|
|
|
color: var(--black);
|
|
|
|
border-bottom: 1px solid var(--neutralQuaternaryAlt);
|
|
|
|
}
|
2021-08-21 23:49:56 +02:00
|
|
|
.article .actions .favicon,
|
|
|
|
.article .actions .ms-Spinner {
|
2020-07-20 06:18:10 +02:00
|
|
|
margin: 8px 8px 11px 0;
|
|
|
|
}
|
|
|
|
.article .actions .ms-Spinner {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2020-07-16 09:01:40 +02:00
|
|
|
}
|
|
|
|
.article .actions .source-name {
|
|
|
|
line-height: 35px;
|
|
|
|
user-select: none;
|
2020-07-20 06:18:10 +02:00
|
|
|
max-width: 320px;
|
2020-07-16 09:01:40 +02:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-07-20 06:18:10 +02:00
|
|
|
.article .actions .creator {
|
|
|
|
color: var(--neutralSecondaryAlt);
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
.article .actions .creator::before {
|
|
|
|
display: inline-block;
|
|
|
|
content: "/";
|
|
|
|
margin: 0 6px;
|
|
|
|
}
|
2021-08-21 23:49:56 +02:00
|
|
|
.side-article-wrapper,
|
|
|
|
.side-logo-wrapper {
|
2020-07-16 09:01:40 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
padding-top: var(--navHeight);
|
|
|
|
height: calc(100% - var(--navHeight));
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
.side-logo-wrapper {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.side-logo-wrapper > img {
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
}
|
|
|
|
.side-logo-wrapper > img.dark {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
.side-logo-wrapper > img.light {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.side-logo-wrapper > img.dark {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.side-article-wrapper .article {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
.side-article-wrapper .article .actions {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
.side-article-wrapper .article > .ms-Stack {
|
|
|
|
border-top: 1px solid var(--neutralQuaternaryAlt);
|
|
|
|
}
|
2021-08-21 23:49:56 +02:00
|
|
|
.list-feed-container:first-child::before,
|
|
|
|
.side-article-wrapper::before {
|
2020-07-16 09:01:40 +02:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border-bottom: 1px solid var(--neutralQuaternaryAlt);
|
|
|
|
position: absolute;
|
|
|
|
top: calc(var(--navHeight) - 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-main {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
margin-top: calc(-1 * var(--navHeight));
|
|
|
|
overflow: hidden;
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
.list-feed-container {
|
|
|
|
width: 350px;
|
|
|
|
background-color: var(--neutralLighterAlt);
|
|
|
|
height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.list-feed-container::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
top: -10%;
|
|
|
|
right: 0;
|
|
|
|
width: 120%;
|
|
|
|
height: 120%;
|
|
|
|
box-shadow: inset 5px 0 25px #0004;
|
|
|
|
}
|
|
|
|
.list-feed {
|
|
|
|
margin-top: var(--navHeight);
|
|
|
|
height: calc(100% - var(--navHeight));
|
|
|
|
overflow: hidden scroll;
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-07-17 07:01:29 +02:00
|
|
|
.list-feed > div.load-more-wrapper,
|
|
|
|
.magazine-feed > div.load-more-wrapper,
|
|
|
|
.compact-feed > div.load-more-wrapper {
|
2020-07-16 09:01:40 +02:00
|
|
|
text-align: center;
|
|
|
|
padding: 16px 0;
|
|
|
|
}
|
|
|
|
|
2021-08-21 23:49:56 +02:00
|
|
|
.magazine-feed,
|
|
|
|
.compact-feed {
|
2020-07-17 07:01:29 +02:00
|
|
|
padding-top: 28px;
|
|
|
|
height: calc(100% - 60px);
|
|
|
|
overflow: hidden scroll;
|
|
|
|
margin-top: var(--navHeight);
|
|
|
|
}
|
|
|
|
.magazine-feed .ms-List-page {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-07-16 09:01:40 +02:00
|
|
|
.cards-feed-container {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
|
|
|
padding: 12px;
|
2020-09-01 12:31:14 +02:00
|
|
|
height: calc(100% - 32px);
|
2020-07-16 09:01:40 +02:00
|
|
|
overflow: hidden scroll;
|
|
|
|
margin-top: var(--navHeight);
|
2020-09-01 12:31:14 +02:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2020-07-16 09:01:40 +02:00
|
|
|
}
|
|
|
|
.cards-feed-container .ms-List-page {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2021-08-21 23:49:56 +02:00
|
|
|
.cards-feed-container > div.load-more-wrapper,
|
|
|
|
.flex-fix {
|
2020-07-16 09:01:40 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.cards-feed-container > div.load-more-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
.flex-fix {
|
|
|
|
min-width: 280px;
|
|
|
|
}
|
2020-07-17 07:01:29 +02:00
|
|
|
.cards-feed-container > .empty,
|
|
|
|
.list-feed > .empty,
|
|
|
|
.magazine-feed > .empty,
|
|
|
|
.compact-feed > .empty {
|
2020-07-16 09:01:40 +02:00
|
|
|
width: 100%;
|
|
|
|
height: calc(100vh - 64px);
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--neutralSecondary);
|
|
|
|
font-size: 14px;
|
|
|
|
user-select: none;
|
2021-08-21 23:49:56 +02:00
|
|
|
}
|