mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
rotated colors
This commit is contained in:
parent
0941253b1c
commit
6547f3bed0
10 changed files with 82 additions and 43 deletions
|
@ -8,11 +8,15 @@ import { Panel } from "~/components/containers/Panel";
|
|||
import { TextInput } from "~/components/input/TextInput";
|
||||
import classNames = require("classnames");
|
||||
import { Scroll } from "~/components/containers/Scroll";
|
||||
import { Grid } from "~/components/containers/Grid";
|
||||
import { Tags } from "~/components/node/Tags";
|
||||
import { Button } from "~/components/input/Button";
|
||||
import { Filler } from "~/components/containers/Filler";
|
||||
|
||||
interface IProps {}
|
||||
|
||||
const EditorExample: FC<IProps> = () => (
|
||||
<Card className={styles.wrap}>
|
||||
<Card className={styles.wrap} seamless>
|
||||
<Group horizontal className={styles.group} seamless>
|
||||
<div className={styles.editor}>
|
||||
<Panel className={styles.editor_panel}>
|
||||
|
@ -29,20 +33,36 @@ const EditorExample: FC<IProps> = () => (
|
|||
</CellGrid>
|
||||
</Scroll>
|
||||
</Panel>
|
||||
|
||||
<Panel className={styles.editor_panel}>
|
||||
Cover panel
|
||||
</Panel>
|
||||
</div>
|
||||
|
||||
<div className={styles.panel}>
|
||||
<Group>
|
||||
<Card>
|
||||
<Padder>
|
||||
panel
|
||||
</Padder>
|
||||
</Card>
|
||||
</Group>
|
||||
<Panel>
|
||||
<TextInput onChange={console.log} label="Название" />
|
||||
</Panel>
|
||||
|
||||
<Panel className={styles.panel_main}>
|
||||
<Group>
|
||||
<Tags
|
||||
tags={[
|
||||
{ title: 'Избранный', feature: 'red' },
|
||||
{ title: 'Плейлист', feature: 'green' },
|
||||
{ title: 'Просто' },
|
||||
{ title: '+ фото', feature: 'black' },
|
||||
{ title: '+ с музыкой', feature: 'black' },
|
||||
]}
|
||||
/>
|
||||
|
||||
<Filler />
|
||||
|
||||
<Card className={styles.feature_card}>Cover changer</Card>
|
||||
|
||||
<Card className={styles.feature_card}>Track</Card>
|
||||
</Group>
|
||||
</Panel>
|
||||
|
||||
<Panel>
|
||||
<Button>Submit?</Button>
|
||||
</Panel>
|
||||
</div>
|
||||
</Group>
|
||||
</Card>
|
||||
|
|
|
@ -17,8 +17,9 @@
|
|||
background: $editor_panel_bg;
|
||||
flex: 0 0 33%;
|
||||
border-radius: 0 $radius $radius 0;
|
||||
padding: $gap;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@include outer_shadow();
|
||||
}
|
||||
|
||||
|
@ -30,7 +31,6 @@
|
|||
}
|
||||
|
||||
.editor_panel {
|
||||
padding: $gap;
|
||||
}
|
||||
|
||||
.editor_image_panel {
|
||||
|
@ -42,7 +42,16 @@
|
|||
}
|
||||
|
||||
.editor_image {
|
||||
background: lighten($main_bg_color, 20%);
|
||||
background: transparentize(white, 0.95);
|
||||
padding-bottom: 100%;
|
||||
border-radius: $radius;
|
||||
}
|
||||
|
||||
.feature_card {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.panel_main {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
|
|
|
@ -60,17 +60,15 @@ const ImageExample: FC<IProps> = () => (
|
|||
</Group>
|
||||
</Padder>
|
||||
|
||||
{
|
||||
<Tags
|
||||
tags={[
|
||||
{ title: 'Избранный', feature: 'red' },
|
||||
{ title: 'Плейлист', feature: 'green' },
|
||||
{ title: 'Просто' },
|
||||
{ title: '+ фото', feature: 'black' },
|
||||
{ title: '+ с музыкой', feature: 'black' },
|
||||
]}
|
||||
/>
|
||||
}
|
||||
<Tags
|
||||
tags={[
|
||||
{ title: 'Избранный', feature: 'red' },
|
||||
{ title: 'Плейлист', feature: 'green' },
|
||||
{ title: 'Просто' },
|
||||
{ title: '+ фото', feature: 'black' },
|
||||
{ title: '+ с музыкой', feature: 'black' },
|
||||
]}
|
||||
/>
|
||||
|
||||
<NodeRelated
|
||||
title="First album"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue