Skip to content

Commit

Permalink
v9
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinify committed Feb 18, 2024
1 parent 9a02d36 commit ca59d3b
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion dist/build.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/testing/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/gui/components/sidebar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export class Sidebar extends Component {

let pens =
Pen.fromHTML(`
<div class="sidebar layer2 rounded-md" id="section-navbar">
<div class="header rounded-md">${NAME}</div>
<div class="cac-sidebar layer2 rounded-md" id="section-navbar">
<div class="cac-header rounded-md">${NAME}</div>
</div>
`) || []

Expand Down
2 changes: 1 addition & 1 deletion src/gui/components/sidebarbackground.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class SidebarBackground extends Component {

public stringIt(): string {
return `
<div class="sidebar-background" id="sidebar-background"></div>
<div class="cac-sidebar-background" id="sidebar-background"></div>
`
}

Expand Down
2 changes: 1 addition & 1 deletion src/gui/components/sidebarbutton.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class SidebarButton extends Component {
}

return Pen.fromHTML(`
<div class="sidebar-button" style="${top}" id="${this.title}">${this.icon}<p>${this.title}</p></div>
<div class="cac-sidebar-button" style="${top}" id="${this.title}">${this.icon}<p>${this.title}</p></div>
`)
}
}
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function main() {
checkForUpdate().then((update: boolean) => {
if (update) {
console.warn('Client outdated, please install the latest version!')
alert(`Client outdated, please install the latest version! (Currently on v${VERSION}.${ITERATION})`)
}
})

Expand Down
11 changes: 6 additions & 5 deletions src/styles/content.less
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
font-size: 1.5vw;
cursor: pointer;
text-align: left;
margin-bottom: 1rem;
margin-bottom: 0.75vw;
line-height: 0.3;
transition: 0.5s;
color: white;
Expand All @@ -110,6 +110,11 @@
h2 {
color: white;
font-size: 1.5vw;
margin: 1vw 0;
}

div {
margin: 1vw !important;
}

p {
Expand All @@ -121,10 +126,6 @@
transition: opacity 0.5s;
}

div {
margin: 1rem 0;
}

&:hover {
line-height: 0.6;
padding-bottom: 2.1vw;
Expand Down
8 changes: 4 additions & 4 deletions src/styles/sidebar.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import 'variables.less';
@import 'animations.less';

.sidebar {
.cac-sidebar {
width: 18vw;
height: 100%;
display: flex;
Expand All @@ -15,7 +15,7 @@
animation: slide-in-blurred-bottom 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.header {
.cac-header {
background: url('https://raw.githubusercontent.com/car-axle-client/car-axle-client/main/docs/logov9.png');
background-size: cover;
width: 16.5vw;
Expand All @@ -29,7 +29,7 @@
margin: 0.5vw;
}

.sidebar-button {
.cac-sidebar-button {
width: 16.5vw;
box-sizing: content-box;
height: 1.2em;
Expand Down Expand Up @@ -63,7 +63,7 @@
}
}

.sidebar-background {
.cac-sidebar-background {
background: @theme;
box-sizing: content-box;
width: 16.5vw;
Expand Down

0 comments on commit ca59d3b

Please sign in to comment.