1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed styles imports

This commit is contained in:
Fedor Katurov 2020-11-06 13:05:43 +07:00
parent 2daa38ad12
commit 33e9e01f29
130 changed files with 264 additions and 19 deletions

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.place { .place {
position: relative; position: relative;
height: $bar_height; height: $bar_height;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
position: absolute; position: absolute;
right: -($bar_height + $gap); right: -($bar_height + $gap);

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
ul { ul {
font: $font_12_regular; font: $font_12_regular;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.stats { .stats {
&__title { &__title {
font: $font_12_semibold; font: $font_12_semibold;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
padding: $gap / 2 0; padding: $gap / 2 0;
border-bottom: 1px solid #333333; border-bottom: 1px solid #333333;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.embed { .embed {
padding: 0 $gap; padding: 0 $gap;
height: $comment_height; height: $comment_height;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.text { .text {
padding: 0 $gap; padding: 0 $gap;
font-weight: 300; font-weight: 300;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.blur { .blur {
padding-top: $header_height + 2px; padding-top: $header_height + 2px;
display: flex; display: flex;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.card { .card {
background-color: $card_bg; background-color: $card_bg;
border-radius: $panel_radius; border-radius: $panel_radius;

View file

@ -1,7 +1,7 @@
import React, { FC, HTMLAttributes } from 'react'; import React, { FC, HTMLAttributes } from 'react';
import styles from './styles.module.scss'; import styles from './styles.module.scss';
import classNames = require('classnames'); import classNames from 'classnames';
type IProps = HTMLAttributes<HTMLDivElement> & { type IProps = HTMLAttributes<HTMLDivElement> & {
children: any; children: any;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.grid { .grid {
display: grid; display: grid;
grid-auto-rows: 1fr; grid-auto-rows: 1fr;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
background: $comment_bg; background: $comment_bg;
min-height: $comment_height; min-height: $comment_height;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.cover { .cover {
position: absolute; position: absolute;
width: 100%; width: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.filler { .filler {
flex: 1; flex: 1;
} }

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.grid { .grid {
display: grid; display: grid;
grid-template-columns: 1fr; grid-template-columns: 1fr;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.group { .group {
display: flex; display: flex;
flex: 1; flex: 1;

View file

@ -1,2 +1,4 @@
@import "src/styles/variables";
.more { .more {
} }

View file

@ -1,7 +1,7 @@
import React, { FC } from 'react'; import React, { FC } from 'react';
import styles from './styles.module.scss'; import styles from './styles.module.scss';
import classNames = require('classnames'); import classNames from 'classnames';
type IProps = React.HTMLAttributes<HTMLDivElement> & { type IProps = React.HTMLAttributes<HTMLDivElement> & {
padding?: number; padding?: number;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.padder { .padder {
padding: $gap; padding: $gap;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@keyframes fadeIn { @keyframes fadeIn {
0% { 0% {
opacity: 0; opacity: 0;

View file

@ -1,7 +1,7 @@
import React, { FC, HTMLAttributes } from 'react'; import React, { FC, HTMLAttributes } from 'react';
import styles from './styles.module.scss'; import styles from './styles.module.scss';
import classNames = require('classnames'); import classNames from 'classnames';
type IProps = HTMLAttributes<HTMLDivElement> & { type IProps = HTMLAttributes<HTMLDivElement> & {
seamless?: boolean; seamless?: boolean;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.panel { .panel {
padding: $gap; padding: $gap;
min-height: $input_height + $gap; min-height: $input_height + $gap;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.container { .container {
min-height: 50px; min-height: 50px;
} }

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
height: 100%; height: 100%;
width: 100%; width: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.title { .title {
margin: $gap 0 $gap * 4 !important; margin: $gap 0 $gap * 4 !important;
text-transform: uppercase; text-transform: uppercase;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
padding-bottom: $upload_button_height + $gap; padding-bottom: $upload_button_height + $gap;
min-height: 200px; min-height: 200px;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.helper { .helper {
opacity: 0.5; opacity: 0.5;
z-index: 10 !important; z-index: 10 !important;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.panel { .panel {
height: 72px; height: 72px;
position: absolute; position: absolute;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
@include outer_shadow(); @include outer_shadow();

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
@include outer_shadow(); @include outer_shadow();

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
min-height: 200px; min-height: 200px;
padding-bottom: $upload_button_height + $gap; padding-bottom: $upload_button_height + $gap;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.helper { .helper {
opacity: 0.5; opacity: 0.5;
z-index: 10 !important; z-index: 10 !important;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.grid { .grid {
box-sizing: border-box; box-sizing: border-box;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.item { .item {
z-index: 1; z-index: 1;
box-sizing: border-box; box-sizing: border-box;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.grid { .grid {
box-sizing: border-box; box-sizing: border-box;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.item { .item {
z-index: 1; z-index: 1;
box-sizing: border-box; box-sizing: border-box;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
& > div { & > div {
padding-bottom: 64px; padding-bottom: 64px;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.preview { .preview {
padding-top: 56.25%; padding-top: 56.25%;
position: relative; position: relative;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.cell { .cell {
padding: $gap / 4; padding: $gap / 4;
box-sizing: border-box; box-sizing: border-box;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
width: 100%; width: 100%;
height: 100%; height: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.item { .item {
display: flex; display: flex;
align-items: center; align-items: center;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
flex: 1; flex: 1;
overflow: auto; overflow: auto;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.container { .container {
height: 280px; height: 280px;
width: 100%; width: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.icon { .icon {
fill: $red; fill: $red;
stroke: none; stroke: none;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@keyframes pulse { @keyframes pulse {
0% { 0% {
opacity: 1; opacity: 1;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import classNames = require('classnames'); import classNames from 'classnames';
const style = require('./style.scss'); const style = require('./style.scss');

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.container { .container {
min-height: $info_height; min-height: $info_height;
border-radius: $input_radius; border-radius: $input_radius;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.icon { .icon {
fill: transparentize(black, 0.6); fill: transparentize(black, 0.6);
stroke: none; stroke: none;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrapper { .wrapper {
height: $input_height; height: $input_height;
display: flex; display: flex;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.footer { .footer {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

@ -16,7 +16,7 @@ import { URLS } from '~/constants/urls';
import { createPortal } from 'react-dom'; import { createPortal } from 'react-dom';
import classNames from 'classnames'; 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 MODAL_ACTIONS from '~/redux/modal/actions';
import * as AUTH_ACTIONS from '~/redux/auth/actions'; import * as AUTH_ACTIONS from '~/redux/auth/actions';
import { IState } from '~/redux/store'; import { IState } from '~/redux/store';
@ -75,24 +75,24 @@ const HeaderUnconnected: FC<IProps> = memo(
); );
return createPortal( return createPortal(
<div className={classNames(style.wrap, { [style.is_scrolled]: is_scrolled })}> <div className={classNames(styles.wrap, { [styles.is_scrolled]: is_scrolled })}>
<div className={style.container}> <div className={styles.container}>
<Logo /> <Logo />
<Filler /> <Filler />
<div className={style.plugs}> <div className={styles.plugs}>
<Link <Link
className={classNames(style.item, { [style.is_active]: pathname === URLS.BASE })} className={classNames(styles.item, { [styles.is_active]: pathname === URLS.BASE })}
to={URLS.BASE} to={URLS.BASE}
> >
ФЛОУ ФЛОУ
</Link> </Link>
<Link <Link
className={classNames(style.item, { className={classNames(styles.item, {
[style.is_active]: pathname === URLS.BORIS, [styles.is_active]: pathname === URLS.BORIS,
[style.has_dot]: hasBorisUpdates, [styles.has_dot]: hasBorisUpdates,
})} })}
to={URLS.BORIS} to={URLS.BORIS}
> >
@ -100,7 +100,7 @@ const HeaderUnconnected: FC<IProps> = memo(
</Link> </Link>
{is_user && ( {is_user && (
<div className={style.item}> <div className={styles.item}>
<Notifications /> <Notifications />
</div> </div>
)} )}
@ -111,7 +111,7 @@ const HeaderUnconnected: FC<IProps> = memo(
)} )}
{!is_user && ( {!is_user && (
<Group horizontal className={style.user_button} onClick={onLogin}> <Group horizontal className={styles.user_button} onClick={onLogin}>
<div>ВДОХ</div> <div>ВДОХ</div>
</Group> </Group>
)} )}

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
height: $header_height; height: $header_height;
z-index: 25; z-index: 25;

View file

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import styles from './style.scss'; import styles from './styles.module.scss';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
export const Logo = () => ( export const Logo = () => (

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.logo { .logo {
font: $font_24_bold; font: $font_24_bold;
display: flex; display: flex;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@keyframes ring { @keyframes ring {
0% { 0% {
transform: rotate(-10deg); transform: rotate(-10deg);

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.pane { .pane {
width: 54px; width: 54px;
height: 100%; height: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
position: relative; position: relative;
z-index: 2; z-index: 2;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
display: flex; display: flex;
align-items: center; align-items: center;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@keyframes appear { @keyframes appear {
from { from {
opacity: 0; opacity: 0;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@import 'flexbin/flexbin.scss'; @import 'flexbin/flexbin.scss';
.wrap { .wrap {

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
position: absolute; position: absolute;
right: 0; right: 0;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
width: 100%; width: 100%;
height: 0; height: 0;

View file

@ -1,3 +1,4 @@
@import "src/styles/variables";
.button { .button {
fill: white; fill: white;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
background: $content_bg; background: $content_bg;
border-radius: $radius; border-radius: $radius;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
@include outer_shadow(); @include outer_shadow();
padding-bottom: 33vh; padding-bottom: 33vh;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
& > div { & > div {
margin: 0 0 $gap 0; margin: 0 0 $gap 0;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.badge { .badge {
padding: $gap; padding: $gap;
text-align: center; text-align: center;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
padding-bottom: $gap * 2; padding-bottom: $gap * 2;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.placeholder { .placeholder {
height: 320px; height: 320px;
background: transparentize(black, 0.8); background: transparentize(black, 0.8);

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
position: relative; position: relative;
} }

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
user-select: none; user-select: none;
overflow: hidden; overflow: hidden;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.place { .place {
// height: 72px; // height: 72px;
position: relative; position: relative;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@mixin button { @mixin button {
margin: 0 $gap; margin: 0 $gap;
cursor: pointer; cursor: pointer;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
// padding: $gap; // padding: $gap;
//background: transparentize(black, 0.8); //background: transparentize(black, 0.8);

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.item { .item {
background: lighten($content_bg, 2%) 50% 50% no-repeat; background: lighten($content_bg, 2%) 50% 50% no-repeat;
padding-bottom: 100%; padding-bottom: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.text { .text {
@include outer_shadow(); @include outer_shadow();

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
padding-bottom: 56.25%; padding-bottom: 56.25%;
position: relative; position: relative;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
$notification_color: darken($content_bg, 2%); $notification_color: darken($content_bg, 2%);
@keyframes appear { @keyframes appear {

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.para { .para {
display: grid; display: grid;
grid-template-columns: auto; grid-template-columns: auto;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.placeholder { .placeholder {
height: 1em; height: 1em;
width: 120px; width: 120px;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
$incoming_color: transparentize($wisegreen, 0.7); $incoming_color: transparentize($wisegreen, 0.7);
$outgoing_color: $comment_bg; $outgoing_color: $comment_bg;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
@include outer_shadow(); @include outer_shadow();
padding: $gap; padding: $gap;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
} }

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
position: absolute; position: absolute;
top: 0; top: 0;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.content { .content {
padding: $gap * 2; padding: $gap * 2;
min-height: 200px; min-height: 200px;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
$pad_danger: mix($red, $content_bg, 70%); $pad_danger: mix($red, $content_bg, 70%);
$pad_usual: mix(white, $content_bg, 10%); $pad_usual: mix(white, $content_bg, 10%);

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.list { .list {
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
@keyframes appear { @keyframes appear {
0% { opacity: 0 } 0% { opacity: 0 }
100% { opacity: 100 } 100% { opacity: 100 }

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
$row_height: 24px; $row_height: 24px;
.row { .row {

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
position: relative; position: relative;
z-index: 20; z-index: 20;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
$big: 1.2; $big: 1.2;
.tag { .tag {

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
background: lighten($content_bg, 4%); background: lighten($content_bg, 4%);
// padding-bottom: 100%; // padding-bottom: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
background: lighten($content_bg, 4%); background: lighten($content_bg, 4%);
padding-bottom: 100%; padding-bottom: 100%;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.wrap { .wrap {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;

View file

@ -1,3 +1,5 @@
@import "src/styles/variables";
.editor { .editor {
flex: 1; flex: 1;
padding: $gap; padding: $gap;

Some files were not shown because too many files have changed in this diff Show more