1
0
Fork 0
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:
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 {
position: relative;
height: $bar_height;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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;

View file

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

View file

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

View file

@ -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;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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>
)}

View file

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

View file

@ -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 = () => (

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,7 +1,9 @@
@import "src/styles/variables";
.editor {
flex: 1;
padding: $gap;
// padding-bottom: 0;
// padding-bottom: 0;
align-items: center;
justify-content: center;
position: relative;
@ -10,4 +12,4 @@
.form {
height: 100vh;
width: 100%;
}
}

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