mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c88fb33577
4 changed files with 21 additions and 11 deletions
|
@ -1,5 +1,7 @@
|
||||||
This is [vault48.org](https://vault48.org) frontend.
|
This is [vault48.org](https://vault48.org) frontend.
|
||||||
|
|
||||||
|
[](https://vault48.org/)
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
1. Clone this repo `git clone git@github.com:muerwre/vault-frontend.git`
|
1. Clone this repo `git clone git@github.com:muerwre/vault-frontend.git`
|
||||||
2. Run `yarn install`
|
2. Run `yarn install`
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: rgba(255, 0, 0, 0.3);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
z-index: 26;
|
z-index: 26;
|
||||||
|
@ -21,11 +20,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
animation: appear 0.25s forwards;
|
animation: appear 0.25s forwards;
|
||||||
|
|
||||||
@include can_backdrop {
|
@include sidebar
|
||||||
background: transparentize($content_bg, 0.15);
|
|
||||||
-webkit-backdrop-filter: blur(15px);
|
|
||||||
backdrop-filter: blur(15px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
|
@ -5,14 +5,12 @@
|
||||||
flex: 0 1 400px;
|
flex: 0 1 400px;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px;
|
|
||||||
|
@include sidebar_content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
@include outer_shadow;
|
|
||||||
|
|
||||||
border-radius: $radius;
|
border-radius: $radius;
|
||||||
background: $content_bg;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
@ -28,7 +26,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: $gap;
|
padding: $gap;
|
||||||
background: lighten($content_bg, 2%);
|
box-shadow: transparentize(white, 0.95) 0 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
|
|
|
@ -185,3 +185,18 @@ $login_dialog_padding: $gap $gap 30px $gap;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin sidebar {
|
||||||
|
background: transparentize($content_bg, 0.15);
|
||||||
|
|
||||||
|
@include can_backdrop {
|
||||||
|
background: transparentize($content_bg, 0.3);
|
||||||
|
-webkit-backdrop-filter: blur(15px);
|
||||||
|
backdrop-filter: blur(15px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@mixin sidebar_content {
|
||||||
|
background: transparentize($content_bg, 0.4);
|
||||||
|
box-shadow: transparentize(white, 0.95) -1px 0;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue