forked from atums.world/backend
move to biomejs, this is before unsafe lint run
This commit is contained in:
parent
f4237afc59
commit
25fcd99acf
43 changed files with 353 additions and 565 deletions
|
@ -5,19 +5,6 @@ body {
|
|||
|
||||
/* sidebar */
|
||||
|
||||
/* <div class="sidebar">
|
||||
<div class="actions">
|
||||
<a href="/dashboard" class="action">
|
||||
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path d="M1 6V15H6V11C6 9.89543 6.89543 9 8 9C9.10457 9 10 9.89543 10 11V15H15V6L8 0L1 6Z" fill=""></path> </g></svg>
|
||||
<span>Dashboard</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="user-area">
|
||||
<img src="https://cdn5.vectorstock.com/i/1000x1000/08/19/gray-photo-placeholder-icon-design-ui-vector-35850819.jpg" alt="User avatar">
|
||||
<div class="username">John Doe</div>
|
||||
</div>
|
||||
</div> */
|
||||
|
||||
.sidebar {
|
||||
background-color: var(--background-secondary);
|
||||
width: 220px;
|
||||
|
@ -26,6 +13,8 @@ body {
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-right: 1px solid var(--border);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sidebar .actions {
|
||||
|
@ -33,34 +22,47 @@ body {
|
|||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sidebar .actions .action {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
gap: .5rem;
|
||||
align-items: center;
|
||||
padding: 1rem;
|
||||
height: 20px;
|
||||
height: 3rem;
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s ease;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sidebar .actions .action svg {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.sidebar .actions .action:hover {
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
||||
.sidebar .actions .action.active {
|
||||
background-color: var(--background);
|
||||
}
|
||||
|
||||
.sidebar .actions .action.active:hover {
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
.sidebar .user-area {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
border-top: 1px solid var(--border);
|
||||
background-color: rgba(0 0 0 / 10%);
|
||||
background-color: rgba(0 0 0 / 10%);
|
||||
}
|
||||
|
||||
.sidebar .user-area img {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue