Skip to content

Commit 989a660

Browse files
committed
Issues-559: Fixed styles for a popup
1 parent 11225ec commit 989a660

File tree

5 files changed

+82
-20
lines changed

5 files changed

+82
-20
lines changed

design/custom.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

design/custom.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/base/_button.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
border-radius: 20px !important;
1818
padding: 0 20px !important;
1919
}
20-
20+
.Button.Primary.Delete, .Buttons .Close {
21+
letter-spacing: 0.8px !important;
22+
}
2123

2224
.Button.Primary.SignIn.BigButton{
2325
font-size: $global-medium_fontSize !important;

src/scss/base/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $global-grey-light-bg: #FBFBFB;
2121
$global-grey-bg-dark: #d4d4d4;
2222
$global-grey-very-dark-bg: #f4f4f4;
2323
$global-color_whitesmoke: #bcbec1;
24+
$global-color_turquoise: #1e94a3;
2425
$global-blue: #0d61bf;
2526
$global-pink: #EF476F;
2627

@@ -70,6 +71,7 @@ $global-medium_fontSize: 14px !default;
7071
$global-small_fontSize: 12px !default;
7172
$global-very_small_fontSize: 9px !default;
7273

74+
$global-popup_title_fontSize: 34px !default;
7375
$global-title_fontSize: 32px !default;
7476
$global-mediumTitle_fontSize: 24px !default;
7577
$global-smallTitle_fontSize: 20px !default;

src/scss/components/_popup.scss

Lines changed: 73 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,83 @@
11
div.Popup {
2+
.Border {
3+
min-width: 440px;
4+
width: 440px;
5+
padding: 0px;
6+
}
27
.Body {
3-
a {
4-
color: $global-blue;
5-
&:focus,
6-
&:hover {
8+
border-radius: 10px;
9+
padding: 33px 18px 36px 18px;
10+
box-shadow: 0 2px 9px 0 rgba(21, 21, 22, 0.15);
11+
}
12+
.Content {
13+
> h1:first-child, h2:first-child, h3:first-child {
14+
@include barlowcondensed-medium;
15+
color: $global-color_turquoise !important;
16+
font-size: $global-popup_title_fontSize;
17+
font-weight: bold !important;
18+
line-height: 34px !important;
19+
text-align: center;
20+
margin-bottom: 25px;
21+
text-transform: uppercase;
22+
}
23+
.P.Message {
24+
$font-family: $global-body_fontFamily !important;
25+
font-size: $global-large_fontSize !important;
26+
color: $global-color_black_light !important;
27+
text-align: center;
28+
margin: 0px;
29+
}
30+
.Body {
31+
a {
732
color: $global-blue;
8-
text-decoration: $theme-link-hover_textDecoration;
33+
34+
&:focus,
35+
&:hover {
36+
color: $global-blue;
37+
text-decoration: $theme-link-hover_textDecoration;
38+
}
939
}
10-
}
11-
.Buttons .Close {
12-
&:focus,
13-
&:hover {
14-
color: $global-color_white;
40+
41+
.Buttons .Close {
42+
&:focus,
43+
&:hover {
44+
color: $global-color_white;
45+
}
1546
}
1647
}
1748
}
1849

50+
.Footer {
51+
.Close {
52+
@if ($staticVariables) {
53+
@include CloseButton($popup_fg);
54+
}
1955

20-
a.Close {
21-
top: 24px;
22-
right: 28px;
23-
@if ($staticVariables) {
24-
@include CloseButton($popup_fg);
56+
display: none;
57+
top: 24px;
58+
right: 28px;
2559
}
2660
}
61+
62+
.Buttons-Confirm {
63+
margin-top: 26px;
64+
#Form_OK, .Button.Primary {
65+
background: $global-color_primary;
66+
border: 1px solid $global-color_primary;
67+
color: $global-color_white;
68+
}
69+
.Close {
70+
border: 1px solid $global-color_primary;
71+
color: $global-color_primary;
72+
}
73+
.Button.Primary.Delete{
74+
background: $global-pink;
75+
padding: 0px 22px !important;
76+
border: 1px solid $global-pink;
77+
color: #FAFAFB;
78+
}
79+
}
80+
2781
}
2882
.InformWrapper {
2983
margin: 0px;
@@ -66,6 +120,10 @@ div.Popup {
66120
}
67121
}
68122

123+
.Overlay {
124+
background: rgba($global-color_black_light, 0.9);
125+
}
126+
69127
@media (max-width: 500px) {
70128
.InformMessages {
71129
margin-left: 0px;

0 commit comments

Comments
 (0)