🎨 Moved History & Collection section to sticky right nav (initial upload).
This commit is contained in:
@@ -78,7 +78,7 @@ a {
|
|||||||
|
|
||||||
header,
|
header,
|
||||||
footer {
|
footer {
|
||||||
&>div {
|
& > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -127,7 +127,8 @@ footer {
|
|||||||
color: var(--ac-color);
|
color: var(--ac-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-first {
|
.nav-first,
|
||||||
|
.sticky-inner {
|
||||||
display: flex;
|
display: flex;
|
||||||
order: 1;
|
order: 1;
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
@@ -521,7 +522,7 @@ input[type="checkbox"] {
|
|||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&+label {
|
& + label {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
@@ -540,7 +541,7 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:checked+label:before {
|
&:checked + label:before {
|
||||||
background-color: var(--ac-color);
|
background-color: var(--ac-color);
|
||||||
border-color: var(--ac-color);
|
border-color: var(--ac-color);
|
||||||
color: var(--act-color);
|
color: var(--act-color);
|
||||||
@@ -600,6 +601,10 @@ ol li {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.show-on-large-screen {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
#installPWA {
|
#installPWA {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -717,7 +722,7 @@ div.tab {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="radio"]+label {
|
input[type="radio"] + label {
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
border-bottom: 2px solid transparent;
|
border-bottom: 2px solid transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -730,11 +735,11 @@ input[type="radio"]+label {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="radio"]:checked+label {
|
input[type="radio"]:checked + label {
|
||||||
border-color: var(--fg-color);
|
border-color: var(--fg-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="radio"]:checked+label+div.tab {
|
input[type="radio"]:checked + label + div.tab {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -751,7 +756,28 @@ input[type="radio"]:checked+label+div.tab {
|
|||||||
color: inherit !important;
|
color: inherit !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-columns {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inner-left {
|
||||||
|
display: flex;
|
||||||
|
order: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inner-right {
|
||||||
|
display: flex;
|
||||||
|
width: 25%;
|
||||||
|
order: 2;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: $responsiveWidth) {
|
@media (max-width: $responsiveWidth) {
|
||||||
|
.content {
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
|
|
||||||
.columns {
|
.columns {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
@@ -791,4 +817,9 @@ input[type="radio"]:checked+label+div.tab {
|
|||||||
.show-on-small-screen {
|
.show-on-small-screen {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sticky-inner {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul v-if="history.length !== 0" class="labels">
|
<ul v-if="history.length !== 0" class="labels">
|
||||||
<div class="show-on-small-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<button class="icon">
|
<button class="icon">
|
||||||
<i class="material-icons">star_half</i>
|
<i class="material-icons">star_half</i>
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</transition>
|
</transition>
|
||||||
<div class="show-on-small-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
:remain="Math.min(5, filteredHistory.length)"
|
:remain="Math.min(5, filteredHistory.length)"
|
||||||
>
|
>
|
||||||
<ul v-for="(entry, index) in filteredHistory" :key="index" class="entry">
|
<ul v-for="(entry, index) in filteredHistory" :key="index" class="entry">
|
||||||
<div class="show-on-small-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
<div class="show-on-small-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<input
|
<input
|
||||||
aria-label="Label"
|
aria-label="Label"
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
>{{ entry.status }}</span
|
>{{ entry.status }}</span
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
<div class="show-on-small-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<input
|
<input
|
||||||
aria-label="URL"
|
aria-label="URL"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
<transition name="smooth">
|
<transition name="smooth">
|
||||||
<div v-if="show" class="show-on-small-screen">
|
<div v-if="show" class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<input
|
<input
|
||||||
aria-label="Duration"
|
aria-label="Duration"
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
<div class="show-on-small-screen">
|
<div class="show-on-large-screen">
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
v-tooltip="'Delete entry'"
|
v-tooltip="'Delete entry'"
|
||||||
@@ -302,6 +302,16 @@ label {
|
|||||||
color: #f8e81c !important;
|
color: #f8e81c !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul,
|
||||||
|
ol {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul li,
|
||||||
|
ol li {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 720px) {
|
@media (max-width: 720px) {
|
||||||
.virtual-list.filled {
|
.virtual-list.filled {
|
||||||
min-height: 320px;
|
min-height: 320px;
|
||||||
|
|||||||
1317
pages/index.vue
1317
pages/index.vue
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user