Skip to content

Commit c61865c

Browse files
committed
fix: update nav, edit button and css path
1 parent c85ab44 commit c61865c

File tree

5 files changed

+36
-46
lines changed

5 files changed

+36
-46
lines changed

demo/avatar.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
type="text/css" />
2929
<link
3030
rel="stylesheet"
31-
href="/docs/index.css"
31+
href="../index.css"
3232
array="files"
3333
object="60888216117c640e7596303f"
3434
key="src"
@@ -354,10 +354,8 @@ <h2 class="padding:5px_0px">Demo</h2>
354354
<button
355355
href="https://github.com/CoCreate-app/CoCreate-boilerplate/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
356356
target="_blank"
357-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
358-
<i
359-
class="height:20px fill:#505050"
360-
src="/assets/svg/pencil-alt.svg"></i>
357+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
358+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
361359
</button>
362360
</main>
363361

docs/avatar.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
type="text/css" />
2929
<link
3030
rel="stylesheet"
31-
href="/docs/index.css"
31+
href="../index.css"
3232
array="files"
3333
object="60888216117c640e7596303f"
3434
key="src"
3535
type="text/css"
3636
save="true" />
3737
<link
3838
rel="stylesheet"
39-
href="/docs/index.css"
39+
href="../index.css"
4040
array="files"
4141
object="60888216117c640e7596303f"
4242
key="src"
@@ -46,15 +46,15 @@
4646
</head>
4747

4848
<body>
49+
<!-- Navbar -->
4950
<nav
50-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
51+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
5152
content_id="content"
52-
scroll="sticky-nav,hide-nav"
53-
scroll-up="10"
54-
scroll-down="10"
55-
array="files"
56-
object="60395ef42b3ac232657040fd"
57-
key="src"></nav>
53+
scroll="sticky-nav,"
54+
scroll-up="5"
55+
scroll-down="5"
56+
path="../"
57+
src="../components/navbar.html"></nav>
5858
<sidenav
5959
id="menuL"
6060
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -363,10 +363,8 @@ <h2 class="padding:5px_0px">Demo</h2>
363363
<button
364364
href="https://github.com/CoCreate-app/CoCreate-boilerplate/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
365365
target="_blank"
366-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
367-
<i
368-
class="height:20px fill:#505050"
369-
src="/assets/svg/pencil-alt.svg"></i>
366+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
367+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
370368
</button>
371369
</main>
372370

docs/flip-item.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
type="text/css" />
2929
<link
3030
rel="stylesheet"
31-
href="/docs/index.css"
31+
href="../index.css"
3232
array="files"
3333
object="60888216117c640e7596303f"
3434
key="src"
@@ -38,15 +38,15 @@
3838
</head>
3939

4040
<body>
41+
<!-- Navbar -->
4142
<nav
42-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
43+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
4344
content_id="content"
44-
scroll="sticky-nav,hide-nav"
45-
scroll-up="10"
46-
scroll-down="10"
47-
array="files"
48-
object="60395ef42b3ac232657040fd"
49-
key="src"></nav>
45+
scroll="sticky-nav,"
46+
scroll-up="5"
47+
scroll-down="5"
48+
path="../"
49+
src="../components/navbar.html"></nav>
5050
<sidenav
5151
id="menuL"
5252
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -333,10 +333,8 @@ <h2 class="padding:5px_0px">Demo</h2>
333333
<button
334334
href="https://github.com/CoCreate-app/CoCreate-boilerplate/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
335335
target="_blank"
336-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
337-
<i
338-
class="height:20px fill:#505050"
339-
src="/assets/svg/pencil-alt.svg"></i>
336+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
337+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
340338
</button>
341339
</main>
342340

docs/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,8 @@ <h1 class="font-size:2rem">
328328
<button
329329
href="https://github.com/CoCreate-app/CoCreateCSS/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
330330
target="_blank"
331-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
332-
<i
333-
class="height:20px fill:#505050"
334-
src="/assets/svg/pencil-alt.svg"></i>
331+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
332+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
335333
</button>
336334
</main>
337335

docs/utility.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
type="text/css" />
2929
<link
3030
rel="stylesheet"
31-
href="/docs/index.css"
31+
href="../index.css"
3232
array="files"
3333
object="60888216117c640e7596303f"
3434
key="src"
@@ -48,15 +48,15 @@
4848
</style>
4949

5050
<body>
51+
<!-- Navbar -->
5152
<nav
52-
class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
53+
class="width:100% display:flex align-items:center background:transparent padding-top:10px padding-bottom:10px"
5354
content_id="content"
54-
scroll="sticky-nav,hide-nav"
55-
scroll-up="10"
56-
scroll-down="10"
57-
array="files"
58-
object="60395ef42b3ac232657040fd"
59-
key="src"></nav>
55+
scroll="sticky-nav,"
56+
scroll-up="5"
57+
scroll-down="5"
58+
path="../"
59+
src="../components/navbar.html"></nav>
6060
<sidenav
6161
id="menuL"
6262
class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
@@ -1149,10 +1149,8 @@ <h2 class="padding:5px_0px">Demo</h2>
11491149
<button
11501150
href="https://github.com/CoCreate-app/CoCreate-boilerplate/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
11511151
target="_blank"
1152-
class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
1153-
<i
1154-
class="height:20px fill:#505050"
1155-
src="/assets/svg/pencil-alt.svg"></i>
1152+
class="display:flex justify-content:center align-items:center position:fixed bottom:15px right:15px height:50px width:50px border-radius:50% box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
1153+
<i class="height:20px" src="../assets/svg/pencil-alt.svg"></i>
11561154
</button>
11571155
</main>
11581156
<script src="https://CoCreate.app/dist/CoCreate.js"></script>

0 commit comments

Comments
 (0)