From 712a3cbb7710930a0f71505b02b27f50e340a465 Mon Sep 17 00:00:00 2001 From: muerwre Date: Fri, 2 Aug 2019 04:56:04 +0700 Subject: [PATCH] great new editor! --- src/components/input/Button/styles.scss | 6 +-- .../examples/HorizontalExample/index.tsx | 30 ++++++++++- .../examples/HorizontalExample/styles.scss | 50 ++++++++++++++++++- src/sprites/Sprites.tsx | 32 ++++++++---- 4 files changed, 103 insertions(+), 15 deletions(-) diff --git a/src/components/input/Button/styles.scss b/src/components/input/Button/styles.scss index e6e8b9c5..3d107e87 100644 --- a/src/components/input/Button/styles.scss +++ b/src/components/input/Button/styles.scss @@ -31,23 +31,21 @@ align-items: center; justify-content: center; - // box-shadow: transparentize(#E933A5, 0.6) 0 2px 8px; - box-shadow: transparentize(#e933a5, 0.6) 0 0 0; filter: grayscale(0); transition: opacity 0.25s, filter 0.25s, box-shadow 0.25s; opacity: 0.8; + @include outer_shadow(); + span { flex: 1; } &:hover { opacity: 1; - box-shadow: transparentize(#e933a5, 0.4) 0 2px 8px; &:global(.disabled) { - box-shadow: transparentize(#e933a5, 0.6) 0 0 0; cursor: auto; } diff --git a/src/containers/examples/HorizontalExample/index.tsx b/src/containers/examples/HorizontalExample/index.tsx index c9e1477b..d479b010 100644 --- a/src/containers/examples/HorizontalExample/index.tsx +++ b/src/containers/examples/HorizontalExample/index.tsx @@ -5,6 +5,9 @@ import {Padder} from "~/components/containers/Padder"; import {Group} from "~/components/containers/Group"; import {InputText} from "~/components/input/InputText"; import {Button} from "~/components/input/Button"; +import {Filler} from "~/components/containers/Filler"; +import {Icon} from "~/components/input/Icon"; +import {CellGrid} from "~/components/containers/CellGrid"; interface IProps {} @@ -12,14 +15,39 @@ const HorizontalExample: FC = () => (
+ + +
+ + + + +
+ +
+ +
+ +
ОБЛОЖКА
+ +
+
+ + + +
+ +
+
+
-