mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed styles imports
This commit is contained in:
parent
2daa38ad12
commit
33e9e01f29
130 changed files with 264 additions and 19 deletions
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.place {
|
||||
position: relative;
|
||||
height: $bar_height;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
position: absolute;
|
||||
right: -($bar_height + $gap);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
ul {
|
||||
font: $font_12_regular;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.stats {
|
||||
&__title {
|
||||
font: $font_12_semibold;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
padding: $gap / 2 0;
|
||||
border-bottom: 1px solid #333333;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.embed {
|
||||
padding: 0 $gap;
|
||||
height: $comment_height;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.text {
|
||||
padding: 0 $gap;
|
||||
font-weight: 300;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.blur {
|
||||
padding-top: $header_height + 2px;
|
||||
display: flex;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.card {
|
||||
background-color: $card_bg;
|
||||
border-radius: $panel_radius;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { FC, HTMLAttributes } from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
import classNames = require('classnames');
|
||||
import classNames from 'classnames';
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {
|
||||
children: any;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-auto-rows: 1fr;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
background: $comment_bg;
|
||||
min-height: $comment_height;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.cover {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.filler {
|
||||
flex: 1;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.group {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.more {
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { FC } from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
import classNames = require('classnames');
|
||||
import classNames from 'classnames';
|
||||
|
||||
type IProps = React.HTMLAttributes<HTMLDivElement> & {
|
||||
padding?: number;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.padder {
|
||||
padding: $gap;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@keyframes fadeIn {
|
||||
0% {
|
||||
opacity: 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { FC, HTMLAttributes } from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
|
||||
import classNames = require('classnames');
|
||||
import classNames from 'classnames';
|
||||
|
||||
type IProps = HTMLAttributes<HTMLDivElement> & {
|
||||
seamless?: boolean;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.panel {
|
||||
padding: $gap;
|
||||
min-height: $input_height + $gap;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.container {
|
||||
min-height: 50px;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.title {
|
||||
margin: $gap 0 $gap * 4 !important;
|
||||
text-transform: uppercase;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
padding-bottom: $upload_button_height + $gap;
|
||||
min-height: 200px;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.helper {
|
||||
opacity: 0.5;
|
||||
z-index: 10 !important;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.panel {
|
||||
height: 72px;
|
||||
position: absolute;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
@include outer_shadow();
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
@include outer_shadow();
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
min-height: 200px;
|
||||
padding-bottom: $upload_button_height + $gap;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.helper {
|
||||
opacity: 0.5;
|
||||
z-index: 10 !important;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.grid {
|
||||
box-sizing: border-box;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.item {
|
||||
z-index: 1;
|
||||
box-sizing: border-box;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.grid {
|
||||
box-sizing: border-box;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.item {
|
||||
z-index: 1;
|
||||
box-sizing: border-box;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
& > div {
|
||||
padding-bottom: 64px;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.preview {
|
||||
padding-top: 56.25%;
|
||||
position: relative;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.cell {
|
||||
padding: $gap / 4;
|
||||
box-sizing: border-box;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.container {
|
||||
height: 280px;
|
||||
width: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.icon {
|
||||
fill: $red;
|
||||
stroke: none;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
opacity: 1;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as React from 'react';
|
||||
|
||||
import classNames = require('classnames');
|
||||
import classNames from 'classnames';
|
||||
|
||||
const style = require('./style.scss');
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.container {
|
||||
min-height: $info_height;
|
||||
border-radius: $input_radius;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.icon {
|
||||
fill: transparentize(black, 0.6);
|
||||
stroke: none;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrapper {
|
||||
height: $input_height;
|
||||
display: flex;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -16,7 +16,7 @@ import { URLS } from '~/constants/urls';
|
|||
import { createPortal } from 'react-dom';
|
||||
import classNames from 'classnames';
|
||||
|
||||
import * as style from './style.scss';
|
||||
import styles from './styles.module.scss';
|
||||
import * as MODAL_ACTIONS from '~/redux/modal/actions';
|
||||
import * as AUTH_ACTIONS from '~/redux/auth/actions';
|
||||
import { IState } from '~/redux/store';
|
||||
|
@ -75,24 +75,24 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
);
|
||||
|
||||
return createPortal(
|
||||
<div className={classNames(style.wrap, { [style.is_scrolled]: is_scrolled })}>
|
||||
<div className={style.container}>
|
||||
<div className={classNames(styles.wrap, { [styles.is_scrolled]: is_scrolled })}>
|
||||
<div className={styles.container}>
|
||||
<Logo />
|
||||
|
||||
<Filler />
|
||||
|
||||
<div className={style.plugs}>
|
||||
<div className={styles.plugs}>
|
||||
<Link
|
||||
className={classNames(style.item, { [style.is_active]: pathname === URLS.BASE })}
|
||||
className={classNames(styles.item, { [styles.is_active]: pathname === URLS.BASE })}
|
||||
to={URLS.BASE}
|
||||
>
|
||||
ФЛОУ
|
||||
</Link>
|
||||
|
||||
<Link
|
||||
className={classNames(style.item, {
|
||||
[style.is_active]: pathname === URLS.BORIS,
|
||||
[style.has_dot]: hasBorisUpdates,
|
||||
className={classNames(styles.item, {
|
||||
[styles.is_active]: pathname === URLS.BORIS,
|
||||
[styles.has_dot]: hasBorisUpdates,
|
||||
})}
|
||||
to={URLS.BORIS}
|
||||
>
|
||||
|
@ -100,7 +100,7 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
</Link>
|
||||
|
||||
{is_user && (
|
||||
<div className={style.item}>
|
||||
<div className={styles.item}>
|
||||
<Notifications />
|
||||
</div>
|
||||
)}
|
||||
|
@ -111,7 +111,7 @@ const HeaderUnconnected: FC<IProps> = memo(
|
|||
)}
|
||||
|
||||
{!is_user && (
|
||||
<Group horizontal className={style.user_button} onClick={onLogin}>
|
||||
<Group horizontal className={styles.user_button} onClick={onLogin}>
|
||||
<div>ВДОХ</div>
|
||||
</Group>
|
||||
)}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
height: $header_height;
|
||||
z-index: 25;
|
|
@ -1,5 +1,5 @@
|
|||
import React from 'react';
|
||||
import styles from './style.scss';
|
||||
import styles from './styles.module.scss';
|
||||
import { Link } from 'react-router-dom';
|
||||
|
||||
export const Logo = () => (
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.logo {
|
||||
font: $font_24_bold;
|
||||
display: flex;
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@keyframes ring {
|
||||
0% {
|
||||
transform: rotate(-10deg);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.pane {
|
||||
width: 54px;
|
||||
height: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@keyframes appear {
|
||||
from {
|
||||
opacity: 0;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@import 'flexbin/flexbin.scss';
|
||||
|
||||
.wrap {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.button {
|
||||
fill: white;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
background: $content_bg;
|
||||
border-radius: $radius;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
@include outer_shadow();
|
||||
padding-bottom: 33vh;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
& > div {
|
||||
margin: 0 0 $gap 0;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.badge {
|
||||
padding: $gap;
|
||||
text-align: center;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
padding-bottom: $gap * 2;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.placeholder {
|
||||
height: 320px;
|
||||
background: transparentize(black, 0.8);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
user-select: none;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.place {
|
||||
// height: 72px;
|
||||
position: relative;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@mixin button {
|
||||
margin: 0 $gap;
|
||||
cursor: pointer;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
// padding: $gap;
|
||||
//background: transparentize(black, 0.8);
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.item {
|
||||
background: lighten($content_bg, 2%) 50% 50% no-repeat;
|
||||
padding-bottom: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.text {
|
||||
@include outer_shadow();
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
padding-bottom: 56.25%;
|
||||
position: relative;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
$notification_color: darken($content_bg, 2%);
|
||||
|
||||
@keyframes appear {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.para {
|
||||
display: grid;
|
||||
grid-template-columns: auto;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.placeholder {
|
||||
height: 1em;
|
||||
width: 120px;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
$incoming_color: transparentize($wisegreen, 0.7);
|
||||
$outgoing_color: $comment_bg;
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
@include outer_shadow();
|
||||
padding: $gap;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.content {
|
||||
padding: $gap * 2;
|
||||
min-height: 200px;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
$pad_danger: mix($red, $content_bg, 70%);
|
||||
$pad_usual: mix(white, $content_bg, 10%);
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.list {
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
@keyframes appear {
|
||||
0% { opacity: 0 }
|
||||
100% { opacity: 100 }
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
$row_height: 24px;
|
||||
|
||||
.row {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
$big: 1.2;
|
||||
|
||||
.tag {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
background: lighten($content_bg, 4%);
|
||||
// padding-bottom: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
background: lighten($content_bg, 4%);
|
||||
padding-bottom: 100%;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.wrap {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
@import "src/styles/variables";
|
||||
|
||||
.editor {
|
||||
flex: 1;
|
||||
padding: $gap;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue