mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
109 lines
1.8 KiB
SCSS
109 lines
1.8 KiB
SCSS
.wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: stretch;
|
|
position: relative;
|
|
height: 72px;
|
|
width: 100%;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
|
|
&:global(.stack) {
|
|
padding: 0 $gap;
|
|
bottom: 0;
|
|
position: fixed;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
flex: 0 1 $content_width;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: stretch;
|
|
border-radius: $radius $radius 0 0;
|
|
box-sizing: border-box;
|
|
padding: $gap;
|
|
background: $node_bg;
|
|
height: 72px;
|
|
}
|
|
|
|
.title {
|
|
text-transform: uppercase;
|
|
font: $font_24_semibold;
|
|
height: 24px;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.name {
|
|
font: $font_14_regular;
|
|
color: transparentize(white, 0.5);
|
|
}
|
|
|
|
.btn {
|
|
flex: 1;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
fill: transparentize(white, 0.5);
|
|
}
|
|
|
|
.panel {
|
|
flex: 1;
|
|
}
|
|
|
|
.buttons {
|
|
flex: 0;
|
|
padding-right: $gap;
|
|
fill: transparentize(white, 0.7);
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
& > * {
|
|
margin: 0 $gap;
|
|
|
|
&:first-child {
|
|
margin-left: 0;
|
|
}
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
//height: 54px;
|
|
//border-radius: $radius $radius 0 0;
|
|
//background: linear-gradient(176deg, #f42a00, #5c1085);
|
|
//position: absolute;
|
|
//bottom: 0;
|
|
//right: 10px;
|
|
//width: 270px;
|
|
//display: flex;
|
|
}
|
|
|
|
.mark {
|
|
flex: 0 0 32px;
|
|
position: relative;
|
|
|
|
&::after {
|
|
content: ' ';
|
|
position: absolute;
|
|
top: -38px;
|
|
right: 4px;
|
|
width: 24px;
|
|
height: 52px;
|
|
background: $green_gradient;
|
|
box-shadow: transparentize(black, 0.8) 4px 2px;
|
|
border-radius: 2px;
|
|
}
|
|
}
|
|
|
|
.sep {
|
|
flex: 0 0 6px;
|
|
height: 6px;
|
|
width: 6px;
|
|
border-radius: 4px;
|
|
background: transparentize(black, 0.7);
|
|
}
|