Import existing project
This commit is contained in:
parent
7887817595
commit
80b0cc4939
125 changed files with 16980 additions and 0 deletions
466
develop/css/docs.css
Normal file
466
develop/css/docs.css
Normal file
|
|
@ -0,0 +1,466 @@
|
|||
/*
|
||||
* Documentation Pages Specific Styling
|
||||
* Complements u.css without overriding its styles
|
||||
*/
|
||||
|
||||
:root {
|
||||
--background-color: #121212;
|
||||
--card-gradient-start: #1e1e1e;
|
||||
--card-gradient-end: #333;
|
||||
--header-background: #262626;
|
||||
--text-color: #fff;
|
||||
--accent-color: #4285F4;
|
||||
--subtext-color: #ccc;
|
||||
--code-background: #2c2c2c;
|
||||
--border-color: #444;
|
||||
--note-background: rgba(33, 150, 243, 0.15);
|
||||
--note-border: #2196F3;
|
||||
--warning-background: rgba(255, 193, 7, 0.15);
|
||||
--warning-border: #FFC107;
|
||||
--security-background: rgba(29, 39, 30, 0.7);
|
||||
--security-border: #4CAF50;
|
||||
--overlay-background: rgba(0, 0, 0, 0.85);
|
||||
}
|
||||
|
||||
/* Reset */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background-color);
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Documentation Layout */
|
||||
.container {
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 1rem 2rem;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* Documentation Typography */
|
||||
h1, h2, h3, h4 {
|
||||
color: var(--accent-color);
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0.5em;
|
||||
border-bottom: 2px solid var(--border-color);
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 2.2rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
padding-bottom: 0.3em;
|
||||
font-size: 1.8rem;
|
||||
margin-top: 2.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.4rem;
|
||||
margin-top: 0.7rem;
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
p, ul, ol {
|
||||
margin: 1em 0;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
ol {
|
||||
padding-left: 2.5rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
ol li ul {
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Code Formatting */
|
||||
code {
|
||||
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
||||
background-color: var(--code-background);
|
||||
padding: 0.2em 0.4em;
|
||||
border-radius: 3px;
|
||||
font-size: 0.9em;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
pre {
|
||||
background-color: var(--code-background);
|
||||
border-radius: 5px;
|
||||
padding: 1.2rem;
|
||||
overflow: auto;
|
||||
margin: 1.5em 0;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
pre code {
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* Diagram/Example Sections */
|
||||
.diagram, .example {
|
||||
text-align: center;
|
||||
margin: 35px 0;
|
||||
padding: 25px;
|
||||
background-color: rgba(30, 30, 30, 0.5);
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-color);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.diagram img, .example img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.diagram img:hover, .example img:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.example h3 {
|
||||
text-align: left;
|
||||
margin-top: 0;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* Tables */
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
margin: 25px 0;
|
||||
background-color: rgba(30, 30, 30, 0.5);
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.table-container {
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
margin: 25px 0;
|
||||
border-radius: 5px;
|
||||
border: 1px solid var(--border-color);
|
||||
background-color: rgba(30, 30, 30, 0.5);
|
||||
}
|
||||
|
||||
.table-container table {
|
||||
margin: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1px solid var(--border-color);
|
||||
padding: 12px 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: var(--header-background);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: rgba(40, 40, 40, 0.5);
|
||||
}
|
||||
|
||||
/* Callout Boxes */
|
||||
.note, .warning, .security {
|
||||
padding: 18px 22px;
|
||||
margin: 1.8rem 0;
|
||||
border-radius: 5px;
|
||||
border-left: 4px solid;
|
||||
}
|
||||
|
||||
.note {
|
||||
background-color: var(--note-background);
|
||||
border-color: var(--note-border);
|
||||
}
|
||||
|
||||
.warning {
|
||||
background-color: var(--warning-background);
|
||||
border-color: var(--warning-border);
|
||||
}
|
||||
|
||||
.security {
|
||||
background-color: var(--security-background);
|
||||
border-color: var(--security-border);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.security h3 {
|
||||
color: #6FCF7C;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.security ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
text-align: center;
|
||||
padding: 20px 0;
|
||||
border-top: 1px solid var(--border-color);
|
||||
color: var(--subtext-color);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Table of Contents */
|
||||
.toc {
|
||||
background-color: rgba(30, 30, 30, 0.5);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
margin: 20px 0 30px 0;
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.toc h2 {
|
||||
margin-top: 0;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 15px;
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
.toc ul {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.toc li {
|
||||
margin-bottom: 8px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.toc a {
|
||||
display: block;
|
||||
padding: 5px 15px;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s ease;
|
||||
background-color: rgba(20, 20, 20, 0.5);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.toc a:hover {
|
||||
background-color: rgba(50, 50, 50, 0.5);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Code Examples */
|
||||
.code-example {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.code-label {
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
right: 10px;
|
||||
background-color: var(--accent-color);
|
||||
color: white;
|
||||
font-size: 0.8rem;
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Button Group Styles (from lazy-video.html) */
|
||||
.lv-btn-group {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
margin: 36px 0 10px 0;
|
||||
}
|
||||
|
||||
.lv-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 10px 24px;
|
||||
border-radius: 8px;
|
||||
font-weight: 700;
|
||||
font-size: 1.05rem;
|
||||
text-decoration: none;
|
||||
transition: background 0.18s, color 0.18s, border 0.18s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.lv-btn-primary {
|
||||
border: none;
|
||||
background: var(--accent-color, #4285F4);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.lv-btn-primary:hover {
|
||||
background: #2563eb; /* Slightly darker blue for hover */
|
||||
}
|
||||
|
||||
.lv-btn-outline {
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
border: 1.5px solid var(--accent-color, #4285F4);
|
||||
}
|
||||
|
||||
.lv-btn-outline:hover {
|
||||
background: rgba(66,133,244,0.08); /* Subtle background on hover */
|
||||
}
|
||||
|
||||
.lv-size-info {
|
||||
font-size: 1rem;
|
||||
color: #888;
|
||||
background: rgba(0,0,0,0.05);
|
||||
border-radius: 4px;
|
||||
padding: 7px 18px;
|
||||
}
|
||||
|
||||
.lv-size-info span {
|
||||
color: var(--accent-color, #4285F4);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Feature Cards */
|
||||
.feature-card {
|
||||
background-color: rgba(40, 40, 40, 0.5);
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
border: 1px solid var(--border-color);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.feature-card h3 {
|
||||
color: var(--accent-color);
|
||||
margin-top: 0;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Section Styling */
|
||||
.section {
|
||||
scroll-margin-top: 20px;
|
||||
}
|
||||
|
||||
/* Version Note in Footer */
|
||||
.doc-version-note {
|
||||
text-align: center;
|
||||
color: #888;
|
||||
font-size: 0.98rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Lazy Video Component Styling */
|
||||
lazy-video {
|
||||
display: block;
|
||||
margin: 30px auto;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.url-patterns {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.url-patterns li {
|
||||
padding: 3px 0;
|
||||
}
|
||||
|
||||
.url-patterns code {
|
||||
background: rgba(0,0,0,0.05);
|
||||
padding: 2px 5px;
|
||||
border-radius: 3px;
|
||||
font-size: 0.9em;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
/* Responsive Adjustments */
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.toc ul {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.toc a {
|
||||
text-align: center;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* Mobile styles for button group */
|
||||
.lv-btn-group {
|
||||
flex-direction: column !important;
|
||||
gap: 14px;
|
||||
margin: 30px 0;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.lv-btn {
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.lv-size-info {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
144
develop/css/lightbox.css
Normal file
144
develop/css/lightbox.css
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
.lightbox {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.85);
|
||||
z-index: 1000;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.lightbox.active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.lightbox-content {
|
||||
position: relative;
|
||||
width: 90%;
|
||||
max-width: 1200px;
|
||||
height: 85vh;
|
||||
background-color: #121212;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.lightbox-img-container {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.lightbox-img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
cursor: grab;
|
||||
border-radius: 5px;
|
||||
transform-origin: center center;
|
||||
user-select: none;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.lightbox-img.grabbing {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
.lightbox-close {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background-color: #9B59B6;
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
line-height: 32px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
z-index: 1010;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.lightbox-caption {
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
color: #ccc;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.zoom-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 15px;
|
||||
padding: 10px 0;
|
||||
border-top: 1px solid #444;
|
||||
}
|
||||
|
||||
.zoom-label {
|
||||
margin-right: 10px;
|
||||
font-size: 0.9rem;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.zoom-slider {
|
||||
-webkit-appearance: none;
|
||||
width: 70%;
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: #444;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.zoom-slider::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: #9B59B6;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.zoom-slider::-moz-range-thumb {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: #9B59B6;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.zoom-value {
|
||||
margin-left: 10px;
|
||||
font-size: 0.9rem;
|
||||
min-width: 40px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
@media (max-width: 768px), (max-width: 1024px) and (orientation: landscape) {
|
||||
.lightbox-content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 15px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.zoom-controls {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
120
develop/css/u.css
Normal file
120
develop/css/u.css
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
/* Reset */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Common Font Declarations */
|
||||
@font-face {
|
||||
font-family: Poppins;
|
||||
src: url(/webfonts/Poppins-Regular.woff2) format("woff2");
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Poppins;
|
||||
src: url(/webfonts/Poppins-SemiBold.woff2) format("woff2");
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Poppins, sans-serif;
|
||||
}
|
||||
|
||||
/* External Link Indicator */
|
||||
a[rel~=external]:not([href^="mailto:"]):not([href^="tel:"])::after,
|
||||
a[target="_blank"]:not([href^="mailto:"]):not([href^="tel:"])::after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 1.1em;
|
||||
height: 1.1em;
|
||||
margin-left: .25em;
|
||||
margin-bottom: .25em;
|
||||
vertical-align: middle;
|
||||
background-color: currentColor;
|
||||
-webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS43NSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMTIgNkg2YTIgMiAwIDAgMC0yIDJ2MTBhMiAyIDAgMCAwIDIgMmgxMGEyIDIgMCAwIDAgMi0ydi02bS03IDFsOS05bS01IDBoNXY1Ii8+PC9zdmc+") no-repeat center;
|
||||
mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS43NSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMTIgNkg2YTIgMiAwIDAgMC0yIDJ2MTBhMiAyIDAgMCAwIDIgMmgxMGEyIDIgMCAwIDAgMi0ydi02bS03IDFsOS05bS01IDBoNXY1Ii8+PC9zdmc+") no-repeat center;
|
||||
-webkit-mask-size: contain;
|
||||
mask-size: contain;
|
||||
}
|
||||
|
||||
@media (hover:hover) and (pointer:fine) {
|
||||
a[rel~=external]:not([href^="mailto:"]):not([href^="tel:"]),
|
||||
a[target="_blank"]:not([href^="mailto:"]):not([href^="tel:"]) {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a[rel~=external]:not([href^="mailto:"]):not([href^="tel:"])::before,
|
||||
a[target="_blank"]:not([href^="mailto:"]):not([href^="tel:"])::before {
|
||||
content: "Opens in new tab";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 100%;
|
||||
transform: translateY(-50%);
|
||||
margin-left: 5px;
|
||||
background-color: rgba(25, 25, 25, .9);
|
||||
color: #fff;
|
||||
padding: 5px 8px;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity .18s ease-in-out;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
a[rel~=external]:not([href^="mailto:"]):not([href^="tel:"]):hover::before,
|
||||
a[target="_blank"]:not([href^="mailto:"]):not([href^="tel:"]):hover::before {
|
||||
transition-delay: 60ms;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Scrollbar Styling */
|
||||
::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: #2d2d2d;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #4d9cfa;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #3971a3;
|
||||
}
|
||||
|
||||
/* Base HTML behaviors */
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
::view-transition-old(root),
|
||||
::view-transition-new(root) {
|
||||
animation-duration: 0.44s; /* Increase duration to 0.44 seconds */
|
||||
}
|
||||
|
||||
/* Disable view transitions for users with reduced motion preference enabled */
|
||||
@media (prefers-reduced-motion) {
|
||||
::view-transition-group(*),
|
||||
::view-transition-old(*),
|
||||
::view-transition-new(*) {
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
Reference in a new issue