2019-01-03 23:30:27 +01:00
|
|
|
.link {
|
2019-01-04 19:23:24 +01:00
|
|
|
margin-bottom: 2em;
|
2019-02-16 23:27:54 +01:00
|
|
|
margin-top: var(--header-height);
|
2019-01-03 23:30:27 +01:00
|
|
|
width: 100vw;
|
2019-01-05 21:57:21 +01:00
|
|
|
position: relative;
|
|
|
|
z-index: var(--z-index-link);
|
2019-01-24 21:28:11 +01:00
|
|
|
display: none;
|
2019-02-16 23:27:54 +01:00
|
|
|
/* transition: margin-top var(--animation-speed-fast) ease-in-out; */
|
2019-01-24 21:28:11 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-show-link .link {
|
2019-01-24 21:28:11 +01:00
|
|
|
display: block;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-layout-scroll-past-end .link {
|
2019-01-04 19:23:24 +01:00
|
|
|
margin-bottom: 60vh;
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.link-area {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-auto-rows: 1fr;
|
|
|
|
grid-gap: calc(var(--gutter) * 2);
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-block .link-area {
|
2019-01-03 23:30:27 +01:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-list .link-area {
|
2019-01-03 23:30:27 +01:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
|
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-item {
|
|
|
|
width: 100%;
|
|
|
|
height: var(--link-height);
|
|
|
|
font-size: 1em;
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
transform: scale(1);
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-15 13:48:52 +01:00
|
|
|
.link-item:focus-within,
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-item:focus,
|
|
|
|
.link-item:hover {
|
|
|
|
transform: scale(1.06);
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-item:active {
|
|
|
|
transform: scale(1.04);
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-panel-front {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: rgb(var(--gray-02));
|
2018-12-26 08:45:53 +01:00
|
|
|
border-radius: var(--radius);
|
|
|
|
padding: 0 1em;
|
|
|
|
width: 100%;
|
2018-12-27 17:50:30 +01:00
|
|
|
height: calc(100% - var(--line-width));
|
2018-12-26 08:45:53 +01:00
|
|
|
display: flex;
|
|
|
|
z-index: 3;
|
|
|
|
position: relative;
|
|
|
|
user-select: none;
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-block .link-panel-front {
|
2018-12-27 00:46:53 +01:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-list .link-panel-front {
|
2018-12-27 00:46:53 +01:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-01-15 13:48:52 +01:00
|
|
|
.link-panel-front:hover,
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-panel-front:focus {
|
2019-01-24 21:28:11 +01:00
|
|
|
background-color: rgb(var(--gray-03));
|
|
|
|
outline: none;
|
2019-01-15 13:48:52 +01:00
|
|
|
text-decoration: none;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-15 13:48:52 +01:00
|
|
|
.link-item:focus .link-panel-front,
|
|
|
|
.link-item:focus-within .link-panel-front,
|
|
|
|
.link-item:hover .link-panel-front {
|
2018-12-26 08:45:53 +01:00
|
|
|
text-decoration: none;
|
2019-01-24 21:28:11 +01:00
|
|
|
outline: none;
|
|
|
|
background-color: rgb(var(--gray-03));
|
2019-04-01 17:11:39 +02:00
|
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-show-url .link-item:focus .link-panel-front,
|
|
|
|
.is-bookmarks-show-url .link-item:focus-within .link-panel-front,
|
|
|
|
.is-bookmarks-show-url .link-item:hover .link-panel-front {
|
2019-01-24 21:28:11 +01:00
|
|
|
height: calc(100% - var(--url-height));
|
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-panel-back {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: stretch;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-panel-back:before {
|
|
|
|
content: "";
|
|
|
|
background-color: rgb(var(--accent));
|
|
|
|
border-radius: var(--radius);
|
2018-12-27 17:50:30 +01:00
|
|
|
width: calc(100% - calc(var(--line-width) + var(--line-width)));
|
2018-12-26 08:45:53 +01:00
|
|
|
height: calc(100% - 0.25em);
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
2018-12-27 17:50:30 +01:00
|
|
|
left: var(--line-width);
|
2018-12-26 08:45:53 +01:00
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-control {
|
2019-01-03 23:30:27 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 var(--line-width);
|
2018-12-26 08:45:53 +01:00
|
|
|
height: 0;
|
|
|
|
display: flex;
|
|
|
|
overflow: hidden;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
|
|
|
justify-content: center;
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.link-control-item {
|
|
|
|
background-color: transparent;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2019-01-24 21:28:11 +01:00
|
|
|
color: rgb(var(--gray-02));
|
2018-12-26 08:45:53 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-control-item:first-child {
|
|
|
|
border-radius: 0 0 0 var(--radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-control-item:last-child {
|
|
|
|
border-radius: 0 0 var(--radius) 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-control-item:focus,
|
|
|
|
.link-control-item:hover {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-02-03 14:51:54 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.link-control-item:active {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-02-03 14:51:54 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
2018-12-26 08:45:53 +01:00
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-url {
|
|
|
|
padding: 0 1em;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
2019-01-24 21:28:11 +01:00
|
|
|
display: none;
|
2018-12-26 08:45:53 +01:00
|
|
|
align-items: center;
|
2019-01-03 23:30:27 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-show-url .link-url {
|
2019-01-24 21:28:11 +01:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-block .link-url {
|
2018-12-27 00:46:53 +01:00
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-list .link-url {
|
2018-12-27 00:46:53 +01:00
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
2019-01-15 13:48:52 +01:00
|
|
|
.link-item:focus-within .link-url,
|
|
|
|
.link-item:focus .link-url,
|
|
|
|
.link-item:hover .link-url {
|
2018-12-26 08:45:53 +01:00
|
|
|
height: var(--url-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-url-text {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 0.7em;
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2019-04-01 17:11:39 +02:00
|
|
|
.bookmarks-url-dark .link-url-text {
|
|
|
|
color: rgb(var(--black));
|
|
|
|
}
|
|
|
|
|
|
|
|
.bookmarks-url-light .link-url-text {
|
|
|
|
color: rgb(var(--white));
|
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-letter {
|
|
|
|
font-family: var(--font-fjalla);
|
|
|
|
color: rgb(var(--accent));
|
|
|
|
white-space: nowrap;
|
2018-12-27 07:54:09 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-01-15 13:48:52 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
2018-12-27 00:46:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-block .link-letter {
|
2018-12-27 00:46:53 +01:00
|
|
|
margin: 0;
|
|
|
|
font-size: 2em;
|
2018-12-27 07:54:09 +01:00
|
|
|
text-align: center;
|
|
|
|
max-width: 100%;
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-list .link-letter {
|
2018-12-27 00:46:53 +01:00
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
font-size: 1.5em;
|
2018-12-27 07:54:09 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
max-width: 50%;
|
2018-12-27 00:46:53 +01:00
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-item:hover .link-letter,
|
|
|
|
.link-item:focus .link-letter {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-15 13:48:52 +01:00
|
|
|
.link-panel-front:focus .link-letter {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-15 13:48:52 +01:00
|
|
|
}
|
|
|
|
|
2018-12-26 08:45:53 +01:00
|
|
|
.link-name {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-family: var(--font-regular);
|
2019-01-24 21:28:11 +01:00
|
|
|
color: rgb(var(--gray-12));
|
2018-12-26 08:45:53 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2018-12-27 07:54:09 +01:00
|
|
|
max-width: 100%;
|
2018-12-26 08:45:53 +01:00
|
|
|
text-overflow: ellipsis;
|
2019-01-24 21:28:11 +01:00
|
|
|
display: none;
|
2019-01-15 13:48:52 +01:00
|
|
|
transition: all var(--animation-speed-fast) ease-in-out;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-show-name .link-name {
|
2019-01-24 21:28:11 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-01-15 13:48:52 +01:00
|
|
|
.link-item:hover .link-name,
|
|
|
|
.link-item:focus .link-name {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2019-01-15 13:48:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.link-panel-front:focus .link-name {
|
2019-04-01 17:11:39 +02:00
|
|
|
color: rgb(var(--style-neutral-text));
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-13 23:54:48 +01:00
|
|
|
.link-empty {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: -1;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-empty-heading {
|
2019-01-24 21:28:11 +01:00
|
|
|
color: rgb(var(--gray-16));
|
2019-01-13 23:54:48 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-block .link-name {
|
2018-12-27 07:54:09 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-edit .link-panel-front,
|
|
|
|
.is-bookmarks-edit .link-item:hover .link-panel-front,
|
|
|
|
.is-bookmarks-edit .link-item:focus .link-panel-front {
|
2018-12-26 08:45:53 +01:00
|
|
|
height: calc(100% - var(--edit-height));
|
2019-04-01 17:11:39 +02:00
|
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-edit.is-bookmarks-show-url .link-item:focus .link-panel-front,
|
|
|
|
.is-bookmarks-edit.is-bookmarks-show-url .link-item:focus-within .link-panel-front,
|
|
|
|
.is-bookmarks-edit.is-bookmarks-show-url .link-item:hover .link-panel-front {
|
|
|
|
height: calc(100% - var(--edit-height));
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-bookmarks-edit .link-control {
|
2018-12-26 08:45:53 +01:00
|
|
|
height: var(--edit-height);
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-edit .link-item:hover .link-url,
|
|
|
|
.is-bookmarks-edit .link-item:focus .link-url {
|
2018-12-26 08:45:53 +01:00
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-edit .link-control-item {
|
2018-12-26 08:45:53 +01:00
|
|
|
pointer-events: all;
|
|
|
|
}
|
2018-12-27 00:46:53 +01:00
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-block .link-panel-front {
|
2018-12-27 00:46:53 +01:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-02-03 14:51:54 +01:00
|
|
|
.is-bookmarks-style-list .link-panel-front {
|
2018-12-27 00:46:53 +01:00
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|