mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
appearance: some dialogs fixed
This commit is contained in:
parent
169d4d4222
commit
291280c52e
7 changed files with 33 additions and 7 deletions
|
@ -27,7 +27,7 @@ const firstPoint = ({ routerCancel }: Props) => (
|
||||||
<div className="helper router-helper">
|
<div className="helper router-helper">
|
||||||
<div className="helper__text">
|
<div className="helper__text">
|
||||||
<Icon icon="icon-pin-1" />
|
<Icon icon="icon-pin-1" />
|
||||||
<div className="big white upper">Теперь - следующую</div>
|
<div className="big white upper">УКАЖИТЕ СЛЕДУЮЩУЮ ТОЧКУ</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="helper__buttons">
|
<div className="helper__buttons">
|
||||||
<div className="button router-helper__button" onClick={routerCancel}>
|
<div className="button router-helper__button" onClick={routerCancel}>
|
||||||
|
|
|
@ -12,8 +12,9 @@ export const TrashDialog = ({
|
||||||
clearPoly, clearStickers, clearAll, clearCancel
|
clearPoly, clearStickers, clearAll, clearCancel
|
||||||
}: Props) => (
|
}: Props) => (
|
||||||
<div className="helper trash-helper">
|
<div className="helper trash-helper">
|
||||||
<div className="helper__text">
|
<div className="helper__text danger">
|
||||||
<div className="big white upper">Уверены?</div>
|
<Icon icon="icon-trash-4" />
|
||||||
|
<div className="big upper">Уверены?</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="helper__buttons">
|
<div className="helper__buttons">
|
||||||
<div className="button-group">
|
<div className="button-group">
|
||||||
|
@ -23,7 +24,7 @@ export const TrashDialog = ({
|
||||||
<div className="button router-helper__button" onClick={clearStickers}>
|
<div className="button router-helper__button" onClick={clearStickers}>
|
||||||
Стикеры
|
Стикеры
|
||||||
</div>
|
</div>
|
||||||
<div className="button danger router-helper__button" onClick={clearAll}>
|
<div className="button router-helper__button" onClick={clearAll}>
|
||||||
Удалить все
|
Удалить все
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="initial-scale=1, maximum-scale=0.8">
|
<meta name="viewport" content="initial-scale=1, maximum-scale=0.8">
|
||||||
<link rel="icon" href="favicon.png?d" type="image/png" />
|
<link rel="icon" href="favicon.png?d" type="image/png" />
|
||||||
<link href="https://fonts.googleapis.com/css?family=PT+Sans+Narrow|PT+Sans:200,400,700|Rubik&subset=cyrillic" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Rubik:300,400,500,700&subset=cyrillic" rel="stylesheet">
|
||||||
<title>@ORCHID</title>
|
<title>@ORCHID</title>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/favicon.png?wd" type="image/png">
|
<link rel="shortcut icon" href="/favicon.png?wd" type="image/png">
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
user-select: none;
|
user-select: none;
|
||||||
box-shadow: inset rgba(100,100,100, 0.3) 1px 0, inset rgba(0,0,0, 0.1) -1px 0;
|
box-shadow: inset rgba(100,100,100, 0.3) 1px 0, inset rgba(0,0,0, 0.1) -1px 0;
|
||||||
color: white;
|
color: white;
|
||||||
font-weight: 200;
|
font-weight: 400;
|
||||||
|
|
||||||
&.primary {
|
&.primary {
|
||||||
background: #3c78db;
|
background: #3c78db;
|
||||||
|
|
|
@ -19,3 +19,4 @@
|
||||||
|
|
||||||
@color_primary: #4597d0;
|
@color_primary: #4597d0;
|
||||||
@color_success: #7cd766;
|
@color_success: #7cd766;
|
||||||
|
@color_danger: #ff3344;
|
||||||
|
|
|
@ -14,6 +14,8 @@ body {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
// letter-spacing: 0.4px;
|
// letter-spacing: 0.4px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
font-weight: 400;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gray {
|
.gray {
|
||||||
|
@ -22,6 +24,7 @@ body {
|
||||||
|
|
||||||
.big {
|
.big {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.upper {
|
.upper {
|
||||||
|
@ -43,3 +46,7 @@ body {
|
||||||
.primary {
|
.primary {
|
||||||
color: @color_primary;
|
color: @color_primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.danger {
|
||||||
|
color: @color_danger;
|
||||||
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
span {
|
span {
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 200;
|
font-weight: 500;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,6 +174,7 @@
|
||||||
svg {
|
svg {
|
||||||
fill: white;
|
fill: white;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,6 +185,22 @@
|
||||||
fill: @color_success;
|
fill: @color_success;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.primary {
|
||||||
|
color: @color_danger;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
fill: @color_danger;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.danger {
|
||||||
|
color: @color_danger;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
fill: @color_danger;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.helper__buttons {
|
.helper__buttons {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue